On Mon, Jan 31, 2011 at 12:35 PM, Alexander Sack <a...@linaro.org> wrote: > On Mon, Jan 31, 2011 at 11:57 AM, Avik Sil <avik....@linaro.org> wrote: >> Hi, >> >> I tried booting linux-linaro-2.6.37 kernel on my beagle board C4. I executed >> following: >> >> 1. 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. >> >> 2. Cloned linux-linaro-2.6.37. Changed to source directory >> >> 3. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- omap2plus_defconfig > > this one feels odd as beagle is omap3 > >> >> 4. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig (enabled >> EARLY_PRINTK) >> >> 5. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage >> >> 6. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules >> >> 7. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules_install >> INSTALL_MOD_PATH=/media/rootfs >> >> 8. 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. -- - Alexander _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev