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
Solved! Go to Solution.
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.
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.
Thank you