On Sat, Aug 7, 2010 at 12:42 PM, wqs wlp <[email protected]> wrote:
> I am wondering how the kernel are loaded by the bootloader on android
> devices, for example Nexus one or Moto Droid.
> Moreover,  is the physical memory layout of android phones the same as
> traditional linux?
> The code in board-mahimahi.c and board-sholes.c say that
> for Nexus one device  .boot_params    = 0x80000100,
> while for droid ,  .boot_params    = 0x80C00100 with UMTS and .boot_params
>  = 0x80000100 for non-umts devices
> what is this address?
> any help or pointer to the links that can help would be greatly appreciated.

There is a pretty good explanation of the requirements for an ARM
Linux bootloader at:
http://www.simtec.co.uk/products/SWLINUX/files/booting_article.html

To answer specifically about boot_params, that's where the kernel
looks for the ATAGs if an ATAGs pointer is properly passed in from the
bootloader:
http://lxr.linux.no/linux+v2.6.35/arch/arm/kernel/setup.c#L681

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to