Data Abort exception in uboot when trying to load the kernel.

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

Data Abort exception in uboot when trying to load the kernel.

5,955 Views
gaun
Contributor II

Hi,

  I am trying to load the kernel using uboot and I get a data abort exception. I have followed the procedures same as what is given by Freescale. uboot version : uboot-imx-rel_imx_3.10.53_1.1.1

I have tried putting $(PF_NO_ALIGNED) in the config.mk of the uboot but there is no luck. How can I debug this?

I get the following message:

Normal Boot

Hit any key to stop autoboot:  0

reading uImage

4659752 bytes read in 225 ms (19.8 MiB/s)

reading imx6dl-sabresd.dtb

49157 bytes read in 19 ms (2.5 MiB/s)

## Booting kernel from Legacy Image at 12000000 ...

   Image Name:   Linux-3.10.53

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4659688 Bytes = 4.4 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Loading Kernel Image ... OK

   Using Device Tree in place at 18000000, end 1800f004

switch to ldo_bypass mode!

Starting kernel ...

data abort

pc : [<10815be8>]          lr : [<10815460>]

sp : 10c87540  ip : 0000001c     fp : 10c86540

r10: 10814310  r9 : 10814cd8     r8 : 18000000

r7 : 00000f8c  r6 : 10c8654c     r5 : 108161fc  r4 : 00000055

r3 : 00000f8c  r2 : f42ec000     r1 : 021ec000  r0 : 00000055

Flags: nzCv  IRQs off  FIQs off  Mode SVC_32

Resetting CPU ...

resetting ...

My fdt_addr is 0x18000000

and my loadaddr is 0x12000000

What seems to have gone wrong? I have booted this properly with one set of boards where the UART was uart3.  The newer boards have UART as UART1 and that is the only change done. Also I find that exception happens when the kernel entry point function pointer gets called in uboot.

Labels (2)
0 Kudos
Reply
2 Replies

3,594 Views
jasonkang
Contributor I

I only change the uart1 to uart6, I also face this issue.

data abort
pc : [<80bf4a60>]          lr : [<80bf41a0>]
reloc pc : [<80bf4a61>]    lr : [<80bf41a1>]
sp : 8120ccc8  ip : 00000018     fp : 8120bcd4
r10: 80008000  r9 : 8120ccf8     r8 : 8121ccf8
r7 : 00000000  r6 : 0000001c     r5 : 80bf50a1  r4 : 00000055
r3 : 8120bce8  r2 : f4220000     r1 : 02020000  r0 : 00000055
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

0 Kudos
Reply

3,594 Views
igorpadykov
NXP Employee
NXP Employee

Hi Gautam

this may be caused by ddr errors, so one can

try to update ddr parameters in uboot *.cfg file and rebuild it

i.MX6/7 DDR Stress Test Tool V2.40

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply