uboot引导powerpc,bootm的用法
来源:互联网 发布:网络侦查系统 编辑:程序博客网 时间:2024/05/21 14:55
=> help bootm
bootm - boot application image from memory
Usage:
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
Sub-commands to do part of the bootm sequence. The sub-commands must be
issued in the order below (it's ok to not issue all sub-commands):
start [addr [arg ...]]
loados - load OS image
ramdisk - relocate initrd, set env initrd_start/initrd_end
fdt - relocate flat device tree
bdt - OS specific bd_t processing
cmdline - OS specific command line processing/setup
prep - OS specific prep before relocation or go
go - start OS
=>
uboot使用bootm命令引导操作系统,不同架构bootm的功能不同。对于arm,也许就是带一个内核的内存地址就可以了,其他参数由bootargs决定。但是powerpc不是,说说心得:
格式:
bootm 内核地址 ramdisk地址 dtb地址
首先我们要把数据下载到内存,然后使用上面的命令。如果有ramdisk,那么系统自动识别并挂载,bootargs无关紧要。如果不用ramdisk咋办呢,那就用一横表示没有:
bootm 内核地址 - dtb地址
当然,这时候要指定bootargs了。
同理,挂载jffs、yaffs也是一样道理。
http://blog.csdn.net/lanmanck/article/details/5395348
- uboot引导powerpc,bootm的用法
- uboot引导powerpc,u-boot,bootm,bootcmd
- uboot 的bootm 引导内核的过程
- uboot引导linux内核命令bootm
- uboot的 bootm 和 bootargs
- powerPC P2020 uboot引导kernel 串口没有打印信息啦,
- uboot bootargs bootcmd bootm
- uboot bootargs bootcmd bootm
- uboot bootargs bootcmd bootm
- uboot bootargs bootcmd bootm
- uboot bootargs bootcmd bootm
- uboot源码阅读(十)bootm内核的最终启动
- uboot向kernel的传参机制bootm与tags
- 从bootm看u-boot引导内核的过程
- uboot对linux的引导
- uboot引导内核的经验总结
- uboot之bootm命令分析
- uboot命令之bootm详解
- zookeeper的安装与测试
- ip大小端
- PyQt4 精彩实例分析 实例9 利用Qt Designer设计一个对话框
- ant make g++ qmake 详解
- 糊涂窗口综合症及其解决方法(Nagle算法,Clark方法,延时确认方法,CORK算法)
- uboot引导powerpc,bootm的用法
- Speed Limit
- C#之委托学习
- CoordinatorLayout-带图片伸缩工具栏
- 达内科技是干什么的
- Trade - HDU 3401 单调队列优化
- LCS
- 欢迎使用CSDN-markdown编辑器
- c#实现redis客户端(一)