韦东山的V851s开发板打包的时候报错,请问怎么解决
-
'/home/ubuntu/tina-v853-open/out/v851s/lizard/openwrt/u-boot-sun8iw21p1.bin' -> '/home/ubuntu/tina-v853-open/out/v851s/lizard/pack_out/u-boot.fex' copying additional files handle partition_size sunxi_dtb create p=soc c=product state=0 p=soc c=power_sply state=0 p=soc c=target state=0 p=soc c=card_boot state=0 p=soc c=card0_boot_para state=0 *** buffer overflow detected ***: terminated ./pack: 第 747 行: 7200 已中止 (核心已转储) $DTC_COMPILER -p 8192 ${DTC_FLAGS} -@ -O dtb -o ${LICHEE_PLAT_OUT}/sunxi.dtb -b 0 -i $DTC_SRC_PATH -F $DTC_INI_FILE -d $DTC_DEP_FILE $DTC_SRC_FILE ERROR: Conver script to dts failed
-
老哥,解决没?我也碰到了,不过解法很简单
diff --git a/scripts/dtc/updatetree.c b/scripts/dtc/updatetree.c index 74c621e1..e2159bf6 100644 --- a/scripts/dtc/updatetree.c +++ b/scripts/dtc/updatetree.c @@ -432,7 +432,7 @@ void create_pinconf_node(const char *section_name, phandle = sunxi_dt_add_new_node_to_pinctrl(pinctrl, section_name, ep->name, gpio_name, value, dti); if (phandle) { d_pinctrl_x = data_append_cell(prop->val, phandle); - propname = malloc(strlen(prop->name)); + propname = malloc(strlen(prop->name) + 1); strcpy(propname, prop->name); delete_property(prop); pinctrl_x = build_property(propname, d_pinctrl_x);
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号