AnsweredAssumed Answered

how to use uuu to burn imx6 NAND flash board

Question asked by Steven Yu on Jan 30, 2020
Latest reply on Jan 31, 2020 by Aldo Gutierrez

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

Outcomes