[Arm-netbook] Where to load initramfs

Gordan Bobic gordan at bobich.net
Tue Jul 10 12:11:16 BST 2012


On 07/10/2012 12:06 PM, Peter Steenbergen wrote:
>
>     1) No part of the kernel/inirtd end up in the reserved memory area, e.g.
>     the GPU allocation
>
> Did not think of that one, does anybody know where that is? Otherwise I
> have to dive into the kernel sources.

Depends on the device you are using. It is typically at the top, but 
sometimes (e.g. on the PandaBoard) there is a reserved memory area in 
the middle.

>     2) Kernel and initrd areas don't overlap (or you'll clobber a part of
>     whichever you loaded first.
>
>     A calculator that can convert decimal to hex will probably be helpful in
>     this when you check the size of your uimage and uinitrd.
>
> Indeed, uImage is around 3,5 Mb so for safety let's go for 4 Mb. Anybody
> know a good  calculator (I am really really bad at this converting stuff)

The calculator app that ships with your OS should be up to the job.

Gordan



More information about the arm-netbook mailing list