Navigation

    全志在线开发者论坛

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

    【V853开发板试用】V853编译烧录疑难杂症汇总篇

    V853
    3
    4
    212
    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.
    • aldfaaa
      aldfaaa LV 6 last edited by xiaowenge

      • 不要使用过去编译D1s的ubu14.04进行编译.
        会出现找不到__NR_renameat2的值.

      • 官方文档提供的ubu20.04虚拟机在win11上运行可能存在问题, 输入密码登陆后无显示并卡死. win7实测正常.

      • 找不到mkimage

      UIMAGE  arch/arm/boot/uImage
      "mkimage" command not found - U-Boot images will not be built
      make[1]: *** [arch/arm/boot/Makefile:93: arch/arm/boot/uImage] Error 1
      make: *** [arch/arm/Makefile:331: uImage] Error 2
      

      可以find . -name "mkimage" |xargs ls -lh,
      然后选一个可以执行的,

      export PATH=$PWD/brandy/brandy-2.0/u-boot-2018/tools:$PATH
      
      • 找不到/编不出mconf
        find一下, 进入相应目录, make clean, 然后再重新make
      W 1 Reply Last reply Reply Quote Share 0
      • W
        woodfor LV 3 @aldfaaa last edited by

        编译过tina-d1-h的ubu14.04编译V853只出现了找不到mkimage的问题,修改后,编译成功

        1 Reply Last reply Reply Quote Share 0
        • aldfaaa
          aldfaaa LV 6 last edited by

          官方文档提供的ubu20.04虚拟机(后称, 官方虚拟机)执行pack出现

          fsbuild: No such file or directory
          

          这是全志的闭源打包工具, 位于: tina-v853-open/tools/pack/pctools/linux/fsbuild200目录下, readelf -h可见

          $ readelf -h fsbuild
          ELF Header:
            Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
            Class:                             ELF32
            Data:                              2's complement, little endian
            Version:                           1 (current)
            OS/ABI:                            UNIX - System V
            ABI Version:                       0
            Type:                              EXEC (Executable file)
            Machine:                           Intel 80386
            Version:                           0x1
            Entry point address:               0x8048870
            Start of program headers:          52 (bytes into file)
            Start of section headers:          33856 (bytes into file)
            Flags:                             0x0
            Size of this header:               52 (bytes)
            Size of program headers:           32 (bytes)
            Number of program headers:         8
            Size of section headers:           40 (bytes)
            Number of section headers:         38
            Section header string table index: 35
          

          居然是个32位程序, 遂参考Ubuntu-64位系统运行32位程序的方法:

          sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 zlib1g:i386
          sudo dpkg --add-architecture i386
          

          Tina 终(

          1 Reply Last reply Reply Quote Share 0
          • Y
            YterAA LV 6 last edited by

            这就更新虚拟机(不是

            1 Reply Last reply Reply Quote Share 0
            • Referenced by  aldfaaa aldfaaa 
            • 1 / 1
            • First post
              Last post

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

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