Index riscy074

This commit is contained in:
Matt Mascarenhas 2019-11-24 00:24:08 +00:00
parent f4f81641a7
commit 553d2034df
1 changed files with 159 additions and 0 deletions

View File

@ -0,0 +1,159 @@
[video member=miotatsu stream_platform=twitch project=riscy medium=admin title="RISC-V PC Running Fedora GNOME... and more!" vod_platform=youtube id=VDEVHgRAIRg annotator=Miblo]
[0:02][Welcome to the stream][:speech]
[1:56][Tip of the Day: Approximating 8[ref
author="Fermat's Library"
title="Here's an interesting approximation for the number 8"
publisher=Twitter
url=https://twitter.com/fermatslibrary/status/1192809008773632000]][:research]
[12:02][Get us up to speed with our progress running Fedora on the HiFive Unleashed[ref
site=Twitter
page="RISCY BUSINESS"
url=https://twitter.com/hmn_riscy]][:research]
[14:37][Plug the 'Build Fedora Gnome Desktop on RISC-V!!' guide[ref
site=GitHub
page="westerndigitalcorporation / RISC-V-Linux"
url=https://github.com/westerndigitalcorporation/RISC-V-Linux]][:research]
[20:59][Note that our HiFive Unleashed has been online and accepting SSH requests, to which we may grant access][:speech]
[24:08][Show our SD card Fedora Gnome Desktop and continue to read the 'Build Fedora Gnome Desktop on RISC-V!!' guide[ref
site=GitHub
page="westerndigitalcorporation / RISC-V-Linux"
url=https://github.com/westerndigitalcorporation/RISC-V-Linux]][:research]
[27:30][Don the antistatic wristband]
[28:08][Show our NVMe SSD]
[30:27][Recount our adventures flashing the HiFive Unleashed Expansion Board to support booting into the NVMe[ref
author="RISCY BUSINESS"
title="This is NOT linked on the microsemi hifive unleashed expansion board page but I just found it google searching, HiFive Unleashed Expansion Board Quick Start Guide (!!!)"
publisher=Twitter
url=https://twitter.com/hmn_riscy/status/1052479312111304704][ref
author=SiFive
title="HiFive Unleashed Expansion Kit Quickstart Guide"
url=https://www.microsemi.com/document-portal/doc_download/1243358-hifive-unleashed-expansion-kit-quick-start-guide]][:research]
[48:07][Recount our decision to set up Ubuntu 18.04 for building the Freedom U SDK[ref
author="RISCY BUSINESS"
title="I'm setting up an Ubuntu 18.04 (what SiFive devs use) VM on my laptop for building the Freedom U SDK to rule out my hackily patched freedom-u-sdk on Arch Linux as a source of problems"
publisher=Twitter
url=https://twitter.com/hmn_riscy/status/1086111306200027136]][:research]
[50:17][Note the fact that anti static bags are conductive[ref
author="Jhonathan"
title="The anti static bag is conductive. Take care to don't fry everything…"
publisher=Twitter
url=https://twitter.com/jhonathanjc/status/1089496181695229952]][:research]
[51:53][Plug our antistatic mat and properly grounded house]
[53:31][Plug [@atishp04 Atish]'s Plasma mobile running on RISC-V[ref
author="Atish Kumar Patra"
title="Plasma mobile desktop running on RISC-V hardware!! Thanks to Alistair :)"
publisher=Twitter
url=https://twitter.com/atishp04/status/1088888665663664130]][:research]
[54:23][Plug @dullfire's 'Microsemi expansion board support/issue' thread in the SiFive Forums[ref
site="SiFive Forums"
page="Microsemi expansion board support/issue"
url=https://forums.sifive.com/t/microsemi-expansion-board-support-issue/1386/8]][:research]
[1:05:39][Recount our investigations into the HiFive Unleashed device tree[ref
author="RISCY BUSINESS"
title="Reading over the device tree of the hifive unleashed and making sense of the specs is a fun exercise, core 0 has no fp unit, d-cache, or tlb, 16 KiB 2-way i-cache, cores 1-4 all have 32 KiB 8-way d-cache and i-cache, split i and d tlb each direct mapped with 32 entries…"
publisher=Twitter
url=https://twitter.com/hmn_riscy/status/1090465392244477952]][:research]
[1:08:01][Recount our patching and successful building of the Freedom U SDK[ref
author="RISCY BUSINESS"
title="I'm done indulging myself with learning about devicetrees and I patched my freedom u sdk in the ubuntu vm more or less as dullfire suggested on the SiFive forum thread I posted earlier, I am using the defconfig from Atish's repo but dullfire's dts override hackery. Building now"
publisher=Twitter
url=https://twitter.com/hmn_riscy/status/1090824221620690944]][:research]
[1:08:54][Recount our plan to go through jonesforth,[ref
author="RISCY BUSINESS"
title="Also the devicetree spec reminded me to look into Open Firmware more. It is sad that Apple dropped it for UEFI, I think UEFI is a step in the wrong direction. I think one project we will do on the show is our own Open Firmware implementation in Hula"
publisher=Twitter
url=https://twitter.com/hmn_riscy/status/1090825678428221441] including our discovery of [~hero Handmade Hero] on the "programming" subreddit, with a plug of [@pervognsen Per Vognsen]'s ~Bitwise[ref
site=Bitwise
url=https://bitwise.handmade.network/]][:asm :research]
[1:14:07][Recount our inclusion in Handmade Seattle and adventures in job hunting][:speech]
[1:17:50][Shout-out to Richard W. M. Jones, writer of jonesforth, and contributor to the RISC-V Fedora work[ref
author="RISCY BUSINESS"
title="It literally only just occurred to me today that the Richard W.M. Jones that wrote jonesforth is the very same Richard W.M. Jones who was involved with the RISC-V Fedora work. It's a small world, and I'm surprised I didn't make that connection until now!"
publisher=Twitter
url=https://twitter.com/hmn_riscy/status/1192686017742036992]][:research]
[1:21:14][Show and fit our magical NVMe SSD stand-off]
[1:25:10][Determine to assemble our RISC-V machine][:speech]
[1:26:05][Embark on unboxing our freshly-arrived 3D printed case]
[1:29:20][Show and admire our case's transparent top]
[1:31:23][Unbox our case's bottom]
[1:33:00][Show and admire our case's bottom]
[1:33:50][Snap our case together]
[1:42:28][Consider playing with the case fit off camera][:speech]
[1:44:01][Show our assembled case]
[1:45:52][Show our sanded lugs, and consider the potential to omit the snaps' 0.5mm wiggle room, and tighten them]
[1:51:46][Favourably review the build quality of the case and the service of both 3D printing companies][:speech]
[1:54:35][Recount our built and partially booting HiFive Unleashed setup, having followed [@atishp04 Atish]'s steps[ref
site=GitHub
page="westerndigitalcorporation / RISC-V-Linux"
url=https://github.com/westerndigitalcorporation/RISC-V-Linux] and copied the raw disk image from our Arch Linux (host) installation to the SD card][:speech]
[1:57:35][Show our HiFive Unleashed boot messages]
[1:59:10][Plug the newest Freedom U SDK[ref
site=GitHub
page="sifive / freedom-u-sdk"
url=https://github.com/sifive/freedom-u-sdk] with the determination to try it][:research]
[2:06:27][Determine to situate our RISC-V PC in its case][:speech]
[2:07:19][Disassemble our RISC-V PC, and place the HiFive Unleashed in the case]
[2:09:27][Confirm that the screw holes do line up]
[2:09:43][Gather screws]
[2:13:46][Try different sized screws on the HiFive Unleashed and case]
[2:22:13][Try hanging our cards into the case]
[2:30:49][Return with Dad's screws and note our sanding of the lugs and an area on the back to accommodate the USB cable][:speech]
[2:34:08][Show Dad's screws through the snaps, fixing the case together, and our sanding of the Graphics card bracket cutout]
[2:41:57][Determine to try the new Freedom U SDK, having built it on a build server][:speech]
[2:46:15][Assemble our RISC-V PC on the antistatic mat]
[2:49:27][Boot and connect to our RISC-V PC]
[2:50:47][Check the boot log]
[2:51:48][Run `lspci`, to see essentially nothing]
[2:52:12][Find that `lsusb` is absent]
[2:52:20][Run `ls /dev`]
[2:53:29][Run `dmesg`]
[2:55:56][Consult the bootloaders in the Freedom U SDK[ref
site=GitHub
page="sifive / freedom-u-sdk"
url=https://github.com/sifive/freedom-u-sdk]][:research]
[2:57:13][Run `fdisk -l` and check /etc/fstab]
[3:01:56][Try to mount /dev/mmcblk0p1]
[3:03:17][Power down our RISC-V PC, and switch the Expansion Board to the "up" position]
[3:04:17][Boot our RISC-V PC]
[3:05:04][Login and run `lspci` to see all our hardware]
[3:07:05][Power down our RISC-V PC, and plug in our 8 GiB SD card]
[3:07:57][Power up our RISC-V to find that it doesn't boot]
[3:08:41][Determine to plug in our monitor, powered via USB by our separate laptop][:speech]
[3:09:46][Plug in our monitor, powered via USB by our separate laptop, and move the boot selector to the "down" position]
[3:11:00][Boot into our Fedora-powered RISC-V PC]
[3:12:38][Show the GNOME Fedora desktop environment running on our RISC-V PC (first boot)]
[3:13:37][Determine to try the demo-coreip-xfce4.bb image containing Quake 2[ref
site=GitHub
page="sifive / meta-sifive"
url=https://github.com/sifive/meta-sifive]][:research]
[3:15:00][Hook up the Ultimate Hacking Keyboard with our RISC-V PC]
[3:15:39][Position the webcam to show the RISC-V PC screen]
[3:16:43][Try touch input, without success]
[3:17:17][Hook up the mouse with our RISC-V PC]
[3:18:01][Find that the RISC-V PC does not see our mouse]
[3:18:51][Reboot our RISC-V PC]
[3:20:19][We've got mouse input! Highlight of the series so far]
[3:20:51][Initially personalise our RISC-V Fedora installation]
[3:24:12][Check the status of the XFCE4 download on the laptop: Complete]
[3:25:37][Determine to write the XFCE4 image to the SD card; consult [@atishp04 Atish]'s repo[ref
site=GitHub
page="westerndigitalcorporation / RISC-V-Linux"
url=https://github.com/westerndigitalcorporation/RISC-V-Linux] for first-time boot info; see if the RISC-V PC can power the monitor, and if we can play Quake 2 with a gamepad, and run [@Delix Ryan Fleury]'s ~Melodist][:speech]
[3:27:17][Start the XFCE4 image writing to the SD card]
[3:29:38][Consult [@atishp04 Atish]'s repo[ref
site=GitHub
page="westerndigitalcorporation / RISC-V-Linux"
url=https://github.com/westerndigitalcorporation/RISC-V-Linux] for first-time boot info][:research]
[3:30:36][Reboot our RISC-V PC]
[3:32:09][Log in to our RISC-V Fedora system and check it out]
[3:36:53][Shut down the RISC-V PC]
[3:37:54][Check on the progress of our XFCE4 write and disconnect the monitor's USB cable from the laptop]
[3:38:27][Boot our RISC-V PC, itself powering the monitor, with success]
[3:39:41][A few words on the rapid progress in the world of RISC-V, with laptops and phones expected in two years][:speech]
[3:42:30][Consider a snag with switching our boot selector between installations][:speech]
[3:45:29][Explore our RISC-V Fedora environment for eye candy]
[3:52:12][Shut down the RISC-V PC, and switch it over to boot the XFCE4 image]
[3:55:05][Hunt for Quake 2 in our RISC-V XFCE4 system]
[4:01:39][Determine to post pictures on Twitter of our RISC-V PC, to enjoy Handmade Seattle and relax after the conference][:speech]
[4:04:10][Shut down our RISC-V PC and wind down the stream][:speech]
[/video]