Please look at my comments regarding the issue.
- 1.
Please check if proper U-boot (u-boot-mx6dl-sabreauto.bin) was used to create SD card :
From section 8.2 (Copying the Boot Loader Image) of the Linux User’s Guide :
Enter the following command to copy the U-Boot image to the SD/MMC card:
$ sudo dd if=u-boot-mx6dl-sabreauto.bin of=/dev/sdb bs=512 seek=2 skip=2 conv=fsync
- 2.
The MX6 DualLite CPU Card (of the SABRE AI design) is equipped with M29W256GL7AN6E NOR flash
(of 32 Mbytes). Its address range is 0x0800_0000 – 0x09FF_FFFF.
But, to access this area the EIM should be properly configured; say in SD or NAND boot mode the boot
ROM does not perform EIM initialization.
- 3.
Please use recommendations of Chapter 3 (Building the Linux Platform) in “Linux User's Guide.
how to configure and build U-boot and kernel for the SABRE AI with LTIB help.
- 4.
Below is snippet from ucl2.xml file of the MFG, which can serve as an example
how to provide NOR configuration.
So, based on the snippet (after SD boot):
$ flash_erase /dev/mtd0 0 0
$ dd if= u-boot-mx6q-sabreauto-weimnor.bin of=/dev/mtd0 bs=128K
$ flash_erase /dev/mtd2 0 0
$="$ dd if=uImage of=/dev/mtd2 bs=128K
$ flash_erase /dev/mtd2 0 0
Next, please refer to section 9.5 (Run the Image from Parallel NOR) of
“i.MX_6Dual6Quad_Sabre-AI_Linux_User's_Guide.pdf”. it is assumed NFS
file system is used for NOR.
====
<LIST name="MX6Q-Sabreauto-Parallel_NOR" desc="Choose Parallel-NOR as media">
<!--
boot dip settings for WEIM-NOR boot:
SW2: dip 3 is on. Others are off
SW1: dip 5 is on. Others are off
-->
<CMD state="BootStrap" type="boot" body="Bootstrap" file ="u-boot-mx6q-sabreauto-weimnor.bin" >Loading uboot.</CMD>
<CMD state="BootStrap" type="load" file="uImage" address="0x10800000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Kernel.</CMD>
<CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Initramfs.</CMD>
<CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>
<!--burn the uboot to Parallel-NOR: -->
<CMD state="Updater" type="push" body="$ flash_erase /dev/mtd0 0 0">Erasing Boot partition</CMD>
<CMD state="Updater" type="push" body="send" file="files/u-boot-mx6q-sabreauto-weimnor.bin">Sending U-Boot</CMD>
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mtd0 bs=128K">write U-Boot to WEIM-NOR</CMD>
<!--burn the kernel to Parallel-NOR: -->
<CMD state="Updater" type="push" body="$ flash_erase /dev/mtd2 0 0">Erasing Kernel partition</CMD>
<CMD state="Updater" type="push" body="send" file="files/uImage ">Sending kernel image to weim nor</CMD>
<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mtd2 bs=128K">write kernel Image to weim nor</CMD>
<CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>
</LIST>