Open MihanLee opened 1 year ago
look uboot have not boot at boards, can you check serial port output?
Yes, there is nothing output on the serial port. What should I do next?
But I flash the old image (4.1.15) with mfgtool is okay. is there some differents between the latest image (5.15.32) and the old one e.g. address?
I found the size of old u-boot (4.1.15) is about 367KB, and the latest one is 624KB.
The size is not problem. Maybe DDR change or some problem, uboot hange before print anything. It need debug uboot. Does it can boot from sd card?
uuu -b emmc old_uboot new_uboot
to check if new_uboot can boot from emmc?
I tried to make the SD card as following the guide from NXP to boot, but the unit didn't boot with this image from SD card, which can boot with the old image.
bzcat ...wic.bz2 || sudo dd of=/dev/sd.. bs=1M conv=fsync
OTOH, uuu -b emmc <old_uboot> <new_uboot>
is also frozen on the same place.
You need debug uboot.
I found some output from serial port using uuu command as you said on Windows.
U-Boot 2014.04-gd8ae003-dirty (Oct 26 2017 - 17:19:36)
CPU: Freescale i.MX6DL rev1.3 at 792 MHz
CPU: Temperature 57 C, calibration data: 0x59751f69
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
DS2460'S ID is: 0x3c 0x9e 0xc2 0x81 0x00 0x00 0x00 0x44
normol mode!
mmc2(part 0) is current device
Net: Read MAC from ds2460 : 00:14:97:2e:88:fa
Phy not found
PHY reset timed out
FEC [PRIME]
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};
Hit any key to stop autoboot: 0
Bad Linux ARM zImage magic!
Ok, how to debug uboot in details?
you can ctrl-c, then enter console, run fastboot 0
If it works. It should failure auto run fastboot by detect boot from USB. if it is not works, it should usb related function does work.
run fastboot 0
or fastboot 0
doesn't work on the console.
=> run fastboot 0
## Error: "fastboot" not defined
=> fastboot 0
Unknown command 'fastboot' - try 'help'
=>
Your uboot missed some configuration. https://github.com/NXPmicro/mfgtools/wiki/uboot-config-requirement
Sorry for late.
I added the configuration following the website to .config
file, but the uboot v2016.03 doesn't seem to have this fastboot
function.
but I saw something about SPL
but there is something different. It would be good if you could check it for me. The attach is the .config
file after make mx6dlsabresd_defconfig
.
#
# Boot images
#
CONFIG_SUPPORT_SPL=y
# CONFIG_SPL is not set
# CONFIG_FIT is not set
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6dlsabresd.cfg,MX6DL,SYS_USE_SPINOR"
Hi
I tried to flash the latest image V5.15.32 for the board based on IMX6U7CVM08AC, using Ubuntu 22.04 with the *.wic.bz2 file
But It's frozen, here is the message in verbose mode:
What should I do for it?