Flash yocto images using uuu script

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash yocto images using uuu script

2,619件の閲覧回数
vinothkumars
Senior Contributor IV

Dear NXP,

I have to flash the yocto images using uuu script. But, I got error

 

PS D:\> .\uuu_imx_android_flash.bat -y
This script is validated with uuu 1.2.91 version, please align with this version.
The system cannot find the file partition-table_1.txt.
The system cannot find the file partition-table_2.txt.
File not found - PARTITION-TABLE_3.TXT
File not found - PARTITION-TABLE_3.TXT
File not found - PARTITION-TABLE_3.TXT
File not found - PARTITION-TABLE_3.TXT
Could Not Find D:\\partition-table_1.txt
Could Not Find D:\\partition-table_2.txt
Could Not Find D:\\partition-table_3.txt
=soc_name] was unexpected at this time.

 

Regards,

Regards,
Vinothkumar Sekar
タグ(2)
0 件の賞賛
返信
5 返答(返信)

2,582件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

   Probably You can try gpt partition. but in uuu script, sfdisk is used in example_kernel_emmc.uuu. See below, please!

# create partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

 

Have a nice day!

B.R,

weidong

 

0 件の賞賛
返信

2,564件の閲覧回数
vinothkumars
Senior Contributor IV

Hi,

Probably You can try gpt partition.

<Vinoth> Will you please provide the steps

 

but in uuu script, sfdisk is used in example_kernel_emmc.uuu. See below, please!

# create partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

<Vinoth>Is it possible from u-boot, FBK is kernel command

 

Regards,
Vinothkumar Sekar
0 件の賞賛
返信

2,580件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you @weidong_sun  for the quick reply.

 

I used that command. But, nothing is work uboot stopped in uboot console.

 

uuu_version 1.0.1

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f .\imx-boot

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f .\imx-boot

 

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all .\ccu-rootfs-image-wabco_ccu.sdcard.bz2
FB: flash bootloader .\imx-boot
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0

# create partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

 

FB: done

 

I have to create partition table from u-boot source. Will you please give some steps ?

 

Regards,

Regards,
Vinothkumar Sekar
0 件の賞賛
返信

2,590件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

    what you are using is to flash android image to board. not yocto image.

    if you want to flash yocto image, you should download DEMO images from our website, then copy uuu.exe to DEMO image directory.

    run "uuu.exe uuu.auto ", yocto demo image will be flashed to your board.

    or modify samples/example_kernel_emmc.uuu (if your flash is eMMC) for yours.

     then use "uuu example_kernel_emmc.uuu" command to flash images to eMMC.

 

   if you want to flash android images, you refer to the link:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-handle-issue-on-Waiting-for-devic...

 

Have a nice day!

B.R,

weidong

   

0 件の賞賛
返信

2,587件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you @weidong_sun  for the reply.

 

Now I able to flash using the uuu.auto script.

I need some more info regarding emmc partition in uboot/ uuu.

I have to create partition.gpt for yocto. Is there any possible way to create emmc partition from uuu tool or uboot. and also have to flash into partition.

 

Regards,

Regards,
Vinothkumar Sekar
0 件の賞賛
返信