On Thu, 20 Oct 2011, Nicolas Pitre wrote:

> On Thu, 20 Oct 2011, john stultz wrote:
> 
> > On Thu, 2011-10-20 at 03:11 -0700, Deepak Saxena wrote:
> > > The Linaro Kernel Working Group (KWG) is excited to announce the
> > > availability our October 2011 development snapshot:
> > > 
> > > linux-linaro-3.1-2011.10-1
> > > 
> > > As the word "snapshot" implies, these are meant as development kernels
> > > and have not been fully validated. You should expect issues and to help
> > > us deliver a better kernel in the future, please file bugs in Launchpad at
> > > https://bugs.launchpad.net/linux-linaro.
> > > 
> > > The source tarball is available at:
> > >  
> > > http://launchpad.net/linux-linaro/3.1/3.1-2011.10/+download/linux-linaro-3.1-2011.10-1.tar.bz2
> > > 
> > > The kernel sources can also be accessed using git at:
> > >  git://git.linaro.org/kernel/linux-linaro-3.1.git
> > >  tag: linux-linaro-3.1-2011.10-1
> > > 
> > > In addition to an update to the 3.1 (-rc10) kernel, this kernel includes
> > > the following changes that are queued up for 3.2:
> > > 
> > ...
> > >   - boot_params to atag_offset transition froma Nicolas Pitre
> > 
> > Looks like the Origen board support missed something here. I'm getting:
> > 
> > arch/arm/mach-exynos4/mach-origen.c:103: error: unknown field
> > 'boot_params' specified in initializer
> > make[1]: *** [arch/arm/mach-exynos4/mach-origen.o] Error 1
> > 
> > Commenting out the following allows it to build (I've not yet boot
> > tested).
> 
> Yes, removing that line is a good fix.  With a relatively recent u-Boot 
> (i.e. not older than a few years) then this line is redundant.

Or if you prefer the ultimate fix:

diff --git a/arch/arm/mach-exynos4/mach-origen.c 
b/arch/arm/mach-exynos4/mach-origen.c
index ed59f86..b5f6f38 100644
--- a/arch/arm/mach-exynos4/mach-origen.c
+++ b/arch/arm/mach-exynos4/mach-origen.c
@@ -100,7 +100,7 @@ static void __init origen_machine_init(void)
 
 MACHINE_START(ORIGEN, "ORIGEN")
        /* Maintainer: JeongHyeon Kim <jh...@insignal.co.kr> */
-       .boot_params    = S5P_PA_SDRAM + 0x100,
+       .atag_offset    = 0x100,
        .init_irq       = exynos4_init_irq,
        .map_io         = origen_map_io,
        .init_machine   = origen_machine_init,

or grab latest linux-linaro-3.1 (I won't tag it just yet in case other 
small things turn up).


Nicolas

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to