Generate and load a UUU image

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

Generate and load a UUU image

1,114 Views
johnnyb61820
Contributor I

I am unclear on how UUU works.  I have a Compulab that ships with Debian Linux.  I have it configured the way I want it, and would like to create an image to burn for UUU.  Do I use "dd" to create the image?  Do I dd the whole EMMC drive or just the root partition?  Do I need to do anything for the EFI boot partition?  What is the right command to flash it back to the Compulab?  Do I need to flash the boot loader or just leave it?

The documentation about UUU doesn't say anything about where these images are coming from.  It's also unclear from the documentation which arguments are files, pre-installed scripts, or what/where they came from.  Trying to avoid just playing with this because I don't want to accidentally break anything.  I'm very experienced in Linux admin, but not very experienced in the embedded side.

 

Tags (2)
0 Kudos
Reply
2 Replies

1,080 Views
johnnyb61820
Contributor I

I think I have it figured out.

To get the filesystem image, I did:

dd if=/dev/mmcblk2 | ssh -C myuser@mycomputer 'cat > disk.img'

Then, I downloaded the U-boot "firmware recovery image" from Compulab.  I'm not sure this is correctly named.  I decompressed the zip file, and it has two flash files inside the zip file.  I'm not 100% sure, but it looks like you choose the flash file based on the amount of memory on your Compulab.  I used flash.bin.d2d4.

Then, to flash the system, I plugged into the programming port and restarted the device.  Then I ran:

uuu -b emmc_all flash.bin.d2d4 disk.img

This resulted in a fully working system.

1,067 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

I hope you are doing well.

It is good to know that that your process resulted in a fully working system.

Also, I suggest you check the next links for a more information:

Flashing Linux BSP using UUU. 

i.MX Yocto Project User's Guide.

Best regards.

Jorge.

Jorge.

0 Kudos
Reply