导航

    全志在线开发者论坛

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

    T113的SDK 是使用 uboot 的吗,没有看到setenv bootcmd

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

      setenv bootcmd 'fatload mmc 0:1 0x41000000 zImage; fatload mmc 0:1 0x41800000 t113-myboard.dtb; bootz 0x41000000 - 0x41800000'

      1 条回复 最后回复 回复 引用 分享 1
      • PCaT113S4user
        PCaT113S4user LV 4 最后由 编辑

        这很可能取决于你使用的 SDK,但如果是 Tina Linux 版本,请查看目录 Tina-Linux/device/config/chips/t113/configs/xxxxx 中是否存在 env.cfg 文件,其中 xxxxx 是配置所针对的板的名称。

        此文件包含 Linux 内核的环境变量设置。在我的配置中,这些设置最终会分布在输出镜像的两个分区中。一个分区保存原始文件,另一个分区是冗余副本。

        Original English text:
        It most likely depends on the SDK you are using, but when it is the Tina Linux variant, see if there is a file env.cfg in a directory Tina-Linux/device/config/chips/t113/configs/xxxxx, where xxxxx is the name of the board the configuration is for.

        This file holds the environment settings for the Linux kernel. In my setup these settings end up in two partitions of the output image. One partition holds the original and the other one is a redundant copy.

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

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

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