From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxVT0-000205-6u for qemu-devel@nongnu.org; Tue, 14 Feb 2012 22:23:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxVSy-0002cL-Nd for qemu-devel@nongnu.org; Tue, 14 Feb 2012 22:23:38 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:47313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxVSy-0002bn-Eu for qemu-devel@nongnu.org; Tue, 14 Feb 2012 22:23:36 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from euspt2 ([210.118.77.14]) by mailout4.w1.samsung.com (Sun Java(tm) System Messaging Server 6.3-8.04 (built Jul 29 2009; 32bit)) with ESMTP id <0LZF00JHK036YG00@mailout4.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 15 Feb 2012 03:23:30 +0000 (GMT) Received: from [106.109.9.191] by spt2.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LZF00M1A035TG@spt2.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 15 Feb 2012 03:23:30 +0000 (GMT) Date: Wed, 15 Feb 2012 07:23:28 +0400 From: Evgeny Voevodin In-reply-to: Message-id: <4F3B2530.7070300@samsung.com> References: <1328852175-12119-1-git-send-email-e.voevodin@samsung.com> Subject: Re: [Qemu-devel] [PATCH v15 00/10] ARM: Samsung Exynos4210-based boards support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, kyungmin.park@samsung.com, paul@codesourcery.com, m.kozlov@samsung.com, jehyung.lee@samsung.com, d.solodkiy@samsung.com On 14.02.2012 23:51, Peter Maydell wrote: > On 10 February 2012 05:36, Evgeny Voevodin wrote: >> This set of patches adds support for Samsung Exynos4210-based boards NURI and SMDKC210. >> Tested on Linux kernel v3.x series. >> Boot smdkc210 board with root filesystem on NFS disk and serial port #0 redirected to terminal >> # qemu-system-arm -kernel ./zImage -append "console=ttySAC0,115200n8 ip=dhcp root=/dev/nfs nfsroot=10.0.2.2:/srv/nfs/ rw " -serial stdio -M smdkc210 > Have you tried booting this with the 'earlyprintk' kernel option? > I tried this with a 3.2.0 kernel and the exynos4 defconfig and it > crashes (without 'earlyprintk' is fine). What seems to be happening > is that the printk() in s3c_init_cpu() ends up taking an abort > trying to read the UART status register in the waituart macro. > This load has worked fine up until this point (with the same > address being used for the load) but I have a feeling this is the > first printk after we've done some fiddling with the memory mapping > of devices. Presumably without 'earlyprintk' we don't try to > do this output and will dump the whole printk buffer later via > a different codepath. > > Possibly this is a kernel bug but I'll let you track it down :-) > > -- PMM > Some times ago we have tried it but not recently. Will check it and report. Thanks. -- Kind regards, Evgeny Voevodin, Leading Software Engineer, ASWG, Moscow R&D center, Samsung Electronics e-mail: e.voevodin@samsung.com