下载resource.img和kernel.img文件后,报错如下:
DDR Version 1.22 20190506In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x40
ch 1 ddrconfig = 0x101, ddrsize = 0x40
pmugrf_os_reg = 0x32C172C1, stride = 0xD
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 242
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
SdmmcInit=0 1
StorageInit ok = 67767
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
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: resource, start:0x8000, size:0x32000
GPT part:3, name: kernel, start:0x3a000, size:0x1318000
GPT part:4, name: boot, start:0x1352000, size:0x10000
GPT part:5, name: backup, start:0x1362000, size:0x10000
GPT part:6, name: rootfs, start:0x1372000, size:0x9acfdf
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=0xda21c
RunBL31 0x10000
NOTICE:BL31: v1.3(debug):51f2096
NOTICE:BL31: Built : 16:24:31, May6 2019
NOTICE:BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: plat_rockchip_pmu_init(1181): pd status 3e
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INF TEE-CORE:init_primary_helper:337: Initializing (1.1.0-221-gda2bcfdc #139 Mon Jun 17 03:14:33 UTC 2019 aarch64)
INF TEE-CORE:init_primary_helper:338: Release version: 1.2
INF TEE-CORE:init_teecore:83: teecore inits done
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09-03041-ge9a3933 (Sep 10 2019 - 09:21:34 +0800)
Model: Firefly-RK3399 Board
PreSerial: 2
DRAM:3.8 GiB
Sysmem: init
Relocation Offset is: f5beb000
Using default environment
dwmmc@fe320000: 1, sdhci@fe330000: 0
Bootdev(atags): mmc 0
MMC0: HS400, 150Mhz
PartType: EFI
get part misc fail -1
boot mode: None
bad resource image magic:
init_kernel_dtb dtb in resource read fail
In: serial
Out: serial
Err: serial
Model: Firefly-RK3399 Board
rockchip_set_serialno: could not find efuse device
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 24000 KHz
dpll 800000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 24000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'):0
Could not find misc partition
ANDROID: reboot reason: "(none)"
bad resource image magic:
Fdt Ramdisk skip relocation
Booting IMAGE kernel at 0x00280000 with fdt at 0x8300000...
## Booting Android Image at 0x0027f800 ...
Kernel load addr 0x00280000 size 21407 KiB
## Flattened Device Tree blob at 08300000
Booting using the fdt blob at 0x8300000
XIP Kernel Image ... OK
reserving fdt memory region: addr=8300000 size=1a000
Using Device Tree in place at 0000000008300000, end 000000000831cfff
fdt_find_or_add_subnode: chosen: FDT_ERR_BADSTRUCTURE
ERROR: /chosen node create failed
- must RESET the board to recover.
FDT creation failed! hanging...### ERROR ### Please RESET the board ###
是需要配置什么东西吗????
我也遇到了?你有解决了吗?请教一下。 兄弟们解决了吗, little-pp 发表于 2020-12-16 17:02
我也遇到了?你有解决了吗?请教一下。
我的是rk3399pro的板子,参照这个可以解决这个问题
https://dev.t-firefly.com/forum.php?mod=viewthread&tid=100605&highlight=init%5C_kernel%5C_dtb
页:
[1]