导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    pack 报错

    MR Series
    2
    2
    1091
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      cwj1986521 LV 5 最后由 awwwwa 编辑

      mboot 和mkernel 后pack 报错

      --==========--
      PACK_CHIP         sun8iw20p1
      PACK_PLATFORM     tina
      PACK_BOARD        t113-mq_r
      PACK_KERN        
      PACK_DEBUG        uart3
      PACK_SIG          none
      PACK_SECURE       none
      PACK_MODE         normal
      PACK_FUNC         android
      PACK_PROGRAMMER   none
      PACK_TAR_IMAGE    none
      PACK_TOPDIR       /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux
      --==========--
      No kernel param, parse it from t113
      copying tools file
      copying configs file
      storage_type value is 5
      rm /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/image/sys_partition_nor.fex
      rm /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/image/image_nor.cfg
      copying boot resource
      copying boot file
      make user resource for : /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/image/sys_partition.fex
      handle partition user-res
      no user resource partitions
      APP_PART_DOWNLOAD_FILE = /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/out/t113-mq_r/image/app.fex
      Need size of filesystem
      no data resource partitions
      Script_to_dts: Can not find [sun8iw20p1-t113-mq_r.dts]. Will use common dts file instead.
      /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/lichee/linux-6.6/scripts/dtc/dtc: invalid option -- 'F'
      Usage: dtc [options] <input file>
      
      Options: -[qI:O:o:V:d:R:S:p:a:fb:i:H:sW:E:@AThv]
        -q, --quiet                
              Quiet: -q suppress warnings, -qq errors, -qqq all
        -I, --in-format <arg>      
              Input formats are:
                      dts - device tree source text
                      dtb - device tree blob
                      fs  - /proc/device-tree style directory
        -o, --out <arg>            
              Output file
        -O, --out-format <arg>     
              Output formats are:
                      dts - device tree source text
                      dtb - device tree blob
                      asm - assembler source
        -V, --out-version <arg>    
              Blob version to produce, defaults to 17 (for dtb and asm output)
        -d, --out-dependency <arg> 
              Output dependency file
        -R, --reserve <arg>        
              Make space for <number> reserve map entries (for dtb and asm output)
        -S, --space <arg>          
              Make the blob at least <bytes> long (extra space)
        -p, --pad <arg>            
              Add padding to the blob of <bytes> long (extra space)
        -a, --align <arg>          
              Make the blob align to the <bytes> (extra space)
        -b, --boot-cpu <arg>       
              Set the physical boot cpu
        -f, --force                
              Try to produce output even if the input tree has errors
        -i, --include <arg>        
              Add a path to search for include files
        -s, --sort                 
              Sort nodes and properties before outputting (useful for comparing trees)
        -H, --phandle <arg>        
              Valid phandle formats are:
                      legacy - "linux,phandle" properties only
                      epapr  - "phandle" properties only
                      both   - Both "linux,phandle" and "phandle" properties
        -W, --warning <arg>        
              Enable/disable warnings (prefix with "no-")
        -E, --error <arg>          
              Enable/disable errors (prefix with "no-")
        -@, --symbols              
              Enable generation of symbols
        -A, --auto-alias           
              Enable auto-alias of labels
        -T, --annotate             
              Annotate output .dts with input source file and line (-T -T for more details)
        -h, --help                 
              Print this help and exit
        -v, --version              
              Print version and exit
      
      Error: unknown option
      ERROR: Conver script to dts failed
      1 条回复 最后回复 回复 引用 分享 1
      • YuzukiTsuru
        柚木 鉉 LV 9 最后由 YuzukiTsuru 编辑

        @cwj1986521 在 pack 报错 中说:

        /home/jay/linux/allwinner/Tina-Linux-20220815/Tina-Linux/lichee/linux-6.6/scripts/dtc/dtc:

        你的环境里有 Linux 6.6 的dtc,版本更新了导致不认识 -F 参数

        这个是自己魔改的tina吗

        1 条回复 最后回复 回复 引用 分享 1
        • 1 / 1
        • First post
          Last post

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

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