Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very slow kernel/initrd download (RPI + U-boot)
2019-10-04, 12:31
Post: #13
RE: Very slow kernel/initrd download (RPI + U-boot)
(2019-10-04 12:20)ljfranklin Wrote:  Initially I was using the Pi's built-in firmware to netboot into EDK2. But putting EDK2+iPXE directly on disk makes sense, less flaky and lets you add certs for security.

I've now got iPXE almost booting. It correctly downloads the kernel and initrd at an acceptable speed after pulling your latest commit to the lan78xx driver (thanks!). But iPXE hangs at "EFI stub: Exiting boot services and installing virtual address map...". I've tried messing with the kernel args, adding "net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1" didn't help. It also could be that I'm using a USB drive rather than an SD card. Any suggestions on debugging further?

I hit exactly that problem myself, along with several others (all now fixed).

Check that you are using the latest stable RPi firmware (bootcode.bin), latest edk2 master, and latest edk-platforms master commits. There was one bug relating to an incorrect internal device tree containing a spurious "interrupt-parent" property, which prevented the serial port from working. There is also a very recent kernel fix (https://github.com/raspberrypi/linux/com...6a403990ec) required to make the framebuffer work; this may not yet be present in the prebuilt kernel packages.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Very slow kernel/initrd download (RPI + U-boot) - mcb30 - 2019-10-04 12:31



User(s) browsing this thread: 1 Guest(s)