From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 5 Aug 2011 13:33:36 +0200 Subject: [U-Boot] [PATCH 2/2] atmel: Update support of board AT91SAM9M10G45-EK to new style In-Reply-To: <4E3BB9C1.50002@vollmann.ch> References: <1312484010-7493-1-git-send-email-thomas.petazzoni@free-electrons.com> <1312484010-7493-3-git-send-email-thomas.petazzoni@free-electrons.com> <1312489318.31913.138.camel@ubuntu> <20110804225642.1a54819e@skate> <1312492441.31913.147.camel@ubuntu> <20110805001233.64b720fc@skate> <4E3BB9C1.50002@vollmann.ch> Message-ID: <20110805133336.12b6b5d3@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le Fri, 05 Aug 2011 11:37:05 +0200, Detlef Vollmann a ?crit : > The (maximum) size of the image to load is hardcoded into > at91bootstrap. For most boards (including at91sam9m10g45-ek) this is > 0x33900 if loading from DataFlash and 0x40000 if loading from NAND. > > So if you didn't modify your at91bootstrap, you should get the same > problem on AT91SAM9M10G45-EK if booting from DataFlash. Correct. The thing is that I only tested the AT91SAM9M10G45-EK support on Nandflash, as I haven't had the time to get the Dataflash support to work again in the current U-Boot. I have a custom board similar to AT91SAM9M10G45-EK here which boots from Dataflash, but it uses an old 1.3.4 U-Boot (which I'd like to upgrade), for which the binary is only 152K, which is less than 0x33900. I'll try to get a modern U-Boot working with Dataflash support on AT91SAM9M10G45-EK, and this will require a small modification in AT91Bootstrap. It is a bit amazing to see that the size of U-Boot has increased from 154912 bytes in version 1.3.4 to 233252 bytes in the current Git (and the latter has no support for Dataflash, while the former does). Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com