[PATCH] ARM: Versatile Express: Add default memory layout

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jul 22 07:30:03 EDT 2010


On Thu, Jul 22, 2010 at 12:19:56PM +0100, Catalin Marinas wrote:
> On Thu, 2010-07-22 at 12:16 +0100, Russell King - ARM Linux wrote:
> > The kernel boot requirements document has for the last _8_ years said:
> > 
> >    The boot loader must pass at a minimum the size and location of the system
> >    memory, and root filesystem location. Therefore, the minimum tagged list
> >    should look:
> > 
> >            +-----------+
> >    base -> | ATAG_CORE |  |
> >            +-----------+  |
> >            | ATAG_MEM  |  | increasing address
> >            +-----------+  |
> >            | ATAG_NONE |  |
> >            +-----------+  v
> > 
> > and still u-boot gets it wrong...  Now tell me why I hate boot loaders
> > soo much.
> 
> Maybe it's time to ignore all boot loaders and do everything in the
> kernel :)

Maybe, but then we can never do things like pass command line arguments
to the kernel, or discover where system RAM is, etc.

It's also an argument for avoiding DT!  If boot loaders can't even get
the most basic of information right...



More information about the linux-arm-kernel mailing list