Create a new partition in emmc by uuu script Linux for flash yocto images

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

Create a new partition in emmc by uuu script Linux for flash yocto images

2,457 Views
vinothkumars
Senior Contributor IV

Dear NXP,

I have to create the 5 partition in EMMC using UUU script. Please provide the script or steps. Currently I am using following commands to flash,

 

.\uuu.exe -b emmc_all .\imx-boot .\ccu-rootfs-image-wabco_ccu.sdcard.bz2

partition "all" means whole device

 

Regards,

 

Regards,
Vinothkumar Sekar
Labels (1)
0 Kudos
Reply
2 Replies

2,434 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vinoth

 

one can look at sample scripts examples:

https://github.com/NXPmicro/mfgtools/wiki/Sample-script

If mfg tool used before, look at sect.Migration from mfgtool ucl2.xml uuu manual

https://github.com/NXPmicro/mfgtools/releases/tag/uuu_1.4.43

 

Best regards
igor

0 Kudos
Reply

2,406 Views
vinothkumars
Senior Contributor IV

Thank you @igorpadykov 

I have to create 3 partition shall I use this command

0 to 1GB

FBK: ucmd dd if=/tmp/partition1 of=/dev/mmcblk0p1 bs=1k seek=1024*1024 conv=fsync

 

1 to 2 GB

FBK: ucmd dd if=/tmp/partition2 of=/dev/mmcblk0p2 bs=1k seek=1024*1024 conv=fsync

 

2 to 3 GB

FBK: ucmd dd if=/tmp/partition3 of=/dev/mmcblk0p3 bs=1k seek=1024*1024 conv=fsync

 

 

Regards,

Regards,
Vinothkumar Sekar
0 Kudos
Reply