load address of the kernel

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernelnewbies@...>
Date: Monday, October 6, 2008 - 8:35 am

Hello

I'm in for porting bootloader U-Boot and Linux on to ARM-based
platform. Now I've reached the point of defining a 'memory map' -- as
I understand this is done along with start address of Linux kernel,
i.e. what's in $(LINUX)/arch/arm/mach-<board>/Makefile.boot (speaking
of 2.6.x kernels).

What I don't quite understand is how are the images of bootloader
(U-Boot in my case), kernel, initrd (if any) laid out in memory, in
what sequences? Does U-Boot copy itself to upper addresses, followed
by kernel? As I know the Linux kernel expects parameteres to be
received on a specific address in ROM from a bootloader, for ARM
platforms these parameters are allocated in ATAG structures -- so how
is this address defined, according to chip's datasheet or somehow
else?

If someone could provide clear example explaining my question - I'd
appreciate a lot.
Thanks in advance.

-- 
Roman Mashak

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
load address of the kernel, Roman Mashak, (Mon Oct 6, 8:35 am)
Re: load address of the kernel, Mitul Modi, (Wed Oct 8, 1:02 am)
Re: load address of the kernel, Roman Mashak, (Wed Oct 8, 1:23 am)
Re: load address of the kernel, Mitul Modi, (Wed Oct 8, 5:36 am)