Skip to main content
Graduate II
September 14, 2019
Question

is there an easy and convenient way of updating rootfs

  • September 14, 2019
  • 1 reply
  • 621 views

i mean do the update somehow on the fly without removing the card from a running system, on the pc build a new rootfs and instead of removing the card, and do the copying on the pc, do this directly on the dk board. in principle it should be possible, i just need the 'magic' commands/scripts, or even have this new rootfs in ram on some ram drive

e.g. scp the new rootfs, then chroot to it, somehow

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    September 16, 2019

    Hi @yakabmarci​ 

    By connecting your board with ethernet you can update rootfs via "scp",then "sync" command to write it to SD-Card.

    You have also solution to use remote rootfs via nfs or tftp server.

    This page can help :

    https://wiki.st.com/stm32mpu/wiki/How_to_boot_the_kernel_via_TFTP_from_U-Boot

    Olivier