Loading...

RISCY BUSINESS - Day 2: Getting the HiFive1 Working

901 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Dec 28, 2016

Livestream: https://twitch.tv/miotatsu
Archive: http://riscy.tv
Schedule: http://twitter.com/hmn_riscy
Support the series: http://patreon.com/miotatsu

0:06 Recap and set the stage for the day
1:36 Consult the HiFive1 forums: https://forums.sifive.com/t/arch-linu...
4:02 Determine to switch the IOREF jumper to 5v
4:57 Show the HiFive1 Founders Edition
5:42 Plug in the HiFive1 and consult lsusb and dmesg to see errors
7:09 Disconnect the HiFive1 and move the IOREF jumper to 5v
8:06 Plug it back in and again consult lsusb and dmesg
9:04 Try it in a different USB port
9:24 I'm just going to unplug my mouse
9:53 Show the HiFive1 running a program
11:13 Chat comment: "It's confirmed: unplugging our mice solves all our problems"
12:34 Consult lsusb to see our HiFive1 showing up
12:48 Chat comment: "Haha, yeah. You now have a tablet for drawing, though"
13:35 Run screen on /dev/ttyUSB1 and see a blank window
14:09 Consult the documentation to see what we're supposed to see: https://dev.sifive.com/hifive1/hifive...
15:52 Investigate why we're not seeing what we should
18:50 Consider the possibility that it's still an issue with the USB port, and try a different one
19:30 Chat comment: "Do you need to press the "reset" button once you're screen'd into it?"
21:34 Chat comment: "That was also /dev/ttyUSB0. Did you also try /dev/ttyUSB1? (Apologies for not paying closer attention!)"
22:06 Try running screen on /dev/ttyUSB1 and pressing the reset button to see what happens
23:12 Play with the demo program
24:18 Plug the mouse back in and continue exploring the documentation
25:00 Chat comment: "if(Input == 'y') { printf("PASS");} else { printf("FAIL"); }"
25:21 Play with the demo program some more
26:06 I'm too giddy to do that
26:36 Clone the Freedom E SDK repo
27:47 Consider ordering the GinSing speech synthesis shield in order to read out the chat: http://www.ginsingsound.com/
31:39 What the HiFive1 supports
36:36 Chat comment: "So does "compressed" essentially mean you end up with smaller binaries?"
37:31 Consult the User-Level ISA Specification v2.1: https://riscv.org/specifications
42:32 Play 'DOG HEAVEN' by SNCKPCK and let in the dog: https://snckpck.bandcamp.com/track/do...
44:10 Return and let the song play to completion
46:58 Write the udev rules for the HiFive1
51:13 Chat comment: "Olimex debugger?"
52:10 Research the Olimex debugger
53:47 Research uucp vs plugdev
54:53 Chat comment: "Did you replug it after the udev change?"
55:37 Replug the HiFive1 to see if the udev rule takes effect
57:04 Chat comment: "I wonder if there's any reason not to just add ourselves to the uucp group..."
57:50 Chat comment: "¯\_(ツ)_/¯"
59:08 Find that we're still pulling in the Freedom E SDK, and call it a day with a glimpse into the future
1:00:45 Chat comment: "How about Hello, World! in Morse code?"

Annotated by Miblo - https://handmade.network/m/Miblo

Loading...


to add this to Watch Later

Add to

Loading playlists...