[PATCH 05/13] ARM: LPC32XX: arch Kconfig, plat Kconfig, and makefiles

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Feb 3 08:57:41 EST 2010


Hello Russell,

On Wed, Feb 03, 2010 at 11:26:46AM +0000, Russell King - ARM Linux wrote:
> On Wed, Feb 03, 2010 at 11:51:52AM +0100, Uwe Kleine-König wrote:
> > > diff --git a/arch/arm/mach-lpc32xx/Makefile.boot b/arch/arm/mach-lpc32xx/Makefile.boot
> > > new file mode 100644
> > > index 0000000..b796b41
> > > --- /dev/null
> > > +++ b/arch/arm/mach-lpc32xx/Makefile.boot
> > > @@ -0,0 +1,4 @@
> > > +   zreladdr-y	:= 0x80008000
> > > +params_phys-y	:= 0x80000100
> > I hope your bootloader passes the atag list via r2.  If so there is no
> > need to define params_phys-y.
> 
> Wrong - that's your expectation that nothing uses this, rather than
> reality.  While the decompressor doesn't use it, it's required for
> the 'bootp' add-on, which allows an initrd/initramfs image and kernel
> to be combined together, and the initrd/ramfs to be split away from
> the kernel - without encountering the PC24 relocation error problem.
Obviously you're right.  Is bootp still used?

If yes it should start looking for a taglist at the address specified by
r2, shouldn't it?

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list