All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto
@ 2014-09-12 16:35 Vicente Olivert Riera
  2014-09-12 16:35 ` [PATCH 1/2] Add support for MIPS32r2 Vicente Olivert Riera
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-09-12 16:35 UTC (permalink / raw)
  To: yocto

Add support for the MIPS Creator CI20 machine. That board has a MIPS32r2
architecture so we also add support for that.

Vicente Olivert Riera (2):
  Add support for MIPS32r2
  Add MIPS Creator CI20 machine

 meta-yocto-bsp/conf/machine/ci20.conf       |   10 ++++++++++
 meta/conf/machine/include/tune-mips32r2.inc |   25 +++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 meta-yocto-bsp/conf/machine/ci20.conf
 create mode 100644 meta/conf/machine/include/tune-mips32r2.inc



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

* [PATCH 1/2] Add support for MIPS32r2
  2014-09-12 16:35 [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Vicente Olivert Riera
@ 2014-09-12 16:35 ` Vicente Olivert Riera
  2014-09-12 16:35 ` [PATCH 2/2] Add MIPS Creator CI20 machine Vicente Olivert Riera
  2014-09-15  6:54 ` [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Andrea Adami
  2 siblings, 0 replies; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-09-12 16:35 UTC (permalink / raw)
  To: yocto

Add support for MIPS32r2.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 meta/conf/machine/include/tune-mips32r2.inc |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta/conf/machine/include/tune-mips32r2.inc

diff --git a/meta/conf/machine/include/tune-mips32r2.inc b/meta/conf/machine/include/tune-mips32r2.inc
new file mode 100644
index 0000000..b36d00a
--- /dev/null
+++ b/meta/conf/machine/include/tune-mips32r2.inc
@@ -0,0 +1,25 @@
+DEFAULTTUNE ?= "mips32r2"
+
+require conf/machine/include/mips/arch-mips.inc
+
+TUNEVALID[mips32r2] = "Enable mips32r2 specific processor optimizations"
+TUNECONFLICTS[mips32r2] = "n64 n32"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "mips32r2", " -march=mips32r2", "", d)}"
+
+AVAILTUNES += "mips32r2 mips32r2el mips32r2-nf mips32r2el-nf"
+
+TUNE_FEATURES_tune-mips32r2 = "${TUNE_FEATURES_tune-mips} mips32r2"
+MIPSPKGSFX_VARIANT_tune-mips32r2 = "mips32r2"
+PACKAGE_EXTRA_ARCHS_tune-mips32r2 = "mips mips32r2"
+
+TUNE_FEATURES_tune-mips32r2el = "${TUNE_FEATURES_tune-mipsel} mips32r2"
+MIPSPKGSFX_VARIANT_tune-mips32r2el = "mips32r2el"
+PACKAGE_EXTRA_ARCHS_tune-mips32r2el = "mipsel mips32r2el"
+
+TUNE_FEATURES_tune-mips32r2-nf = "${TUNE_FEATURES_tune-mips-nf} mips32r2"
+MIPSPKGSFX_VARIANT_tune-mips32r2-nf = "mips32r2"
+PACKAGE_EXTRA_ARCHS_tune-mips32r2-nf = "mips-nf mips32r2-nf"
+
+TUNE_FEATURES_tune-mips32r2el-nf = "${TUNE_FEATURES_tune-mipsr2el-nf} mips32r2"
+MIPSPKGSFX_VARIANT_tune-mips32r2el-nf = "mips32r2el"
+PACKAGE_EXTRA_ARCHS_tune-mips32r2el-nf = "mipsel-nf mips32r2el-nf"
-- 
1.7.1



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

