Firefly开源社区
标题:
PX30 linux 256MB DDR3 UBOOT启动不了
[打印本页]
作者:
jukeboge
时间:
2021-6-10 17:30
标题:
PX30 linux 256MB DDR3 UBOOT启动不了
硬件平台:firefly px30
SDK: firefly px30 linux sdk
问题描述:更换板子DDR容量为256MB 发现uboot启动不了,未更换前可以正常启动,log如下:
@▒▒L▒▒▒▒▒▒DDR V1.15 20200511
D3,256MB,333MHz
bw col bk row cs dbw
32 10 8 13 1 16
OUT
Boot1 Release Time: Nov 20 2019 15:02:03, version: 1.22
chip_id:50583330_0,0
SdmmcInit=0 NOT PRESENT
...2578 @ nand_flash_init
...nandc_init enter... 00000000ff3b0000
0:80f00 2081 101003 27 200
g_nandc_ver...9
mmc Ext_csd, ret=0 ,
Ext[226]=20, bootSize=2000,
Ext[215]=0, Ext[214]=74, Ext[213]=80, Ext[212]=0,cap =748000 REL=1f
mmc2:cmd19,100
emmc bus: 0x8
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=3728MB
FwPartOffset=2000 , 2000
UsbBoot ...94285
powerOn 747066
SoftReset, 24184046 us
DDR V1.15 20200511
SRX
D3,256MB,333MHz
bw col bk row cs dbw
32 10 8 13 1 16
OUT
Boot1 Release Time: Nov 20 2019 14:41:00, version: 1.22
chip_id:50583330_0,0
ChipType = 0x12, 458
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=3728MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 9215
SecureMode = 0
Secure read PBA: 0x4
Secure read PBA: 0x404
Secure read PBA: 0x804
Secure read PBA: 0xc04
Secure read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: uboot, start:0x4000, size:0x2000
GPT part: 1, name: trust, start:0x6000, size:0x2000
GPT part: 2, name: misc, start:0x8000, size:0x2000
GPT part: 3, name: boot, start:0xa000, size:0x10000
GPT part: 4, name: recovery, start:0x1a000, size:0x10000
GPT part: 5, name: fpga, start:0x3a000, size:0x10000
GPT part: 6, name: rootfs, start:0x5a000, size:0x200000
GPT part: 7, name: userdata, start:0x25a000, size:0x4edfdf
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
LoadTrust Addr:0x6000
No find bl30.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xd6430
RunBL31 0x40000 @ 71251 us
INFO: Preloader serial: 2
NOTICE: BL31: v1.3(debug):857e9c1b4
NOTICE: BL31: Built : 11:50:33, Aug 21 2020
NOTICE: BL31:Rockchip release version: v1.0
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status f00e
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
I/TC:
I/TC: Start rockchip platform init
I/TC: Rockchip release version: 1.1
I/TC: OP-TEE version: 3.6.0-284-g82765277 #12 Thu Sep 17 03:47:31 UTC 2020 aarch64
I/TC: Initialized
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09 (May 29 2021 - 17:36:04 +0800)
Model: Rockchip PX30 EVB
PreSerial: 2
DRAM: 224 MiB
Sysmem: init
ERROR: Failed to allocate 0xe226980 bytes below 0x10000000.
Sysmem Error: Failed to alloc "U-Boot" at 0x01dd9680 - 0x10000000
sysmem_dump_all:
--------------------------------------------------------------------
memory.rgn[0].addr = 0x00200000 - 0x08400000 (size: 0x08200000)
memory.rgn[1].addr = 0x0a200000 - 0x10000000 (size: 0x05e00000)
memory.total = 0x0e000000 (224 MiB. 0 KiB)
--------------------------------------------------------------------
framework malloc_r = 192 MiB
framework malloc_f = 8 KiB
allocated.total = 0x00000000 (0 MiB. 0 KiB)
--------------------------------------------------------------------
LMB.allocated[0].addr = 0x00000000 - 0x00000000 (size: 0x00000000)
reserved.core.total = 0x00000000 (0 MiB. 0 KiB)
--------------------------------------------------------------------
Sysmem Error: Failed to reserve sysmem for U-Boot framework
sysmem_dump_all:
--------------------------------------------------------------------
memory.rgn[0].addr = 0x00200000 - 0x08400000 (size: 0x08200000)
memory.rgn[1].addr = 0x0a200000 - 0x10000000 (size: 0x05e00000)
memory.total = 0x0e000000 (224 MiB. 0 KiB)
--------------------------------------------------------------------
framework malloc_r = 192 MiB
framework malloc_f = 8 KiB
allocated.total = 0x00000000 (0 MiB. 0 KiB)
--------------------------------------------------------------------
LMB.allocated[0].addr = 0x00000000 - 0x00000000 (size: 0x00000000)
reserved.core.total = 0x00000000 (0 MiB. 0 KiB)
--------------------------------------------------------------------
Sysmem Warn: Maybe malloc size 192 MiB is too large?
initcall sequence 00000000002922a8 failed at call 00000000002788b4 (err=-12)
### ERROR ### Please RESET the board ###
复制代码
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1