[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0903040103440.5059@axis700.grange>
Date: Wed, 4 Mar 2009 01:07:55 +0100 (CET)
From: Guennadi Liakhovetski <g.liakhovetski@....de>
To: Rogério Brito <rbrito@....usp.br>
cc: linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org
Subject: Re: Linux 2.6.29-rc6 bombs while compiling a kernel for a
linkstation/kurobox
On Mon, 2 Mar 2009, Rogério Brito wrote:
> Hi there.
>
> I tried to compile a new kernel for my (powerpc) Kurobox HD (an embedded
> system that has a Freescale processor), but it seems that the
> compilation fails, with both my usual config file and with the shipped
> linkstation_defconfig file.
>
> I get the following error during compilation (actually a
> cross-compilation):
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> arch/powerpc/platforms/built-in.o: In function `linkstation_setup_arch':
> linkstation.c:(.init.text+0x218): undefined reference to `physmap_set_partitions'
> drivers/built-in.o:(__ksymtab+0x9f8): undefined reference to `physmap_set_partitions'
> make: *** [.tmp_vmlinux1] Error 1
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Yes, linkstation and storcenter have to migrate to the "physmap-flash"
platform driver. For now you can define in your .config
CONFIG_MTD_PHYSMAP=y
CONFIG_MTD_PHYSMAP_COMPAT=y
CONFIG_MTD_PHYSMAP_START=0xffc00000
CONFIG_MTD_PHYSMAP_LEN=0x400000
CONFIG_MTD_PHYSMAP_BANKWIDTH=1
(I hope the numbers are correct, just found them in my local tree, don't
remember any more what exactly they configure, please, double-check.) And
yes, it must be fixed in the mainline. I'll see if I find time for this,
maybe tomorrow (actually, already today.)
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists