Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3439786ybi; Sun, 26 May 2019 23:32:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLrUiezS9Nj3CryNJ24C/aULLnnlDi8PsPRhBngzPm+Ds4m6g7QBAiXH36sexBgtm7jrMu X-Received: by 2002:a62:4dc5:: with SMTP id a188mr83289160pfb.8.1558938745092; Sun, 26 May 2019 23:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558938745; cv=none; d=google.com; s=arc-20160816; b=tSsjPcOGByxM+i1Ln1G2wkzj6k6Fd+Fof3LARwdOT0gBasPj59z8XYY3U7N1pz5qVt INRzJqmoFNooI/dUKWmOSlVVK3N08ZGthPVl3jvw1UzuvvwcO8mda4TmZIbiZ+7oLBq2 Vu2cjxh5Bh3UmMGRewIl2DP0DfL+4GVrvQFctxzbssOPP0rS7EBa+YztFPQV88gYEICj DndR7XunDp7QFCVu6t5Op5RvuCaffteOiInvMwF2yHMrC9p4bDPFRv/Ne2tTudA5AF4J wBjSyBBR7nXzMkkkDZum4tR6+rjsfHd1BUa6Z+tXmfgg0Gv8FAqHL2iFh6TUY7Wwdq5o Omkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject; bh=UPhKqUTthY0082/K6nrPy6G9l4l/BJaGFn4QA3/gIVM=; b=U0una3PmBV4KliOe9YsaLiWe6MwroYiKI1tQN3bg4Wc5fd14KW9rdMcIU++s/f6KCD jddFjTdBL6iplBQ03SNGwRTmTxHlW0Zh7qMrJjkhmEHmxCkWn/5N1X+Pulbg0ttGAD88 JuoM92+uz8+JxKRu+gPB42DEdtLdK96cQLAKp8ks5prNzXB+opeSY2+C764RdHlLqSp7 cMn6SVVSf3vQ6BFwDNUCzngqIJVeNI+9Csw38/I4Y6Z+ecXjXq79WV0xbFhEPcTCwEss 5fXGFJoCsAwbpBXhUzggTdqvzBNE3oMZ1rIZIanx80+g2PX2Td1z9Q0GYQULDqtGEo3h b3+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n88si16518657pjc.7.2019.05.26.23.32.09; Sun, 26 May 2019 23:32:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726106AbfE0Gal (ORCPT + 99 others); Mon, 27 May 2019 02:30:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60756 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbfE0Gal (ORCPT ); Mon, 27 May 2019 02:30:41 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EC79E3092647; Mon, 27 May 2019 06:30:40 +0000 (UTC) Received: from thuth.remote.csb (ovpn-116-235.ams2.redhat.com [10.36.116.235]) by smtp.corp.redhat.com (Postfix) with ESMTP id 47AEB1001DC2; Mon, 27 May 2019 06:30:35 +0000 (UTC) Subject: Re: [Qemu-devel] Running linux on qemu omap To: Aaro Koskinen , Peter Maydell Cc: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Corentin Labbe , Tony Lindgren , Linux OMAP Mailing List , QEMU Developers , lkml - Kernel Mailing List References: <20190520190533.GA28160@Red> <20190521232323.GD3621@darkstar.musicnaut.iki.fi> <20190522093341.GA32154@Red> <20190522181904.GE3621@darkstar.musicnaut.iki.fi> <8977e2bb-8d9e-f4fd-4c44-b4f67e0e7314@redhat.com> <20190523183623.GB5234@darkstar.musicnaut.iki.fi> <20190524150018.GA3156@t60.musicnaut.iki.fi> <20190524185922.GA4597@t60.musicnaut.iki.fi> From: Thomas Huth Openpgp: preference=signencrypt Autocrypt: addr=thuth@redhat.com; keydata= xsFNBFH7eUwBEACzyOXKU+5Pcs6wNpKzrlJwzRl3VGZt95VCdb+FgoU9g11m7FWcOafrVRwU yYkTm9+7zBUc0sW5AuPGR/dp3pSLX/yFWsA/UB4nJsHqgDvDU7BImSeiTrnpMOTXb7Arw2a2 4CflIyFqjCpfDM4MuTmzTjXq4Uov1giGE9X6viNo1pxyEpd7PanlKNnf4PqEQp06X4IgUacW tSGj6Gcns1bCuHV8OPWLkf4hkRnu8hdL6i60Yxz4E6TqlrpxsfYwLXgEeswPHOA6Mn4Cso9O 0lewVYfFfsmokfAVMKWzOl1Sr0KGI5T9CpmRfAiSHpthhHWnECcJFwl72NTi6kUcUzG4se81 O6n9d/kTj7pzTmBdfwuOZ0YUSqcqs0W+l1NcASSYZQaDoD3/SLk+nqVeCBB4OnYOGhgmIHNW 0CwMRO/GK+20alxzk//V9GmIM2ACElbfF8+Uug3pqiHkVnKqM7W9/S1NH2qmxB6zMiJUHlTH gnVeZX0dgH27mzstcF786uPcdEqS0KJuxh2kk5IvUSL3Qn3ZgmgdxBMyCPciD/1cb7/Ahazr 3ThHQXSHXkH/aDXdfLsKVuwDzHLVSkdSnZdt5HHh75/NFHxwaTlydgfHmFFwodK8y/TjyiGZ zg2Kje38xnz8zKn9iesFBCcONXS7txENTzX0z80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zEc6iAv/wwjsc0DRTSQCpXT3v2ymTAsRKrVaEZLibTXaf+ WslxWek3xNYRiqwwWAJuL652eAlxUgQ5ZS+fXBRTiQpJ+F26I/2lccScRd9G5w== Organization: Red Hat Message-ID: <05bd307b-c8c5-4b12-be45-2d7933876aac@redhat.com> Date: Mon, 27 May 2019 08:30:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190524185922.GA4597@t60.musicnaut.iki.fi> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Mon, 27 May 2019 06:30:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/05/2019 20.59, Aaro Koskinen wrote: > Hi, > > On Fri, May 24, 2019 at 06:00:18PM +0300, Aaro Koskinen wrote: >> Please don't delete OMAP boards quite yet :) In the mainline kernel >> they are not orphaned, they frequently get tested using actual hardware, >> and QEMU would help in additional testing. I'll try to get N8x0 boot to >> work with the minimal kernel I use on real HW. > > So it was only a matter of attaching the serial console at the QEMU side > (a hackish patch at the end of the mail). Does not look too much hackish to me. Could you please send it as a proper patch to the list (with patch description and Signed-off-by line)? Thomas > > diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c > index 906b7ca22d43..52ff83ec5147 100644 > --- a/hw/arm/nseries.c > +++ b/hw/arm/nseries.c > @@ -792,6 +792,7 @@ static void n8x0_uart_setup(struct n800_s *s) > qdev_connect_gpio_out(s->mpu->gpio, N8X0_BT_WKUP_GPIO, > csrhci_pins_get(radio)[csrhci_pin_wakeup]); > > + omap_uart_attach(s->mpu->uart[2], serial_hd(0)); > omap_uart_attach(s->mpu->uart[BT_UART], radio); > } > >