[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] ARM: RealView boot problem

From: Christoffer Dall
Subject: [Qemu-devel] ARM: RealView boot problem
Date: Tue, 23 Feb 2010 18:55:01 +0100

I am trying to emulate ARMv6 on QEMU and cannot get past the early
kernel boot process. I wish to emulate the arm1136 cpu on the
realview-eb platform.

The config file for the kernel and my binaries can be found here:

To configure and compile qemu, I use the following command:
# ./configure --target-list=arm-softmmu
# make

I am using the stable-0.12 branch on commit

To run qemu, I use this command:
# qemu-system-arm -M realview-eb -cpu arm1136 -kernel
~/src/linux-arm/arch/arm/boot/zImage -nographic -append
"console=ttyAMA0 debug initcall_debug"

I know that I need a file system to boot, but I should at least get
kernel printout here right?

I've tracked the issue to occur in a ldrex instruction, which
generates a data abort:
 -> boot_cpu_init()
    -> set_cpu_online(cpu, true)
        -> cpumask_set_cpu(...)
            -> set_bit()
                -> _set_bit_le()
                     ldrexb   r2, [r1]

The instruction is in arch/arm/lib/bitops.h:8

I tried mocking around quite a bit in the kernel config, but got nowhere.

Any help is greatly appreciated here.


Christoffer Dall

reply via email to

[Prev in Thread] Current Thread [Next in Thread]