Received: from eggs.gnu.org ([208.118.235.92]:36917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8etX-0008EJ-0P for qemu-devel@nongnu.org; Mon, 03 Sep 2012 18:13:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8etU-000055-RZ for qemu-devel@nongnu.org; Mon, 03 Sep 2012 18:13:22 -0400 Received: from zose-mta12.web4all.fr ([178.33.204.89]:42857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8etU-0008WH-MT for qemu-devel@nongnu.org; Mon, 03 Sep 2012 18:13:20 -0400 Received: from localhost (localhost [127.0.0.1]) by zose-mta12.web4all.fr (Postfix) with ESMTP id 381AE904F3 for ; Tue, 4 Sep 2012 00:16:08 +0200 (CEST) Received: from zose-mta12.web4all.fr ([127.0.0.1]) by localhost (zose-mta12.web4all.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U6CktMHw6c2d for ; Tue, 4 Sep 2012 00:16:07 +0200 (CEST) Received: from [192.168.1.101] (smm49-1-78-235-240-156.fbx.proxad.net [78.235.240.156]) by zose-mta12.web4all.fr (Postfix) with ESMTPSA id 69FA5904EF for ; Tue, 4 Sep 2012 00:16:07 +0200 (CEST) Message-ID: <50452B7B.1030304@tribudubois.net> Date: Tue, 04 Sep 2012 00:13:15 +0200 From: Jean-Christophe DUBOIS MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Help needed to run Exynos 4210 linux kernel on qemu? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I am trying to run linux over qemu-system-arm emulating a nuri or smdkc210 Exynos 4210 based board. To do this I fetched the last qemu (from git://git.qemu.org/qemu.git) and built it with "./configure --target-list=arm-softmmu. Then I fetched the latest linux image for samsung processors (from git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git) and built it using exynos4_defconfig config file. Then I tried to run the 2 together: $ qemu-system-arm -kernel zImage -append "console=ttySAC0,115200n8 root=/dev/ram rw earlyprintk" -serial stdio -M smdkc210 -initrd rootfs.img smdkc210 board supports only 2 CPU cores. Ignoring smp_cpus value. VNC server running on `127.0.0.1:5900' Booting Linux on physical CPU 0 Linux version 3.6.0-rc3 (jcd@jcd-P31SG) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP PREEMPT Mon Sep 3 22:44:05 CEST 2012 CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: SMDKC210 bootconsole [earlycon0] enabled Truncating RAM at 40000000-7fffffff to -6f7fffff (vmalloc region overlap). Memory policy: ECC disabled, Data cache writealloc The kernel hangs here because it got a data abort exception while trying to print the "next" message (which is "CPU EXYNOS4210 (id 0x43210211)"). The data abort is generated somewhere in the console_unlock() function. I tried the same thing with some less up to date source code of qemu and/or linux with the same result. I even tried the linaro versions of qemu and linux without luck. So there has to be something I am doing wrong. I would really appreciate it if you could point me in the right direction. Thanks. JC