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
<davidlt[m]> rwmjones: is nujive okay?
ChanServ has quit [shutting down]
ChanServ has joined #fedora-riscv
sharkcz has quit [*.net *.split]
somlo has quit [*.net *.split]
ChanServ has quit [*.net *.split]
rwmjones has quit [*.net *.split]
Eighth_Doctor has quit [*.net *.split]
defolos has quit [*.net *.split]
xen0n has quit [*.net *.split]
droidrage has quit [*.net *.split]
alexfanqi has quit [*.net *.split]
jim-wilson[m] has quit [*.net *.split]
acharles has quit [*.net *.split]
javierm has quit [*.net *.split]
moto-timo has quit [*.net *.split]
sorear has quit [*.net *.split]
sayan has quit [*.net *.split]
nirik has quit [*.net *.split]
oaken-so1rce has quit [*.net *.split]
warren_ has quit [*.net *.split]
unlord has quit [*.net *.split]
djdelorie has quit [*.net *.split]
Ferix has quit [*.net *.split]
chuangzhu has quit [*.net *.split]
FloGrauper[m] has quit [*.net *.split]
Esmil[m] has quit [*.net *.split]
organizedglobals has quit [*.net *.split]
dgilmore has quit [*.net *.split]
Esmil has quit [*.net *.split]
jcm__ has quit [*.net *.split]
davidlt[m] has quit [*.net *.split]
esv has quit [*.net *.split]
pbrobinson has quit [*.net *.split]
jbowen has quit [*.net *.split]
drewfustini has quit [*.net *.split]
jbowen has joined #fedora-riscv
ChanServ has joined #fedora-riscv
drewfustini has joined #fedora-riscv
pbrobinson has joined #fedora-riscv
djdelorie has joined #fedora-riscv
Esmil has joined #fedora-riscv
sorear has joined #fedora-riscv
moto-timo has joined #fedora-riscv
alexfanqi has joined #fedora-riscv
dgilmore has joined #fedora-riscv
unlord has joined #fedora-riscv
droidrage has joined #fedora-riscv
sharkcz has joined #fedora-riscv
rwmjones has joined #fedora-riscv
javierm has joined #fedora-riscv
xen0n has joined #fedora-riscv
FloGrauper[m] has joined #fedora-riscv
chuangzhu has joined #fedora-riscv
acharles has joined #fedora-riscv
somlo has joined #fedora-riscv
davidlt[m] has joined #fedora-riscv
jim-wilson[m] has joined #fedora-riscv
oaken-so1rce has joined #fedora-riscv
nirik has joined #fedora-riscv
sayan has joined #fedora-riscv
organizedglobals has joined #fedora-riscv
defolos has joined #fedora-riscv
Esmil[m] has joined #fedora-riscv
esv has joined #fedora-riscv
Eighth_Doctor has joined #fedora-riscv
jcm__ has joined #fedora-riscv
warren_ has joined #fedora-riscv
Ferix has joined #fedora-riscv
somlo has quit [*.net *.split]
sharkcz has quit [*.net *.split]
rwmjones has quit [*.net *.split]
rwmjones has joined #fedora-riscv
somlo has joined #fedora-riscv
sharkcz has joined #fedora-riscv
Eighth_Doctor has quit [*.net *.split]
defolos has quit [*.net *.split]
xen0n has quit [*.net *.split]
droidrage has quit [*.net *.split]
alexfanqi has quit [*.net *.split]
jim-wilson[m] has quit [*.net *.split]
acharles has quit [*.net *.split]
javierm has quit [*.net *.split]
moto-timo has quit [*.net *.split]
sorear has quit [*.net *.split]
oaken-so1rce has quit [*.net *.split]
warren_ has quit [*.net *.split]
unlord has quit [*.net *.split]
djdelorie has quit [*.net *.split]
Ferix has quit [*.net *.split]
chuangzhu has quit [*.net *.split]
FloGrauper[m] has quit [*.net *.split]
organizedglobals has quit [*.net *.split]
Esmil[m] has quit [*.net *.split]
dgilmore has quit [*.net *.split]
Esmil has quit [*.net *.split]
Ferix has joined #fedora-riscv
FloGrauper[m] has joined #fedora-riscv
Esmil has joined #fedora-riscv
dgilmore has joined #fedora-riscv
Esmil[m] has joined #fedora-riscv
organizedglobals has joined #fedora-riscv
jcm__ has quit [*.net *.split]
davidlt[m] has quit [*.net *.split]
esv has quit [*.net *.split]
pbrobinson has quit [*.net *.split]
jbowen has quit [*.net *.split]
drewfustini has quit [*.net *.split]
esv has joined #fedora-riscv
jbowen has joined #fedora-riscv
drewfustini has joined #fedora-riscv
davidlt[m] has joined #fedora-riscv
jcm__ has joined #fedora-riscv
pbrobinson has joined #fedora-riscv
organizedglobals has quit [Ping timeout: 264 seconds]
xen0n has joined #fedora-riscv
droidrage has joined #fedora-riscv
alexfanqi has joined #fedora-riscv
FloGrauper[m] has quit [Ping timeout: 240 seconds]
moto-timo has joined #fedora-riscv
sorear has joined #fedora-riscv
javierm has joined #fedora-riscv
Esmil[m] has quit [Ping timeout: 264 seconds]
sayan has quit [*.net *.split]
nirik has quit [*.net *.split]
djdelorie has joined #fedora-riscv
oaken-so1rce has joined #fedora-riscv
warren_ has joined #fedora-riscv
unlord has joined #fedora-riscv
nirik has joined #fedora-riscv
sayan has joined #fedora-riscv
davidlt[m] has quit [Ping timeout: 268 seconds]
FloGrauper[m] has joined #fedora-riscv
davidlt[m] has joined #fedora-riscv
Eighth_Doctor has joined #fedora-riscv
Esmil[m] has joined #fedora-riscv
jim-wilson[m] has joined #fedora-riscv
organizedglobals has joined #fedora-riscv
defolos has joined #fedora-riscv
chuangzhu has joined #fedora-riscv
acharles has joined #fedora-riscv
<davidlt[m]> It's stuck for hours now, restarting the build on a different machine
<davidlt[m]> I am putting Rust build on nirik machine
<rwmjones> davidlt[m]: checking
<rwmjones> davidlt[m]: nope:
<rwmjones> [576072.636895] watchdog: BUG: soft lockup - CPU#2 stuck for 3144s! [kworker/u8:
<rwmjones> 3:2118960]
<rwmjones> [576096.636920] watchdog: BUG: soft lockup - CPU#2 stuck for 3166s! [kworker/u8:
<rwmjones> 3:2118960]
<rwmjones> [576120.636944] watchdog: BUG: soft lockup - CPU#2 stuck for 3189s! [kworker/u8:
<rwmjones> 3:2118960]
<rwmjones> [576144.636968] watchdog: BUG: soft lockup - CPU#2 stuck for 3211s! [kworker/u8:
<rwmjones> 3:2118960]
<rwmjones> [576168.636992] watchdog: BUG: soft lockup - CPU#2 stuck for 3233s! [kworker/u8:
<rwmjones> 3:2118960]
<rwmjones> [576204.637028] watchdog: BUG: soft lockup - CPU#2 stuck for 3267s! [kworker/u8:
<rwmjones> 3:2118960]
<rwmjones> I'll go and reboot it, one sec
<davidlt[m]> So yeah, nothing good :)
<rwmjones> btw looks like a software problem, not a hardware issue (this time)
<davidlt[m]> These things have always been a problem on riscv
<davidlt[m]> But it's getting less common the further we go
<rwmjones> should be back now
<rwmjones> temps are reasonable on both boards at the moment
<rwmjones> high 40s low 50s
<somlo> davidlt[m]: are the qemu installation instructions at https://fedoraproject.org/wiki/Architectures/RISC-V/Installing still up to date? There's mention of pulling an .elf "firmware blob" off the first partition, but there no longer seems to be such a thing there, just a bunch of hardware board specific .dtb files: https://pastebin.com/i5csvmQS
<davidlt[m]> somlo: no, it's out of date
<somlo> I have a .dtb and fw_jump.bin for my LiteX setup, but wanted to set up a "reference" qemu machine before I deal with a bunch of *additional* moving parts :)
<davidlt[m]> Ah
<davidlt[m]> We aren't using jump anymore, even QEMU doesn't use it anymore by default
<davidlt[m]> If you want to use it there is a description how to do it (I think) in the chat history.
<davidlt[m]> I think I described how to do it to rwmjones a month ago or so.
<somlo> well, that's why I wanted to set up qemu first, to poke around and see how I can adapt with the least amount of pain possible :)
<davidlt[m]> Realistically we use U-Boot SPL which loads U-Boot ITB (DTB) which contains the config, OpenSBI FW_DYNAMIC and U-Boot binary.
<davidlt[m]> SPL fills the structure about the next bootloader stage (aka U-Boot proper) and calls OpenSBI passing the struct.
<davidlt[m]> OpenSBI does it thing and calls U-Boot.
<davidlt[m]> U-Boot has a built in boot order for each device. It will scan in order (NVMe, USB, etc.) looking for the 1st partition and exlinux.conf (or not the 1st partition if partition has legacy boot flag set in GPT entry).
<davidlt[m]> Once exlinux.conf is located it loads and jumps the kernel with DTB, initramfs information.
<davidlt[m]> We still don't have GRUB2 stage (LoadFile2 and boot hard ID protocol continues to be not implemeted)
<somlo> my current setup uses tftp to load opensbi, dtb, kernel, and initrd into RAM and jumps to opensbi which then boots the kernel :)
<somlo> I can probably hack something together, then later adapt the "hardware" to the "standard" flow, but it'd be easier if I had something that already works to look at
<somlo> but I understand if things are in flux on your end as well that it's probably not worth writing down before it "settles" :)
<davidlt[m]> Well, it basically settled :) I just need for GRUB2 to land at some point upstream. Patches have been hanging for a year now.
<davidlt[m]> Looking at the history...
<davidlt[m]> This should get you into U-Boot prompt
<davidlt[m]> Or to boot if U-Boot finds the right partitions
<davidlt[m]> If you have FW_JUMP with a builtin kernel, etc. You cal pass that as -bios option or, do -bios none and use -kernel option to pass it.
<davidlt[m]> Ok, I am AFK for a bit of time. A short walk during the sunset :)
<somlo> enjoy :) I'll probably bug you for a bit more detail tomorrow...
Guest51 has joined #fedora-riscv
<Guest51> I've been trying to boot my HiFive Unmatched with the all-in-one image from here: https://dl.fedoraproject.org/pub/alt/risc-v/disk_images/Fedora-Developer-Rawhide-20220705.n.0.SiFive.Unmatched/ for the past few days, but all I end up with is a blinking cursor in the upper left corner of the screen.  I checked to make sure that the image
<Guest51> transferred properly to the SD card and that I have revision 3B0.  What am I doing wrong?
<davidlt[m]> This image doesn't incl. proper desktop support
<davidlt[m]> This targets mainly console
<Guest51> I usually go for the multi-user.target.  Can this image handle that with systemd?
<davidlt[m]> Isn't that a default?
<Guest51> I don't know because it's never made it to the login prompt
<davidlt[m]> With this image you should be able to use serial console or/and ssh to remotely manage it. By default there should be nothing on a display (most likely) if GPU and monitor is present.
<Guest51> I suppose I could boot the factory image, mount the filesystems, and check.
<davidlt[m]> Check serial console output.
<Guest51> Gotcha.
<Guest51> I'll try that.
<davidlt[m]> Even if there is a corrupted bootloader or something there usually is some garbage printed in the serial.
guerby has joined #fedora-riscv
<Guest51> It's booting now.  Thanks for your help!
<Guest51> ...and I'm logged in.
Guest51 has quit [Quit: Client closed]