[U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-07-02 Thread Alexandre Belloni
On at91sam platforms, u-boot grew larger than the allocated size in dataflash, the layout was: bootstrap 0x ubootenv 0x4200 uboot 0x8400 kernel 0x00042000 u-boot with the defconfig doesn't seem to fit in 0x42000 - 0x8400 = 0x39C00 bytes anymore. Now, the layout is:

Re: [U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-07-02 Thread Andreas Bießmann
Dear Alexandre Belloni, On 02.07.2012 13:37, Alexandre Belloni wrote: On at91sam platforms, u-boot grew larger than the allocated size in dataflash, the layout was: bootstrap 0x ubootenv 0x4200 uboot 0x8400 kernel 0x00042000 u-boot with the defconfig doesn't

Re: [U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-07-02 Thread Alexandre Belloni
On Mon, Jul 02, 2012 at 02:01:00PM +0200, Andreas Bießmann wrote : really sorry for that, I should have seen it before. Shouldn't we also make the U-Boot partition greater when we move the start of kernel partition? Can you please send another version, rest is fine (checkpatch, apply cleanly,

Re: [U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-07-02 Thread Andreas Bießmann
Dear Alexandre Belloni, On 02.07.2012 14:55, Alexandre Belloni wrote: On Mon, Jul 02, 2012 at 02:01:00PM +0200, Andreas Bießmann wrote : diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h index 07b1968..ef25fa5 100644 --- a/include/configs/at91sam9260ek.h +++

Re: [U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-07-02 Thread Alexandre Belloni
On Mon, Jul 02, 2012 at 03:07:55PM +0200, Andreas Bießmann wrote : Right, I didn't really care about the end of the kernel partition as the 9261ek has an 8MiB dataflash and my rootfs is in NAND. The kernel is around 1.7MiB using the default configuration. Maybe, we should also extend its