Project

General

Profile

335x LCD Setup Instructions » uEnv.txt

640x480 uEnv.txt - Alexander Block, 01/12/2015 04:36 PM

 
1
autoload=no
2
baudrate=115200
3
bootargs=console=ttyO0,115200n8 video=da8xx:bpp=16,mode=640x480 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
4
bootargs_defaults=setenv bootargs console=${console} ${optargs}
5
bootcmd=run config_dvi;run mmc_boot
6
bootdelay=3
7
bootenv=uenv.txt
8
bootfile=boot/uImage
9
config_dvi=i2c dev 1;i2c mw 38 8 3d; i2c mw 38 33 0
10
console=ttyO0,115200n8
11
ethact=cpsw
12
fileaddr=82000000
13
filesize=1600000
14
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
15
ip_method=none
16
kloadaddr=0x80007fc0
17
loadaddr=0x82000000
18
loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}
19
mmc_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmc_root} rootfstype=${mmc_root_fs_type} ip=${ip_method}
20
mmc_boot=run mmc_args; run mmc_load_uimage; bootm ${kloadaddr}
21
mmc_dev=0
22
mmc_load_uimage=mmc rescan;fatload mmc ${mmc_dev} ${kloadaddr} uImage
23
mmc_root=/dev/mmcblk0p2 rw
24
mmc_root_fs_type=ext3 rootwait
25
mtddevname=mlo
26
mtddevnum=0
27
mtdids=nand0=nand
28
mtdparts=mtdparts=nand:256k@0(mlo),256k@256k(mlo1),256k@512k(mlo2),256k@768k(mlo3),2m@1m(uboot),256k@3m(env),5m@3328k(env),-@8448k(userfs)
29
nand_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${nand_root} noinitrd rootfstype=${nand_root_fs_type} ip=${ip_method}
30
nand_boot=echo Booting from nand ...; run nand_args; nandecc hw 1; nand read.i ${kloadaddr} ${nand_src_addr} ${nand_img_siz}; bootm ${kloadaddr}
31
nand_img_siz=0x500000
32
nand_root=ubi0:rootfs rw ubi.mtd=8,4096
33
nand_root_fs_type=ubifs rootwait=1
34
nand_src_addr=0x0340000
35
net_args=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
36
net_boot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${kloadaddr} ${bootfile}; run net_args; bootm ${kloadaddr}
37
nfs_boot=echo Booting from network ...; setenv autoload no; dhcp;nfs ${kloadaddr} ${rootpath}/${bootfile};run net_args; bootm ${kloadaddr}
38
nfsopts=nolock
39
optargs=video=da8xx:bpp=16,mode=640x480
40
partition=nand0,0
41
rootpath=/export/nfs/mityarm_335x_kit
42
script_addr=0x81900000
43
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
44
stderr=serial
45
stdin=serial
46
stdout=serial
47
uenvcmd=run config_dvi
(1-1/3) Go to top
Add picture from clipboard (Maximum size: 1 GB)