* [PATCH 1/2] at91sam9263ek: fix env location and size
@ 2011-07-16 4:28 Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 4:28 ` [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
0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-16 4:28 UTC (permalink / raw)
To: barebox; +Cc: Patrice Vilchez, Nicolas Ferre
256k(barebox)ro,128k(bareboxenv),1536k(kernel),-(root)
so we will match the erase block size
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/at91sam9263ek/env/config | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/boards/at91sam9263ek/env/config b/arch/arm/boards/at91sam9263ek/env/config
index f1cb751..4e29232 100644
--- a/arch/arm/boards/at91sam9263ek/env/config
+++ b/arch/arm/boards/at91sam9263ek/env/config
@@ -30,7 +30,7 @@ kernelimage=uImage
#kernelimage=Image.lzo
nand_device=atmel_nand
-nand_parts="256k(barebox)ro,64k(bareboxenv),1536k(kernel),-(root)"
+nand_parts="256k(barebox)ro,128k(bareboxenv),1536k(kernel),-(root)"
rootfs_mtdblock_nand=3
autoboot_timeout=3
--
1.7.5.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] at91sam9263ek: update defconfig
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
2011-07-16 4:30 ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-17 15:43 ` [PATCH 1/2] at91sam9263ek: fix env location and size Sascha Hauer
1 sibling, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-16 4:28 UTC (permalink / raw)
To: barebox; +Cc: Patrice Vilchez, Nicolas Ferre
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] at91sam9263ek: update defconfig
2011-07-16 4:28 ` [PATCH 2/2] at91sam9263ek: update defconfig Jean-Christophe PLAGNIOL-VILLARD
@ 2011-07-16 4:30 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-16 4:30 UTC (permalink / raw)
To: barebox; +Cc: Patrice Vilchez, Nicolas Ferre
On 06:28 Sat 16 Jul , Jean-Christophe PLAGNIOL-VILLARD wrote:
> 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>
> ---
Sorry drop the patch 2/2 wrong version
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] at91sam9263ek: fix env location and size
2011-07-16 4:28 [PATCH 1/2] at91sam9263ek: fix env location and size Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 4:28 ` [PATCH 2/2] at91sam9263ek: update defconfig Jean-Christophe PLAGNIOL-VILLARD
@ 2011-07-17 15:43 ` Sascha Hauer
1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2011-07-17 15:43 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox, Patrice Vilchez, Nicolas Ferre
On Sat, Jul 16, 2011 at 06:28:31AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 256k(barebox)ro,128k(bareboxenv),1536k(kernel),-(root)
>
> so we will match the erase block size
Applied to master.
Sascha
>
> 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/at91sam9263ek/env/config | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/boards/at91sam9263ek/env/config b/arch/arm/boards/at91sam9263ek/env/config
> index f1cb751..4e29232 100644
> --- a/arch/arm/boards/at91sam9263ek/env/config
> +++ b/arch/arm/boards/at91sam9263ek/env/config
> @@ -30,7 +30,7 @@ kernelimage=uImage
> #kernelimage=Image.lzo
>
> nand_device=atmel_nand
> -nand_parts="256k(barebox)ro,64k(bareboxenv),1536k(kernel),-(root)"
> +nand_parts="256k(barebox)ro,128k(bareboxenv),1536k(kernel),-(root)"
> rootfs_mtdblock_nand=3
>
> autoboot_timeout=3
> --
> 1.7.5.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-17 15:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-16 4:28 [PATCH 1/2] at91sam9263ek: fix env location and size Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 4:28 ` [PATCH 2/2] at91sam9263ek: update defconfig Jean-Christophe PLAGNIOL-VILLARD
2011-07-16 4:30 ` Jean-Christophe PLAGNIOL-VILLARD
2011-07-17 15:43 ` [PATCH 1/2] at91sam9263ek: fix env location and size Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox