|
【技术讨论】
增加A/B系统的配置后 uboot编译不过
发表于 2019-9-22 14:24:45
浏览:6592
|
回复:1
打印
只看该作者
[复制链接]
楼主
按照文档 增加配置
CONFIG_AVB_LIBAVB=y
CONFIG_AVB_LIBAVB_AB=y
CONFIG_AVB_LIBAVB_ATX=y
CONFIG_AVB_LIBAVB_USER=y
CONFIG_RK_AVB_LIBAVB_USER=y
CONFIG_ANDROID_AB=y
支持AB系统备份
编译uboot时出错。
common/android_bootloader.c: In function ‘android_bootloader_boot_flow’:
common/android_bootloader.c:920:3: error: a label can only be part of a statement and a declaration is not a statement
char root_partition[20] = {0};
^~~~
common/android_bootloader.c:921:3: error: expected expression before ‘char’
char guid_buf[UUID_SIZE] = {0};
^~~~
common/android_bootloader.c:926:45: error: ‘guid_buf’ undeclared (first use in this function)
get_partition_unique_uuid(root_partition, guid_buf, UUID_SIZE);
请问怎么解决?
SDK是firefly的git上下载的最新代码
|
|