burn rootfs through uuu

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

burn rootfs through uuu

Jump to solution
1,361 Views
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

Tags (1)
0 Kudos
Reply
1 Solution
1,347 Views
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.

View solution in original post

0 Kudos
Reply
2 Replies
1,348 Views
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 Kudos
Reply
1,337 Views
rvignesh496
Contributor I

Thank you

0 Kudos
Reply