[PATCH 3/3] eukrea_cpuimx25: update env

Eric Bénard eric at eukrea.com
Tue May 25 11:35:33 EDT 2010


Signed-off-by: Eric Bénard <eric at eukrea.com>
---
 board/eukrea_cpuimx25/env/bin/boot |    2 +-
 board/eukrea_cpuimx25/env/config   |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/board/eukrea_cpuimx25/env/bin/boot b/board/eukrea_cpuimx25/env/bin/boot
index 3311114..2d9b3af 100644
--- a/board/eukrea_cpuimx25/env/bin/boot
+++ b/board/eukrea_cpuimx25/env/bin/boot
@@ -32,7 +32,7 @@ if [ x$root = xjffs2 ]; then
 fi
 
 if [ x$root = xubifs ]; then
-	bootargs="$bootargs root=ubi0:root ubi.mtd=$rootpartnum_nand rootfstype=ubifs"
+	bootargs="$bootargs root=ubi0:$ubiroot ubi.mtd=$rootpartnum_nand rootfstype=ubifs"
 fi
 
 if [ x$root = xnet ]; then
diff --git a/board/eukrea_cpuimx25/env/config b/board/eukrea_cpuimx25/env/config
index eb5fced..9217ca1 100644
--- a/board/eukrea_cpuimx25/env/config
+++ b/board/eukrea_cpuimx25/env/config
@@ -2,7 +2,7 @@
 
 # can be either 'net' or 'jffs2' or 'ubifs'
 kernel=nand
-root=jffs2
+root=ubifs
 
 basedir=cpuimx25
 uimage=$basedir/uImage
@@ -15,12 +15,13 @@ bootargs="console=ttymxc0,115200"
 
 nand_parts="256k(barebox)ro,128k(bareboxenv),2176k(kernel),-(root)"
 rootpartnum_nand=3
+ubiroot="eukrea-cpuimx25-rootfs"
 
 # use 'dhcp' to do dhcp in barebox and in kernel
-ip=dhcp
+ip=off
 
 # or set your networking parameters here
 #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
-- 
1.6.3.3




More information about the barebox mailing list