From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>,
Nicolas Ferre <nicolas.ferre@atmel.com>
Subject: [PATCH 2/2] at91sam9263ek: update defconfig
Date: Sat, 16 Jul 2011 06:28:32 +0200 [thread overview]
Message-ID: <1310790512-32022-2-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1310790512-32022-1-git-send-email-plagnioj@jcrosoft.com>
enable nand and ubi support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
---
arch/arm/boards/at91sam9261ek/env/config | 25 +++++++++++++------
.../{at91sam9261ek => at91sam9263ek}/env/config | 25 +++++++++++++------
2 files changed, 34 insertions(+), 16 deletions(-)
copy arch/arm/boards/{at91sam9261ek => at91sam9263ek}/env/config (58%)
diff --git a/arch/arm/boards/at91sam9261ek/env/config b/arch/arm/boards/at91sam9261ek/env/config
index 733326d..d3ffe04 100644
--- a/arch/arm/boards/at91sam9261ek/env/config
+++ b/arch/arm/boards/at91sam9261ek/env/config
@@ -2,16 +2,19 @@
# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
-ip=dhcp
+#ip=dhcp
# 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=a.b.c.d
+eth0.ipaddr=192.168.200.33
+eth0.netmask=255.255.255.0
+eth0.gateway=192.168.200.20
+#eth0.serverip=192.168.200.104
+eth0.serverip=192.168.200.6
+#eth0.serverip=192.168.200.11
+eth0.ethaddr=72:26:F4:51:94:37
# can be either 'nfs', 'tftp' or 'nand'
-kernel_loc=tftp
+kernel_loc=nfs
# can be either 'net', 'nand' or 'initrd'
rootfs_loc=net
@@ -19,11 +22,17 @@ rootfs_loc=net
rootfs_type=ubifs
rootfsimage=root.$rootfs_type
+#nfsroot_dir=/mnt/share/atmel/rootfs
+nfsroot_dir=/opt/work/linux-2.6/makeall_builddir/at91sam9261ek_defconfig/arch/arm/
+#nfsroot_dir=/opt/work/busybox/arm9/_install
+#nfsroot_dir=/opt/work/oe-atmel/tmp/test
+nfsroot=$eth0.serverip:$nfsroot_dir
+
# The image type of the kernel. Can be uimage, zimage, raw, or raw_lzo
#kernelimage_type=zimage
#kernelimage=zImage
kernelimage_type=uimage
-kernelimage=uImage
+kernelimage=$nfsroot_dir/boot/uImage
#kernelimage_type=raw
#kernelimage=Image
#kernelimage_type=raw_lzo
@@ -35,7 +44,7 @@ rootfs_mtdblock_nand=3
autoboot_timeout=3
-bootargs="console=ttyS0,115200"
+bootargs="console=ttyS0,115200 $bootarg_extra"
# set a fancy prompt (if support is compiled in)
PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
diff --git a/arch/arm/boards/at91sam9261ek/env/config b/arch/arm/boards/at91sam9263ek/env/config
similarity index 58%
copy from arch/arm/boards/at91sam9261ek/env/config
copy to arch/arm/boards/at91sam9263ek/env/config
index 733326d..adc7f32 100644
--- a/arch/arm/boards/at91sam9261ek/env/config
+++ b/arch/arm/boards/at91sam9263ek/env/config
@@ -2,16 +2,19 @@
# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
-ip=dhcp
+#ip=dhcp
# 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=a.b.c.d
+eth0.ipaddr=192.168.200.33
+eth0.netmask=255.255.255.0
+eth0.gateway=192.168.200.20
+#eth0.serverip=192.168.200.104
+eth0.serverip=192.168.200.6
+#eth0.serverip=192.168.200.11
+eth0.ethaddr=72:26:F4:51:94:37
# can be either 'nfs', 'tftp' or 'nand'
-kernel_loc=tftp
+kernel_loc=nfs
# can be either 'net', 'nand' or 'initrd'
rootfs_loc=net
@@ -19,11 +22,17 @@ rootfs_loc=net
rootfs_type=ubifs
rootfsimage=root.$rootfs_type
+#nfsroot_dir=/mnt/share/atmel/rootfs
+nfsroot_dir=/opt/work/linux-2.6/makeall_builddir/at91sam9263ek_defconfig/arch/arm/
+nfsroot_dir=/opt/work/busybox/arm9/_install
+#nfsroot_dir=/opt/work/oe-atmel/tmp/test
+nfsroot=$eth0.serverip:$nfsroot_dir
+
# The image type of the kernel. Can be uimage, zimage, raw, or raw_lzo
#kernelimage_type=zimage
#kernelimage=zImage
kernelimage_type=uimage
-kernelimage=uImage
+kernelimage=$nfsroot_dir/boot/uImage-at91sam9263
#kernelimage_type=raw
#kernelimage=Image
#kernelimage_type=raw_lzo
@@ -35,7 +44,7 @@ rootfs_mtdblock_nand=3
autoboot_timeout=3
-bootargs="console=ttyS0,115200"
+bootargs="console=ttyS0,115200 earlyprintk"
# set a fancy prompt (if support is compiled in)
PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
--
1.7.5.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-07-16 4:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-16 4:28 [PATCH 1/2] at91sam9263ek: fix env location and size Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 4:28 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-07-16 4:30 ` [PATCH 2/2] at91sam9263ek: update defconfig Jean-Christophe PLAGNIOL-VILLARD
2011-07-17 15:43 ` [PATCH 1/2] at91sam9263ek: fix env location and size Sascha Hauer
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=1310790512-32022-2-git-send-email-plagnioj@jcrosoft.com \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=patrice.vilchez@atmel.com \
/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