Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    韦东山的V851s开发板打包的时候报错,请问怎么解决

    V Series
    2
    2
    717
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lcsxdxdxd LV 3 last edited by xiaowenge

      '/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
      
      1 Reply Last reply Reply Quote Share 2
      • A
        awol_test LV 2 last edited by

        老哥,解决没?我也碰到了,不过解法很简单🙄

        
        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);
        
        1 Reply Last reply Reply Quote Share 1
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策