[video member=miotatsu stream_platform=twitch project=riscy title="Exploring the Freedom E SDK" vod_platform=youtube id=XOis4wG2gYU annotator=Miblo] [0:24][Introduce the ~riscy playlist[ref site=YouTube title="RISCY BUSINESS" url=https://www.youtube.com/playlist?list=PLExHkW81k6eboVT3nkOvmSF6LLWFWwWdv] and annotations[ref site="HandmadeDev GitLab" title="Annotation-Pushers/Annotation-Game" url=http://git.handmadedev.org/Annotation-Pushers/Annotation-Game/tree/master/projects/miotatsu/riscy]] [6:26][Promote the ~riscy Patreon[ref site=Patreon page="RISCY BUSINESS" url=https://www.patreon.com/miotatsu] and @Miblo's Patreon[ref site=Patreon page="Miblo" url=https://www.patreon.com/miblo]] [8:05][Set the stage for the day] [9:26][Assess the current status of ~milton work] [12:22][Commit "Custom Fork with Paper Modes"] [14:41][Clone the Annotations repository and paste the files into the YouTube descriptions] [17:34][Don the antistatic wristband and begin looking into the HiFive1] [18:53][Consult the HiFive1 forums for the status of the Freedom E SDK package [ref site="SiFive Forums" page="Arch Linux and the HiFive1" url=https://forums.sifive.com/t/arch-linux-and-the-hifive1/212]] [25:32][Consider why the "Hello, world" program didn't work] [26:42][Recommend the pass password manager [ref site=ZX2C4 page=pass url=http://zx2c4.com/projects/password-store/]] [29:54][Consult the SiFive forums[ref site="SiFive Forums" page="WTD: Assembly Language & ABI Programmers Guide" url=https://forums.sifive.com/t/wtd-assembly-language-abi-programmers-guide/229] and note that we must run software_clean before building a different package] [32:58][Connect to the HiFive1 and hit the reset button to see output][:run] [34:28][A few words on the original plan for ~riscy[ref site=RISC-V page="Software Tools" url=https://riscv.org/software-tools]] [36:38][Determine to understand everything there is to understand about the HiFive1] [42:17][Read plic_driver.h and plic_driver.c, and determine to understand read_csr()][:driver] [46:11][Consult man screen, with an exercise for the viewer: Try connecting to the HiFive1 using tmux] [49:45][Begin the hunt for the definition of read_csr()] [51:21][Consult the Freedom E SDK's Makefile to see what it includes] [1:01:44][Find what we're looking for and open up all the files that plic_driver.c includes] [1:02:52][That's everything] [/video]