From: Ian Campbell Subject: Re: [RFC 6/6] xen/arm: Replace early_printk call to printk call Date: Thu, 20 Feb 2014 11:05:51 +0000 Message-ID: <1392894351.23342.22.camel@kazak.uk.xensource.com> References: <1388957191-10337-1-git-send-email-julien.grall@linaro.org> <1388957191-10337-7-git-send-email-julien.grall@linaro.org> <1392808847.23084.138.camel@kazak.uk.xensource.com> <5304F058.6090503@linaro.org> <1392887074.22494.7.camel@kazak.uk.xensource.com> <5305E090.4030602@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WGRS0-0000UG-0Z for xen-devel@lists.xenproject.org; Thu, 20 Feb 2014 11:05:56 +0000 In-Reply-To: <5305E090.4030602@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, stefano.stabellini@eu.citrix.com, tim@xen.org, patches@linaro.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-02-20 at 11:01 +0000, Julien Grall wrote: > > On 20/02/14 09:04, Ian Campbell wrote: > > I was actually thinking more along the lines of a .word at a defined > > offset which you could hex edit to a specific value to activate a > > particular flavour of early printk handling. That would be sufficient > > e.g. for osstest to activate the appropriate stuff for the specific > > platform. > > I don't see useful use case to have a such early printk implementation > in Xen. When the board is fully supported, failed at early stage (e.g > before console is initialized) is very unlikely. At least if you don't > play with memory. a) there are boards which aren't fully supported, getting some debug out of a distro package might be useful b) even for boards which are fully supported there may still be bugs which only appear under particular circumstances. Ian.