Project

General

Profile

UBIFS Nand Boot » uEnv-256mb-nand.txt

Jonathan Cormier, 07/31/2013 01:43 PM

 
1
autoload=no
2
baudrate=115200
3
bootargs_defaults=setenv bootargs console=${console} ${optargs}
4
bootcmd=if mmc rescan; then echo SD/MMC found on device ${mmc_dev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run mmc_load_uimage; then run mmc_args;bootm ${kloadaddr};fi;fi;run nand_boot;
5
bootdelay=3
6
bootenv=uenv.txt
7
bootfile=uImage
8
console=ttyO0,115200n8
9
ethact=cpsw
10
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
11
ip_method=none
12
kloadaddr=0x80007fc0
13
loadaddr=0x82000000
14
loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}
15
mmc_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmc_root} rootfstype=${mmc_root_fs_type} ip=${ip_method}
16
mmc_boot=run mmc_args; run mmc_load_uimage; bootm ${kloadaddr}
17
mmc_dev=0
18
mmc_load_uimage=fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}
19
mmc_root=/dev/mmcblk0p2 rw
20
mmc_root_fs_type=ext3 rootwait
21
nand_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${nand_root} noinitrd rootfstype=${nand_root_fs_type} ip=${ip_method}
22
nand_boot=echo Booting from nand ...; run nand_args; nandecc hw 2; nand read.i ${kloadaddr} ${nand_src_addr} ${nand_img_siz}; bootm ${kloadaddr}
23
nand_img_siz=0x500000
24
nand_root=ubi0:rootfs rw ubi.mtd=8,2048
25
nand_root_fs_type=ubifs rootwait=1
26
nand_src_addr=0x0280000
27
net_args=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
28
net_boot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${kloadaddr} ${bootfile}; run net_args; bootm ${kloadaddr}
29
nfsopts=nolock
30
rootpath=/export/rootfs
31
script_addr=0x81900000
32
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
33
stderr=serial
34
stdin=serial
35
stdout=serial
(1-1/2) Go to top
Add picture from clipboard (Maximum size: 1 GB)