Embedded_linux [SOLVED]: Use U-boot to flash sd card image

Embedded_linux [SOLVED]: Use U-boot to flash sd card image

Home Forums Embedded Linux Embedded_linux [SOLVED]: Use U-boot to flash sd card image

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4345

    Anonymous

    QuestionQuestion

    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)?

    #4346

    Anonymous

    Accepted AnswerAnswer

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

    Source: http://stackoverflow.com/questions/42214334/use-u-boot-to-flash-sd-card-image
    Author: Thomas Petazzoni
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.