cinera_handmade.network/miotatsu/riscy/riscy/riscy060_1.hmml

65 lines
4.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[video member=miotatsu stream_platform=twitch project=riscy medium=research title="Hello World in RISC-V ASM (1/2)" vod_platform=youtube id=DRbuLFSk76Y annotator=Miblo]
[0:09][Recap and set the stage for the day noting a follow-up to the last episode regarding booting Fedora directly[ref
site="Richard WM Jones"
page="\"RISCY BUSINESS\" runs Fedora in a chroot on HiFive Unleashed"
url=https://rwmj.wordpress.com/2018/04/28/riscy-business-runs-fedora-in-a-chroot-on-hifive-unleashed/amp/]]
[5:47][Consult the fedora-riscv-kernel documentation[ref
site=GitHub
page="rwmjones / fedora-riscv-kernel"
url=https://github.com/rwmjones/fedora-riscv-kernel/tree/sifive_u540]]
[9:34][Plug Microsemi and SiFive's HiFive Unleashed Expansion Board[ref
site="Crowd Supply"
page="HiFive Unleashed Expansion Board"
url=https://www.crowdsupply.com/microsemi/hifive-unleashed-expansion-board]][:peripheral]
[18:52][Note the switch to Qubes OS[ref
site="Twitter: @hmn_riscy"
page="Sorry for the radio silence, my gpg pinentry broke on my laptop and rather than fix it I took it as an opportunity to switch my laptop over to Qubes OS so I've been busy setting that up, still more to do but it is configured enough now for me to shift my focus back to work :)"
url=https://twitter.com/hmn_riscy/status/995846351186522112]]
[19:52][Plug the Compiler Explorer which supports RISC-V[ref
site="Twitter: @hmn_riscy"
page="godbolt doesn't have RISC-V targets on it but someone else has a compiler explorer with it, will add this to http://links.riscy.tv later: https://cx.rv8.io/"
url=https://twitter.com/hmn_riscy/status/1000881772480131075]]
[22:27][Catch us up with the recommended graphics card / other :hardware for use with the HiFive Unleashed from the Big RISCY BUSINESS Question Thread[ref
site="SiFive Forums"
page="The Big RISCY BUSINESS Question Thread"
url=https://forums.sifive.com/t/the-big-riscy-business-question-thread/531]]
[26:40][Note the switch from GitHub to GitLab[ref
site="Twitter: @hmn_riscy"
page="So @github was acquired by @Microsoft and as a result I will be moving http://code.riscy.tv to @gitlab Unknown ETA: it's stuck importing my repos right now. I'll be using the free tier SaaS http://gitlab.com offers to avoid additional expenses right now #movingtogitlab"
url=https://twitter.com/hmn_riscy/status/1003817844126244866]]
[28:27][Plug the poll: "Would you prefer if I tweet when I go live on twitch?"[ref
site="Twitter: @hmn_riscy"
page="Poll: Would you prefer if I tweet when I go live on twitch?"
url=https://twitter.com/hmn_riscy/status/1003906683683459104]]
[28:50][Plug the new Early Access episode guide[ref
site="RISCY BUSINESS and Book Club [Early Access]"
url=https://guide.riscy.tv/] with a comparison with the guide in Handmade Network[ref
site="RISCY BUSINESS"
page="Annotated Episode Guide"
url=https://riscy.handmade.network/episode/riscy]]
[32:03][Plug the series' new logo made by @Miblo[ref
site="Twitter: @hmn_riscy"
page="Check out the spiffy new logo @miblo_ has made for the series! I didn't even ask for a logo - he just can't help himself from doing top tier work!"
url=https://twitter.com/hmn_riscy/status/1011408769874563072]]
[33:19][Plug Sam Falvo's Kestrel Computer Project[ref
site="Twitter: @risc_v"
page="Watch Sam Falvos first episode in a series of videos discussing the Kestrel Computer Project based on @risc_v"
url=https://twitter.com/risc_v/status/1011247898825195525]]
[34:11][Plug Per's twitter thread on the current inability of godbolt's RISC-V backend to generate jump tables for switch statements[ref
site="Twitter: @pervognsen"
page="It seems impossible to get the GCC RISC-V backend to generate jump tables for switch statements. Maybe it isn't implemented? https://godbolt.org/g/Q3z5bK"
url=https://twitter.com/pervognsen/status/1011113392176750592]]
[37:45][Set up to get hula's hello.S[ref
site=GitLab
page="RISCY BUSINESS / hula"
url=https://gitlab.com/riscy-business/hula] going in the Fedora environment on our HiFive Unleashed, noting Per's sub-series on lowering C code to assembly][:asm]
[43:30][Connect to our HiFive Unleashed and set the PS1 for our two environments][:admin]
[47:44][Walk through hello.hula[ref
site=GitLab
page="RISCY BUSINESS / hula / hello.hula"
url=https://gitlab.com/riscy-business/hula/blob/master/hello.hula]][:language]
[1:16:08][Dive into writing hello.S on our HiFive Unleashed, beginning with the _start entry point][:asm :programming]
[1:21:47][Lower main() from hula to assembly][:asm :programming]
[1:41:48][Call it here][:speech]
[/video]