[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4881796E12491D4BB15146FE0209CE64681D4DC3@DE02WEMBXB.internal.synopsys.com>
Date: Tue, 5 Feb 2019 16:51:20 +0000
From: Alexey Brodkin <alexey.brodkin@...opsys.com>
To: Vineet Gupta <vineet.gupta1@...opsys.com>,
"clabbe@...libre.com" <clabbe@...libre.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alexey.brodkin@...opsys.com" <alexey.brodkin@...opsys.com>,
"khilman@...libre.com" <khilman@...libre.com>,
"linux-snps-arc@...ts.infradead.org"
<linux-snps-arc@...ts.infradead.org>,
Eugeniy Paltsev <eugeniy.paltsev@...opsys.com>
Subject: RE: [PATCH 2/2] arc: hsdk_defconfig: enable CONFIG_ARC_UBOOT_SUPPORT
Hi Vineet, Corentin,
> -----Original Message-----
> From: Vineet Gupta <vgupta@...opsys.com>
> Sent: Tuesday, February 5, 2019 7:42 PM
> To: Eugeniy Paltsev <paltsev@...opsys.com>; clabbe@...libre.com
> Cc: linux-kernel@...r.kernel.org; alexey.brodkin@...opsys.com; khilman@...libre.com; linux-snps-
> arc@...ts.infradead.org
> Subject: Re: [PATCH 2/2] arc: hsdk_defconfig: enable CONFIG_ARC_UBOOT_SUPPORT
>
> On 2/5/19 3:42 AM, Eugeniy Paltsev wrote:
> > Hi Corentin,
> >
> > In case of devboards (like HSDK) we really often disable bootloader and load
> > Linux image in memory via JTAG. Enabling CONFIG_ARC_UBOOT_SUPPORT by
> > default will break it as we will try to interpret some junk in a registers
> > as a pointers to bootargs/etc which aren't set by anyone in case of JTAG using.
> >
> > So it isn't a good idea to have CONFIG_ARC_UBOOT_SUPPORT enabled by default.
>
> Right.
>
> It is difficult to accommodate everyone's needs (often conflicting) in a single
> defconfig.
> Can you folks create an out-of-tree defconfig or some such.
I do think there's a proper solution which [hopefully] makes both parties happy.
Eugeniy is about to send-out a patch which allows us to not care about
garbage in R0/R2 when running after U-Boot.
-Alexey
Powered by blists - more mailing lists