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