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?
Below are the boot logs I see with kernel from tarball provided on 11.05 release page:
Begin: Running /scripts/init-bottom ... done. init: ureadahead main process (195) terminated with status 5 fsck from util-linux-ng 2.17.2 rootfs: clean, 135614/239040 files, 433096/954752 blocks * Starting mDNS/DNS-SD daemon[ OK ] * Stopping cold plug devices[ OK ] * Stopping log initial device creation[ OK ] * Starting save udev log and update rules[ OK ] * Stopping save udev log and update rules[ OK ] fsck from util-linux-ng 2.17.2 rootfs: clean, 135614/239040 files, 433096/954752 blocks * Starting mDNS/DNS-SD daemon[ OK ] * Stopping cold plug devices[ OK ] * Stopping log initial device creation[ OK ] * Starting save udev log and update rules[ OK ] * Stopping save udev log and update rules[ OK ] * Starting AppArmor profiles Cache read/write disabled: /sys/kernel/security/apparmor/features interface file missing. (Kernel needs AppArmor 2.4 comp atibility patch.) Cache read/write disabled: /sys/kernel/security/apparmor/features interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning from /etc/apparmor.d/gdm-guest-session (/etc/apparmor.d/gdm-guest-session line 49): profile /usr/share/gdm/guest-session/Xsession network rules not en forced Cache read/write disabled: /sys/kernel/security/apparmor/features interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning from /etc/apparmor.d/sbin.dhclient (/etc/apparmor.d/sbin.dhclient line 73): profile /sbin/dhclient network rules not enforced Cache read/write disabled: /sys/kernel/security/apparmor/features interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox Cache read/write disabled: /sys/kernel/security/apparmor/features interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.) Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 169): profile /usr/lib/cups/backend/cups-pdf network rules not enforced Warning from /etc/apparmor.d/usr.sbin.cupsd (/etc/apparmor.d/usr.sbin.cupsd line 169): profile /usr/sbin/cupsd network rules not enforced Warning from /etc/apparmor.d/usr.bin.evince (/etc/apparmor.d/usr.bin.evince line 134): profile /usr/bin/evince network rules not enforced Warning from /etc/apparmor.d/usr.bin.evince (/etc/apparmor.d/usr.bin.evince line 134): profile /usr/bin/evince-previewer network rules not enforced [ OK ]
speech-dispatcher disabled; edit /etc/default/speech-dispatcher [ OK ]rting bluetooth Last login: Tue Jun 21 06:21:37 UTC 2011 on tty1 * PulseAudio configured for per-user sessions Welcome to Linaro 11.05 (GNU/Linux 2.6.38.7 armv7l)
* Documentation: https://wiki.linaro.org/ * Enabling additional executable binary formats binfmt-support FATAL: Could not load /lib/modules/2.6.38.7/modules.dep: No such file or directory update-binfmts: warning: Couldn't load the binfmt_misc module. [ OK ] root@linaro:~#
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
Regards, Avik
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
On Tuesday 21 June 2011 12:52 PM, 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
I don't know the fix, but to work around it, either disable or make it built-in in Device Drivers -> Sound card support -> Advanced Linux Sound Architecture -> ALSA for SoC audio support -> Build all ASoC CODEC drivers
Regards, Avik
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
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
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?
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.
On 06/21/2011 08:29 AM, 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'm running natty with: arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.5.2-8ubuntu3) 4.5.2
On Tue, 21 Jun 2011, Dave Martin wrote:
On Tue, Jun 21, 2011 at 12:52:12PM +0530, Amit Mahajan wrote:
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.
http://article.gmane.org/gmane.linux.linaro.toolchain/1123
Nicolas
On Tue, Jun 21, 2011 at 7:22 PM, Amit Mahajan amit.mahajan@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
On 06/21/2011 01:44 AM, 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
You'll also need to create an initramfs. Take a look at this wiki page for detailed instructions:
On Tue, Jun 21, 2011 at 08:24:19AM -0500, Andy Doan wrote:
On 06/21/2011 01:44 AM, 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
You'll also need to create an initramfs. Take a look at this wiki page for detailed instructions:
Note that this will only work if the bus, storage and filesystem drivers for your root fs are built into the kernel.
If those drivers are built in, you can actually get away with never regenerating the initramfs, if you're feeling lazy.
Cheers ---Dave