Firefly开源社区

打印 上一主题 下一主题

[技术讨论] 增加A/B系统的配置后 uboot编译不过

15

积分

0

威望

0

贡献

技术小白

积分
15

增加A/B系统的配置后 uboot编译不过

发表于 2019-9-22 14:24:45      浏览:4442 | 回复: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上下载的最新代码
回复

使用道具 举报

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

本版积分规则

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