Generate and load a UUU image

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Generate and load a UUU image

2,366 次查看
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.

 

标记 (2)
0 项奖励
回复
2 回复数

2,332 次查看
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.

2,319 次查看
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 项奖励
回复