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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,119 Views
virendrasingh
Contributor I

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

Thanks

Virendra singh

0 Kudos
Reply
1 Reply

895 Views
Yuri
NXP Employee
NXP Employee

  Have You tried to test memory for assurance ?

"i.Mx6DQSDL DDR3 Script Aid"

https://community.freescale.com/docs/DOC-94917

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply