AnsweredAssumed Answered

i.MX6 NAND install successfully but fail to boot

Question asked by Hirotoshi Sato on Sep 6, 2017
Latest reply on Sep 6, 2017 by igorpadykov

Hi, I am worried about NAND boot problem.


I installed a yocto image on NAND successfully (message shows that) with SD boot, and after that I removed the SD card and switched to NAND boot mode. However it says nothing when booting. I checked a message with teraterm (serial connect).


I use a variscite's i.mx6 board.

I followed this site: VAR-SOM-MX6 Yocto Jethro R4 Build Yocto release - Variscite Wiki 

I bitbaked fsl-image-gui and after that I created an extended SD card for NAND boot.


I installed on SD card with following command.

sudo MACHINE=imx6ul-var-dart ~/var-som-mx6-yocto-jethro/sources/meta-variscite-mx6/scripts/var_mk_yocto_sdcard/var- -a /dev/sdb

where sdb means SD card (checked with lsblk).


Next, I inserted the SD card into the board and execute following command. -b mx6ul -r nand -v sd

When this process is ended, it says "Installed successfully".

After checking this message, I turned off the board, removed the SD card and switched to NAND boot mode.

However NAND boot is failed.


When I inserted SD card and booted with NAND mode, some messages like "boot mode: NAND, SPL: unsupported boot device" are displayed.


Why can't I execute NAND boot ?

Awaiting your kindly advices !


Best regards,