AnsweredAssumed Answered

getting 'data abort' error while stating kernel in i.MX6q booting

Question asked by Virendra Singh on Jul 30, 2014
Latest reply on Jul 31, 2014 by Yuri Muhin

Hi All


I am booting i.MX6q board and getting below error:-

starting kernel...

data abort

MAYBE you should read doc/README.arm-unaligned-accesses    


I used the below steps to burn SD card:-

1. copy the u-boot image by using

    sudo dd if=u-boot-imx6qsabresd_sd.imx of=/dev/sdb bs=512 seek=2 conv=fsync

2. copy the kernel image by using

     sudo dd if=uImage_imx_v7_defconfig of=/dev/sdb bs=512 seek=2048 conv=fsync

3. copy DTB file by using

     sudo dd if=uImage-imx6q-sabresd.dtb of=/dev/sdb bs=512 seek=20480 conv=fsync

4. copy the file system using

     sudo mkfs.ext3 /dev/sdb1

     sudo mount /dev/sdb1 /mount

     sudo mount -o loop -t ext3 fsl-image-fb-imx6qdlsolo.ext3 /home/user/rootfs

     cd /home/user/rootfs

     sudo cp -a * /mount

     sudo umount /mount

     sudo umount /jome/user/rootfs


Then I used following steps to boot iMX6q board suing U-Boot:-

1. setenv loadaddr 0x12000000

2. setenv fdt_addr 0x18000000

3. setenv fdt_high 0xffffffff

4. setenv bootargs_base 'setenv bootargs console-ttymxc0,115200'

5. setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p2 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA, if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60, if=RGB24'

6. setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x3000;mmc read ${ftd_addr} 0x5000 0x9C;bootm ${loadaddr} - ${ftd_addr}'

7. setenv bootcmd 'run bootcmd_mmc'

8. saveenv

9. run bootcmd



Virendra singh