Navigation

    全志在线开发者论坛

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

    全志V536 编译uboot后打包烧录失败

    V Series
    2
    4
    864
    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.
    • Z
      zhangerhu LV 3 last edited by

      进入lichee/brandy目录下执行 ./build.sh -p sun8iw16p1
      烧录报一下错误:
      699b9ec1-c696-409f-83e9-564c8a25e239-image.png
      sys_partition_nor.fex配置如下

      ;---------------------------------------------------------------------------------------------------------
      ; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
      ;---------------------------------------------------------------------------------------------------------
      
      
      ;--------------------------------------------------------------------------------------------------
      ;                                   固件下载参数配置
      ;--------------------------------------------------------------------------------------------------
      ;****************************************************
      ;    mbr的大小, 以Kbyte为单位
      ;****************************************************
      [mbr]
      size = 16
      
      ;********************************************************************************************************
      ;                                              分区配置
      ;
      ;
      ;  partition 定义范例:
      ;    [partition]                ;  //表示是一个分区
      ;    name        = USERFS2      ; //分区名称
      ;    size        = 16384        ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
      ;    downloadfile = "123.fex"   ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
      ;    keydata     = 1            ; //私有数据分区,重新量产数据将不丢失
      ;    encrypt     = 1            ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
      ;    user_type   = ?            ; //私有用法
      ;    verify      = 1            ; //要求量产完成后校验是否正确
      ;
      ; 注:1、name唯一, 不允许同名
      ;     2、name最大12个字符
      ;     3、size = 0, 将创建一个无大小的空分区
      ;     4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
      ;********************************************************************************************************
      [partition_start]
      
      
      [partition]
          name         = boot
          size         = 6400
          downloadfile = "boot.fex"
          user_type    = 0x8000
      
      [partition]
          name         = rootfs
          size         = 32768
          downloadfile = "rootfs.fex"
          user_type    = 0x8000
      
      [partition]
          name         = overlay
          size         = 1024
          downloadfile = "overlay.fex"
          user_type    = 0x8000
      
      [partition]
         name         = env
         size         = 256
         downloadfile = "env_nor.fex"
         user_type    = 0x8000
      
      [partition]
         name         = bootlogo
         size         = 512
         downloadfile = "bootlogo.fex"
         user_type    = 0x8000
      
      
      Z 1 Reply Last reply Reply Quote Share 0
      • Z
        zhangerhu LV 3 @zhangerhu last edited by

        @zhangerhu 还有一点是我想在uboot上添加一些代码,加后发现打包都是没有编译进去的,工具压根没有打包进去

        1 Reply Last reply Reply Quote Share 0
        • M
          momoyu LV 4 last edited by

          执行mboot、muboot看看是否能正常编译?

          Z 1 Reply Last reply Reply Quote Share 0
          • Z
            zhangerhu LV 3 @momoyu last edited by

            @momoyu 能正常编译

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

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

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