U-boot configuration for UUU - Unknown image format!

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

U-boot configuration for UUU - Unknown image format!

1,413 次查看
abrahim
Contributor III

Hello,

I can't achieve to compile a working u-boot for uuu tool.I have the following message :

U-Boot 2020.04 (Apr 13 2023 - 11:31:09 +0200)

CPU: i.MX6SOLO rev1.3 at 792MHz
CPU: Industrial temperature grade (-40C to 105C) at 40C
Reset cause: POR
Model: i.MX6 DualLite/Solo SABRE Automotive Board
Board: MX6Q-Sabreauto rev@
DRAM: 2 GiB
NAND: nand_base: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
nand_base: Micron MT29F8G08ABACAH4
nand_base: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
1024 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 2
Loading Environment from NAND... Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Warning: FEC (eth0) using random MAC address - 72:a8:ae:f0:b9:32

Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment

Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else bootz ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot auto; fi;
Hit any key to stop autoboot: 0

## Checking Image at 12c00000 ...
Unknown image format!
Run fastboot ...
fastboot - run as a fastboot usb or udp device

Usage:
fastboot [-l addr] [-s size] usb <controller> | udp
addr - address of buffer used during data transfers (0x12C00000)
size - size of buffer used during data transfers (0x7000000)

Can you please support ? You can find my .config; board configuration, and uuu script attached.

By the way, I used the LF_v5.15.71-2.2.0_images_IMX6QPDLSOLOX.zip provided by NXP but I couldn't use the binaries as I need to flash the nand and I use UART2 for debug.

Best regards,

Aïda

 

 

0 项奖励
回复
3 回复数

1,381 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @abrahim,

I hope you are doing well.

From the logs, it seems that the USB device is not properly detected.

Please refer to the below-mentioned community thread.
https://community.nxp.com/t5/i-MX-Processors/uboot-Unknown-image-format/td-p/1195719

Thanks & Regards,
Dhruvit Vasavada

0 项奖励
回复

1,379 次查看
abrahim
Contributor III

Hi,

 

What I understood from the feed is that the person was using a virtual environment, which I'm not, so it's not related.

Please share the .config and the ./board/freescale/mx6sabreauto/mx6sabreauto.c files of the uuu u-boot.

Because I can't use the one provided in the package as I'm not using the same UART, so I don't have any logs to debug.

Best regards,

Aïda

0 项奖励
回复

1,345 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @abrahim,

I hope you are doing well.

From the logs, it is seen that it prints fastboot command usage.
The issue seems to be in the fastboot command in uboot script.

Please remove CONFIG_USB_PORT_AUTO=y from the u-boot configuration.

Please share the .config and the ./board/freescale/mx6sabreauto/mx6sabreauto.c files of the uuu u-boot.
=> One can refer to/configs/mx6solosabreauto_nand_defconfig

Thanks & Regards,
Dhruvit Vasavada

0 项奖励
回复