首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >没有设备树blob的引导

没有设备树blob的引导
EN

Stack Overflow用户
提问于 2014-02-13 09:32:50
回答 1查看 2.4K关注 0票数 1

以下是用于引导命令的U的摘录:

代码语言:javascript
复制
bootm [addr [arg ...]]

- boot application image stored in memory
    passing arguments 'arg ...'; when booting a Linux kernel,
    'arg' can be the address of an initrd image
    When booting a Linux kernel which requires a flat device-tree
    a third argument is required which is the address of the
    device-tree blob. To boot that kernel without an initrd image,
    use a '-' for the second argument. If you do not pass a third
    a bd_info struct will be passed instead

正如我在上面看到的,bootm [addr]应该工作得很好,arg是可选的。

所以像bootm 0x1000000这样的东西应该能工作。

tftp linux内核uImage到0x1000000,然后使用上面的命令。

这不可能吗?

当我使用bootm 0x1000000 - 0x3000000时,它工作得很好,其中第三个参数是dtb的地址。

但是,当我尝试在没有dtb的情况下启动时,它会停留在“解压缩内核映像”。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-03-10 21:08:44

您使用的内核可能只支持基于设备树blob (dtb)的引导。您必须确保内核配置设置为支持遗留引导。必须确保您的u引导也支持遗留引导。正如前面提到的锯末一样,给出SoC、内核、u引导信息总是有帮助的.

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21750145

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档