以下是用于引导命令的U的摘录:
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的情况下启动时,它会停留在“解压缩内核映像”。
发布于 2014-03-10 21:08:44
您使用的内核可能只支持基于设备树blob (dtb)的引导。您必须确保内核配置设置为支持遗留引导。必须确保您的u引导也支持遗留引导。正如前面提到的锯末一样,给出SoC、内核、u引导信息总是有帮助的.
https://stackoverflow.com/questions/21750145
复制相似问题