Changing Options in U-boot
来源:互联网 发布:编程猫李天驰个人简介 编辑:程序博客网 时间:2024/05/22 18:23
If you use the environment provided by the initenv.txt script you have several choices for boot options. Most of the boilerplate has been provided; you just need to set your choices.
Note: Refer Section Running the Re-flash Procedure for modifications in the initenv.txt script files required to be able to run the dvsdk demos that comes OMAP3530 DVSDK. Also Refer Alternate Boot Methods
Kernel choices:
OMAP3EVM # setenv get_kernel run nand_kernel(get kernel from flash)OMAP3EVM # setenv get_kernel run tftp_kernel(get custom kernel from TFTP)
Initrd choices:
OMAP3EVM # setenv get_initrd run nand_initrd(get kernel from flash)OMAP3EVM # setenv get_initrd run tftp_initrd(get custom image from TFTP)
File-system choices:
OMAP3EVM # setenv bootcmd run bootargs_rd (use an initrd ramdisk)OMAP3EVM # setenv bootcmd run bootargs_fs(use a JFFS file-system in flash)OMAP3EVM # setenv bootcmd run bootargs_nfs(use an NFS root directory)
Save your choices:
OMAP3EVM # nand unlock(only MICRON!)OMAP3EVM # saveenv(save to flash)
To run a JFFS file-system or a ramdisk image from flash you need to make sure the appropriate image is in flash. You can use the reflash.txt script to load the appropriate image.
Re-flash choices:
OMAP3EVM # run rf_all_rd(update all using full ramdisk)OMAP3EVM # run rf_all_min_rd(update all using minimal ramdisk)OMAP3EVM # run rf_all_fs(update all using JFFS image)OMAP3EVM # run rf_rd(update just the full ramdisk)OMAP3EVM # run rf_min_rd(update just the full ramdisk)OMAP3EVM # run rf_fs(update just the JFFS image)
Note 1: The two ramdisk images and JFFS are all mutually exclusive in Flash as they occupy the same partition. (Running ramdisk from tftp does not require flash space).
Note 2: The current U-boot only allows 40 environment variables. Do not saveenv after the reflash script has been submitted. Instead complete the reflash and reboot before making env changes.
Note 3: For reflashing choices for Micron nand please select the commands which are marked by _new.(For example 'rf_all_fs_new' for using JFFS filesystem and 'rf_all_rd_new' for using full ramdisk).
- Changing Options in U-boot
- cross compile u-boot in Ubuntu
- U-BOOT runs in RAM on FL2440
- Boot INI Options Reference
- Boot time kernel options
- Changing Hostnames in Oracle RAC
- Changing the Favicon in PeopleSoft
- Changing caption width in latex
- Spring Boot 出现 in a frame because it set 'X-Frame-Options' to 'DENY'
- U-BOOT
- u-boot
- U-boot
- U-Boot
- u-boot
- u-boot
- u-boot!!
- U-BOOT
- U-boot
- LaTex下好用的pdf模板
- 对CSDN的无奈
- 惊天动地 不怎么玩了,会把常用的几个作弊方法共享下给普通大众吧(私服)
- 解决Struts2配置文件无提示问题
- 关于压缩感知(compressive sensing!)
- Changing Options in U-boot
- U盘各种启动盘的制作(推荐做PE启动盘)!以及用U盘安装系统(把你的U盘当光盘来用)!
- IT企业人才的选,用,育,留
- Java文件读写与创建
- linux 安装遇到的问题
- MFC CBitmap CDC 多图绘制 多图叠加 多图合并
- vCard(.vcf)文件批量导入Gmail联系人的快速方法
- 如何辨别同台机器多个客户端sql跟踪
- Visual Studio 2008和IE8冲突解决 Add Function/Add Variable/Smart Device项目建立等