From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Belloni Date: Mon, 2 Jul 2012 16:02:37 +0200 Subject: [U-Boot] [PATCH v6] AT91SAM9*: Change kernel address in dataflash to match u-boot's size In-Reply-To: <4FF19D2B.4030300@gmail.com> References: <4FF027B2.8010507@googlemail.com> <1341229079-5281-1-git-send-email-alexandre.belloni@piout.net> <4FF18D7C.9040207@gmail.com> <20120702125500.GA16118@piout.net> <4FF19D2B.4030300@gmail.com> Message-ID: <20120702140235.GA6069@piout.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 partition ? > > well, I don't care about that too cause we usually don't have a > dataflash in our devices. > > I think for the eval kits it would be nice to have a board support > package which can be loaded from different media. Unfortunately I used > to work with bare UBoot, vanilla kernel a.s.o. Therefore I have not such > deep insight into the atmel provided bsp's. In short words: I tend to > say we should increase the space for kernel partition but I fear to > break some special bsp's. > As I can see the kernel do not provide a special mapping here. If you > are not aware of some other source (e.g. linux4sam), let us increase the > space for kernel a bit. > Actually, the two use cases listed on linux4sam are: - at91bootstrap, u-boot, kernel in dataflash and rootfs in nand - at91bootstrap, u-boot, kernel and rootfs in nand See: www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted Actually, the 9rlek, 9260ek and 9261ek have a 4MiB dataflash and the 9263ek doesn't have an embedded dataflash. I guess I'll change the mapping to still get 2MiB for the kernel. regards, -- Alexandre Belloni