On Mon, Jan 31, 2011 at 10: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
linaro-media-create makes an initramfs and installs it in the boot partition as "uInitrd". The default boot script is configured to load this and pass it to the kernel.
The initramfs appears to load and start up (I'm guessing the "Loading, please wait" comes from there), but the kernel may be missing some drivers needed to boot.
You might do better if you use the linaro kernel config:
Check out git://git.linaro.org/people/jcrigby/ubuntu/linux-linaro-natty.git master cat debian.linaro/config/config.common.ubuntu debian.linaro/config/armel/config.common.armel debian.linaro/config/armel/config.flavour.linaro-omap >.config yes '' | make oldconfig
This generally works for me -- the kernel seems to have adequate drivers built in that I don't need to update the initramfs.
Note that config selects a huge number of things to be built as modules, but you don't need to build them all just to get a bootable kernel. You just do "make uImage" initially.
- 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
Presumably you mean "umount", not "sync"? ;)
Cheers ---Dave