boot param for exmple
来源:互联网 发布:学为贵封闭班 知乎 编辑:程序博客网 时间:2024/06/08 20:12
bootargs=mem=320M quiet root=/dev/ram rw rootfstype=ext2 mtdparts=hinand:1M(boot),1M(env),4M(kernel),15M(rootfs),99M(data),4M(system),4M(logo) libata.force=noncq
bootcmd=nand read 0x82000000 0x200000 0x400000; nand read 0x82400000 0x600000 0xF00000; bootm 0x82000000 0x82400000
bootdelay=1
baudrate=115200
ipaddr=192.168.0.188
serverip=192.168.0.125
netmask=255.255.255.0
bootfile="uImage"
1=mw.b 0x82000000 0xFF 0x80000;if tftp 0x82000000 hi3531_uboot.bin;then nand erase 0 0x80000;nand write 0x82000000 0 0x80000;fi
2=mw.b 0x82000000 0xFF 0x400000;if tftp 0x82000000 hi3531_kernel.bin;then nand erase 0x200000 0x400000;nand write 0x82000000 0x200000 0x400000;fi
3=mw.b 0x82000000 0xFF 0xF00000;if tftp 0x82000000 hi3531_rootfs.ext2;then nand erase 0x600000 0xF00000;nand write 0x82000000 0x600000 0xF00000;fi
4=mw.b 0x82000000 0xFF 0x6300000
5=if tftp 0x82000000 hi3531_data.jffs2;then nand erase 0x1500000 0x6300000;nand write.jffs2 0x82000000 0x1500000 0x6300000;fi
logo=mw.b 0x82000000 0xFF 0x400000;if tftp 0x82000000 samsung_logo.bin;then nand erase 0x7C00000 0x400000;nand write 0x82000000 0x7C00000 0x400000;fi
6=run 1 2 3 4 5 logo
7=run 6;reset
del_env=nand erase 0x100000 0x80000
del_sys=nand erase 0x7800000 0x400000
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-svn1258 (Feb 27 2013 - 18:07:10)
ntsc=1
board_ID=0x801b
ethaddr=00:09:18:03:75:FF
jpeg_addr=0x92280000
fileaddr=92280000
vobuf=0xD3000000
jpeg_size=0x80000
filesize=80000
bootcmd=nand read 0x82000000 0x200000 0x400000; nand read 0x82400000 0x600000 0xF00000; bootm 0x82000000 0x82400000
bootdelay=1
baudrate=115200
ipaddr=192.168.0.188
serverip=192.168.0.125
netmask=255.255.255.0
bootfile="uImage"
1=mw.b 0x82000000 0xFF 0x80000;if tftp 0x82000000 hi3531_uboot.bin;then nand erase 0 0x80000;nand write 0x82000000 0 0x80000;fi
2=mw.b 0x82000000 0xFF 0x400000;if tftp 0x82000000 hi3531_kernel.bin;then nand erase 0x200000 0x400000;nand write 0x82000000 0x200000 0x400000;fi
3=mw.b 0x82000000 0xFF 0xF00000;if tftp 0x82000000 hi3531_rootfs.ext2;then nand erase 0x600000 0xF00000;nand write 0x82000000 0x600000 0xF00000;fi
4=mw.b 0x82000000 0xFF 0x6300000
5=if tftp 0x82000000 hi3531_data.jffs2;then nand erase 0x1500000 0x6300000;nand write.jffs2 0x82000000 0x1500000 0x6300000;fi
logo=mw.b 0x82000000 0xFF 0x400000;if tftp 0x82000000 samsung_logo.bin;then nand erase 0x7C00000 0x400000;nand write 0x82000000 0x7C00000 0x400000;fi
6=run 1 2 3 4 5 logo
7=run 6;reset
del_env=nand erase 0x100000 0x80000
del_sys=nand erase 0x7800000 0x400000
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-svn1258 (Feb 27 2013 - 18:07:10)
ntsc=1
board_ID=0x801b
ethaddr=00:09:18:03:75:FF
jpeg_addr=0x92280000
fileaddr=92280000
vobuf=0xD3000000
jpeg_size=0x80000
filesize=80000
Environment size: 1469/262140 bytes
其中bootcmd=nand read 0x82000000 0x200000 0x400000; nand read 0x82400000 0x600000 0xF00000; bootm 0x82000000 0x82400000
nand read 0x82000000 0x200000 0x400000 表示从nand flash 地址0x200000 读4M 为kernel image 到内存地址0x82000000 上; bootm 为从0x82000000 启动到内存地址0x82400000
0 0
- boot param for exmple
- iocp new exmple
- Revel json decode for param
- param
- @Param
- $.param()
- @param
- 深入理解 bootloader 启动linux atags/boot param 传递
- U-Boot for LPC3250
- U-Boot for Zed
- u-boot for at91sam9260ek
- Developing for Direct Boot
- U-BOOT FOR S3C2410 NAND-BOOT
- Spring Boot (二) Spring Boot for JSP
- Spring Boot (三) Spring Boot for thymeleaf
- my boot.ini (for backup)
- 编译u-boot for at91sam9260
- ADSL Boot Script for SlackWare
- JDBC连接
- 写代码前请谨慎选择编码方式
- ProgressDialog学习
- 正向代理与反向代理的区别
- Java 输出文件通过 BufferedWriter.newline() 方法换行的陷阱
- boot param for exmple
- 27Remove Element
- linux、windows 时间函数性能比较
- c++ primer plus 第八章《编程题8.7.4》
- tools
- 关于学习Hadoop中未总结的资料
- 动态计算cell高度
- Apache/Tomcat/JBOSS/Nginx区别
- 通用css样式模板