Comment 0 for bug 1853395

Revision history for this message
Betty Lin (bettyl) wrote : [nitrogen6x-uc18] Need update uboot env and then can enter to core image

Image: nitrogen6x-uc-2019-11-13-123.img
CID: 201908-27262

Description:
Need update uboot env and then can enter to core image

The logs when can't enter to core image:
U-Boot 2018.07-rc3+dfsg1-0ubuntu3~18.04.1~hwe6 (Aug 16 2019 - 03:37:12 +0000)

CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: Nitrogen6X
I2C: ready
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Failed (-5)
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
auto-detected panel HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
Net: using phy at 6
FEC [PRIME], usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
0 bytes read in 8 ms (0 Bytes/s)
## Executing script at 12000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
** Unable to read file / **
MMC: no card present
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
No port device detected!

Device 0: Model: Firm: Ser#:
            Type: Hard Disk
            Capacity: not available
... is now current device
timeout exit!
timeout exit!
timeout exit!

Update uboot env by following command can enter to core image:
$ fatload mmc 0:1 0x13000000 uboot.env;env import 0x13000000;env save;reset

Please refer to the doc for detail: https://tinyurl.com/wynan6n