* [PATCH 2/2] Add MIPS Creator CI20 machine
  2014-09-12 16:35 [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Vicente Olivert Riera
  2014-09-12 16:35 ` [PATCH 1/2] Add support for MIPS32r2 Vicente Olivert Riera
@ 2014-09-12 16:35 ` Vicente Olivert Riera
  2014-09-12 16:57   ` Bruce Ashfield
  2014-09-15  6:54 ` [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Andrea Adami
  2 siblings, 1 reply; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-09-12 16:35 UTC (permalink / raw)
  To: yocto

Add support for the MIPS Creator CI20 machine. You will need to build a
working kernel for this board using this kernel repository on GitHub:

  https://github.com/MIPS/CI20_linux

More information about this board can be found at:

  http://elinux.org/MIPS_Creator_CI20

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
 meta-yocto-bsp/conf/machine/ci20.conf |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 meta-yocto-bsp/conf/machine/ci20.conf

diff --git a/meta-yocto-bsp/conf/machine/ci20.conf b/meta-yocto-bsp/conf/machine/ci20.conf
new file mode 100644
index 0000000..bd26815
--- /dev/null
+++ b/meta-yocto-bsp/conf/machine/ci20.conf
@@ -0,0 +1,10 @@
+#@TYPE: Machine
+#@NAME: CI20
+#@DESCRIPTION: MIPS Creator CI20
+
+require conf/machine/include/tune-mips32r2.inc
+
+DEFAULTTUNE = "mips32r2el"
+MACHINE_FEATURES = "serial"
+SERIAL_CONSOLE = "115200 ttyS4"
+IMAGE_FSTYPES ?= "tar.bz2"
-- 
1.7.1



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

* Re: [PATCH 2/2] Add MIPS Creator CI20 machine
  2014-09-12 16:35 ` [PATCH 2/2] Add MIPS Creator CI20 machine Vicente Olivert Riera
@ 2014-09-12 16:57   ` Bruce Ashfield
  2014-09-12 20:10     ` Burton, Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Bruce Ashfield @ 2014-09-12 16:57 UTC (permalink / raw)
  To: Vicente Olivert Riera, yocto

On 14-09-12 12:35 PM, Vicente Olivert Riera wrote:
> Add support for the MIPS Creator CI20 machine. You will need to build a
> working kernel for this board using this kernel repository on GitHub:
>
>    https://github.com/MIPS/CI20_linux
>
> More information about this board can be found at:
>
>    http://elinux.org/MIPS_Creator_CI20

All of the meta-yocto-bsp reference machines are using the kernel, and
kernel version of linux-yocto* so we can ensure a consistent update
cadence and set of features.

Something that I'd like to see continue.

I can see how the ability to re-use the tune files makes sense, but
the BSP should follow the format and structure of the existing ones,
otherwise, the value in pulling it into the common layers isn't there.

Bruce

>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
>   meta-yocto-bsp/conf/machine/ci20.conf |   10 ++++++++++
>   1 files changed, 10 insertions(+), 0 deletions(-)
>   create mode 100644 meta-yocto-bsp/conf/machine/ci20.conf
>
> diff --git a/meta-yocto-bsp/conf/machine/ci20.conf b/meta-yocto-bsp/conf/machine/ci20.conf
> new file mode 100644
> index 0000000..bd26815
> --- /dev/null
> +++ b/meta-yocto-bsp/conf/machine/ci20.conf
> @@ -0,0 +1,10 @@
> +#@TYPE: Machine
> +#@NAME: CI20
> +#@DESCRIPTION: MIPS Creator CI20
> +
> +require conf/machine/include/tune-mips32r2.inc
> +
> +DEFAULTTUNE = "mips32r2el"
> +MACHINE_FEATURES = "serial"
> +SERIAL_CONSOLE = "115200 ttyS4"
> +IMAGE_FSTYPES ?= "tar.bz2"
>



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

* Re: [PATCH 2/2] Add MIPS Creator CI20 machine
  2014-09-12 16:57   ` Bruce Ashfield
@ 2014-09-12 20:10     ` Burton, Ross
  0 siblings, 0 replies; 7+ messages in thread
From: Burton, Ross @ 2014-09-12 20:10 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto@yoctoproject.org

On 12 September 2014 17:57, Bruce Ashfield <bruce.ashfield@windriver.com> wrote:
> On 14-09-12 12:35 PM, Vicente Olivert Riera wrote:
>>
>> Add support for the MIPS Creator CI20 machine. You will need to build a
>> working kernel for this board using this kernel repository on GitHub:
>>
>>    https://github.com/MIPS/CI20_linux
>>
>> More information about this board can be found at:
>>
>>    http://elinux.org/MIPS_Creator_CI20
>
>
> All of the meta-yocto-bsp reference machines are using the kernel, and
> kernel version of linux-yocto* so we can ensure a consistent update
> cadence and set of features.
>
> Something that I'd like to see continue.
>
> I can see how the ability to re-use the tune files makes sense, but
> the BSP should follow the format and structure of the existing ones,
> otherwise, the value in pulling it into the common layers isn't there.

What Bruce said.  You've a specific machine that needs a specific
kernel, so this can happily live on as a Yocto-compatible BSP layer
outside of meta-yocto.

Ross


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

* Re: [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto
  2014-09-12 16:35 [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Vicente Olivert Riera
  2014-09-12 16:35 ` [PATCH 1/2] Add support for MIPS32r2 Vicente Olivert Riera
  2014-09-12 16:35 ` [PATCH 2/2] Add MIPS Creator CI20 machine Vicente Olivert Riera
@ 2014-09-15  6:54 ` Andrea Adami
  2014-09-15 11:15   ` Vicente Olivert Riera
  2 siblings, 1 reply; 7+ messages in thread
From: Andrea Adami @ 2014-09-15  6:54 UTC (permalink / raw)
  To: Vicente Olivert Riera; +Cc: yocto@yoctoproject.org

On Fri, Sep 12, 2014 at 6:35 PM, Vicente Olivert Riera
<Vincent.Riera@imgtec.com> wrote:
> Add support for the MIPS Creator CI20 machine. That board has a MIPS32r2
> architecture so we also add support for that.
>
> Vicente Olivert Riera (2):
>   Add support for MIPS32r2
>   Add MIPS Creator CI20 machine
>
>  meta-yocto-bsp/conf/machine/ci20.conf       |   10 ++++++++++
>  meta/conf/machine/include/tune-mips32r2.inc |   25 +++++++++++++++++++++++++
>  2 files changed, 35 insertions(+), 0 deletions(-)
>  create mode 100644 meta-yocto-bsp/conf/machine/ci20.conf
>  create mode 100644 meta/conf/machine/include/tune-mips32r2.inc
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Hi Vicente,

there is already some support for mips32r2 (see
include/tune-mips32r2.inc) in oe-core master.
It looks like your patch is extending it so please rebase and resend
the patch to openembedded-core@lists.openembedded.org for review.

Thanks

Andrea


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

* Re: [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto
  2014-09-15  6:54 ` [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Andrea Adami
@ 2014-09-15 11:15   ` Vicente Olivert Riera
  0 siblings, 0 replies; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-09-15 11:15 UTC (permalink / raw)
  To: Andrea Adami; +Cc: yocto@yoctoproject.org

On 09/15/2014 07:54 AM, Andrea Adami wrote:
> On Fri, Sep 12, 2014 at 6:35 PM, Vicente Olivert Riera
> <Vincent.Riera@imgtec.com> wrote:
>> Add support for the MIPS Creator CI20 machine. That board has a MIPS32r2
>> architecture so we also add support for that.
>>
>> Vicente Olivert Riera (2):
>>    Add support for MIPS32r2
>>    Add MIPS Creator CI20 machine
>>
>>   meta-yocto-bsp/conf/machine/ci20.conf       |   10 ++++++++++
>>   meta/conf/machine/include/tune-mips32r2.inc |   25 +++++++++++++++++++++++++
>>   2 files changed, 35 insertions(+), 0 deletions(-)
>>   create mode 100644 meta-yocto-bsp/conf/machine/ci20.conf
>>   create mode 100644 meta/conf/machine/include/tune-mips32r2.inc
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
> Hi Vicente,
>
> there is already some support for mips32r2 (see
> include/tune-mips32r2.inc) in oe-core master.
> It looks like your patch is extending it so please rebase and resend
> the patch to openembedded-core@lists.openembedded.org for review.
>
> Thanks
>
> Andrea
>

Yeah, I have noticed there is support for mips32r2 hard-float in Yocto's 
master branch. I was cloning the Daisy branch.

mips32r2 hard-float is all I need, so by now I'm not going to make any 
change to that file.

Thanks.

-- 
Vincent


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

end of thread, other threads:[~2014-09-15 11:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12 16:35 [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Vicente Olivert Riera
2014-09-12 16:35 ` [PATCH 1/2] Add support for MIPS32r2 Vicente Olivert Riera
2014-09-12 16:35 ` [PATCH 2/2] Add MIPS Creator CI20 machine Vicente Olivert Riera
2014-09-12 16:57   ` Bruce Ashfield
2014-09-12 20:10     ` Burton, Ross
2014-09-15  6:54 ` [PATCH 0/2] Add support for MIPS32r2 and CI20 to Yocto Andrea Adami
2014-09-15 11:15   ` Vicente Olivert Riera

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.