All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm-extra][PATCH] imx6dl-riotboard: Add support for RIoT board
@ 2014-10-24 18:50 Daiane Angolini
  2014-10-24 19:09 ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Daiane Angolini @ 2014-10-24 18:50 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
 conf/machine/imx6dl-riotboard.conf | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 conf/machine/imx6dl-riotboard.conf

diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf
new file mode 100644
index 0000000..fc6dd42
--- /dev/null
+++ b/conf/machine/imx6dl-riotboard.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: RIoTboard
+#@SOC: i.MX6S
+#@DESCRIPTION: Machine configuration for i.MX6S RIoTboard.
+#@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com>
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+SOC_FAMILY = "mx6:mx6dl"
+
+UBOOT_MACHINE = "riotboard_defconfig"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
+KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
-- 
1.9.1



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

* Re: [meta-fsl-arm-extra][PATCH] imx6dl-riotboard: Add support for RIoT board
  2014-10-24 18:50 [meta-fsl-arm-extra][PATCH] imx6dl-riotboard: Add support for RIoT board Daiane Angolini
@ 2014-10-24 19:09 ` Fabio Estevam
  2014-10-24 19:56   ` Eric Bénard
  2014-10-24 20:02   ` Gary Thomas
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2014-10-24 19:09 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org

On Fri, Oct 24, 2014 at 4:50 PM, Daiane Angolini
<daiane.angolini@freescale.com> wrote:
> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>

A brief commit log would be helpful and also a link to
http://riotboard.org/ could help so people can know the details about
the board.

> ---
>  conf/machine/imx6dl-riotboard.conf | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 conf/machine/imx6dl-riotboard.conf
>
> diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf
> new file mode 100644
> index 0000000..fc6dd42
> --- /dev/null
> +++ b/conf/machine/imx6dl-riotboard.conf
> @@ -0,0 +1,17 @@
> +#@TYPE: Machine
> +#@NAME: RIoTboard
> +#@SOC: i.MX6S
> +#@DESCRIPTION: Machine configuration for i.MX6S RIoTboard.
> +#@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com>
> +
> +include conf/machine/include/imx-base.inc
> +include conf/machine/include/tune-cortexa9.inc
> +
> +SOC_FAMILY = "mx6:mx6dl"
> +
> +UBOOT_MACHINE = "riotboard_defconfig"
> +
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
> +KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
> +
> +SERIAL_CONSOLE = "115200 ttymxc1"

Patch looks good, but just a general comment about SERIAL_CONSOLE: do
we really need to hardcode the ttymxcX node in the conf files?

Can't this just be passed by the bootloader or via 'stdout-path' in the dts?

If someone wants to test this same rootfs on a board that uses ttymxc0
then it is not possible due to the mismatch caused by SERIAL_CONSOLE.

What happens if SERIAL_CONSOLE is not passed or if only
"SERIAL_CONSOLE = "115200" is passed?


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

* Re: [meta-fsl-arm-extra][PATCH] imx6dl-riotboard: Add support for RIoT board
  2014-10-24 19:09 ` Fabio Estevam
@ 2014-10-24 19:56   ` Eric Bénard
  2014-10-24 20:02   ` Gary Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Bénard @ 2014-10-24 19:56 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org

Hi Daiane, Hi Fabio,

Le Fri, 24 Oct 2014 17:09:55 -0200,
Fabio Estevam <festevam@gmail.com> a écrit :

> 
> On Fri, Oct 24, 2014 at 4:50 PM, Daiane Angolini
> <daiane.angolini@freescale.com> wrote:
> > Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
> 
> A brief commit log would be helpful and also a link to
> http://riotboard.org/ could help so people can know the details about
> the board.
> 
also it would be usefull to explain that the generated uboot is
configured by default for usage on the external SDCard and not for the
internal eMMC.
> > ---
> >  conf/machine/imx6dl-riotboard.conf | 17 +++++++++++++++++
> >  1 file changed, 17 insertions(+)
> >  create mode 100644 conf/machine/imx6dl-riotboard.conf
> >
> > diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf
> > new file mode 100644
> > index 0000000..fc6dd42
> > --- /dev/null
> > +++ b/conf/machine/imx6dl-riotboard.conf
> > @@ -0,0 +1,17 @@
> > +#@TYPE: Machine
> > +#@NAME: RIoTboard
> > +#@SOC: i.MX6S
> > +#@DESCRIPTION: Machine configuration for i.MX6S RIoTboard.
> > +#@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com>
> > +
> > +include conf/machine/include/imx-base.inc
> > +include conf/machine/include/tune-cortexa9.inc
> > +
> > +SOC_FAMILY = "mx6:mx6dl"
> > +
> > +UBOOT_MACHINE = "riotboard_defconfig"
> > +
> > +PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
> > +KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
> > +
> > +SERIAL_CONSOLE = "115200 ttymxc1"
> 
> Patch looks good, but just a general comment about SERIAL_CONSOLE: do
> we really need to hardcode the ttymxcX node in the conf files?
> 
> Can't this just be passed by the bootloader or via 'stdout-path' in the dts?
> 
> If someone wants to test this same rootfs on a board that uses ttymxc0
> then it is not possible due to the mismatch caused by SERIAL_CONSOLE.
> 
> What happens if SERIAL_CONSOLE is not passed or if only
> "SERIAL_CONSOLE = "115200" is passed?

SERIAL_CONSOLE is used by systemd-serialgetty ou sysvinit-inittab to
launch getty on the console so actually this is nedded to get a login
prompt so the device name is actually necessary.

Eric


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

* Re: [meta-fsl-arm-extra][PATCH] imx6dl-riotboard: Add support for RIoT board
  2014-10-24 19:09 ` Fabio Estevam
  2014-10-24 19:56   ` Eric Bénard
@ 2014-10-24 20:02   ` Gary Thomas
  1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2014-10-24 20:02 UTC (permalink / raw)
  To: meta-freescale

On 2014-10-24 13:09, Fabio Estevam wrote:
> On Fri, Oct 24, 2014 at 4:50 PM, Daiane Angolini
> <daiane.angolini@freescale.com> wrote:
>> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
>
> A brief commit log would be helpful and also a link to
> http://riotboard.org/ could help so people can know the details about
> the board.
>
>> ---
>>   conf/machine/imx6dl-riotboard.conf | 17 +++++++++++++++++
>>   1 file changed, 17 insertions(+)
>>   create mode 100644 conf/machine/imx6dl-riotboard.conf
>>
>> diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf
>> new file mode 100644
>> index 0000000..fc6dd42
>> --- /dev/null
>> +++ b/conf/machine/imx6dl-riotboard.conf
>> @@ -0,0 +1,17 @@
>> +#@TYPE: Machine
>> +#@NAME: RIoTboard
>> +#@SOC: i.MX6S
>> +#@DESCRIPTION: Machine configuration for i.MX6S RIoTboard.
>> +#@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com>
>> +
>> +include conf/machine/include/imx-base.inc
>> +include conf/machine/include/tune-cortexa9.inc
>> +
>> +SOC_FAMILY = "mx6:mx6dl"
>> +
>> +UBOOT_MACHINE = "riotboard_defconfig"
>> +
>> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>> +KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>> +
>> +SERIAL_CONSOLE = "115200 ttymxc1"
>
> Patch looks good, but just a general comment about SERIAL_CONSOLE: do
> we really need to hardcode the ttymxcX node in the conf files?
>
> Can't this just be passed by the bootloader or via 'stdout-path' in the dts?
>
> If someone wants to test this same rootfs on a board that uses ttymxc0
> then it is not possible due to the mismatch caused by SERIAL_CONSOLE.
>
> What happens if SERIAL_CONSOLE is not passed or if only
> "SERIAL_CONSOLE = "115200" is passed?
>

At least if you are using sysvinit, this is how the choice of
where to put the system login is specified.  (I'm not sure of
systemd - I don't use that)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

end of thread, other threads:[~2014-10-24 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 18:50 [meta-fsl-arm-extra][PATCH] imx6dl-riotboard: Add support for RIoT board Daiane Angolini
2014-10-24 19:09 ` Fabio Estevam
2014-10-24 19:56   ` Eric Bénard
2014-10-24 20:02   ` Gary Thomas

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.