burn rootfs through uuu

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

burn rootfs through uuu

跳至解决方案
2,401 次查看
rvignesh496
Contributor I

Hello

I can see these lines in uuu.auto file

FBK: ucmd source /tmp/mtd.sh; mount -t ubifs ubi0:nandrootfs /mnt/mtd
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/mtd
FBK: ucp _rootfs.tar.bz2 t:-
FBK: sync
FBK: ucmd umount /mnt/mtd

My doubt is whether the rootfs is burned in flash as a tarball or whether the rootfs is uncompressed and burned?

Thanks in advance

标记 (1)
0 项奖励
回复
1 解答
2,387 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I couldn't find this commands in our default uuu.auto files, so I guess this is a custom script.

By the looks it is using kernel to flash, any time you may have doubt what is the tool doing you can check after the acmd/ucmd, taking this script as an example it should be like thislike this:

FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/mtd

FBK -> this will tell you that it is a kernel command

acmd -> perform a command and don't wait for the command to finish.

EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/mtd -> kernel commands to be executed

Looking to this you'll see that the tarball is being uncompressed. Also, you may take a look to the tool documentation as reference:

https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.4.139/UUU.pdf

Best regards,
Aldo.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,388 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I couldn't find this commands in our default uuu.auto files, so I guess this is a custom script.

By the looks it is using kernel to flash, any time you may have doubt what is the tool doing you can check after the acmd/ucmd, taking this script as an example it should be like thislike this:

FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/mtd

FBK -> this will tell you that it is a kernel command

acmd -> perform a command and don't wait for the command to finish.

EXTRACT_UNSAFE_SYMLINKS=1; tar -jx -C /mnt/mtd -> kernel commands to be executed

Looking to this you'll see that the tarball is being uncompressed. Also, you may take a look to the tool documentation as reference:

https://github.com/NXPmicro/mfgtools/releases/download/uuu_1.4.139/UUU.pdf

Best regards,
Aldo.

0 项奖励
回复
2,377 次查看
rvignesh496
Contributor I

Thank you

0 项奖励
回复