uboot启动参数设置分类及方法
2013-06-28 08:49
411 查看
一、nfs启动内核与根文件系统,内核与根文件系统都在nfs上
bootargs=noinitrd root=/dev/nfs rw nfsroot=192.168.0.1:/home/tekkaman/working/nf
s/rootfs ip=192.168.0.2:192.168.0.1::255.255.255.0 console=ttySAC0,115200 init=/
linuxrc mem=64M
bootcmd=nfs 0x30008000 192.168.0.1:/home/tekkaman/working/nfs/zImage.img;bootm
二、ramdisk启动根文件系统,读取nandflash 中的内核与根文件系统到ram中执行
bootargs= initrd=0x32000000,0x200000 root=/dev/ram rw console=ttySAC0 mem=64M
bootcmd= nand write 0x31000000 0x100000 0x400000\; nand write 0x32000000
0x700000 0x200000 \; bootm 0x31000000
0x32000000 根文件系统ramdisk.gz拷贝到内存中的位置
0x31000000 内核被考到内存中的位置
0x100000 内核在NANDFLASH中的位置
0x400000 内核的大小
0x700000 根文件系统在NANDFLASH中的位置
0x200000 根文件系统的大小
三、tftp启动内核(uboot要支持网卡)
bootcmd= "tftp 0x32000000 uImage; bootm 0x32000000"
bootargs="noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0"
四、mmc上装载内核并启动(uboot要支持sd卡)
bootcmd="mmc init\; fatload mmc 1 0x30008000 zImage.img\;bootm
sd卡初始化后
五、usb设备上装载内核并启动(uboot要支持u盘)
bootcmd="usb start \; fatload usb 0:4 0x30008000 zImage\;bootm
start初始化usb盘后,“0:4”表示初始化后,内核在u盘的第四分区。
bootargs=noinitrd root=/dev/nfs rw nfsroot=192.168.0.1:/home/tekkaman/working/nf
s/rootfs ip=192.168.0.2:192.168.0.1::255.255.255.0 console=ttySAC0,115200 init=/
linuxrc mem=64M
bootcmd=nfs 0x30008000 192.168.0.1:/home/tekkaman/working/nfs/zImage.img;bootm
二、ramdisk启动根文件系统,读取nandflash 中的内核与根文件系统到ram中执行
bootargs= initrd=0x32000000,0x200000 root=/dev/ram rw console=ttySAC0 mem=64M
bootcmd= nand write 0x31000000 0x100000 0x400000\; nand write 0x32000000
0x700000 0x200000 \; bootm 0x31000000
0x32000000 根文件系统ramdisk.gz拷贝到内存中的位置
0x31000000 内核被考到内存中的位置
0x100000 内核在NANDFLASH中的位置
0x400000 内核的大小
0x700000 根文件系统在NANDFLASH中的位置
0x200000 根文件系统的大小
三、tftp启动内核(uboot要支持网卡)
bootcmd= "tftp 0x32000000 uImage; bootm 0x32000000"
bootargs="noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0"
四、mmc上装载内核并启动(uboot要支持sd卡)
bootcmd="mmc init\; fatload mmc 1 0x30008000 zImage.img\;bootm
sd卡初始化后
五、usb设备上装载内核并启动(uboot要支持u盘)
bootcmd="usb start \; fatload usb 0:4 0x30008000 zImage\;bootm
start初始化usb盘后,“0:4”表示初始化后,内核在u盘的第四分区。
相关文章推荐
- uboot启动参数设置分类及方法
- uboot启动参数设置分类及方法
- uboot启动参数设置分类及方法
- uboot启动参数设置分类及方法
- uboot启动参数设置分类及方法
- u-boot传递启动参数不成功的解决方法
- U-Boot如何为内核设置启动参数--转帖
- u-boot向2.6之后的linux内核传递启动参数的方法以及常用的参数
- U-Boot启动阶段修改启动参数方法及分析
- U-Boot如何为内核设置启动参数(转)
- uboot启动参数设置和内核引导方法总结
- eclipse wtp设置jvm启动参数方法
- 嵌入式 uboot启动阶段修改启动参数方法及分析
- 多系统启动秘密:Boot.ini设置方法
- 重装Windows XP系统之后如何恢复Linux启动选单 以及boot设置 解决方法
- U-Boot如何为内核设置启动参数--转帖
- S3C2440通过NFS启动的U-Boot参数设置
- tiny4412 u-boot 启动参数的设置
- 辰汉imx53开发板 uboot设置启动参数说明
- STM32启动BOOT0 BOOT1设置方法