Navigation

    全志在线开发者论坛

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

    V536H打包出错

    编译和烧写问题专区
    4
    12
    3130
    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.
    • jinxiangwzh
      jinxiangwzh LV 7 last edited by

      我在编译加入gdb server和openssh-server后,编译没有问题,但是打包出错,请问怎么解决?

      
      update scp
      mv: 无法获取'u-boot-spinor-crash.fex' 的文件状态(stat): 没有那个文件或目录
      pack boot package
      GetPrivateProfileSection read to end
      content_count=5
      update scp
      pack boot package
      GetPrivateProfileSection read to end
      content_count=5
      
      toc1 file Path=/home/jamo/workspace/ls_hw/out/v536-cdr/image/boot_package.fex
      script file Path=/home/jamo/workspace/ls_hw/out/v536-cdr/image/sys_config.bin
      
      cant get board_id_enable
      script update toc1 ok
      packing for tina linux
      normal
      ERROR: dl file rootfs.fex size too large
      ERROR: filename = rootfs.fex
      ERROR: dl_file_size = 23040 sector
      ERROR: part_size = 15872 sector
      ERROR: update mbr file fail
      ERROR: update_mbr failed
      
      
      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        rootfs.fex size too large

        jinxiangwzh 1 Reply Last reply Reply Quote Share 0
        • jinxiangwzh
          jinxiangwzh LV 7 @whycan last edited by

          @whycan 😧 哥我是新手,这个错误我也看到了,不知道从哪里入手去解决,能不能说的稍微详细点

          whycan 1 Reply Last reply Reply Quote Share 0
          • whycan
            whycan晕哥 LV 9 @jinxiangwzh last edited by

            @jinxiangwzh
            修改板级目录下面的 sys_partition.fex 文件里面 rootfs 的 size 属性。

            jinxiangwzh 1 Reply Last reply Reply Quote Share 0
            • jinxiangwzh
              jinxiangwzh LV 7 @whycan last edited by

              @whycan
              device/config/chips/v536/configs/cdr/linux/sys_partition.fex
              device/config/chips/v536/configs/default/sys_partition.fex
              这两个文件都修改了 原始是65536,我直接扩大一倍改为131072还是报这个错误,请问改到多少合适哪里可以找到依据?

              whycan 1 Reply Last reply Reply Quote Share 0
              • whycan
                whycan晕哥 LV 9 @jinxiangwzh last edited by

                @jinxiangwzh
                你是用nor flash吗?

                那就是 sys_partition_nor.fex

                jinxiangwzh 1 Reply Last reply Reply Quote Share 1
                • jinxiangwzh
                  jinxiangwzh LV 7 @whycan last edited by

                  @whycan 谢谢 通过修改device/config/chips/v536/configs/cdr/linux/sys_partition_nor.fex 解决

                  1 Reply Last reply Reply Quote Share 0
                  • Moved from Linux by  xiaowenge xiaowenge 
                  • A
                    a850874651 LV 3 last edited by

                    你好 我也出现这个问题,我想问一下楼主能分享一下你改好的sys_partition_nor.fex文件吗,感激不尽😊

                    1 Reply Last reply Reply Quote Share 0
                    • whycan
                      whycan晕哥 LV 9 last edited by

                      @a850874651
                      提示需要多大, 就把 rootfs 改成多大,或者再加大一点点。

                      A 1 Reply Last reply Reply Quote Share 0
                      • A
                        a850874651 LV 3 @whycan last edited by

                        @whycan 我是这样做的 但是我这样做完以后用phoenixsuit烧入以后,串口就完全没有任何输出了,好像连uboot都没有启动了😵

                        C 1 Reply Last reply Reply Quote Share 0
                        • C
                          chengwei_peng LV 6 @a850874651 last edited by

                          @a850874651 有没有可能你的固件太大了,已经超过了flash的容量,导致烧录错误才无法启动的。

                          A 1 Reply Last reply Reply Quote Share 0
                          • A
                            a850874651 LV 3 @chengwei_peng last edited by

                            @chengwei_peng 不是flash大小的问题 机子上的flash大小为32MB,昨天解决了通过修改kernel_menuconfig,sys_config.fex和menuconfig,不知道为什么他flash,uboot可以读到32MB,但是只能使用16MB,很奇怪的bug

                            1 Reply Last reply Reply Quote Share 0
                            • 1 / 1
                            • First post
                              Last post

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

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