Changing Options In U-Boot - Texas Instruments OMAP35x Getting Started Manual

Evm
Table of Contents

Advertisement

OMAP35x EVM Getting Started Guide V02.01.01
Document
Document Number
OMAP3EVM # onenand write 0x81600000 0x280000 0x0200000
4. Flash the Kernel Image onto the Micron NAND flash using the following commands.
OMAP3EVM # nand unlock
OMAP3EVM # mw.b 0x81600000 0xff 0x1400000
OMAP3EVM # nand erase 280000 200000
OMAP3EVM # tftpboot 0x81600000 uImage
OMAP3EVM # nand ecc sw
OMAP3EVM # nand write.i 0x81600000 280000 200000
5. Once the kernel is flashed, refer to section 7.3 "Changing Options in U-boot", for booting kernel from
the NAND flash.

7.3 Changing Options in U-boot

If you use the environment provided by the initenv-xxx.txt script, where xxx is samsung or micron
depending upon the Samsung or Micron NAND flash used on the board, you have several choices for
boot options. Most of the boilerplate has been provided; you just need to set your choices.
Kernel choices:
OMAP3EVM # setenv get_kernel run nand_kernel
OMAP3EVM # setenv get_kernel run tftp_kernel
Initrd choices:
OMAP3EVM # setenv get_initrd run nand_initrd
OMAP3EVM # setenv get_initrd run tftp_initrd
File-system choices:
OMAP3EVM # setenv bootcmd
OMAP3EVM # setenv bootcmd
OMAP3EVM # setenv bootcmd
Save your choices:
OMAP3EVM # nand unlock
OMAP3EVM # saveenv
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-xxx.txt script to load the appropriate image.
Re-flash choices:
OMAP3EVM # run rf_all_rd
OMAP3EVM # run rf_all_min_rd
OMAP3EVM # run rf_all_fs
OMAP3EVM # run rf_rd
Rev
Date
run boot_rd
run boot_fs
run boot_nfs
45
1.7
May 22 2009
(get kernel from flash)
(get custom kernel from TFTP)
(get kernel from flash)
(get custom image from TFTP)
(use an initrd ramdisk)
(use a JFFS file-system in flash)
(use an NFS root directory)
(only MICRON!)
(save to flash)
(update all using full ramdisk)
(update all using minimal ramdisk)
(update all using JFFS image)
(update just the full ramdisk)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omap3503Omap35 series

Table of Contents