Reputation: 1494
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
Reputation: 5956
Use TFTP to load the kernel image, and NFS to mount the root filesystem over the network.
Upvotes: 6