On Mon, Jan 31, 2011 at 12:35 PM, Alexander Sack asac@linaro.org wrote:
On Mon, Jan 31, 2011 at 11:57 AM, Avik Sil avik.sil@linaro.org wrote:
Hi,
I tried booting linux-linaro-2.6.37 kernel on my beagle board C4. I executed following:
- Installed linaro on a 4 GB SD card using linaro-image-tools 0.4.1 with
hwpack daily snapshot hwpack_linaro-omap3_20110125-0_armel_supported.tar.gz and linaro-natty-headless-tar-20101202-1.tar.gz. It was booting properly on my BB.
Cloned linux-linaro-2.6.37. Changed to source directory
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- omap2plus_defconfig
this one feels odd as beagle is omap3
- make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig (enabled
EARLY_PRINTK)
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules_install
INSTALL_MOD_PATH=/media/rootfs
- cp arch/arm/boot/uImage /media/boot; sync
Everything went on smoothly. Then I put the SD card on BB and powered it on. I got a kernel panic: http://paste.ubuntu.com/560562
Please help me figuring out the problem. Is it because I didn't create uInitrd? If so, then how to create it for ARM?
yes, you also need to update uInitrd if you use the "default" linaro boot cmdline.
short intro is: 12:22 < asac> aviksil: cp /usr/bin/qem-arm-static /mnt/rootfs/usr/bin/ 12:22 < asac> aviksil: sudo chroot /mnt/rootfs 12:22 < asac> update-initramfs -kYOUR_KVERSION -c
This will create something like /mnt/rootfs/boot/initrd.img-YOUR_VERSION.
With that you can use mkimage to create a uInitrd for your boot partition.