Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very slow kernel/initrd download (RPI + U-boot)
2019-08-30, 02:29
Post: #1
Very slow kernel/initrd download (RPI + U-boot)
Setup:
- Raspberry Pi 3 B+
- RPI Bootloader -> U-boot 64-bit -> iPXE 64-bit snp.efi

So far I have the Raspberry Pi successfully booting into u-boot (a popular ARM bootloader), which then chainloads iPXE snp.efi. U-boot steps shown here, although I'm trying to use HTTP rather than ISCSI. iPXE with snp.efi target successfully detects the network devices, gets an IP from DHCP, and starts the kernel download.

The issue is the kernel download is incredibly slow, taking 10+ minutes to download a 6MB kernel file. The Raspberry Pi only supports a 100-Mbps max speed, but this is down at 50-kbps or so. Appreciate any suggestions on how to debug this.

Other stuff I've tried:
- 32-bit U-boot + 32-bit iPXE has the same issue
- Tried building the recently added `rpi.efi` target using command shown here, but this build failed to detect the network devices
Find all posts by this user
Quote this message in a reply
2019-09-05, 00:35
Post: #2
RE: Very slow kernel/initrd download (RPI + U-boot)
make sure that you build an image that includes the nic driver instead of relying on nii/snp interface.
But other than that, a tcpdump is probably in order to see where the issue is, if it is re-transmits or similar.

Read FAQ before first post!
Are relevant ipxe.org error urls and PCIIDs included?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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