how to use uuu to burn imx6 NAND flash board

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use uuu to burn imx6 NAND flash board

713 Views
Contributor III

Hi,

We can use mfgtool v2 to download u-boot/dtb/kernel/rootfs to our I.MX6 NAND flash board successfully, and we would like to try new uuu tool. However, we still cannot figure out the command set map to "install zImage-initramfs first to run the u-boot and kernel in imx6ulz RAM, then to burn my imx6ulz nand kernel and rootfs to nand". For example,

(1) We refer to "Burn NAND flash by linux kernel" script in  Sample script · NXPmicro/mfgtools Wiki · GitHub , after run first command, but our device is booting up, and Win10 HID is disappear (after boots up, it is no longer HID device). 

### command run in DOS prompt ###

uuu SDP: boot -f firmware/u-boot-imx6ull14x14evk_nand.imx

### board's console ###

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+ga57b13b (Dec 13 2019 - 11:12:28 +0800)

.....
Hit any key to stop autoboot: 0
Bad Linux ARM zImage magic!
=>

(2) then, we try to not jump in first command, and refer uuu.lst to introduce below commands. We think below commands will bring our board to boot from initramfs, and run until the line "Jumping to OS image" in ucl2.xml'.

(<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>). 

uuu SDP: boot -f files/u-boot-imx6ull14x14evk_nand.imx -nojump
uuu SDP: write -f files/zImage -addr 0x80800000
uuu SDP: write -f files/zImage-imx6ull-14x14-evk-gpmi-weim.dtb -addr 0x83000000
uuu SDP: write -f files/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot -addr 0x83800000
uuu SDP: jump -f files/u-boot-imx6ull14x14evk_nand.imx -ivt

And then HID will be disappear, but would you please advise how to download and burn u-boot/kernel/dts/rootfs to board just as the commands below "Jumping to OS image" ? 

Best Regards,

Stephen

Labels (1)
0 Kudos
3 Replies

108 Views
Contributor I

Hi,

  I am trying to get uuu working for an imx6ull SOM under Ubuntu. I have verified that I am using a recent version of u-boot as pointed out above. However, when I try to perform the following operation

SDP: write -f u-boot.imx -ivt 0

I get the following error :

Fail HID(W):LIBUSB_ERROR_TIMEOUT(1.206s)

I have tried building under Ubuntu 16.04 and 18.04 with similar results.

Is it possible to provide some insight as to what could be going wrong.

Thanks

Victor

0 Kudos

108 Views
Contributor I

Did you deal with these problem?

0 Kudos

108 Views
NXP TechSupport
NXP TechSupport

Hello,

 

I see by the logs response that you share here, that you are using U-Boot imx_v2016.03_4.1.15_2.0.0_ga unfortunately this uboot version is not supported in UUU, since to talk with UUU, uboot need fastboot utility to be enabled.

 

For this version it is recommended to use MFGTool, UUU is supported in U-Boot imx_v2018.03_4.14.78_1.0.0_ga and later releases.

 

Hope this helps,

Best regards,

Aldo.

0 Kudos