同样PCBA,板子升级anroid10正常开机启动排除硬件问题, android12升级完不能启动,卡在开机第一张logo
同样android12固件在其他EMMC上面(同PCB)板子不会有这个问题,如何解决,主要出现在这个三星emmc物料上料号(KLM8GIWMBB031)
上
是不是与CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION的配置有关,还与RPMB分区有关
目前想搞成跟android10 一样,软件兼容这个物料
下面是串口日志
ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: May 13 2019 17:34:36, version: 2.50
ChipType = 0x11, 233
mmc2:cmd19,100
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPartOffset=2000 , 2000
SdmmcInit=0 NOT PRESENT
StorageInit ok = 13061
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: security, start:0x2000, size:0x2000
GPT part: 1, name: uboot, start:0x4000, size:0x2000
GPT part: 2, name: trust, start:0x6000, size:0x2000
GPT part: 3, name: misc, start:0x8000, size:0x2000
GPT part: 4, name: dtbo, start:0xa000, size:0x2000
GPT part: 5, name: vbmeta, start:0xc000, size:0x800
GPT part: 6, name: boot, start:0xc800, size:0x20000
GPT part: 7, name: recovery, start:0x2c800, size:0x36000
GPT part: 8, name: backup, start:0x62800, size:0xba000
GPT part: 9, name: cache, start:0x11c800, size:0xc0000
GPT part: 10, name: metadata, start:0x1dc800, size:0x8000
GPT part: 11, name: baseparameter, start:0x1e4800, size:0x800
GPT part: 12, name: logo, start:0x1e5000, size:0x8000
GPT part: 13, name: super, start:0x1ed000, size:0x614000
GPT part: 14, name: userdata, start:0x801000, size:0x68efdf
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=0xef158
RunBL31 0x10000
NOTICE: BL31: v1.3(release):0e7a845e
NOTICE: BL31: Built : 16:24:22, Apr 29 2019
NOTICE: BL31:Rockchip release version: v1.3
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-266-gee81607c #3 Mon Aug 17 09:29:38 UTC 2020 aarch64)
INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4
INF [0x0] 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 (May 04 2023 - 12:54:02 +0800)
PreSerial: 2, raw, 0xff130000
DRAM: 4 GiB
Sysmem: init
Relocation Offset: fca8e000
Relocation fdt: fac834a0 - fac84cda
CR: M/C/I
Using default environment
DM: v1
rk3036_pll_set_rate: wait pll lock timeout! pll_id=4
rk3036_pll_set_rate: wait pll lock timeout! pll_id=2
rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Bootdev(atags): mmc 0
MMC0: High Speed, 52Mhz
PartType: EFI
boot mode: recovery (misc)
Android 12.0, Build 2022.7, v2
Found DTB in recovery part
DTB: rk-kernel.dtb
HASH(c): OK
ANDROID: fdt overlay OK
rk3036_pll_set_rate: wait pll lock timeout! pll_id=3
rk3036_pll_set_rate: wait pll lock timeout! pll_id=3
I2c1 speed: 100000Hz
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
Rockchip UBOOT DRM driver version: v1.0.1
disp info 0, type:11, id:0
hdmi@ff3c0000 disconnected
tve@ff373e00: detailed mode clock 13500 kHz, flags[1015]
H: 0720 0753 0816 0864
V: 0576 0580 0586 0625
bus_format: 2025
CLK: (sync kernel. arm: enter 600000 KHz, init 600000 KHz, kernel 0N/A)
apll 400000 KHz
dpll 664000 KHz
cpll 1200000 KHz
gpll 491009 KHz
npll 600000 KHz
armclk 600000 KHz
aclk_bus 150000 KHz
hclk_bus 75000 KHz
pclk_bus 75000 KHz
aclk_peri 150000 KHz
hclk_peri 75000 KHz
pclk_peri 75000 KHz
Net: Net Initialization Skipped
No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
ANDROID: reboot reason: "recovery"
optee api revision: 2.0
TEEC: Reset area[0] info...
TEEC: Reset area[1] info...
Vboot=0, AVB images, AVB verify
General failure
INF [0x0] TEE-CORE:tee_rpmb_init:1217: RPMB INIT: Verify key failed. Try again.
ERR [0x0] TEE-CORE:tee_rpmb_init:1225: ERROR: Verify RPMB authentication key failed!
General failure
INF [0x0] TEE-CORE:tee_rpmb_init:1217: RPMB INIT: Verify key failed. Try again.
ERR [0x0] TEE-CORE:tee_rpmb_init:1225: ERROR: Verify RPMB authentication key failed!
General failure
INF [0x0] TEE-CORE:tee_rpmb_init:1217: RPMB INIT: Verify key failed. Try again.
ERR [0x0] TEE-CORE:tee_rpmb_init:1225: ERROR: Verify RPMB authentication key failed!
General failure
INF [0x0] TEE-CORE:tee_rpmb_init:1217: RPMB INIT: Verify key failed. Try again.
ERR [0x0] TEE-CORE:tee_rpmb_init:1225: ERROR: Verify RPMB authentication key failed!
lib/avb/libavb_user/avb_ops_user.c: init rollback index error
avb_slot_verify.c:883: ERROR: vbmeta: Error getting rollback index for location.
AVB verify failed
Android boot failed, error -1.
Unknown command 'boot_fit' - try 'help'
## Booting Rockchip Format Image
Could not find kernel partition, ret=-1
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
starting USB...
Bus usb@ff5c0000: USB EHCI 1.00
Bus usb@ff5d0000: USB OHCI 1.0
Bus dwc3@ff600000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@ff5c0000 for devices... 1 USB Device(s) found
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus dwc3@ff600000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.