How Yocto Linux handle the user data section during the flashing

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

How Yocto Linux handle the user data section during the flashing

550 Views
13614278
Contributor III

We're using IMX8mini EVK, flashing the whole system via UUU.

But after flashing, all user-data would be erased as well.

I'm wondering if we can have similar behavior as Android's userdata partiion, so flashing would no erase user's data. Can IMX8mini Yocto Linux support this? And if it does, how to ?

Thanks

0 Kudos
1 Reply

490 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi, Songxiang

See below, please!

--------------------

1. when you program images to eMMC on board for the first time, Commands for partition must be run in uuu script.

2. when you update images later, if you don't want data lost, you should comment "create partition" commands in uuu script.
you can try it, please!

--------------------

Chinse:

1. 第一次烧写image的时候,你必须要运行完整的脚本中的命令,因为EMMC/SD卡需要分区。

2. 第二次或者以后更新image的时候,如果你需要保留数据,那么你可以注释掉脚本中的分区命令。

试试看!

附件里是我使用过的uuu 脚本,给你参考。

0 Kudos