U-Boot参数设置
来源:互联网 发布:斗鱼刷鱼翅软件 编辑:程序博客网 时间:2024/06/05 22:56
1)网络启动参数设置
setenv serverip 192.168.7.103 // Ubuntu的ip地址
setenv ipaddr 192.168.7.163 // 开发板ip地址
setenv gatewayip 192.168.7.1 // 设置网关
setenv ethaddr 08:00:3e:26:0a:03 // 设置MAC地址
1、setenv bootcmd tftp 30800000 uImage \; bootm // 设置倒计时后的第一条命令 (二选一)
// (cp u-boot-2010.03/tools/mkimge /usr/bin/,用来生成uImage,注意权限)
2、setenv bootcmd tftp 33000000 zImage \; go 33000000
setenv bootargs console=ttySAC0,115200 init=/linuxrc root=/dev/nfs nfsroot=192.168.7.103:/opt/filesystem ip=192.168.7.163 // uboot传给内核的参数
/******************************************************************/
nand分区文件所在:
u-boot:include/configs/fs2410.h
kernel:/linux-2.6.35/arch/arm/plat-s3c24xx/ common-smdk.c
/******************************************************************/
2)烧写内核
tftp 33000000 uImage
nand erase 100000 400000
nand write 33000000 100000 400000
setenv bootcmd nand read 33000000 100000 400000 \; bootm 33000000
3)烧写 cramfs 文件系统
tftp 30008000 filesystem.cramfs
nand erase 500000 800000
nand write 30008000 500000 实际大小
setenv bootargs root=/dev/mtdblock2 init=/linuxrc rootfstype=cramfs rw console=ttySAC0,115200
4)烧写 yaffs2 文件系统
tftp 30008000 filesystem.yaffs2
nand erase D00000 3300000
nand write.yaffs2 30008000 D00000 实际大小
setenv bootargs root=/dev/mtdblock3 init=/linuxrc rootfstype=yaffs2 rw console=ttySAC0,115200
- U-Boot参数设置
- U-Boot参数设置 .
- U-Boot参数设置
- u-boot 环境变量参数设置
- u-boot烧写及引导参数设置
- u-boot烧写及引导参数设置
- S3C2440通过NFS启动的U-Boot参数设置
- u-boot到kernel命令行参数设置及传递
- U-boot 的 bootcmd 和bootargs参数设置和环境变量的使用说明
- U-BOOT
- u-boot
- U-boot
- U-Boot
- u-boot
- u-boot
- u-boot!!
- U-BOOT
- U-boot
- 升级xcode 4.2 ios sdk 5
- linux基础——代码存放路径
- c++ qsort函数、
- vc中DC资源的正确利用
- MASM 6.11的安装与设置
- U-Boot参数设置
- HTTP 头部解释,HTTP 头部详细分析,最全HTTP头部信息(1)
- Java+blazeds+Flex的例子
- 如何编程创建线的样式(LineStyle)
- HTTP 头部解释,HTTP 头部详细分析,最全HTTP头部信息(2)
- 浏览器性能评测报告(三):评测环境
- 渴望进行组件开发
- 符号的英文读法
- JSP 相关配置文件