Firefly开源社区

打印 上一主题 下一主题

[Android] Android AB分区无法引导

14

积分

0

威望

0

贡献

技术小白

积分
14

Android AB分区无法引导

发表于 2023-4-7 17:23:15      浏览:5006 | 回复:1        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: firefly_rk3588_android12.0_git_20220311
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: --- a/device/rockchip/rk3588/rk3588m_car/BoardConfig.mk +++ b/device/rockchip/rk3588/rk3588m_car/BoardConfig.mk @@ -17,7 +17,7 @@ include device/rockchip/rk3588/BoardConfig.mk BUILD_WITH_GO_OPT := false # AB image definition -BOARD_USES_AB_IMAGE := false +BOARD_USES_AB_IMAGE := true BOARD_ROCKCHIP_VIRTUAL_AB_ENABLE := false --- a/device/rockchip/common/BoardConfig_AB.mk +++ b/device/rockchip/common/BoardConfig_AB.mk @@ -72,7 +72,7 @@ else endif BOARD_ROCKCHIP_DYNAMIC_PARTITIONS_SIZE := $(shell expr $(BOARD_SUPER_PARTITION_SIZE) - 4194304) else - BOARD_SUPER_PARTITION_SIZE := 5372903424 + BOARD_SUPER_PARTITION_SIZE := 8589934592 BOARD_ROCKCHIP_DYNAMIC_PARTITIONS_SIZE := $(shell expr $(BOARD_SUPER_PARTITION_SIZE) / 2 - 4194304) endif ifeq (0,$(strip $(shell expr $(BOARD_BOOT_HEADER_VERSION) \>= 3)))
  • Log日志: log.txt
问题描述及复现步骤:
在U-Boot没有看见有AB分区的配置,直接编译U-Boot无法引导

U-Boot 2017.09 (Apr 07 2023 - 14:24:56 +0800)

Model: Rockchip RK3588 Evaluation Board
PreSerial: 2, raw, 0xfeb50000
DRAM:  16 GiB
Sysmem: init
Relocation Offset: eda37000
Relocation fdt: eb9fa9b8 - eb9fecd0
CR: M/C/I
Using default environment

mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI,dev_type: 6
DM: v2
boot mode: recovery (misc)
FIT: No recovery partition
No resource partition
No resource partition
No resource partition
Failed to load DTB, ret=-19
No find valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
Model: Rockchip RK3588 Evaluation Board
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 24000 KHz
  aupll 24000 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 24000 KHz
  ppll 100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "recovery"
optee api revision: 2.0
Not AVB images, AVB skip
android_image_load_by_partname: Can't find part: recovery
Android image load failed
Android boot failed, error -1.
## Booting FIT Image FIT: No recovery partition
FIT: No fit blob
FIT: No FIT image
Unknown command 'bootrkp' - try 'help'
MMC: no card present
mmc_init: -123, time 1
switch to partitions #0, OK
mmc0(part 0) is current device
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **

Device 2: unrecognized JEDEC id bytes: 00, 00, 00
unknown device

Device 1: unknown raw ID 0 0 0

Device 0: unknown device
starting USB...
No working controllers found
USB is stopped. Please issue 'usb start' first.
starting USB...
No working controllers found
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
starting USB...
No working controllers found
No ethernet found.
=>




log.txt

3.16 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

14

积分

0

威望

0

贡献

技术小白

积分
14
发表于 2023-4-7 17:41:09        只看该作者  沙发
已经解决,增加一个AB分区的配置
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表