dgilmore changed the topic of #fedora-riscv to: Fedora on RISC-V https://fedoraproject.org/wiki/Architectures/RISC-V || Logs: https://libera.irclog.whitequark.org/fedora-riscv || Alt Arch discussions are welcome in #fedora-alt-arches
zsun has joined #fedora-riscv
djdelorie has joined #fedora-riscv
zsun has quit [Remote host closed the connection]
<davidlt[m]> somlo: as far as I recall -- no. It doesn't expect SWAP.
nomnp[m] has joined #fedora-riscv
alexfanq1 has quit [Remote host closed the connection]
alexfanqi has joined #fedora-riscv
alexfanqi has quit [Client Quit]
alexfanqi has joined #fedora-riscv
zsun has joined #fedora-riscv
<somlo> davidlt[m]: yeah, it just happened to mention swap before the crash, so I wondered if they're related... Looks like I have a bit of digging ahead of me :)
zsun has quit [Remote host closed the connection]
jimwilson_ has quit [Quit: Leaving]
<somlo> maybe it's time I wrapped my head around loading separate bits and pieces (opensbi, kernel, dtb, initrd) into memory and have them find each other there -- this monolithic payload business has worked out great so far for me (in that it reduced my cognitive load), but I think i'm beginning to experience the "technical debt"...
<davidlt[m]> U-Boot would load things into proper places and would help with flexibility
<somlo> opensbi can handle (via jump target) the kernel and dtb, but I'm still somewhat fuzzy on how the kernel can be helped to find its initrd image
<somlo> and I'll probably have to understand all this anyway before getting into porting uboot to litex :)
<davidlt[m]> somlo: one of the parameters is the address of initrd
oaken-source has quit [Quit: brb]
<davidlt[m]> actually no
oaken-source has joined #fedora-riscv
<davidlt[m]> we only pass hart id and dtb
<davidlt[m]> and it's not in the header too
<davidlt[m]> somlo: it's via DT most likely, from the old patches:... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/287101cdffc72eb3f8395d2435587f43abd6fe00)
<davidlt[m]> It gets marked it chosen DT node
jimwilson has joined #fedora-riscv
<somlo> davidlt[m] thanks!
<somlo> davidlt[m]: do you happen to remember if initrd-start and initrd-end are meant to refer to the gzip-ed cpio initrd, or the unpacked one, or either (i.e. the kernel will unpack if it detects it's a gzipped image)?