johang / sd-card-images

Scripts to build bootable SD card images with Debian for various single-board computers
https://sd-card-images.johang.se
GNU General Public License v3.0
140 stars 32 forks source link

Firefly rk3399 board can not start #88

Open liaoya opened 7 months ago

liaoya commented 7 months ago

The output on serial

SdmmcInit=2 1
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=29862MB
FwPartOffset=2000 , 0
StorageInit ok = 35739203
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 0x3335db8 signature is wrong
recovery gpt...
GPT part:  0, name:          primary, start:0x8000, size:0x7f800
GPT part:  1, name:          primary, start:0x88000, size:0x1ff800
GPT part:  2, name:          primary, start:0x288000, size:0x1ff800
GPT part:  3, name:          primary, start:0x488000, size:0x35ca800
recovery gpt success!
no find partition:uboot.
Trust Addr:0x4000, 0x0
Trust Addr:0x4400, 0x0
Trust Addr:0x4800, 0x0
Trust Addr:0x4c00, 0x0
Trust Addr:0x5000, 0x0
Trust Addr:0x5400, 0x0
Trust Addr:0x5800, 0x0
Trust Addr:0x5c00, 0x0
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
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 = -2, SecureMode = 0