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

Alexandre Belloni alexandre.belloni at piout.net
Mon Jul 2 16:02:37 CEST 2012


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


More information about the U-Boot mailing list