[RFC/PATCH 0/7] ARCH: shmobile: defconfig consolidation
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Apr 5 06:07:23 EDT 2013
Hi Simon,
On Friday 05 April 2013 09:49:31 Simon Horman wrote:
> On Fri, Apr 05, 2013 at 02:37:38AM +0200, Laurent Pinchart wrote:
> > On Friday 05 April 2013 09:30:27 Simon Horman wrote:
> > > On Thu, Apr 04, 2013 at 01:20:44PM +0200, Laurent Pinchart wrote:
> > > > On Thursday 04 April 2013 12:29:46 Simon Horman wrote:
> > > > > Hi,
> > > > >
> > > > > this is a first pass at consolidating the defconfigs of shmobile.
> > > > >
> > > > > It covers the mackerel, amradillo800eva and kzm9d boards which meet
> > > > > the following criteria:
> > > > >
> > > > > * Have the same base memory address (0x40000000).
> > > >
> > > > Do you know if there's any work being done on getting rid of the base
> > > > memory address as a kernel config option ? It seriously hinders
> > > > cross-SoC kernel testing.
> > >
> > > As I understand things the main limitation is uImage which uses
> > > the base memory address. There is some talk of creating uImages
> > > at install time rather than build time. Which I believe would
> > > remove most if not all the problem. However, its entirely unclear
> > > to me what such an install process would look like. A new build target?
> > > In tree script? Out of tree script? It seems very undefined to me.
> > >
> > > Another, arguably better though not backwards compatible, option
> > > is to boot using zImage (or even just Image) which do not rely
> > > on the base address.
> >
> > Don't we also need to get rid of CONFIG_MEMORY_START ? It's used in
> > headsmp.S and headsmp-scu.S (through PLAT_PHYS_OFFSET).
>
> Yes, I think so. Sorry for glossing over that.
>
> I think it should be possible to remove that by evaluating it at runtime
> somehow. But I have not though deeply about this.
It would be really nice if someone could give it a try :-)
--
Regards,
Laurent Pinchart
More information about the linux-arm-kernel
mailing list