9
0
Fork 0

eukrea_cpuimx27: update env

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Eric Bénard 2010-05-25 12:01:29 +02:00 committed by Sascha Hauer
parent b6738258b8
commit 6aaef710ce
2 changed files with 14 additions and 10 deletions

View File

@ -17,10 +17,14 @@ if [ x$1 = xnor ]; then
kernel=nor
fi
if [ x$ip = xdhcp ]; then
bootargs="$bootargs ip=dhcp"
if [ x$root = xnet ]; then
if [ x$ip = xdhcp ]; then
bootargs="$bootargs ip=dhcp"
else
bootargs="$bootargs ip=$eth0.ipaddr:$eth0.serverip:$eth0.gateway:$eth0.netmask:::"
fi
else
bootargs="$bootargs ip=$eth0.ipaddr:$eth0.serverip:$eth0.gateway:$eth0.netmask:::"
bootargs="$bootargs ip=off"
fi
if [ x$root = xnand ]; then

View File

@ -4,16 +4,16 @@
kernel=nor
root=nor
uimage=cpuimx27/uImage
jffs2=cpuimx27/rootfs.jffs2
uimage=mx27/uImage
jffs2=mx27/rootfs.jffs2
autoboot_timeout=3
autoboot_timeout=1
# TFP410-SVGA TFP410-VGA CMO-QVGA Optrex-WVGA Sharp-QVGA-EK
# DVI-SVGA DVI-VGA CMO-QVGA
video="CMO-QVGA"
bootargs="console=ttymxc0,115200 fec_mac=$eth0.ethaddr rtc-pcf8563.probe=0,0x51 video=mxcfb:$video"
bootargs="console=ttymxc0,115200 fec_mac=$eth0.ethaddr video=mxcfb:$video"
nor_parts="256k(barebox)ro,128k(bareboxenv),1792k(kernel),-(root)"
nor_parts="256k(barebox)ro,128k(bareboxenv),2176k(kernel),-(root)"
rootpart_nor="/dev/mtdblock3"
nand_parts="-(nand)"
@ -28,4 +28,4 @@ ip=dhcp
#eth0.ipaddr=a.b.c.d
#eth0.netmask=a.b.c.d
#eth0.gateway=a.b.c.d
eth0.serverip=192.168.1.15
#eth0.serverip=a.b.c.d