How to debug u-boot data abort

qianfan qianfanguijin at
Wed Mar 23 03:28:13 CET 2022


I had a custom AM335X board connected my computer by usbnet. It always report 
data abort when 'dhcp':

Next it the log:

U-Boot 2022.01-rc1-00183-gfa5b4e2d19-dirty (Feb 25 2022 - 15:45:02 +0800)

CPU  : AM335X-GP rev 2.1
DRAM:  512 MiB
NAND:  256 MiB
Loading Environment from NAND... *** Warning - bad CRC, using default environment

Net:   Could not get PHY for ethernet at 4a100000: addr 0
eth2: ethernet at 4a100000, eth3: usb_ether
Hit any key to stop autoboot:  0
=> setenv autoload no
=> dhcp
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
musb-hdrc: peripheral reset irq lost!
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
DHCP client bound to address (757 ms)
data abort
pc : [<9fe9b0a2>]          lr : [<9febbc3f>]
reloc pc : [<808130a2>]    lr : [<80833c3f>]
sp : 9de53410  ip : 9de53578     fp : 00000001
r10: 9de5345c  r9 : 9de67e80     r8 : 9febbae5
r7 : 9de72c30  r6 : 9feec710     r5 : 0000000d  r4 : 00000018
r3 : 3fdd8e04  r2 : 00000002     r1 : 9feec728  r0 : 9feec700
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32 (T)
Code: f023 0303 60ca 4403 (6091) 685a
Resetting CPU ...

resetting ...

It's there has any doc about how to debug data abort? Or is the bug is already 


More information about the U-Boot mailing list