AnsweredAssumed Answered

Issues during booting from Quad Nor Flash in i.MX6ULEVK

Question asked by Sreekanth M on Jun 12, 2018
Latest reply on Jun 13, 2018 by Sreekanth M

Hi Guys

 

Finally I am able to flash the Quad SPI NOR of i.MX6ULEVK. But when I tried booting from NOR flash It is not happening. These are logs while booting.

 

U-Boot 2017.03-imx_v2017.03_4.9.11_1.0.0_ga+ga2fea67 (Sep 17 2017 - 14:55:08 -0500)

CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: Freescale i.MX6 UltraLite 14x14 EVK Board
Board: MX6UL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected n25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
Net: 
Warning: ethernet@020b4000 using MAC address from ROM
eth1: ethernet@020b4000 [PRIME]
Warning: ethernet@02188000 using MAC address from ROM
, eth0: ethernet@02188000
Normal Boot
Hit any key to stop autoboot: 0 
MMC: no card present
mmc_init: -123, time 2
MMC: no card present
mmc_init: -123, time 2
MMC: no card present
mmc_init: -123, time 2
Booting from net ...
ethernet@020b4000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@020b4000
BOOTP broadcast 1
BOOTP broadcast 2

 

 

As per the document , I have tried with following commands to set the environment.

U-Boot > setenv bootcmd 'run bootargsset; sf probe; sf read ${loadaddr} 0xA00000
0x2000; sf read ${fdt_addr} 0x800000 0x800; bootz ${loadaddr} - ${fdt_addr} '

 

Then If I reboot, I get following logs on the command prompt.

 

## Error: "bootargsset" not defined
SF: Detected n25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
device 0 offset 0xa00000, size 0x1600000
SF: 23068672 bytes @ 0xa00000 Read: OK

 

Your help will be highly appreciated.

 

 

Thanks

Sreekanth M.

Outcomes