help,help:help:after save env in uboot, reboot then Synchronous Abort handler

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

help,help:help:after save env in uboot, reboot then Synchronous Abort handler

1,875 Views
ppbobo
Contributor I

after I saved env in uboot, reboot board .....then after loader env  appear:

"Synchronous Abort" handler, esr 0x96000210
elr: 000000008205c8d0 lr : 000000008201bc90 (reloc)
elr: 00000000fbd7a8d0 lr : 00000000fbd39c90
x0 : 0000000000000000 x1 : 0000000040500004
x2 : 0000000000000001 x3 : 0000000000000301
x4 : 00000000000000ff x5 : 0000000000000001
x6 : 0000000000000008 x7 : 00000000fbdc4698
x8 : 00000000fbc16ec0 x9 : 0000000000000008
x10: 000000000000000d x11: 0000000000000006
x12: 000000000001869f x13: 0000000000001238
x14: 00000000fbc16f4c x15: 00000000ffffffff
x16: 0000000001530134 x17: 000000000153000c
x18: 00000000fbc19d70 x19: 00000000fbc20f68
x20: 00000000fbc257a0 x21: 0000000000000000
x22: 00000000fbdaf861 x23: 00000000fbc19e58
x24: 0000000000000020 x25: 0000000000001fff
x26: 0000000000000000 x27: 00000000fbc1e5f5
x28: 000000000000003c x29: 00000000fbc16e20

Resetting CPU ...

resetting ...

I rooted the code and that it died at hashtable.c hsearch_r()。

 



 

0 Kudos
Reply
6 Replies

1,830 Views
ppbobo
Contributor I

uboot rev;soc 1043


U-Boot 2019.10 

SoC: LS1043AE Rev1.1 

0 Kudos
Reply

1,792 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please use u-boot source code from LSDK.

0 Kudos
Reply

1,769 Views
ppbobo
Contributor I

hehe,mine code of lsdk isn't lsdk?where is your lsdk path? 

0 Kudos
Reply

1,764 Views
yipingwang
NXP TechSupport
NXP TechSupport

The attached is LSDK 21.08, please refer to LSDK 21.08 user manual https://docs.nxp.com/bundle/GUID-487B2E69-BB19-42CB-AC38-7EF18C0FE3AE/page/GUID-38B02850-872C-4567-8...

 

u-boot source code:

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/u-boot.git

$ cd u-boot

$ git checkout -b LSDK-21.08 LSDK-21.08

atf source code:

$ git clone https://source.codeaurora.org/external/qoriq/qoriq-components/atf.git

$ cd atf

$ git checkout -b LSDK-21.08 LSDK-21.08

0 Kudos
Reply

1,842 Views
yipingwang
NXP TechSupport
NXP TechSupport

In u-boot configuration file, have you defined ENV variables as the following.

CONFIG_ENV_SIZE=0x2000
CONFIG_ENV_SECT_SIZE=0x40000
CONFIG_ENV_OFFSET=0x500000

0 Kudos
Reply

1,832 Views
ppbobo
Contributor I

is already defined as such un uboot.the size of env space is not out of bounds。should no be the problem.it should be the problem that the hash table handles 64 bits.should be a problem with the NXP's uboot code 

0 Kudos
Reply