iooi has quit [Read error: Connection reset by peer]
iooi has joined #fedora-riscv
davidlt has joined #fedora-riscv
<davidlt>
dgilmore, that looks a bit strange, as it should not attempt to use "qemu-riscv.dtb"
<dgilmore>
davidlt: removing the ftddir line I get the same error
<davidlt>
Regarding EDK2. 1st we would need to move to GRUB2 (especially the upcoming release), and switch kernel target too (most likely, to self uncompressed one).
<dgilmore>
Either the dtb qemu provides is bad or something is missing in the kernel
<davidlt>
We are living ARMv7 life were we need to adjust image for each target.
<davidlt>
Hopefully that ends once we get RISCV Platforms specification done and ratified.
<dgilmore>
Will try tomorrow
<davidlt>
Yeah, so for the UEFI/EDK2 the things I would like: (1) enabling GRUB2 (2) switching kernel to the latest new target (common with aarcg64 too), which will depend on UEFI to uncompress itself.
<davidlt>
Also new GRUB (2.12-rc ?) is needed for LoadFile2 support (to load initramfs stage for riscv64) IIRC.
<davidlt>
You can technically boot U-Boot -> kernel EFI directly (that was tested many years ago)
<davidlt>
systemd bootloader might be an easier option too :)
<davidlt>
From what I understand sd-boot is a working alternative on Fedora (but I never attempted it myself).
<davidlt>
In general this should be better than dealing with GRUB2 + 200-300 patches (each distro seems to have them).
<Esmil>
i'm actually running it on all my boards except the TH1520 that doesn't have an efi-enabled u-boot as far as I can tell
<davidlt>
Esmil, is that what Ubuntu defaults to?
<Esmil>
no
<Esmil>
:)
<Esmil>
i wish
<davidlt>
Why is that?
<davidlt>
It should be a sane option (at least for riscv).
<davidlt>
I don't really want to touch GRUB2 package because of those 200-300 patches. I did look once at them trying to figure out how many needs adjustment for riscv64.
<Esmil>
i guess nobody did the work to test it and implement support for it in installers and such
<davidlt>
It Fedora it works out-of-the-box, but the instructions on how to switch GRUB2 -> sd-boot are not that well marketed.
<Esmil>
yeah, you can manually switch to sd-boot in debian/ubuntu too. it's just not the default
<davidlt>
I would "love" to spend more time on this one, but it's probably multi-day or multi-week project.
<BryceII>
Last time I messed with qemu/riscv64 I ended up having to embed a uboot FW into opensbi to get it all working... then I got real HW and haven;t looked back since
<dgilmore>
everything else I got no output on the console
<dgilmore>
I have a Lichee Pi 4A coming
<davidlt>
dgilmore, you should get VF2 as it has a better support (incl. EDK2 port)
<davidlt>
You might try to SSH into the VM
<davidlt>
The console listed in extlinux.conf might be wrong for libvirt VMs