1

以下是bootm命令的 U-Boot 帮助的摘录:

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 的情况下启动时,它会停在 “解压缩内核映像”处

4

1 回答 1

0

您使用的内核可能仅支持基于设备树 blob (dtb) 的启动。您必须确保将内核配置设置为支持传统引导。确保您的 u-boot 也支持旧版引导非常重要。就像提到的锯末一样,提供 SoC、内核、u-boot 信息总是有帮助的。

于 2014-03-10T21:08:44.983 回答