AnsweredAssumed Answered

i.MX6Q Sabre Lite Kernel boot Problem

Question asked by Younes CHALABI on Jun 17, 2013
Latest reply on Jun 18, 2013 by Younes CHALABI

Hi,

 

 

I'm trying to install xenomai-2.6.2.1 on the i.MX6Q Sabre Lite.

 

 

Using U-boot-mx6q-sabrelite.bin and the rootfs.ext2 from the L3.0.35_4.0.0_130424_images_MX6 directory.

 

 

The kernel used is rel_imx_3.0.15_12.03.00, and after patching it with xenomai-2.6.2.1 following these steps :

 

 

1- Applying xenomai-2.6.2.1/ksrc/arch/arm/patches/mxc/adeos-ipipe-3.0.36-arm-1.18-11-pre.patch

2- Applying xenomai-2.6.2.1/ksrc/arch/arm/patches/adeos-ipipe-3.0.36-arm-1.18-11.patch

3- Applying xenomai-2.6.2.1/ksrc/arch/arm/patches/mxc/adeos-ipipe-3.0.36-arm-1.18-11-post.patch

4- xenomai-2.6.2.1/scripts/prepare-kernel.sh --arch=arm --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-3.0.36-arm-1.18-11.patch --linux=rel_imx_3.0.15_12.03.00

5- make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=$build_root/linux imx6_defconfig

6- make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- O=$build_root/linux bzImage modules

7- xenomai-2.6.2.1/configure CFLAGS="-march=armv7-a -mfpu=vfp3" FDFLAGS="-march=armv7-a -mfpu=vfp3" --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi

8- make DESTDIR=$staging_dir install

 

 

Then putting the build_root/linux/arch/arm/boot/uImage | System.map | modules.builtin |   modules.order |  Module.symvers      ==> to /media/boot

 

 

But when booting the target the kernel doesn't start and have this display :

 

mmc1 is current device

 

 

MMC read: dev # 1, block # 2048, count 8192 ... 8192 blocks read: OK

## Booting kernel from Legacy Image at 10800000 ...

   Image Name:   Linux-$ (3.0.15_12.03.00)

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3813344 Bytes =  3.6 MB

   Load Address: 10800000

   Entry Point:  10800000

   Verifying Checksum ... OK

   XIP Kernel Image ... OK

OK

 

 

Starting kernel ...

 

 

"Stops here"

 

 

Any help or idea is welcome

 

Outcomes