All of lore.kernel.org
 help / color / mirror / Atom feed
* Support CONFIG_CMDLINE for arm64?
@ 2015-06-25 22:02 Bjorn Helgaas
  2015-06-26  8:15 ` Heiko Stübner
  0 siblings, 1 reply; 5+ messages in thread
From: Bjorn Helgaas @ 2015-06-25 22:02 UTC (permalink / raw)
  To: linux-arm-kernel

arch/arm64/Kconfig mentions CONFIG_CMDLINE, but I don't see any actual
support for it.  Would you be interested in support for it?  Or would
you rather remove it from Kconfig?

Bjorn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Support CONFIG_CMDLINE for arm64?
  2015-06-25 22:02 Support CONFIG_CMDLINE for arm64? Bjorn Helgaas
@ 2015-06-26  8:15 ` Heiko Stübner
  2015-06-26 13:11   ` Catalin Marinas
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Stübner @ 2015-06-26  8:15 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Bjorn,

Am Donnerstag, 25. Juni 2015, 17:02:41 schrieb Bjorn Helgaas:
> arch/arm64/Kconfig mentions CONFIG_CMDLINE, but I don't see any actual
> support for it.  Would you be interested in support for it?  Or would
> you rather remove it from Kconfig?

just stumbled over your mail by chance.

CONFIG_CMDLINE is for example included in drivers/of/fdt.c, so will be handled 
correctly for devicetree-based arm64 platforms - and I'm actually using it on 
my rk3368 board :-) .


Heiko

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Support CONFIG_CMDLINE for arm64?
  2015-06-26  8:15 ` Heiko Stübner
@ 2015-06-26 13:11   ` Catalin Marinas
  2015-06-26 14:10     ` Bjorn Helgaas
  0 siblings, 1 reply; 5+ messages in thread
From: Catalin Marinas @ 2015-06-26 13:11 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 26, 2015 at 10:15:47AM +0200, Heiko St?bner wrote:
> Am Donnerstag, 25. Juni 2015, 17:02:41 schrieb Bjorn Helgaas:
> > arch/arm64/Kconfig mentions CONFIG_CMDLINE, but I don't see any actual
> > support for it.  Would you be interested in support for it?  Or would
> > you rather remove it from Kconfig?
> 
> just stumbled over your mail by chance.
> 
> CONFIG_CMDLINE is for example included in drivers/of/fdt.c, so will be handled 
> correctly for devicetree-based arm64 platforms - and I'm actually using it on 
> my rk3368 board :-) .

Indeed. The early_init_dt_scan_chosen() takes it into account.

-- 
Catalin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Support CONFIG_CMDLINE for arm64?
  2015-06-26 13:11   ` Catalin Marinas
@ 2015-06-26 14:10     ` Bjorn Helgaas
  2015-06-26 14:57       ` Heiko Stübner
  0 siblings, 1 reply; 5+ messages in thread
From: Bjorn Helgaas @ 2015-06-26 14:10 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jun 26, 2015 at 8:11 AM, Catalin Marinas
<catalin.marinas@arm.com> wrote:
> On Fri, Jun 26, 2015 at 10:15:47AM +0200, Heiko St?bner wrote:
>> Am Donnerstag, 25. Juni 2015, 17:02:41 schrieb Bjorn Helgaas:
>> > arch/arm64/Kconfig mentions CONFIG_CMDLINE, but I don't see any actual
>> > support for it.  Would you be interested in support for it?  Or would
>> > you rather remove it from Kconfig?
>>
>> just stumbled over your mail by chance.
>>
>> CONFIG_CMDLINE is for example included in drivers/of/fdt.c, so will be handled
>> correctly for devicetree-based arm64 platforms - and I'm actually using it on
>> my rk3368 board :-) .
>
> Indeed. The early_init_dt_scan_chosen() takes it into account.

Excellent, now I just have to figure out why it's not working for me
:)  Thanks for the pointer!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Support CONFIG_CMDLINE for arm64?
  2015-06-26 14:10     ` Bjorn Helgaas
@ 2015-06-26 14:57       ` Heiko Stübner
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Stübner @ 2015-06-26 14:57 UTC (permalink / raw)
  To: linux-arm-kernel

Am Freitag, 26. Juni 2015, 09:10:37 schrieb Bjorn Helgaas:
> On Fri, Jun 26, 2015 at 8:11 AM, Catalin Marinas
> 
> <catalin.marinas@arm.com> wrote:
> > On Fri, Jun 26, 2015 at 10:15:47AM +0200, Heiko St?bner wrote:
> >> Am Donnerstag, 25. Juni 2015, 17:02:41 schrieb Bjorn Helgaas:
> >> > arch/arm64/Kconfig mentions CONFIG_CMDLINE, but I don't see any actual
> >> > support for it.  Would you be interested in support for it?  Or would
> >> > you rather remove it from Kconfig?
> >> 
> >> just stumbled over your mail by chance.
> >> 
> >> CONFIG_CMDLINE is for example included in drivers/of/fdt.c, so will be
> >> handled correctly for devicetree-based arm64 platforms - and I'm
> >> actually using it on my rk3368 board :-) .
> > 
> > Indeed. The early_init_dt_scan_chosen() takes it into account.
> 
> Excellent, now I just have to figure out why it's not working for me

try with CONFIG_CMDLINE_FORCE? Without it CONFIG_CMDLINE is only used when the 
dts itself does not contain a bootargs property.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-26 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-25 22:02 Support CONFIG_CMDLINE for arm64? Bjorn Helgaas
2015-06-26  8:15 ` Heiko Stübner
2015-06-26 13:11   ` Catalin Marinas
2015-06-26 14:10     ` Bjorn Helgaas
2015-06-26 14:57       ` Heiko Stübner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.