Closed hasheddan closed 3 years ago
Hi,
Does it hang systematicaly at the exact same point ?
About the hang, it seems to me it is in the kernel boot, not opensbi ^^
Maybe it is related to something broken in liteeth ? Can you try a boot without liteeth enabled ?
@Dolu1990 thanks for following up! Yes it hangs at the exact same point every time. To boot without liteeth, should I just disable it here by setting to n
and rebuild the linux images?
About litheth, i think there is an option into the make.py command line isn't it ? check make.py --help (sorry i'm in travel, i can't check exactly)
This should be simpler than rebuilding a whole linux image.
@Dolu1990 no worries at all, thank you for your help! I don't see a flag, but I'm guessing commenting out the ethernet
capability would have the desired effect:
Hmm that doesn't seem to change anything... Interestingly, if I comment out the ethernet
line, then load the bitstream, then serial boot the LEDs stop flashing at the point the boot hangs. This doesn't happen when ethernet
line is not commented out :thinking:
Your issue looks very similar to #176. However, the images you used should contain the related fixes.
@geertu is it possible the images were not updated after the fix went in? (https://github.com/litex-hub/linux-on-litex-vexriscv/issues/176#issuecomment-757876329)
@hasheddan: Just to confirm, commenting out ethernet
capability in the target will disable Ethernet (both in the gateware and linux (through the .dts)). I'm going to rebuild and test the Arty target with prebuilt linux image.
@hasheddan: I don't see the issue on my setup with a fresh bitstream and using prebuilt OpenSBI/Linux images. Can you test with the bitstream/images attached?
I just loaded the bistream and then the images with: litex_term /dev/ttyUSBX --speed=1e6 --images=images/boot.json
@enjoy-digital thanks for following up! I'll give those a try. Do they match the ones on #164?
@enjoy-digital those artifacts work! I wonder if the ones listed on #164 are stale?
@hasheddan: Good, to be sure I reused the Linux/OpenSBI images from #164 (but rebuilt the bitstream). So the difference with your previous tests is the bistream and rv32.dtb.
Not sure what happened exactly, but I think we can close this since has been tested sucesfully with the re-generated bitstream and prebuilt images.
After loading bitstream (
/make.py --board=arty --load
), when serial booting (sudo lxterm --images=images/boot.json /dev/ttyUSB1 --serial-boot --speed=1e6
) on Digilent Arty A7 OpenSBI appears to hang forever onsit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
. Tried it out with both kernel versions from #164. Let me know if there is any additional information I can provide. Thanks for y'all's awesome work on this!