mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: s.hauer@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: [PATCH 3/3] eukrea_cpuimx25: update env
Date: Tue, 25 May 2010 17:35:33 +0200	[thread overview]
Message-ID: <1274801733-32763-3-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1274801733-32763-2-git-send-email-eric@eukrea.com>

Signed-off-by: Eric Bénard <eric@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2010-05-25 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 15:35 [PATCH 1/3] arm: update mach-types Eric Bénard
2010-05-25 15:35 ` [PATCH 2/3] eukrea_cpuimx25: fix machine ID Eric Bénard
2010-05-25 15:35   ` Eric Bénard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1274801733-32763-3-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox