cancel
Showing results for 
Search instead for 
Did you mean: 

is there an easy and convenient way of updating rootfs

yakabmarci
Senior

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

1 REPLY 1
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.