cinera_handmade.network/miotatsu/riscy/riscy/riscy002.hmml

59 lines
3.2 KiB
Plaintext

[video member=miotatsu stream_platform=twitch project=riscy title="Getting the HiFive1 Working" vod_platform=youtube id=6WbCmZy5EcE annotator=Miblo]
[0:06][Recap and set the stage for the day]
[1:36][Consult the HiFive1 forums [ref
site="SiFive Forums"
page="Arch Linux and the HiFive1"
url=https://forums.sifive.com/t/arch-linux-and-the-hifive1/212]]
[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][quote 7]
[9:53][Show the HiFive1 running a program]
[11:13][@miblo][It's confirmed: unplugging our mice solves all our problems]
[12:34][Consult lsusb to see our HiFive1 showing up]
[12:48][@miblo][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 [ref
site="SiFive Developers"
page="HiFive1 Getting Started Guide"
url=https://dev.sifive.com/hifive1/hifive1-getting-started-guide/]][:research]
[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][@miblo][Do you need to press the "reset" button once you're screen'd into it?]
[21:34][@miblo][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][@miblo][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][quote 8]
[26:36][Clone the Freedom E SDK repo]
[27:47][Consider ordering the GinSing speech synthesis shield in order to read out the chat [ref
site=GinSing
url=http://www.ginsingsound.com/]]
[31:39][What the HiFive1 supports][:blackboard]
[36:36][@miblo][So does "compressed" essentially mean you end up with smaller binaries?]
[37:31][Consult the User-Level ISA Specification v2.1 [ref
site=RISC-V
page="User-Level ISA Specification v2.1"
url=https://riscv.org/specifications]][:research]
[42:32][Play 'DOG HEAVEN' by SNCKPCK and let in the dog [ref
site=Bandcamp
page="DOG HEAVEN"
url=https://snckpck.bandcamp.com/track/dog-heaven]]
[44:10][Return and let the song play to completion]
[46:58][Write the udev rules for the HiFive1][:hardware]
[51:13][@miblo][Olimex debugger?]
[52:10][:Research the Olimex debugger]
[53:47][:Research uucp vs plugdev]
[54:53][@insofaras][Did you replug it after the udev change?]
[55:37][Replug the HiFive1 to see if the udev rule takes effect]
[57:04][@miblo][I wonder if there's any reason not to just add ourselves to the uucp group...]
[57:50][@insofaras][¯\\_(ツ)_/¯]
[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][@miblo][How about Hello, World! in Morse code?]
[/video]