BUILDROOT+U-BOOT:“同步中止”处理程序,esr 0x96000210'错误

问题描述

我正在使用 U-boot 为 S905x2 单元编译 Linux,但在成功编译刻录后,我在启动时收到“同步中止”处理程序,esr 0x96000210”错误

完整的启动日志如下。

谁能告诉为什么会发生这种情况? 我正在使用 Libretech-cc-buildroot git repo。使用 Amlogic vendor U-boot(调整 fdtaddr 的大小,因为它太小了)。

我正在为 MINIMXIII II、S905x2 2G/16G 编译。


BL2 Built : 13:48:56,Sep 23 2016. 
gxl g7459bd4 - jianxin.pan@droid06

set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 1
cpu clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz - PASS
Rank0: 1024MB(auto)-2T-13
Rank1: 1024MB(auto)-2T-13
DataBus test pass!
AddrBus test pass!
-s
Load fip header from emmC,src: 0x0000c200,des: 0x01400000,size: 0x00004000
New fip structure!
Load bl30 from emmC,src: 0x00010200,des: 0x01100000,size: 0x0000d600
Load bl31 from emmC,src: 0x00020200,des: 0x10100000,size: 0x00015400
Load bl33 from emmC,src: 0x00038200,des: 0x01000000,size: 0x000a9a00
NOTICE:  BL3-1: v1.0(debug):2e39a99
NOTICE:  BL3-1: Built : 16:36:21,Sep 20 2016
aml log : bl31 normal boot !
[Image: gxl_v1.1.3154-065f772 2016-09-29 14:08:54 yan.wang@droid05]

OPS=0x82

e0 64 25 87 a7 56 28 f 21 20 68 3f [0.393512 Inits done]

secure task start!
high task start!
low task start!
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2015.01-gdd4a4de (Mar 03 2017 - 18:35:08)

DRAM:  2 GiB
Relocation Offset is: 76ec9000
register usb cfg[0][1] = 0000000077f5f500
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC,load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz,readback: 666660000Hz(0x300)
vpp: vpp_init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6,bus_timing=7,system=5.0ns
reset Failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect Failed and ret:fffffffe
nandphy_init Failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000073ec96b0
aml_priv->desc_buf = 0x0000000073ecb9d0
Sdio Port B: 0,Sdio Port C: 1
emmc/sd response timeout,cmd8,status=0x1ff2800
emmc/sd response timeout,cmd55,status=0x1ff2800
[mmc_init] mmc init success
mmc read lba=0x14000,blocks=0x400
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: p212 variant: 2g
        dtb 0 soc: gxl   plat: p212   vari: 1g
        dtb 1 soc: gxl   plat: p212   vari: 2g
      Find match dtb: 1
start dts,buffer=0000000073ece270,dt_addr=0000000073ed8270
parts: 11
00:      logo   0000000002000000 1
01:  recovery   0000000002000000 1
02:       rsv   0000000000800000 1
03:       tee   0000000000800000 1
04:     crypt   0000000002000000 1
05:      misc   0000000002000000 1
06: instaboot   0000000020000000 1
07:      boot   0000000002000000 1
08:    system   0000000080000000 1
09:     cache   0000000020000000 2
10:      data   ffffffffffffffff 4
get_dtb_struct: Get emmc dtb OK!
overide_emmc_partition_table: overide cache 
[mmc_get_partition_table] skip partition cache.
Partition table get from SPL is : 
        name                        offset              size              flag
===================================================================================
   0: bootloader                         0            400000                  0
   1: reserved                     2400000           4000000                  0
   2: cache                        6c00000          20000000                  2
   3: env                         27400000            800000                  0
   4: logo                        28400000           2000000                  1
   5: recovery                    2ac00000           2000000                  1
   6: rsv                         2d400000            800000                  1
   7: tee                         2e400000            800000                  1
   8: crypt                       2f400000           2000000                  1
   9: misc                        31c00000           2000000                  1
  10: instaboot                   34400000          20000000                  1
  11: boot                        54c00000           2000000                  1
  12: system                      57400000          80000000                  1
  13: data                        d7c00000         2c5400000                  4
mmc read lba=0x12000,blocks=0x2
mmc read lba=0x12002,blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
emmC/TSD partition table have been checked OK!
mmc env offset: 0x27400000 
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
hpd_state=0
cvbs performance type = 6,table = 0
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
read emmc dtb
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxl platform: p212 variant: 2g
        dtb 0 soc: gxl   plat: p212   vari: 1g
        dtb 1 soc: gxl   plat: p212   vari: 2g
      Find match dtb: 1
Net:   dwmac.c9410000
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]Failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[OSD]load fb addr from dts
[OSD]Failed to get fb addr for logo
[OSD]use default fb_addr parameters
[OSD]fb_addr for logo: 0x3d800000
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=5760,height=2160
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
get_cpu_id flag_12bit=1
SaraDC open channel(0).
SaraDC channel(0) is 0x7 (0x0~0x50).
detect upgrade key
InUsbBurn
noSof
card in
[mmc_init] mmc init success
Device: Sdio Port B
Manufacturer ID: 3
OEM: 3456
Name: ASTCTran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.5 GiB
mmc clock: 40000000
Bus Width: 4-bit
Device: Sdio Port B
Manufacturer ID: 3
OEM: 3456
Name: ASTCTran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.5 GiB
mmc clock: 40000000
Bus Width: 4-bit
reading aml_autoscript
488 bytes read in 4 ms (119.1 KiB/s)
## Executing script at 01080000
[mmc_init] mmc init success
switch to partitions #0,OK
mmc0 is current device
reading amlogic/meson-gxl-s905x-libretech-cc-sdcard.dtb
25157 bytes read in 9 ms (2.7 MiB/s)
reading image
16716288 bytes read in 915 ms (17.4 MiB/s)
"Synchronous Abort" handler,esr 0x96000210
ELR:     77ed3564
LR:      77ed3558
x0 : 0000000077f72f80 x1 : 0000000000080000
x2 : 000000000105c000 x3 : 000000000105c000
x4 : 00000000000000a8 x5 : 0000000002080000
x6 : 0000000077f40148 x7 : 0000000000000044
x8 : 0000000000000001 x9 : 0000000000000000
x10: 000000000000000f x11: 0000000077f41c90
x12: 0000000000000000 x13: 0000000000000000
x14: 0000000000000000 x15: 0000000000000000
x16: 0000000000000000 x17: 0000000000000000
x18: 0000000073eb8e28 x19: 0000000077f72e40
x20: 0000000000000003 x21: 0000000073ed3288
x22: 0000000077f72000 x23: 0000000077f72e40
x24: 0000000000000000 x25: 0000000073ed3280
x26: 0000000077f66c70 x27: 0000000073ed32b0
x28: 0000000000000000 x29: 0000000073eb7a20

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)