How to upgrade rootfs(ubifs) in linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to upgrade rootfs(ubifs) in linux

835 Views
guochgz
Contributor III

hello, everyone:

      I have a custom board with imx6ull,  there is four patition.

      1. uboot partition

      2. kernel partition

      3. dtb partition

      4. rootfs partition (ubifs)

     now I need to upgrade this system when the system is running. but at this time, the /dev/mtd3 is already mounted by kernel. when I flash_erase this partition(rootfs), all the bins(executable programs) will be lost.  and the status of /dev/ubi0_0 is "Device or resource busy" .

     what am I supposed to do? 

Labels (2)
0 Kudos
1 Reply

728 Views
b36401
NXP Employee
NXP Employee

You can create another rootfs partition for upgrade.
I mean you can make a small OS that can perform the upgrade of original rootfs and place it on separate one.

0 Kudos