导航

    全志在线开发者论坛

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

    R329代码里找不到BOOT0启动打印“HELLO! BOOT0 is starting!”

    其它全志芯片讨论区
    2
    2
    1211
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Y
      yimu163com LV 4 最后由 编辑

      软硬件环境:

      peter@u14:~/share/r329-evb5$ lunch r329_evb5-tina
      ============================================
      TINA_BUILD_TOP=/home/peter/share/r329-evb5
      TINA_TARGET_ARCH=aarch64
      TARGET_PRODUCT=r329_evb5
      TARGET_PLATFORM=r329
      TARGET_BOARD=r329-evb5
      TARGET_PLAN=evb5
      TARGET_BUILD_VARIANT=tina
      TARGET_BUILD_TYPE=release
      TARGET_KERNEL_VERSION=4.9
      TARGET_UBOOT=u-boot-2018
      TARGET_CHIP=sun50iw11p1
      ============================================
      

      其中,~/share/r329-evb5是SDK顶层目录

      启动打印:

      [65]HELLO! BOOT0 is starting!
      [68]BOOT0 commit : 97444f5
      [70]set pll start
      [73]periph0 has been enabled
      

      代码里搜索第一行里的“starting!”:

      peter@u14:~/share/r329-evb5$  grep "starting!" --binary-files=without-match --exclude-dir=\.git --exclude-dir=\.repo --exclude=*tags -nwr ./
      peter@u14:~/share/r329-evb5$  grep "starting!" --exclude-dir=\.git --exclude-dir=\.repo --exclude=*tags -nwr ./
      Binary file ./device/config/chips/r329/bin/boot0_nand_sun50iw11p1.bin matches
      Binary file ./device/config/chips/r329/bin/sboot_sun50iw11p1.bin matches
      Binary file ./device/config/chips/r329/bin/boot0_spinor_sun50iw11p1.bin matches
      Binary file ./device/config/chips/r329/bin/boot0_sdcard_sun50iw11p1.bin matches
      peter@u14:~/share/r329-evb5$
      

      大佬们,是代码文件里本身没有“HELLO! BOOT0 is starting!”,还是我搜索的问题?还是其他的原因?

      1 条回复 最后回复 回复 引用 分享 0
      • Deleted by  Y yimu163com 
      • Restored by  Y yimu163com 
      • A
        awwwwa LV 8 最后由 编辑

        @yimu163com 在 R329代码里找不到BOOT0启动打印“HELLO! BOOT0 is starting!” 中说:

        Binary file ./device/config/chips/r329/bin/boot0_nand_sun50iw11p1.bin matches
        Binary file ./device/config/chips/r329/bin/sboot_sun50iw11p1.bin matches
        Binary file ./device/config/chips/r329/bin/boot0_spinor_sun50iw11p1.bin matches
        Binary file ./device/config/chips/r329/bin/boot0_sdcard_sun50iw11p1.bin matches

        在这几个bin里,BOOT0不开源

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

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

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