diff mbox

[1/2] at91bootstrap3: bump to v3.6.2

Message ID 1402839229-13076-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Headers show

Commit Message

Thomas Petazzoni June 15, 2014, 1:33 p.m. UTC
In preparation to add support for the SAMA5D3 Xplained board, this
commit bumps the version of the at91bootstrap3 bootloader to
v3.6.2. While doing this, it also:

 - Allows this bootloader on Cortex-A5 based platforms, since SAMA5D3
   are based on Cortex-A5.

 - Removes a patch that no longer applies, and which has been taken
   into account in at91bootstrap3 upstream.

 - Switches to the upstream Github location as the source.

 - Updates the installation commands to match upstream changes in the
   installation process.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 boot/at91bootstrap3/Config.in                      |   2 +-
 .../at91bootstrap3-u-boot-relocation-fix.patch     | 747 ---------------------
 boot/at91bootstrap3/at91bootstrap3.mk              |   8 +-
 3 files changed, 4 insertions(+), 753 deletions(-)
 delete mode 100644 boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch

Comments

Yann E. MORIN June 15, 2014, 4:58 p.m. UTC | #1
Thomas, All,

On 2014-06-15 15:33 +0200, Thomas Petazzoni spake thusly:
> In preparation to add support for the SAMA5D3 Xplained board, this
> commit bumps the version of the at91bootstrap3 bootloader to
> v3.6.2.
[--SNIP--]
> diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
> index 4f74b1d..07df75d 100644
> --- a/boot/at91bootstrap3/at91bootstrap3.mk
> +++ b/boot/at91bootstrap3/at91bootstrap3.mk
[--SNIP--]
> @@ -47,7 +45,7 @@ define AT91BOOTSTRAP3_BUILD_CMDS
>  endef
>  
>  define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
> -	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPT) -C $(@D) bootstrap
> +	cp $(@D)/binaries/*.bin $(BINARIES_DIR)

Some of the bootloaders install their files in a sub-directory of
$(BINARIES_DIR) (for example rpi-userland, syslinux...), while others
(such as this one) install their files directly in $(BINARIES_DIR), and
still others install their files in $(TARGET_DIR)/boot (eg. grub.)

Sometime ago, I proposed a patch to install the rpi-userland files in
$(TARGET_DIR)/boot, but that was refused, on the principle that the boot
partition should not necesarily be exposed/mounted on the running
system. That's however what grub1 does.

Also, there is a new convention being ironed out, about how the boot
files should be layed out. It's The Boot Loader Specification, defined
at FDO: http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/

This specification is mostly geared toward "classical PC" (desktop and
servers, and clearly embedded systems are a bit left-out. However, for
the parts of the specification that make sense, I think we should follow.

At one point, it states:

    ---8<---
    This placeholder file system shall be determined during installation
    time, and an fstab entry for it shall be created mounting it to /boot.
    ---8<---

So, here are a few questions, probably in the order we should decide:

  - should we instate a policy on where bootloaders install their files?

If 'no', then we can just stop here. If 'yes', then here are a few more
questions:

  - should we follow The Boot Loader Specification when it makes sense,
    ie. boot files that are installed on a filesystem should be
    installed in $(TARGET_DIR)/boot ?

  - if installing files in $(BINARIES_DIR), should we instate a policy
    to install them in a sub-dir? What shall that sub-dir be named?
    Currently, when followed, the behaviour is to install in a sub-dir
    named after the bootloader (eg. $(BINARIES_DIR)/rpi-userland).
    Should we stick to that, or just name that directory
    $(BINARIES_DIR)/boot ?

Here are my answers:
  - yes, we should follow the spec when it makes sense
  - yes, boot filesresiding on a filesystem should be installed in
    $(TARGET_DIR)/boot
  - when not installing in$(TARGET_DIR)/boot, we should install boot
    files in $(BINARIES_DIR)/boot. We can provide a symlink 
    bootloader-name -> boot.

(Note, this is not considered a show-stopper for this patch to go in or
not, just random thoughts it spurred in my head. ;-) )

Regards,
Yann E. MORIN.

>  endef
>  
>  $(eval $(generic-package))
> -- 
> 2.0.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Alexandre Belloni June 16, 2014, 8:28 a.m. UTC | #2
On 16/06/2014 at 09:57:23 +0200, Nicolas Ferre wrote :
> On 15/06/2014 15:33, Thomas Petazzoni :
> > In preparation to add support for the SAMA5D3 Xplained board, this
> > commit bumps the version of the at91bootstrap3 bootloader to
> > v3.6.2. While doing this, it also:
> > 
> >  - Allows this bootloader on Cortex-A5 based platforms, since SAMA5D3
> >    are based on Cortex-A5.
> > 
> >  - Removes a patch that no longer applies, and which has been taken
> >    into account in at91bootstrap3 upstream.
> > 
> >  - Switches to the upstream Github location as the source.
> > 
> >  - Updates the installation commands to match upstream changes in the
> >    installation process.
> > 

I would add that it also removes the support for the following boards
(not that we actually care about a lot of those):
 - afeb9260
 - at91cap9adk
 - at91cap9stk
 - at91sam9g45ek
 - at91sam9g45ekes
 - at91sam9m10ek
 - at91sam9m10ekes


> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> 
> Nice, thanks!
> 
> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> 
> 
> > ---
> >  boot/at91bootstrap3/Config.in                      |   2 +-
> >  .../at91bootstrap3-u-boot-relocation-fix.patch     | 747 ---------------------
> >  boot/at91bootstrap3/at91bootstrap3.mk              |   8 +-
> >  3 files changed, 4 insertions(+), 753 deletions(-)
> >  delete mode 100644 boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch
> > 
> > diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
> > index 110f808..8ac40ed 100644
> > --- a/boot/at91bootstrap3/Config.in
> > +++ b/boot/at91bootstrap3/Config.in
> > @@ -1,5 +1,5 @@
> >  config BR2_TARGET_AT91BOOTSTRAP3
> > -	depends on BR2_arm926t
> > +	depends on BR2_arm926t || BR2_cortex_a5
> >  	bool "AT91 Bootstrap 3"
> >  	help
> >  	  AT91Bootstrap is a first level bootloader for the Atmel AT91
> > diff --git a/boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch b/boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch
> > deleted file mode 100644
> > index 62bbd2a..0000000
> > --- a/boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch
> > +++ /dev/null
> > @@ -1,747 +0,0 @@
> > -Every AT91SAM plaforms were broken between 2010.12 and 2011.03 because
> > -of the relocation changes.
> > -
> > -We have to get JUMP_ADDR consistent with what is used by u-boot
> > -(CONFIG_SYS_TEXT_BASE).
> > -
> > -I also chose to "repartition" the dataflash. u-boot is now living at
> > -0x4000, letting 16kB for the bootstrap. We also have to increase the
> > -IMG_SIZE as u-boot as grown larger than the default value.
> > -As requested on the u-boot ML, we assume that it could be up to 512kB
> > -big.
> > -
> > -It means that now, you have to flash your kernel at 0x0008C000 instead
> > -of 0x00042000. And so you also have to load it from that address from
> > -u-boot.
> > -
> > -Then, remember that you could decrease IMG_SIZE to boot faster.
> > -
> > -Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
> > -Signed-off-by: Simon Dawson <spdawson@gmail.com>
> > -
> > -diff -Nurp a/board/afeb9260/afeb9260_defconfig b/board/afeb9260/afeb9260_defconfig
> > ---- a/board/afeb9260/afeb9260_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/afeb9260/afeb9260_defconfig	2012-07-25 20:52:17.967694276 +0100
> > -@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > - # CONFIG_DEBUG is not set
> > -diff -Nurp a/board/at91cap9adk/at91cap9adk_defconfig b/board/at91cap9adk/at91cap9adk_defconfig
> > ---- a/board/at91cap9adk/at91cap9adk_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91cap9adk/at91cap9adk_defconfig	2012-07-25 20:52:30.603693814 +0100
> > -@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91cap9adk/at91cap9df_defconfig b/board/at91cap9adk/at91cap9df_defconfig
> > ---- a/board/at91cap9adk/at91cap9df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91cap9adk/at91cap9df_defconfig	2012-07-25 20:52:23.807694041 +0100
> > -@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91cap9adk/at91cap9f_defconfig b/board/at91cap9adk/at91cap9f_defconfig
> > ---- a/board/at91cap9adk/at91cap9f_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91cap9adk/at91cap9f_defconfig	2012-07-25 21:25:20.839605245 +0100
> > -@@ -72,7 +72,7 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > - CONFIG_IMG_ADDRESS="0x00008000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91cap9stk/at91cap9stk_defconfig b/board/at91cap9stk/at91cap9stk_defconfig
> > ---- a/board/at91cap9stk/at91cap9stk_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91cap9stk/at91cap9stk_defconfig	2012-07-25 20:52:59.663692456 +0100
> > -@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91cap9stk/at91cap9stkdf_defconfig b/board/at91cap9stk/at91cap9stkdf_defconfig
> > ---- a/board/at91cap9stk/at91cap9stkdf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91cap9stk/at91cap9stkdf_defconfig	2012-07-25 20:52:52.255692671 +0100
> > -@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91cap9stk/at91cap9stkf_defconfig b/board/at91cap9stk/at91cap9stkf_defconfig
> > ---- a/board/at91cap9stk/at91cap9stkf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91cap9stk/at91cap9stkf_defconfig	2012-07-25 21:25:35.235605140 +0100
> > -@@ -72,7 +72,7 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > - CONFIG_IMG_ADDRESS="0x00008000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9260ek/at91sam9260dfc_defconfig b/board/at91sam9260ek/at91sam9260dfc_defconfig
> > ---- a/board/at91sam9260ek/at91sam9260dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9260ek/at91sam9260dfc_defconfig	2012-07-25 20:35:23.259739521 +0100
> > -@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > - # CONFIG_DEBUG is not set
> > -diff -Nurp a/board/at91sam9260ek/at91sam9260df_defconfig b/board/at91sam9260ek/at91sam9260df_defconfig
> > ---- a/board/at91sam9260ek/at91sam9260df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9260ek/at91sam9260df_defconfig	2012-07-25 20:34:19.231742964 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - # CONFIG_DEBUG is not set
> > -diff -Nurp a/board/at91sam9260ek/at91sam9260ek_defconfig b/board/at91sam9260ek/at91sam9260ek_defconfig
> > ---- a/board/at91sam9260ek/at91sam9260ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9260ek/at91sam9260ek_defconfig	2012-07-25 20:32:17.711747794 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - # CONFIG_DEBUG is not set
> > -diff -Nurp a/board/at91sam9260ek/at91sam9260nf_defconfig b/board/at91sam9260ek/at91sam9260nf_defconfig
> > ---- a/board/at91sam9260ek/at91sam9260nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9260ek/at91sam9260nf_defconfig	2012-07-25 21:25:57.079604719 +0100
> > -@@ -87,8 +87,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - # CONFIG_DEBUG is not set
> > -diff -Nurp a/board/at91sam9261ek/at91sam9261dfc_defconfig b/board/at91sam9261ek/at91sam9261dfc_defconfig
> > ---- a/board/at91sam9261ek/at91sam9261dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9261ek/at91sam9261dfc_defconfig	2012-07-25 20:37:07.515735228 +0100
> > -@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9261ek/at91sam9261df_defconfig b/board/at91sam9261ek/at91sam9261df_defconfig
> > ---- a/board/at91sam9261ek/at91sam9261df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9261ek/at91sam9261df_defconfig	2012-07-25 20:36:44.351735615 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9261ek/at91sam9261ek_defconfig b/board/at91sam9261ek/at91sam9261ek_defconfig
> > ---- a/board/at91sam9261ek/at91sam9261ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9261ek/at91sam9261ek_defconfig	2012-07-25 20:36:09.111737459 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9261ek/at91sam9261nf_defconfig b/board/at91sam9261ek/at91sam9261nf_defconfig
> > ---- a/board/at91sam9261ek/at91sam9261nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9261ek/at91sam9261nf_defconfig	2012-07-25 21:24:45.843607437 +0100
> > -@@ -86,8 +86,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9263ek/at91sam9263dfc_defconfig b/board/at91sam9263ek/at91sam9263dfc_defconfig
> > ---- a/board/at91sam9263ek/at91sam9263dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9263ek/at91sam9263dfc_defconfig	2012-07-25 20:38:55.555730059 +0100
> > -@@ -100,9 +100,9 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9263ek/at91sam9263df_defconfig b/board/at91sam9263ek/at91sam9263df_defconfig
> > ---- a/board/at91sam9263ek/at91sam9263df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9263ek/at91sam9263df_defconfig	2012-07-25 20:38:37.395730195 +0100
> > -@@ -105,11 +105,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x2006b000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9263ek/at91sam9263ek_defconfig b/board/at91sam9263ek/at91sam9263ek_defconfig
> > ---- a/board/at91sam9263ek/at91sam9263ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9263ek/at91sam9263ek_defconfig	2012-07-25 20:38:08.379732395 +0100
> > -@@ -105,11 +105,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x2006b000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9263ek/at91sam9263nf_defconfig b/board/at91sam9263ek/at91sam9263nf_defconfig
> > ---- a/board/at91sam9263ek/at91sam9263nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9263ek/at91sam9263nf_defconfig	2012-07-25 21:25:39.195605069 +0100
> > -@@ -89,8 +89,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x2006b000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g10ek/at91sam9g10df_defconfig b/board/at91sam9g10ek/at91sam9g10df_defconfig
> > ---- a/board/at91sam9g10ek/at91sam9g10df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g10ek/at91sam9g10df_defconfig	2012-07-25 20:40:18.087726292 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20068000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g10ek/at91sam9g10ek_defconfig b/board/at91sam9g10ek/at91sam9g10ek_defconfig
> > ---- a/board/at91sam9g10ek/at91sam9g10ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g10ek/at91sam9g10ek_defconfig	2012-07-25 20:39:53.543727636 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20068000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g10ek/at91sam9g10nf_defconfig b/board/at91sam9g10ek/at91sam9g10nf_defconfig
> > ---- a/board/at91sam9g10ek/at91sam9g10nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g10ek/at91sam9g10nf_defconfig	2012-07-25 21:25:28.975605503 +0100
> > -@@ -86,8 +86,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20068000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g20ek/at91sam9g20dfc_defconfig b/board/at91sam9g20ek/at91sam9g20dfc_defconfig
> > ---- a/board/at91sam9g20ek/at91sam9g20dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g20ek/at91sam9g20dfc_defconfig	2012-07-25 20:41:48.275722343 +0100
> > -@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g20ek/at91sam9g20df_defconfig b/board/at91sam9g20ek/at91sam9g20df_defconfig
> > ---- a/board/at91sam9g20ek/at91sam9g20df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g20ek/at91sam9g20df_defconfig	2012-07-25 20:42:07.091721310 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g20ek/at91sam9g20ek_defconfig b/board/at91sam9g20ek/at91sam9g20ek_defconfig
> > ---- a/board/at91sam9g20ek/at91sam9g20ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g20ek/at91sam9g20ek_defconfig	2012-07-25 20:41:23.179723541 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g20ek/at91sam9g20nf_defconfig b/board/at91sam9g20ek/at91sam9g20nf_defconfig
> > ---- a/board/at91sam9g20ek/at91sam9g20nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g20ek/at91sam9g20nf_defconfig	2012-07-25 21:25:49.291603975 +0100
> > -@@ -87,8 +87,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x20058000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9g45ek/at91sam9g45df_defconfig b/board/at91sam9g45ek/at91sam9g45df_defconfig
> > ---- a/board/at91sam9g45ek/at91sam9g45df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g45ek/at91sam9g45df_defconfig	2012-07-25 20:47:46.055707221 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9g45ek/at91sam9g45ek_defconfig b/board/at91sam9g45ek/at91sam9g45ek_defconfig
> > ---- a/board/at91sam9g45ek/at91sam9g45ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g45ek/at91sam9g45ek_defconfig	2012-07-25 20:47:02.303708341 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9g45ek/at91sam9g45nf_defconfig b/board/at91sam9g45ek/at91sam9g45nf_defconfig
> > ---- a/board/at91sam9g45ek/at91sam9g45nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g45ek/at91sam9g45nf_defconfig	2012-07-25 21:25:24.547605601 +0100
> > -@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9g45ekes/at91sam9g45dfes_defconfig b/board/at91sam9g45ekes/at91sam9g45dfes_defconfig
> > ---- a/board/at91sam9g45ekes/at91sam9g45dfes_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g45ekes/at91sam9g45dfes_defconfig	2012-07-25 20:47:33.895706968 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9g45ekes/at91sam9g45ekes_defconfig b/board/at91sam9g45ekes/at91sam9g45ekes_defconfig
> > ---- a/board/at91sam9g45ekes/at91sam9g45ekes_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g45ekes/at91sam9g45ekes_defconfig	2012-07-25 20:46:49.043708951 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9g45ekes/at91sam9g45nfes_defconfig b/board/at91sam9g45ekes/at91sam9g45nfes_defconfig
> > ---- a/board/at91sam9g45ekes/at91sam9g45nfes_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9g45ekes/at91sam9g45nfes_defconfig	2012-07-25 21:25:44.823604805 +0100
> > -@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9m10ek/at91sam9m10df_defconfig b/board/at91sam9m10ek/at91sam9m10df_defconfig
> > ---- a/board/at91sam9m10ek/at91sam9m10df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9m10ek/at91sam9m10df_defconfig	2012-07-25 20:44:34.975714928 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9m10ek/at91sam9m10ek_defconfig b/board/at91sam9m10ek/at91sam9m10ek_defconfig
> > ---- a/board/at91sam9m10ek/at91sam9m10ek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9m10ek/at91sam9m10ek_defconfig	2012-07-25 20:43:34.543717453 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9m10ek/at91sam9m10nf_defconfig b/board/at91sam9m10ek/at91sam9m10nf_defconfig
> > ---- a/board/at91sam9m10ek/at91sam9m10nf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9m10ek/at91sam9m10nf_defconfig	2012-07-25 21:21:40.419615800 +0100
> > -@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9m10ekes/at91sam9m10dfes_defconfig b/board/at91sam9m10ekes/at91sam9m10dfes_defconfig
> > ---- a/board/at91sam9m10ekes/at91sam9m10dfes_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9m10ekes/at91sam9m10dfes_defconfig	2012-07-25 20:44:18.687715650 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9m10ekes/at91sam9m10ekes_defconfig b/board/at91sam9m10ekes/at91sam9m10ekes_defconfig
> > ---- a/board/at91sam9m10ekes/at91sam9m10ekes_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9m10ekes/at91sam9m10ekes_defconfig	2012-07-25 20:43:57.255716814 +0100
> > -@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9m10ekes/at91sam9m10nfes_defconfig b/board/at91sam9m10ekes/at91sam9m10nfes_defconfig
> > ---- a/board/at91sam9m10ekes/at91sam9m10nfes_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9m10ekes/at91sam9m10nfes_defconfig	2012-07-25 21:26:10.179603831 +0100
> > -@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > - CONFIG_JUMP_ADDR="0x73F00000"
> > - CONFIG_GLBDRV_ADDR="0x7006b000"
> > - # CONFIG_LONG_TEST is not set
> > -diff -Nurp a/board/at91sam9n12ek/at91sam9n12df_defconfig b/board/at91sam9n12ek/at91sam9n12df_defconfig
> > ---- a/board/at91sam9n12ek/at91sam9n12df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9n12ek/at91sam9n12df_defconfig	2012-07-25 20:52:40.675693207 +0100
> > -@@ -107,7 +107,7 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > - CONFIG_IMG_SIZE="0x00050000"
> > -diff -Nurp a/board/at91sam9rlek/at91sam9rldf_defconfig b/board/at91sam9rlek/at91sam9rldf_defconfig
> > ---- a/board/at91sam9rlek/at91sam9rldf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9rlek/at91sam9rldf_defconfig	2012-07-25 20:48:53.183703493 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x2006b000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9rlek/at91sam9rlek_defconfig b/board/at91sam9rlek/at91sam9rlek_defconfig
> > ---- a/board/at91sam9rlek/at91sam9rlek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9rlek/at91sam9rlek_defconfig	2012-07-25 20:48:29.659704460 +0100
> > -@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x2006b000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9rlek/at91sam9rlnf_defconfig b/board/at91sam9rlek/at91sam9rlnf_defconfig
> > ---- a/board/at91sam9rlek/at91sam9rlnf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9rlek/at91sam9rlnf_defconfig	2012-07-25 21:24:49.335607485 +0100
> > -@@ -85,8 +85,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x2006b000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9x5ek/at91sam9x5df_defconfig b/board/at91sam9x5ek/at91sam9x5df_defconfig
> > ---- a/board/at91sam9x5ek/at91sam9x5df_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9x5ek/at91sam9x5df_defconfig	2012-07-25 20:52:45.375693059 +0100
> > -@@ -106,7 +106,7 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > - CONFIG_IMG_SIZE="0x00050000"
> > -diff -Nurp a/board/at91sam9xeek/at91sam9xedfc_defconfig b/board/at91sam9xeek/at91sam9xedfc_defconfig
> > ---- a/board/at91sam9xeek/at91sam9xedfc_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9xeek/at91sam9xedfc_defconfig	2012-07-25 20:50:10.643699991 +0100
> > -@@ -96,9 +96,9 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_APP_CHECK=y
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9xeek/at91sam9xedf_defconfig b/board/at91sam9xeek/at91sam9xedf_defconfig
> > ---- a/board/at91sam9xeek/at91sam9xedf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9xeek/at91sam9xedf_defconfig	2012-07-25 20:50:26.967699568 +0100
> > -@@ -103,11 +103,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x23F00000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9xeek/at91sam9xeek_defconfig b/board/at91sam9xeek/at91sam9xeek_defconfig
> > ---- a/board/at91sam9xeek/at91sam9xeek_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9xeek/at91sam9xeek_defconfig	2012-07-25 20:49:46.131699600 +0100
> > -@@ -103,11 +103,11 @@ CONFIG_LOAD_UBOOT=y
> > - # CONFIG_LOAD_64KB is not set
> > - # CONFIG_LOAD_1MB is not set
> > - # CONFIG_LOAD_4MB is not set
> > --CONFIG_IMG_ADDRESS="0x00008400"
> > -+CONFIG_IMG_ADDRESS="0x00004000"
> > - CONFIG_SETTING_ADDRESS="0x00408400"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x23F00000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > -diff -Nurp a/board/at91sam9xeek/at91sam9xenf_defconfig b/board/at91sam9xeek/at91sam9xenf_defconfig
> > ---- a/board/at91sam9xeek/at91sam9xenf_defconfig	2011-11-18 08:13:09.000000000 +0000
> > -+++ b/board/at91sam9xeek/at91sam9xenf_defconfig	2012-07-25 21:26:05.627603826 +0100
> > -@@ -88,8 +88,8 @@ CONFIG_LOAD_UBOOT=y
> > - CONFIG_IMG_ADDRESS="0x00020000"
> > - CONFIG_SETTING_ADDRESS="0x01FE0000"
> > - CONFIG_SETTING_SIZE="0x00001000"
> > --CONFIG_IMG_SIZE="0x00040000"
> > --CONFIG_JUMP_ADDR="0x23F00000"
> > -+CONFIG_IMG_SIZE="0x00080000"
> > -+CONFIG_JUMP_ADDR="0x21F00000"
> > - CONFIG_GLBDRV_ADDR="0x23F00000"
> > - # CONFIG_LONG_TEST is not set
> > - CONFIG_DEBUG=y
> > diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
> > index 4f74b1d..07df75d 100644
> > --- a/boot/at91bootstrap3/at91bootstrap3.mk
> > +++ b/boot/at91bootstrap3/at91bootstrap3.mk
> > @@ -4,10 +4,8 @@
> >  #
> >  ################################################################################
> >  
> > -AT91BOOTSTRAP3_VERSION = 3.2
> > -AT91BOOTSTRAP3_SITE = \
> > -	ftp://www.at91.com/pub/at91bootstrap/AT91Bootstrap$(AT91BOOTSTRAP3_VERSION)
> > -AT91BOOTSTRAP3_SOURCE = at91bootstrap_9n12.tar.gz
> > +AT91BOOTSTRAP3_VERSION = v3.6.2
> > +AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
> >  
> >  AT91BOOTSTRAP3_INSTALL_IMAGES = YES
> >  AT91BOOTSTRAP3_INSTALL_TARGET = NO
> > @@ -47,7 +45,7 @@ define AT91BOOTSTRAP3_BUILD_CMDS
> >  endef
> >  
> >  define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
> > -	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPT) -C $(@D) bootstrap
> > +	cp $(@D)/binaries/*.bin $(BINARIES_DIR)
> >  endef
> >  
> >  $(eval $(generic-package))
> > 
> 
> 
> -- 
> Nicolas Ferre
Arnout Vandecappelle June 16, 2014, 9:56 p.m. UTC | #3
On 06/15/14 18:58, Yann E. MORIN wrote:
> Thomas, All,
> 
> On 2014-06-15 15:33 +0200, Thomas Petazzoni spake thusly:
>> In preparation to add support for the SAMA5D3 Xplained board, this
>> commit bumps the version of the at91bootstrap3 bootloader to
>> v3.6.2.
> [--SNIP--]
>> diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
>> index 4f74b1d..07df75d 100644
>> --- a/boot/at91bootstrap3/at91bootstrap3.mk
>> +++ b/boot/at91bootstrap3/at91bootstrap3.mk
> [--SNIP--]
>> @@ -47,7 +45,7 @@ define AT91BOOTSTRAP3_BUILD_CMDS
>>  endef
>>  
>>  define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
>> -	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPT) -C $(@D) bootstrap
>> +	cp $(@D)/binaries/*.bin $(BINARIES_DIR)
> 
> Some of the bootloaders install their files in a sub-directory of
> $(BINARIES_DIR) (for example rpi-userland, syslinux...), while others
> (such as this one) install their files directly in $(BINARIES_DIR), and
> still others install their files in $(TARGET_DIR)/boot (eg. grub.)
> 
> Sometime ago, I proposed a patch to install the rpi-userland files in
> $(TARGET_DIR)/boot, but that was refused, on the principle that the boot
> partition should not necesarily be exposed/mounted on the running
> system. That's however what grub1 does.

 I think for most bootloaders, it just doesn't make sense to install them inside
the target rootfs, because the (ROM) bootloader anyway can't access these files
there. Grub is special because the actual bootloader is created by a separate
installer. For the other bootloaders, there is IMHO no point at all to install
the bootloader in the target filesystem.

> 
> Also, there is a new convention being ironed out, about how the boot
> files should be layed out. It's The Boot Loader Specification, defined
> at FDO: http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/

 Actually, the spec is mostly about the contents of $BOOT/loader/*.conf. It
specifies that the bootloader should read these files. It also specifies that
the kernel image should be in $BOOT/<id>/... It does not specify where the
bootloader itself should reside.

> 
> This specification is mostly geared toward "classical PC" (desktop and
> servers, and clearly embedded systems are a bit left-out. However, for
> the parts of the specification that make sense, I think we should follow.
> 
> At one point, it states:
> 
>     ---8<---
>     This placeholder file system shall be determined during installation
>     time, and an fstab entry for it shall be created mounting it to /boot.
>     ---8<---

 It also specifies that /boot should be a separate partition. So it should _not_
be within $TARGET_DIR.

> 
> So, here are a few questions, probably in the order we should decide:
> 
>   - should we instate a policy on where bootloaders install their files?
> 
> If 'no', then we can just stop here. If 'yes', then here are a few more
> questions:
> 
>   - should we follow The Boot Loader Specification when it makes sense,
>     ie. boot files that are installed on a filesystem should be
>     installed in $(TARGET_DIR)/boot ?

 No. It doesn't make sense for anything except grub.

> 
>   - if installing files in $(BINARIES_DIR), should we instate a policy
>     to install them in a sub-dir? What shall that sub-dir be named?
>     Currently, when followed, the behaviour is to install in a sub-dir
>     named after the bootloader (eg. $(BINARIES_DIR)/rpi-userland).
>     Should we stick to that, or just name that directory
>     $(BINARIES_DIR)/boot ?

 I don't think $(BINARIES_DIR)/boot is a good place, because that should contain
everything except the boot loader :-). Also, if you want to do that, you
probably also want to put the kernel and DTB there. And then there's nothing
left in $(BINARIES_DIR)...


 Regards,
 Arnout

> 
> Here are my answers:
>   - yes, we should follow the spec when it makes sense
>   - yes, boot filesresiding on a filesystem should be installed in
>     $(TARGET_DIR)/boot
>   - when not installing in$(TARGET_DIR)/boot, we should install boot
>     files in $(BINARIES_DIR)/boot. We can provide a symlink 
>     bootloader-name -> boot.
> 
> (Note, this is not considered a show-stopper for this patch to go in or
> not, just random thoughts it spurred in my head. ;-) )
> 
> Regards,
> Yann E. MORIN.
> 
>>  endef
>>  
>>  $(eval $(generic-package))
>> -- 
>> 2.0.0
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
Thomas Petazzoni June 17, 2014, 7:35 a.m. UTC | #4
Arnout, Yann,

On Mon, 16 Jun 2014 23:56:27 +0200, Arnout Vandecappelle wrote:

> > Some of the bootloaders install their files in a sub-directory of
> > $(BINARIES_DIR) (for example rpi-userland, syslinux...), while others
> > (such as this one) install their files directly in $(BINARIES_DIR), and
> > still others install their files in $(TARGET_DIR)/boot (eg. grub.)
> > 
> > Sometime ago, I proposed a patch to install the rpi-userland files in
> > $(TARGET_DIR)/boot, but that was refused, on the principle that the boot
> > partition should not necesarily be exposed/mounted on the running
> > system. That's however what grub1 does.
> 
>  I think for most bootloaders, it just doesn't make sense to install them inside
> the target rootfs, because the (ROM) bootloader anyway can't access these files
> there. Grub is special because the actual bootloader is created by a separate
> installer. For the other bootloaders, there is IMHO no point at all to install
> the bootloader in the target filesystem.

Fully agreed. Most ARM SoCs capable of loading the bootloader for
MMC/eMMC require the bootloader to be stored in a FAT (often FAT16)
filesystem. And such a filesystem cannot be used to store the root
filesystem. So you necessarily need to have at least two partitions:
one FAT partition with the bootloader, and one ext2/3/4 partition (or
any other filesystem) for the root filesystem. So as Arnout says, there
absolutely no point in having the bootloaders installed *inside* the
root filesystem.

There are also some other SoCs where the bootloaders are not even
inside a root filesystem: you have to write the bootloader image, raw,
somewhere at the beginning of the MMC/eMMC storage (not exactly at the
beginning, as it would overwrite the partition table, but somewhere
after the first sector, but before the start of the first partition). I
*think* i.MX28 might be in this category, but it's mainly my colleague
Maxime Ripard who did some i.MX28 stuff, so I might remember incorrect
here.

So really, Grub is the exception here, not the rule.

> >   - if installing files in $(BINARIES_DIR), should we instate a policy
> >     to install them in a sub-dir? What shall that sub-dir be named?
> >     Currently, when followed, the behaviour is to install in a sub-dir
> >     named after the bootloader (eg. $(BINARIES_DIR)/rpi-userland).
> >     Should we stick to that, or just name that directory
> >     $(BINARIES_DIR)/boot ?
> 
>  I don't think $(BINARIES_DIR)/boot is a good place, because that should contain
> everything except the boot loader :-). Also, if you want to do that, you
> probably also want to put the kernel and DTB there. And then there's nothing
> left in $(BINARIES_DIR)...

I'm also unsure we should do something other than what we do currently.
The user generally ends up with very few files in $(BINARIES_DIR), so
it's pretty obvious what to do. The readme.txt for each board gives
some additional details. We could always decide to have certain
packages install a README.<bootloader> file in $(BINARIES_DIR) with
some references/details on how to use the binaries installed here, but
I'm not even sure that's really necessary.

Best regards,

Thomas
diff mbox

Patch

diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
index 110f808..8ac40ed 100644
--- a/boot/at91bootstrap3/Config.in
+++ b/boot/at91bootstrap3/Config.in
@@ -1,5 +1,5 @@ 
 config BR2_TARGET_AT91BOOTSTRAP3
-	depends on BR2_arm926t
+	depends on BR2_arm926t || BR2_cortex_a5
 	bool "AT91 Bootstrap 3"
 	help
 	  AT91Bootstrap is a first level bootloader for the Atmel AT91
diff --git a/boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch b/boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch
deleted file mode 100644
index 62bbd2a..0000000
--- a/boot/at91bootstrap3/at91bootstrap3-u-boot-relocation-fix.patch
+++ /dev/null
@@ -1,747 +0,0 @@ 
-Every AT91SAM plaforms were broken between 2010.12 and 2011.03 because
-of the relocation changes.
-
-We have to get JUMP_ADDR consistent with what is used by u-boot
-(CONFIG_SYS_TEXT_BASE).
-
-I also chose to "repartition" the dataflash. u-boot is now living at
-0x4000, letting 16kB for the bootstrap. We also have to increase the
-IMG_SIZE as u-boot as grown larger than the default value.
-As requested on the u-boot ML, we assume that it could be up to 512kB
-big.
-
-It means that now, you have to flash your kernel at 0x0008C000 instead
-of 0x00042000. And so you also have to load it from that address from
-u-boot.
-
-Then, remember that you could decrease IMG_SIZE to boot faster.
-
-Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net>
-Signed-off-by: Simon Dawson <spdawson@gmail.com>
-
-diff -Nurp a/board/afeb9260/afeb9260_defconfig b/board/afeb9260/afeb9260_defconfig
---- a/board/afeb9260/afeb9260_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/afeb9260/afeb9260_defconfig	2012-07-25 20:52:17.967694276 +0100
-@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
- # CONFIG_DEBUG is not set
-diff -Nurp a/board/at91cap9adk/at91cap9adk_defconfig b/board/at91cap9adk/at91cap9adk_defconfig
---- a/board/at91cap9adk/at91cap9adk_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91cap9adk/at91cap9adk_defconfig	2012-07-25 20:52:30.603693814 +0100
-@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91cap9adk/at91cap9df_defconfig b/board/at91cap9adk/at91cap9df_defconfig
---- a/board/at91cap9adk/at91cap9df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91cap9adk/at91cap9df_defconfig	2012-07-25 20:52:23.807694041 +0100
-@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91cap9adk/at91cap9f_defconfig b/board/at91cap9adk/at91cap9f_defconfig
---- a/board/at91cap9adk/at91cap9f_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91cap9adk/at91cap9f_defconfig	2012-07-25 21:25:20.839605245 +0100
-@@ -72,7 +72,7 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
- CONFIG_IMG_ADDRESS="0x00008000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91cap9stk/at91cap9stk_defconfig b/board/at91cap9stk/at91cap9stk_defconfig
---- a/board/at91cap9stk/at91cap9stk_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91cap9stk/at91cap9stk_defconfig	2012-07-25 20:52:59.663692456 +0100
-@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91cap9stk/at91cap9stkdf_defconfig b/board/at91cap9stk/at91cap9stkdf_defconfig
---- a/board/at91cap9stk/at91cap9stkdf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91cap9stk/at91cap9stkdf_defconfig	2012-07-25 20:52:52.255692671 +0100
-@@ -96,8 +96,8 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91cap9stk/at91cap9stkf_defconfig b/board/at91cap9stk/at91cap9stkf_defconfig
---- a/board/at91cap9stk/at91cap9stkf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91cap9stk/at91cap9stkf_defconfig	2012-07-25 21:25:35.235605140 +0100
-@@ -72,7 +72,7 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
- CONFIG_IMG_ADDRESS="0x00008000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9260ek/at91sam9260dfc_defconfig b/board/at91sam9260ek/at91sam9260dfc_defconfig
---- a/board/at91sam9260ek/at91sam9260dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9260ek/at91sam9260dfc_defconfig	2012-07-25 20:35:23.259739521 +0100
-@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
- # CONFIG_DEBUG is not set
-diff -Nurp a/board/at91sam9260ek/at91sam9260df_defconfig b/board/at91sam9260ek/at91sam9260df_defconfig
---- a/board/at91sam9260ek/at91sam9260df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9260ek/at91sam9260df_defconfig	2012-07-25 20:34:19.231742964 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- # CONFIG_DEBUG is not set
-diff -Nurp a/board/at91sam9260ek/at91sam9260ek_defconfig b/board/at91sam9260ek/at91sam9260ek_defconfig
---- a/board/at91sam9260ek/at91sam9260ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9260ek/at91sam9260ek_defconfig	2012-07-25 20:32:17.711747794 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- # CONFIG_DEBUG is not set
-diff -Nurp a/board/at91sam9260ek/at91sam9260nf_defconfig b/board/at91sam9260ek/at91sam9260nf_defconfig
---- a/board/at91sam9260ek/at91sam9260nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9260ek/at91sam9260nf_defconfig	2012-07-25 21:25:57.079604719 +0100
-@@ -87,8 +87,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- # CONFIG_DEBUG is not set
-diff -Nurp a/board/at91sam9261ek/at91sam9261dfc_defconfig b/board/at91sam9261ek/at91sam9261dfc_defconfig
---- a/board/at91sam9261ek/at91sam9261dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9261ek/at91sam9261dfc_defconfig	2012-07-25 20:37:07.515735228 +0100
-@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9261ek/at91sam9261df_defconfig b/board/at91sam9261ek/at91sam9261df_defconfig
---- a/board/at91sam9261ek/at91sam9261df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9261ek/at91sam9261df_defconfig	2012-07-25 20:36:44.351735615 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9261ek/at91sam9261ek_defconfig b/board/at91sam9261ek/at91sam9261ek_defconfig
---- a/board/at91sam9261ek/at91sam9261ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9261ek/at91sam9261ek_defconfig	2012-07-25 20:36:09.111737459 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9261ek/at91sam9261nf_defconfig b/board/at91sam9261ek/at91sam9261nf_defconfig
---- a/board/at91sam9261ek/at91sam9261nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9261ek/at91sam9261nf_defconfig	2012-07-25 21:24:45.843607437 +0100
-@@ -86,8 +86,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9263ek/at91sam9263dfc_defconfig b/board/at91sam9263ek/at91sam9263dfc_defconfig
---- a/board/at91sam9263ek/at91sam9263dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9263ek/at91sam9263dfc_defconfig	2012-07-25 20:38:55.555730059 +0100
-@@ -100,9 +100,9 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9263ek/at91sam9263df_defconfig b/board/at91sam9263ek/at91sam9263df_defconfig
---- a/board/at91sam9263ek/at91sam9263df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9263ek/at91sam9263df_defconfig	2012-07-25 20:38:37.395730195 +0100
-@@ -105,11 +105,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x2006b000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9263ek/at91sam9263ek_defconfig b/board/at91sam9263ek/at91sam9263ek_defconfig
---- a/board/at91sam9263ek/at91sam9263ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9263ek/at91sam9263ek_defconfig	2012-07-25 20:38:08.379732395 +0100
-@@ -105,11 +105,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x2006b000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9263ek/at91sam9263nf_defconfig b/board/at91sam9263ek/at91sam9263nf_defconfig
---- a/board/at91sam9263ek/at91sam9263nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9263ek/at91sam9263nf_defconfig	2012-07-25 21:25:39.195605069 +0100
-@@ -89,8 +89,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x2006b000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g10ek/at91sam9g10df_defconfig b/board/at91sam9g10ek/at91sam9g10df_defconfig
---- a/board/at91sam9g10ek/at91sam9g10df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g10ek/at91sam9g10df_defconfig	2012-07-25 20:40:18.087726292 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20068000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g10ek/at91sam9g10ek_defconfig b/board/at91sam9g10ek/at91sam9g10ek_defconfig
---- a/board/at91sam9g10ek/at91sam9g10ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g10ek/at91sam9g10ek_defconfig	2012-07-25 20:39:53.543727636 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20068000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g10ek/at91sam9g10nf_defconfig b/board/at91sam9g10ek/at91sam9g10nf_defconfig
---- a/board/at91sam9g10ek/at91sam9g10nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g10ek/at91sam9g10nf_defconfig	2012-07-25 21:25:28.975605503 +0100
-@@ -86,8 +86,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20068000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g20ek/at91sam9g20dfc_defconfig b/board/at91sam9g20ek/at91sam9g20dfc_defconfig
---- a/board/at91sam9g20ek/at91sam9g20dfc_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g20ek/at91sam9g20dfc_defconfig	2012-07-25 20:41:48.275722343 +0100
-@@ -97,9 +97,9 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g20ek/at91sam9g20df_defconfig b/board/at91sam9g20ek/at91sam9g20df_defconfig
---- a/board/at91sam9g20ek/at91sam9g20df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g20ek/at91sam9g20df_defconfig	2012-07-25 20:42:07.091721310 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g20ek/at91sam9g20ek_defconfig b/board/at91sam9g20ek/at91sam9g20ek_defconfig
---- a/board/at91sam9g20ek/at91sam9g20ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g20ek/at91sam9g20ek_defconfig	2012-07-25 20:41:23.179723541 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g20ek/at91sam9g20nf_defconfig b/board/at91sam9g20ek/at91sam9g20nf_defconfig
---- a/board/at91sam9g20ek/at91sam9g20nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g20ek/at91sam9g20nf_defconfig	2012-07-25 21:25:49.291603975 +0100
-@@ -87,8 +87,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x20058000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9g45ek/at91sam9g45df_defconfig b/board/at91sam9g45ek/at91sam9g45df_defconfig
---- a/board/at91sam9g45ek/at91sam9g45df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g45ek/at91sam9g45df_defconfig	2012-07-25 20:47:46.055707221 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9g45ek/at91sam9g45ek_defconfig b/board/at91sam9g45ek/at91sam9g45ek_defconfig
---- a/board/at91sam9g45ek/at91sam9g45ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g45ek/at91sam9g45ek_defconfig	2012-07-25 20:47:02.303708341 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9g45ek/at91sam9g45nf_defconfig b/board/at91sam9g45ek/at91sam9g45nf_defconfig
---- a/board/at91sam9g45ek/at91sam9g45nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g45ek/at91sam9g45nf_defconfig	2012-07-25 21:25:24.547605601 +0100
-@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9g45ekes/at91sam9g45dfes_defconfig b/board/at91sam9g45ekes/at91sam9g45dfes_defconfig
---- a/board/at91sam9g45ekes/at91sam9g45dfes_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g45ekes/at91sam9g45dfes_defconfig	2012-07-25 20:47:33.895706968 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9g45ekes/at91sam9g45ekes_defconfig b/board/at91sam9g45ekes/at91sam9g45ekes_defconfig
---- a/board/at91sam9g45ekes/at91sam9g45ekes_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g45ekes/at91sam9g45ekes_defconfig	2012-07-25 20:46:49.043708951 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9g45ekes/at91sam9g45nfes_defconfig b/board/at91sam9g45ekes/at91sam9g45nfes_defconfig
---- a/board/at91sam9g45ekes/at91sam9g45nfes_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9g45ekes/at91sam9g45nfes_defconfig	2012-07-25 21:25:44.823604805 +0100
-@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9m10ek/at91sam9m10df_defconfig b/board/at91sam9m10ek/at91sam9m10df_defconfig
---- a/board/at91sam9m10ek/at91sam9m10df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9m10ek/at91sam9m10df_defconfig	2012-07-25 20:44:34.975714928 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9m10ek/at91sam9m10ek_defconfig b/board/at91sam9m10ek/at91sam9m10ek_defconfig
---- a/board/at91sam9m10ek/at91sam9m10ek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9m10ek/at91sam9m10ek_defconfig	2012-07-25 20:43:34.543717453 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9m10ek/at91sam9m10nf_defconfig b/board/at91sam9m10ek/at91sam9m10nf_defconfig
---- a/board/at91sam9m10ek/at91sam9m10nf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9m10ek/at91sam9m10nf_defconfig	2012-07-25 21:21:40.419615800 +0100
-@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9m10ekes/at91sam9m10dfes_defconfig b/board/at91sam9m10ekes/at91sam9m10dfes_defconfig
---- a/board/at91sam9m10ekes/at91sam9m10dfes_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9m10ekes/at91sam9m10dfes_defconfig	2012-07-25 20:44:18.687715650 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9m10ekes/at91sam9m10ekes_defconfig b/board/at91sam9m10ekes/at91sam9m10ekes_defconfig
---- a/board/at91sam9m10ekes/at91sam9m10ekes_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9m10ekes/at91sam9m10ekes_defconfig	2012-07-25 20:43:57.255716814 +0100
-@@ -102,10 +102,10 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9m10ekes/at91sam9m10nfes_defconfig b/board/at91sam9m10ekes/at91sam9m10nfes_defconfig
---- a/board/at91sam9m10ekes/at91sam9m10nfes_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9m10ekes/at91sam9m10nfes_defconfig	2012-07-25 21:26:10.179603831 +0100
-@@ -86,7 +86,7 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
-+CONFIG_IMG_SIZE="0x00080000"
- CONFIG_JUMP_ADDR="0x73F00000"
- CONFIG_GLBDRV_ADDR="0x7006b000"
- # CONFIG_LONG_TEST is not set
-diff -Nurp a/board/at91sam9n12ek/at91sam9n12df_defconfig b/board/at91sam9n12ek/at91sam9n12df_defconfig
---- a/board/at91sam9n12ek/at91sam9n12df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9n12ek/at91sam9n12df_defconfig	2012-07-25 20:52:40.675693207 +0100
-@@ -107,7 +107,7 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
- CONFIG_IMG_SIZE="0x00050000"
-diff -Nurp a/board/at91sam9rlek/at91sam9rldf_defconfig b/board/at91sam9rlek/at91sam9rldf_defconfig
---- a/board/at91sam9rlek/at91sam9rldf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9rlek/at91sam9rldf_defconfig	2012-07-25 20:48:53.183703493 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x2006b000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9rlek/at91sam9rlek_defconfig b/board/at91sam9rlek/at91sam9rlek_defconfig
---- a/board/at91sam9rlek/at91sam9rlek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9rlek/at91sam9rlek_defconfig	2012-07-25 20:48:29.659704460 +0100
-@@ -102,11 +102,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x2006b000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9rlek/at91sam9rlnf_defconfig b/board/at91sam9rlek/at91sam9rlnf_defconfig
---- a/board/at91sam9rlek/at91sam9rlnf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9rlek/at91sam9rlnf_defconfig	2012-07-25 21:24:49.335607485 +0100
-@@ -85,8 +85,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x2006b000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9x5ek/at91sam9x5df_defconfig b/board/at91sam9x5ek/at91sam9x5df_defconfig
---- a/board/at91sam9x5ek/at91sam9x5df_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9x5ek/at91sam9x5df_defconfig	2012-07-25 20:52:45.375693059 +0100
-@@ -106,7 +106,7 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
- CONFIG_IMG_SIZE="0x00050000"
-diff -Nurp a/board/at91sam9xeek/at91sam9xedfc_defconfig b/board/at91sam9xeek/at91sam9xedfc_defconfig
---- a/board/at91sam9xeek/at91sam9xedfc_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9xeek/at91sam9xedfc_defconfig	2012-07-25 20:50:10.643699991 +0100
-@@ -96,9 +96,9 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_ADDRESS="0x00004000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_APP_CHECK=y
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9xeek/at91sam9xedf_defconfig b/board/at91sam9xeek/at91sam9xedf_defconfig
---- a/board/at91sam9xeek/at91sam9xedf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9xeek/at91sam9xedf_defconfig	2012-07-25 20:50:26.967699568 +0100
-@@ -103,11 +103,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x23F00000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9xeek/at91sam9xeek_defconfig b/board/at91sam9xeek/at91sam9xeek_defconfig
---- a/board/at91sam9xeek/at91sam9xeek_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9xeek/at91sam9xeek_defconfig	2012-07-25 20:49:46.131699600 +0100
-@@ -103,11 +103,11 @@ CONFIG_LOAD_UBOOT=y
- # CONFIG_LOAD_64KB is not set
- # CONFIG_LOAD_1MB is not set
- # CONFIG_LOAD_4MB is not set
--CONFIG_IMG_ADDRESS="0x00008400"
-+CONFIG_IMG_ADDRESS="0x00004000"
- CONFIG_SETTING_ADDRESS="0x00408400"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x23F00000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
-diff -Nurp a/board/at91sam9xeek/at91sam9xenf_defconfig b/board/at91sam9xeek/at91sam9xenf_defconfig
---- a/board/at91sam9xeek/at91sam9xenf_defconfig	2011-11-18 08:13:09.000000000 +0000
-+++ b/board/at91sam9xeek/at91sam9xenf_defconfig	2012-07-25 21:26:05.627603826 +0100
-@@ -88,8 +88,8 @@ CONFIG_LOAD_UBOOT=y
- CONFIG_IMG_ADDRESS="0x00020000"
- CONFIG_SETTING_ADDRESS="0x01FE0000"
- CONFIG_SETTING_SIZE="0x00001000"
--CONFIG_IMG_SIZE="0x00040000"
--CONFIG_JUMP_ADDR="0x23F00000"
-+CONFIG_IMG_SIZE="0x00080000"
-+CONFIG_JUMP_ADDR="0x21F00000"
- CONFIG_GLBDRV_ADDR="0x23F00000"
- # CONFIG_LONG_TEST is not set
- CONFIG_DEBUG=y
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 4f74b1d..07df75d 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -4,10 +4,8 @@ 
 #
 ################################################################################
 
-AT91BOOTSTRAP3_VERSION = 3.2
-AT91BOOTSTRAP3_SITE = \
-	ftp://www.at91.com/pub/at91bootstrap/AT91Bootstrap$(AT91BOOTSTRAP3_VERSION)
-AT91BOOTSTRAP3_SOURCE = at91bootstrap_9n12.tar.gz
+AT91BOOTSTRAP3_VERSION = v3.6.2
+AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
 
 AT91BOOTSTRAP3_INSTALL_IMAGES = YES
 AT91BOOTSTRAP3_INSTALL_TARGET = NO
@@ -47,7 +45,7 @@  define AT91BOOTSTRAP3_BUILD_CMDS
 endef
 
 define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS
-	$(MAKE) $(AT91BOOTSTRAP3_MAKE_OPT) -C $(@D) bootstrap
+	cp $(@D)/binaries/*.bin $(BINARIES_DIR)
 endef
 
 $(eval $(generic-package))