On Tue, Jun 21, 2011 at 12:52:12PM +0530, Amit Mahajan 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
John, do you know why the packaged kernel builds don't get these errors? I do tend to get this whenever I try to build a full set of kernel from the packaged kernel config. I haven't reproduced it recently though, so I don't know exactly what tool versions are affected. Doing long long divisions anywhere in the kernel is apparently considered wrong, but in this instance it may be a compiler bug that is leaving a stray reference to the division helper in the code: http://thread.gmane.org/gmane.linux.alsa.devel/84361/focus=115079 I don't know if anything has been done about this. Cheers ---Dave _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev