|
【Android】
RK3566-pc Android11 开启虚拟AB开机,编译固件后刷机无法启动
发表于 2023-8-13 16:19:03
浏览:3341
|
回复:1
打印
只看该作者
[复制链接]
楼主
-
固件类型:
自行编译的固件
-
SDK包名称:
无
-
SDK更新到哪个COMMIT:
0000-00-00 00:00:00
-
SDK修改内容:
diff --git a/device/rockchip/common/build/rockchip/build.sh b/device/rockchip/common/build/rockchip/build.sh
index a21307ed80..4ee49e6c3b 100755
--- a/device/rockchip/common/build/rockchip/build.sh
+++ b/device/rockchip/common/build/rockchip/build.sh
@@ -85,6 +85,8 @@ do
esac
done
+echo "BUILD_AB_IMAGE:$BUILD_AB_IMAGE"
+
TARGET_PRODUCT=`get_build_var TARGET_PRODUCT`
TARGET_BOARD_PLATFORM=`get_build_var TARGET_BOARD_PLATFORM`
diff --git a/device/rockchip/rk356x/rk3566_roc_pc_mipi/BoardConfig.mk b/device/rockchip/rk356x/rk3566_roc_pc_mipi/BoardConfig.mk
index 895eaed9ef..2dbcc19fb0 100644
--- a/device/rockchip/rk356x/rk3566_roc_pc_mipi/BoardConfig.mk
+++ b/device/rockchip/rk356x/rk3566_roc_pc_mipi/BoardConfig.mk
@@ -17,8 +17,8 @@ include device/rockchip/rk356x/BoardConfig.mk
BUILD_WITH_GO_OPT := false
# AB image definition
-BOARD_USES_AB_IMAGE := false
-BOARD_ROCKCHIP_VIRTUAL_AB_ENABLE := false
+BOARD_USES_AB_IMAGE := true
+BOARD_ROCKCHIP_VIRTUAL_AB_ENABLE := true
ifeq ($(strip $(BOARD_USES_AB_IMAGE)), true)
include device/rockchip/common/BoardConfig_AB.mk
diff --git a/u-boot/configs/rk3566.config b/u-boot/configs/rk3566.config
index e695d41151..7540f8471b 100644
--- a/u-boot/configs/rk3566.config
+++ b/u-boot/configs/rk3566.config
@@ -1,2 +1,3 @@
CONFIG_BASE_DEFCONFIG="rk3568_defconfig"
CONFIG_LOADER_INI="RK3566MINIALL.ini"
+CONFIG_ANDROID_AB=y
-
Log日志:
1.log
问题描述及复现步骤:
在Rk3566-pc 板上,想开启Virtual AB升级,根据官方文档 修改内容如上,修改后编译生成镜像。开机后无法启动。kernel 日志在附件中。
核心可能是 product,system_ext 逻辑分区加载失败。有大佬知道盖如何解决这个问题吗
|
-
-
1.log
65.82 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1
|