I found the workaround for my problem by google search. It said that "kernel unaligned accesses" caused this problem. And now with the suggestion, I can boot my kernel.
Could somebody explain more for me? Thanks in advance.
I followed the suggestion change arch/arm/kernel/head.S: @@ -394,7 +394,7 @@ __secondary_data: * r13 = **virtual** address to jump to upon completion */ __enable_mmu: -#ifdef CONFIG_ALIGNMENT_TRAP +#if defined(CONFIG_ALIGNMENT_TRAP) && __LINUX_ARM_*ARCH*__ < 6 orr r0, r0, #CR_A #else bic r0, r0, #CR_A Why is "bic r0, r0, #CR_A" OK for kernel?
On Mon, May 28, 2012 at 5:38 PM, Tim Jiang tim.jiang.linaro@gmail.comwrote:
Hi Experts,
I am a newbie in Linaro development. The kernel built by myself can't boot up. Could you please help on it? Thanks a lot in advance.
# Proglem: There was no any response after following logs:
Starting kernel ... Uncompressing Linux... done, booting the kernel.
*Followings are details:*
# My setting: Development board - i.Mx53 QSB Host PC - Ubuntu 10.04 x64 GCC for build linaro kernel - version is 4.6.2 Create a micro-SD card with linaro Nano 12.02. I used, mx53loco-nano.img.gzhttp://releases.linaro.org/12.02/ubuntu/oneiric-images/nano/mx53loco-nano.img.gz, to create the disc and it can work well and I can run my program in this Nano linaro.
# What I want: I wanted to build a kernel to replace the kernel installed with linaro Naro 12.02.
# My steps:
- Download the kernel source code: I downloaded the code under the linaro 12.02 download page(
http://www.linaro.org/downloads/1202), linux-linaro-lt-freescalehttp://launchpad.net/linaro-landing-team-freescale(supplied by landing team). 2) Build the kernel: I copied the configuration file from micor-SD card, /media/rootfs/config-3.1.0-1002-linaro-It-mx5, and rename it to .config. $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules 3) Install kernel to micro-SD card: $ cp arch/arm/boot/uImage /media/boot $ make ARCH=arm INSTALL_MOD_PATH=/media/rootfs modules_install $ sudo umount /media/* 4) Boot with my own kernel: Install the micro-SD card and press power button.
# Result: There was no any response after following logs:
Starting kernel ... Uncompressing Linux... done, booting the kernel.
I have tried several other version kernel code and even update u-boot, but failed to fix it. Could somebody show me suggestion on it?
Best Regards, Tim