Hello,
I'm trying to flash an i.MX6ULZ using the flashing tool uuu (v. 1.3.191).
I start with the demo binary files : https://www.nxp.com/webapp/Download?colCode=L4.14.62_1.0.0_Beta_MX6ULZ&appType=license&location=null
I'm trying to to flash these files by the uuu.auto file inside the demo folder.
sudo ./uuu -v L4.14.62_1.0.0_beta_images_MX6ULZ/
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-3-gf895947
Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
Wait for Known USB Device Appear...
New USB Device Attached at 1:2
1:2>Start Cmd:SDP: boot -f u-boot-imx6ulz14x14evk_emmc.imx
6400%1:2>Okay (0.474s)
New USB Device Attached at 1:2
1:2>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:2>Okay (0.001s)
1:2>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:2>Okay (0.085s)
1:2>Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:2>Fail (0.041s)
What am I doing wrong ?
Hello,
I believe you're trying to flash an NXP EVK, right?
Please check that there is an eMMC populated in the SOM board, this because uuu.auto script is used to flash uboot and rootfs into eMMC.
If there is a populated eMMC, please share your uboot log, usually it will show an error message.
If not, please try with the following command, it will let yous flash a Linux image (uboot & rootfs) into a uSD card:
$ sudo ./uuu -v -b sd_all u-boot-imx6ulz14x14evk_sd.imx fsl-image-validation-imx-imx6ulz14x14evk.sdcard
Note: For this you'll need to have a uSD card inserted into the corresponding socket.
Also, if there is no particular reason for the use of L4.14.62 I'll recommend to use a GA version since it is more stable than a beta image, you may find the demo files here:
Note: UUU is supported in L4.9.123 and later.
Hope this helps,
Best regards,
Aldo.
I completely wipe out the image (including u-boot), by failing an update of the image. That's why I want to re-flash everything.
I can't access to the iMX through SD card, because I'm working on a prototype which doesn't include a SD card. I'm communicating with the board through USB.
I didn't find the working command to flash uboot & rootfs using the USB. Do you have any idea ?
Ok thanks, I will a more recent version then.
Same issue with the most recent image (L4.19.35_1.1.0) :
sudo ./uuu -v /home/glq/img/L4.19.35_1.1.0_images_MX6UL7D/uuu.auto-imx6ulz14x14evk
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-3-gf895947Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
Wait for Known USB Device Appear...
New USB Device Attached at 1:2
1:2>Start Cmd:SDP: boot -f u-boot-imx6ulz14x14evk_emmc.imx
6400%1:2>Okay (0.422s)
New USB Device Attached at 1:2
1:2>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:2>Okay (0.044s)
1:2>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:2>Okay (0.001s)
1:2>Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:2>Fail (0.018s)
Hello,
I didn't find the working command to flash uboot & rootfs using the USB. Do you have any idea ?
> You may use UUU to download trough serial downloader uboot and rootfs, please note that the Serial Downloader provides a means to download a program image to the chip over the USB serial connection.
I can't access to the iMX through SD card, because I'm working on a prototype which doesn't include a SD card.
> Could you confirm which boot device are you using?
I guess that uboot is failing to recognize or initialize the boot device, in this case eMMC, I may need to take a look to your serial log (uboot log) to be more certain about it.
Thank you,
Best regards,
Aldo.
Hello,
Could you confirm which boot device are you using?
I'm using a MCIMX6Z0DVM09AB.
I guess that uboot is failing to recognize or initialize the boot device, in this case eMMC, I may need to take a look to your serial log (uboot log) to be more certain about it.
When I'm switching back to the usual boot mode (in opposition to serial downloader), I'm seeing nothing in the log.
Hello,
Thank you for the information, but for boot device I mean that if you're trying to flash an eMMC or any other boot device.
Also, you should be able to see the serial log (uboot log) when trying to flash with UUU using a serial terminal, since UUU uses uboot and fastboot utility to download and flash an image this will help to identify the issue.
Thank you,
Best regards,
Aldo.