[imx6ulstarter] UUU utility with windows 10 64bit

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

[imx6ulstarter] UUU utility with windows 10 64bit

720 Views
Rakesh0815
Contributor I

I am using UUU to flash my imx6ul starter kit with below script.

.\uuu.exe fb: ucmd setenv fastboot_buffer ${loadaddr}
.\uuu.exe fb: ucmd setenv forced_update 1
.\uuu.exe fb: download -f "u-boot-ccimx6ulstarter.imx"
.\uuu.exe "fb[-t 5000]": ucmd update uboot ram ${fastboot_buffer} ${fastboot_bytes}
.\uuu.exe FB: delay 1000

.\uuu.exe FB: ucmd nand erase.part rootfs
.\uuu.exe FB: delay 1000

.\uuu.exe FB: ucmd setenv bootcmd "env default -a; saveenv; fastboot 0;"
.\uuu.exe FB: ucmd saveenv
.\uuu.exe FB: acmd reset
.\uuu.exe FB: delay 3000

.\uuu.exe FB: ucmd setenv fastboot_buffer ${loadaddr}
.\uuu.exe FB: download -f "core-image-minimal-ccimx6ulstarter.boot.ubifs"
.\uuu.exe "fb[-t 15000]": ucmd update "linux" ram ${fastboot_buffer} ${fastboot_bytes}
.\uuu.exe FB: delay 3000

.\uuu.exe FB: download -f "core-image-minimal-ccimx6ulstarter.recovery.ubifs"
.\uuu.exe "fb[-t 15000]": ucmd update "recovery" ram ${fastboot_buffer} ${fastboot_bytes}
.\uuu.exe FB: delay 3000

.\uuu.exe FB: download -f "core-image-minimal-ccimx6ulstarter.rootfs.ubifs"
.\uuu.exe "fb[-t 90000]": ucmd update "rootfs" ram ${fastboot_buffer} ${fastboot_bytes}
.\uuu.exe FB: delay 3000

.\uuu.exe FB: ucmd nand erase.part update

.\uuu.exe FB: ucmd setenv boot_recovery yes
.\uuu.exe FB: ucmd setenv recovery_command wipe_update

.\uuu.exe FB: ucmd saveenv

.\uuu.exe FB: acmd reset

It is working perfectly fine when I use it on evaluation board but it is not working on our custom board.

First part of the script before reset was working and when we reset the board for further commands USB is not getting detected after reset command. Hitting Error: Bulk(W):LIBUSB_ERROR_TIMEOUT error.

Script Logs:

C:\Users\H397427\Desktop\uuu_windows>uuu.bat

C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe fb: ucmd setenv fastboot_buffer ${loadaddr}
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] fb: ucmd setenv fastboot_buffer ${loadaddr}
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe fb: ucmd setenv forced_update 1
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] fb: ucmd setenv forced_update 1
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe fb: download -f "u-boot-ccimx6ulstarter.imx"
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] fb: download -f u-boot-ccimx6ulstarter.imx
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe "fb[-t 5000]": ucmd update uboot ram ${fastboot_buffer} ${fastboot_bytes}
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] fb[-t 5000]: ucmd update uboot ram ${fastboot_buffer} ${fastboot_bytes}
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: delay 1000
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: delay 1000
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: ucmd nand erase.part rootfs
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: ucmd nand erase.part rootfs
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: delay 1000
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: delay 1000
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: ucmd setenv bootcmd "env default -a; saveenv; fastboot 0;"
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: ucmd setenv bootcmd "env default -a; saveenv; fastboot 0;"
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: ucmd saveenv
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: ucmd saveenv
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: acmd reset
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: acmd reset
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: delay 3000
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 0


1:2 1/ 1 [ ] FB: delay 3000
Okay

 


C:\Users\H397427\Desktop\uuu_windows>.\uuu.exe FB: ucmd setenv fastboot_buffer ${loadaddr}
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.165-0-ge10b026

Success 0 Failure 1


1:2 1/ 1 [Bulk(W):LIBUSB_ERROR_TIMEOUT ] FB: ucmd setenv fastboot_buffer ${loadaddr}

Error: Bulk(W):LIBUSB_ERROR_TIMEOUT

Serial Logs:


U-Boot dub-2020.04-r5.3+g463ba6ce56 (Dec 27 2021 - 10:58:25 +0000)

CPU: i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 33C
Reset cause: POR
I2C: ready
DRAM: 256 MiB
MCA: HW_VER=1 FW_VER=1.14
force_idle_bus: sda=0 scl=0 sda.gp=0x1 scl.gp=0x0
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
NAND: 256 MiB
MMC: FSL_SDHC: 0
In: serial
Out: serial
Err: serial
Model: Digi International ConnectCore 6UL Starter Board.
ConnectCore 6UL SOM variant 0x06: Industrial Ultralite 528MHz, 256MB NAND, 256MB DDR3, -40/+85C, Wireless, Bluetooth
Board version undefined, ID undefined
Boot device: NAND
Net: FEC0 MXC: board_eth_init:failed
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
=> fastboot 0
Starting download of 719872 bytes
.....
downloading of 719872 bytes finished
Writing bootstream...OK

NAND erase.part: device 0 offset 0x1f00000, size 0x7a00000
Erasing at 0x98e0000 -- 100% complete.
OK
Saving Environment to NAND... Erasing redundant NAND...
Erasing at 0x320000 -- 100% complete.
Writing to redundant NAND... OK
OK
resetting ...


U-Boot dub-2020.04-r5.3+g463ba6ce56 (Dec 27 2021 - 10:58:25 +0000)

CPU: i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 37C
Reset cause: POR
I2C: ready
DRAM: 256 MiB
MCA: HW_VER=1 FW_VER=1.14
force_idle_bus: sda=0 scl=0 sda.gp=0x1 scl.gp=0x0
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
NAND: 256 MiB
MMC: FSL_SDHC: 0
In: serial
Out: serial
Err: serial
Model: Digi International ConnectCore 6UL Starter Board.
ConnectCore 6UL SOM variant 0x06: Industrial Ultralite 528MHz, 256MB NAND, 256MB DDR3, -40/+85C, Wireless, Bluetooth
Board version undefined, ID undefined
Boot device: NAND
Net: FEC0 MXC: board_eth_init:failed
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
*** Warning - ## Resetting to default environment
, using default environment

Saving Environment to NAND... Erasing NAND...
Erasing at 0x300000 -- 100% complete.
Writing to NAND... OK
OK

Tags (1)
0 Kudos
2 Replies

716 Views
Rakesh0815
Contributor I

We are using USB OTG and it was working with mfgtools application(when we had older u-boot version where fastboot protocol was not introduced). 

 

0 Kudos

691 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi 

Can you share your otg schematic?

 

0 Kudos