> 文档中心 > OpenHarmony 3.1 Release源码编译过rk3568后,编译hi3516标准系统,出现ramdisk报错解决方案

OpenHarmony 3.1 Release源码编译过rk3568后,编译hi3516标准系统,出现ramdisk报错解决方案

OpenHarmony 3.1 Release源码编译过rk3568后,如果再编译hi3516标准系统,会出现ramdisk报错
解决办法:将build/ohos/images/mkimage/ramdisk_resource_config.ini的最后四行代码注释掉,就可以正常编译3516了。

[board]boot_type = two_stagessource_path = ../../out/kernel/src_tmp/linux-5.10/make-boot.sh target_path = ./packages/phone/make-boot.sh

如需再次编译rk3568,恢复这四行代码就好了

央视天气网