artsin
artsin

Reputation: 1494

Use U-boot to flash sd card image

I have my raspberry pi zero, and during development I spend a lot of time to eject-inject SD card and re-flash it. SD card image is prepared in Buildroot, so it includes boot partition with kernel, device tree overlays and partition with rootfs. Is there simpler way to re-flash SD card? For example via network? I know that U-boot can load kernel via tftp, but if I need not only kernel, but whole image(device tree overlays are extremely important)?

Upvotes: 1

Views: 1813

Answers (1)

Thomas Petazzoni
Thomas Petazzoni

Reputation: 5956

Use TFTP to load the kernel image, and NFS to mount the root filesystem over the network.

Upvotes: 6

Related Questions