On Tue, Jun 21, 2011 at 7:22 PM, Amit Mahajan <amit.maha...@b-labs.com> wrote:
> On Tue, 2011-06-21 at 12:14 +0530, Avik Sil wrote:
>> On Tuesday 21 June 2011 12:06 PM, Amit Mahajan wrote:
>> > Hi,
>> >
>> > I have booted panda board using 11.05 natty release of ubuntu. It worked
>> > great.
>> >
>> > Now, I am trying to compile the kernel myself. I am using the sources
>> > from tarball provided on 11.05 release page as well as from linaro git
>> > 2.6.38 tree.
>> >
>> >
>> > I have extracted the .config from running ubuntu(of 11.05 LEB) and using
>> > it to compile my own kernels. Then I am just replacing the uImage on
>> > sdcard(generated using 11.05 LEB) by my compiled kernel.
>> >
>> > Boot process goes fine till the init process but then it fails to bring
>> > on the graphics and goes to console mode.
>> >
>> > Any help on this?
>>
>> You may want to install modules on the SD card too:
>>
>> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
>> INSTALL_MOD_PATH=/media/rootfs modules_install
>
> I am getting these errors while building the modules. I have linaro
> gcc-4.5.1. Is it related to older gcc?
>
>
>  AS      arch/arm/boot/compressed/lib1funcs.o
>  LD      arch/arm/boot/compressed/vmlinux
>  OBJCOPY arch/arm/boot/zImage
>  Kernel: arch/arm/boot/zImage is ready
> ERROR: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-wm8974.ko]
> undefined!
> ERROR: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-wm8940.ko]
> undefined!
> ERROR: "__aeabi_uldivmod" [sound/soc/codecs/snd-soc-wm8510.ko]
> undefined!
> WARNING: modpost: Found 2 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2

Hi Amit.  This is a known issue with the compiler.  See LP: #771832 at:
 https://bugs.launchpad.net/gcc-linaro/+bug/771832

The problem exists in all 4.6 based compilers.  The work around is to
change the kernel configuration and disable Device Drivers -> Sound
card support -> Advanced Linux Sound
Architecture -> ALSA for SoC audio support -> Build all ASoC CODEC drivers.

-- Michael

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

Reply via email to