On Mon, Jan 31, 2011 at 10: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

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.

>
> 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

Presumably you mean "umount", not "sync"? ;)

Cheers
---Dave

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to