Flashin emmc with the sdcard image using uuu or fastboot imx8MM evk

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

Flashin emmc with the sdcard image using uuu or fastboot imx8MM evk

Jump to solution
430 Views
mariusoctavian
Contributor III

I build my image following the simplest way to get imx running:
Debian build release on imx

I have an image uboot kernel and sdcard image running fine.

I can flash it on sdcard the sdcard.img and on emmc using
the sdcard u-boot ums 0 mmc 1
mount the emmc then dd the image there. So far so good.

 

I have to be able to flash the emmc without the sdcard help of the u-boot SPL ums mode.
I m trying to push the spl u-boot, but I am getting this error.

 

 

sudo uuu ./u-boot-spl.bin 

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-7-gaca7f23
Success 0    Failure 1                                                                                                                           
                                                                                                                                                
                                                                                                                                                  
1:24     1/ 2 [Cannot find valid IVT header          ] SDP: boot -f "./u-boot-spl.bin"

 

 



Another method I have seen out there is making a wic
file but that wic is strong tight with yocto which I don't have.

I tried this also

 

 

sudo uuu -b sd_all ./myimage.img 
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.21-7-gaca7f23

Success 0    Failure 1                                                                                                                           
                                                                                                                                                  
                                                                                                                                                  
1:24     2/ 3 [This wic have NOT terminate tag after ] SDPV: write -f ./icp001.img -skipspl -scanterm -scanlimited 0x800000                       

 

 



 

 

 

 

0 Kudos
1 Solution
419 Views
mariusoctavian
Contributor III

I guess I had to use the 'right' uuu as old as 2 years old..

https://github.com/TechNexion/imx-mfgtools-tn

Juts build it and replaced the stock one.

Then I use it as.

sudo ./uuu -b emmc_all ./uboots/boot.bin  image_from_sd.img

# the boot.bin was fabricated frmo the image_from_sd.img dding first 8 k



I get a message at end, image to big to fit in partition, but exploring it afterwards looks okay.




View solution in original post

0 Kudos
1 Reply
420 Views
mariusoctavian
Contributor III

I guess I had to use the 'right' uuu as old as 2 years old..

https://github.com/TechNexion/imx-mfgtools-tn

Juts build it and replaced the stock one.

Then I use it as.

sudo ./uuu -b emmc_all ./uboots/boot.bin  image_from_sd.img

# the boot.bin was fabricated frmo the image_from_sd.img dding first 8 k



I get a message at end, image to big to fit in partition, but exploring it afterwards looks okay.




0 Kudos