On Tue, 2011-06-21 at 07:29 -0600, John Rigby wrote:
On Tue, Jun 21, 2011 at 7:25 AM, Andy Doan andy.doan@linaro.org wrote:
On 06/21/2011 04:53 AM, Dave Martin wrote:
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 think this only happens when cross-compiling
I don't see this when cross compiling the packaged kernel. Perhaps my toolchain is an older rev?
I confirm to get it with both gcc-4.5.1 and 4.5.2 from linaro toolchian ppa's with both the kernel tarball from 11.05 release page as well as from 2.6.38 kernel git with commit till linaro-11.05 tag.