[U-Boot] beaglxm/bootz: kernel boot fail due to align err: cache handling issues?

Nishanth Menon nm at ti.com
Fri Aug 23 16:21:39 CEST 2013


Hi,
Noticed an interesting behavior where adding a dcache flush kernel boot
fail due to unaligned-accesses seems to go away.
Full details: http://pastebin.com/kVBRWsbE
Without dcache flush being added to my uenvcmd:

Kernel image @ 0x80200000 [ 0x000000 - 0x3e2690 ]
data abort

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

pc : [<9ff6f6b4>]	   lr : [<9ff6ef6c>]
sp : 9fefaaf0  ip : 9fefe8ec	 fp : 00000000
r10: 9ffa6544  r9 : 9ffa5e5c	 r8 : 9fefaf30
r7 : 0f800000  r6 : 9ffa6544	 r5 : 9ffa65b0  r4 : 9ffa65b4
r3 : 00000049  r2 : 00000010	 r1 : 00000000  r0 : 0f800000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

With dcache flush being added to my uenvcmd: complete boot


I think something of the form was highlighted here:
http://marc.info/?l=u-boot&m=137276534624656&w=2

Not sure if there was any conclusion to the effect.

A quick tag bisect attempt was'nt too useful either.

-- 
Regards,
Nishanth Menon


More information about the U-Boot mailing list