Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751566AbaGZPRj (ORCPT ); Sat, 26 Jul 2014 11:17:39 -0400 Received: from mail.active-venture.com ([67.228.131.205]:57250 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbaGZPRh (ORCPT ); Sat, 26 Jul 2014 11:17:37 -0400 X-Originating-IP: 108.223.40.66 Message-ID: <53D3C68D.8010703@roeck-us.net> Date: Sat, 26 Jul 2014 08:17:33 -0700 From: Guenter Roeck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Grant Likely , Rob Herring , Vineet Gupta CC: linux-next , Anton Kolesov , lkml , greg Kroah-Hartman , "linux-serial@vger.kernel.org" , devicetree@vger.ker Subject: Re: ARC fails to boot on linux-next of 20140711 References: <20140726053344.95800C40C93@trevor.secretlab.ca> In-Reply-To: <20140726053344.95800C40C93@trevor.secretlab.ca> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/25/2014 10:33 PM, Grant Likely wrote: > On Fri, 25 Jul 2014 09:15:22 -0500, Rob Herring wrote: >> On Fri, Jul 25, 2014 at 6:02 AM, Vineet Gupta >> wrote: >>> Hi Grant, >>> >>> linux-next has a series for arc_uart (via tty tree) which converts it to generic >>> earlycon and specifies console via /chosen/stdout-path vs. an explicit param in >>> /chose/bootargs >>> >>> 2014-06-24 9da433c0a0b5 ARC: [arcfpga] stdout-path now suffices for earlycon/console >>> >>> This relied on prev commit of yours (from linux next of 20140711), which seem to >>> have disappeared now. >>> >>> 2014-03-27 a9296cf2d0b6 of: Create of_console_check() for selecting a console >>> specified in /chosen >>> 2014-03-27 cfa9cacc5dd3 of: Enable console on serial ports specified by >>> /chosen/stdout-path >>> >>> Is there a specific reason for dropping these patches (or perhaps a merge to be >>> merged). I cherry-picked both but still doesn't work. >>> >>> Can you please advise next step forward, before I go off debugging with those >>> patches in. >> >> There's an issue that if you have stdout-path and "earlycon" on the >> command line, the kernel will switch to tty0 and disable the earlycon. >> >> This is the "fix", but I don't like adding the DT dependency into generic code: > > Yes, I'm not fond of it either. I've not been able to test it though and > work out a proper bug fix. As far as I can understand, the earlycon code > only works on aarch64, correct? I haven't been able to get an aarch64 > boot working in QEMU yet. > Have a look at [1]. This worked for me with the latest qemu and the latest pre-built root file system from [2]. Guenter --- [1] http://www.bennee.com/~alex/blog/2014/05/09/running-linux-in-qemus-aarch64-system-emulation-mode/ [2] http://people.linaro.org/~alex.bennee/images/aarch64-linux-3.16rc3-buildroot.img -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/