Skip to contentSkip to conversation

Added support for i.MX6 series Nitrogen6w board Signed-off-by: Pushpalatha <[email protected]>

PATCH In review Pushpalatha 4 participants 6 messages Dec 17, 2012 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added support for i.MX6 series Nitrogen6w board Signed-off-by: Pushpalatha <[email protected]>

---
 conf/machine/imx6qnitrogen6w.conf                  |    18 +
 .../support_nitrogen6x_config.patch                | 27324 +++++++++++++++++++
 recipes-bsp/u-boot/u-boot-fslc_2012.10.bb          |     2 +
 .../linux-imx-3.0.35/imx6qnitrogen6w/defconfig     |  3020 ++
 .../support_for_nitrogen6_configuration.patch      | 11469 ++++++++
 recipes-kernel/linux/linux-imx_3.0.35.bb           |     3 +
 6 files changed, 41836 insertions(+)
 create mode 100644 conf/machine/imx6qnitrogen6w.conf
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch
conf/machine/imx6qnitrogen6w.conf new file +18 -0
new file mode 100644
index 0000000..474ab26
@@ -0,0 +1,18 @@
+#@TYPE: Machine
+#@NAME: i.MX6Q Nitrogen6w
+#@DESCRIPTION: Machine configuration for Freescale i.MX6Q Nitrogen6W
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+SOC_FAMILY = "mx6q:mx6"
+
+KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx6q-nitrogen6w.dts"
+
+UBOOT_MACHINE = "nitrogen6x_config"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_FEATURES += " pci wifi bluetooth"
+
+
recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch new file +27324 -0

2,982 lines not on this page · raw message

recipes-bsp/u-boot/u-boot-fslc_2012.10.bb +2 -0
index 7db9339..04848a6 100644

Lines of this file are not shown. View the raw message.

recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig new file +3020 -0

3,020 lines not on this page · raw message

recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch new file +11469 -0

11,469 lines not on this page · raw message

recipes-kernel/linux/linux-imx_3.0.35.bb +3 -0
index 4aa5f08..a3f876e 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.8.0

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 9 lines · Pushpalatha
---
 conf/machine/imx6qnitrogen6w.conf                  |    18 +
 .../support_nitrogen6x_config.patch                | 27324 +++++++++++++++++++
 recipes-bsp/u-boot/u-boot-fslc_2012.10.bb          |     2 +
 .../linux-imx-3.0.35/imx6qnitrogen6w/defconfig     |  3020 ++
 .../support_for_nitrogen6_configuration.patch      | 11469 ++++++++
 recipes-kernel/linux/linux-imx_3.0.35.bb           |     3 +
 6 files changed, 41836 insertions(+)
 create mode 100644 conf/machine/imx6qnitrogen6w.conf

This board should be included on meta-fsl-arm-extra. Could you, please, rebase your patches for that project?

Quoted 1 line
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch

Please, take a look https://github.com/Freescale/u-boot-imx
This is where we get u-boot from. It´s a fork of mainline one (denx) plus some patches to include some patches that will be included on next u-boot version or some patches to configure something rellated with yocto (for example, scripts for inicialization).

I think it´s better to include your board (nitrogen6w) patches on that repository instead for supporting those patches on the recipe.

But, the main question here is: Does u-boot mainline support nitrogen6x/nitrogen6w?

What´s the difference between nitrogen6x and nitrogen6w? May this board use nitrogen6x support someway?

Otavio, could you, please, comment on this? I think it would only a matter of MACHINE_FEATURE.

Quoted 2 lines
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch

The same is applicable to kernel. Apply patches in git repository and then update kernel recipe.

Daiane

#2 lore raw
Quoted 12 lines · Daiane Angolini
Quoted 9 lines · Pushpalatha
---
 conf/machine/imx6qnitrogen6w.conf                  |    18 +
 .../support_nitrogen6x_config.patch                | 27324 +++++++++++++++++++
 recipes-bsp/u-boot/u-boot-fslc_2012.10.bb          |     2 +
 .../linux-imx-3.0.35/imx6qnitrogen6w/defconfig     |  3020 ++
 .../support_for_nitrogen6_configuration.patch      | 11469 ++++++++
 recipes-kernel/linux/linux-imx_3.0.35.bb           |     3 +
 6 files changed, 41836 insertions(+)
 create mode 100644 conf/machine/imx6qnitrogen6w.conf
Quoted 2 lines

This board should be included on meta-fsl-arm-extra. Could you, please, rebase your patches for that project?

In fact I think the board we have at meta-fsl-arm ought to work just fine. I am unsure we need another board as I have added the wifi firmware there too and Eric has tested it.

Eric, can you comment on this?

Quoted 8 lines
Quoted 1 line
 create mode 100644 recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch

Please, take a look https://github.com/Freescale/u-boot-imx
This is where we get u-boot from. It´s a fork of mainline one (denx) plus some patches to include some patches that will be included on next u-boot version or some patches to configure something rellated with yocto (for example, scripts for inicialization).

Quoted 5 lines

I think it´s better to include your board (nitrogen6w) patches on that repository instead for supporting those patches on the recipe.

But, the main question here is: Does u-boot mainline support nitrogen6x/nitrogen6w?

Not yet. That's why I included u-boot-boundary recipe.

Quoted 5 lines

What´s the difference between nitrogen6x and nitrogen6w? May this board use nitrogen6x support someway?

Otavio, could you, please, comment on this? I think it would only a matter of MACHINE_FEATURE.

Yes, I think we can have it in same machine except if there're real difference between them.

Quoted 5 lines
Quoted 2 lines
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig
 create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch

The same is applicable to kernel. Apply patches in git repository and then update kernel recipe.

I did not compare the patches but I think it should be the same we have for sabrelite; in this case we can use overrides to avoid the duplication (again, done in nitrogen6x board in extra repository).

Eric, please give us some light about the board difference?

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#3 lore raw

Hi Otavio,

Quoted 13 lines · Otavio Salvador
Quoted 12 lines · Daiane Angolini
Quoted 9 lines · Pushpalatha
---
  conf/machine/imx6qnitrogen6w.conf                  |    18 +
  .../support_nitrogen6x_config.patch                | 27324 +++++++++++++++++++
  recipes-bsp/u-boot/u-boot-fslc_2012.10.bb          |     2 +
  .../linux-imx-3.0.35/imx6qnitrogen6w/defconfig     |  3020 ++
  .../support_for_nitrogen6_configuration.patch      | 11469 ++++++++
  recipes-kernel/linux/linux-imx_3.0.35.bb           |     3 +
  6 files changed, 41836 insertions(+)

create mode 100644 conf/machine/imx6qnitrogen6w.conf

Quoted 7 lines
Quoted 2 lines

This board should be included on meta-fsl-arm-extra. Could you, please, rebase your patches for that project?

In fact I think the board we have at meta-fsl-arm ought to work just fine. I am unsure we need another board as I have added the wifi firmware there too and Eric has tested it.

Confirmed. I built using machine type nitrogen6x and ran the result on both SABRE Lite and Nitrogen6X.

Quoted 18 lines

Eric, can you comment on this?

Quoted 8 lines
Quoted 1 line

create mode 100644 recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch

Please, take a look https://github.com/Freescale/u-boot-imx
This is where we get u-boot from. It´s a fork of mainline one (denx) plus some patches to include some patches that will be included on next u-boot version or some patches to configure something rellated with yocto (for example, scripts for inicialization).

Quoted 5 lines

I think it´s better to include your board (nitrogen6w) patches on that repository instead for supporting those patches on the recipe.

But, the main question here is: Does u-boot mainline support nitrogen6x/nitrogen6w?

Not yet. That's why I included u-boot-boundary recipe.

Quoted 9 lines
Quoted 5 lines

What´s the difference between nitrogen6x and nitrogen6w? May this board use nitrogen6x support someway?

Otavio, could you, please, comment on this? I think it would only a matter of MACHINE_FEATURE.

Yes, I think we can have it in same machine except if there're real difference between them.

Except for the silk screen:

	nitrogen6x == nitrogen6w
Quoted 12 lines
Quoted 5 lines
Quoted 2 lines

create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig
create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch

The same is applicable to kernel. Apply patches in git repository and then update kernel recipe.

I did not compare the patches but I think it should be the same we have for sabrelite; in this case we can use overrides to avoid the duplication (again, done in nitrogen6x board in extra repository).

Eric, please give us some light about the board difference?

Asked and answered.

#4 lore raw
In reply to Daiane Angolini

Hi Daiane,

Quoted 15 lines · Daiane Angolini
Quoted 9 lines · Pushpalatha
---
  conf/machine/imx6qnitrogen6w.conf                  |    18 +
  .../support_nitrogen6x_config.patch                | 27324 +++++++++++++++++++
  recipes-bsp/u-boot/u-boot-fslc_2012.10.bb          |     2 +
  .../linux-imx-3.0.35/imx6qnitrogen6w/defconfig     |  3020 ++
  .../support_for_nitrogen6_configuration.patch      | 11469 ++++++++
  recipes-kernel/linux/linux-imx_3.0.35.bb           |     3 +
  6 files changed, 41836 insertions(+)

create mode 100644 conf/machine/imx6qnitrogen6w.conf

This board should be included on meta-fsl-arm-extra. Could you, please, rebase your patches for that project?

Quoted 8 lines
Quoted 1 line

create mode 100644 recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch

Please, take a look https://github.com/Freescale/u-boot-imx
This is where we get u-boot from. It´s a fork of mainline one (denx) plus some patches to include some patches that will be included on next u-boot version or some patches to configure something rellated with yocto (for example, scripts for inicialization).

Who's the maintainer of this tree? It seems that Otavio's been making updates to it for OE/Yocto:

	https://github.com/Freescale/u-boot-imx/commit/8bbf2ebf8d8a0b5bdcd45ec83625147f22d69b41

From a brief look, it seems that this is based on the official main-line code, which is certainly usable but will lack some features.

Dirk has been very diligent about tracking the set of patches submitted but not yet accepted by main-line U-Boot on i.MX6 in his tree:
https://github.com/dirkbehme/u-boot-imx6/commits/u-boot-imx-staging

These include things like OTP support which are still in flux and some support for Nitrogen6X.

We based our 'production' branch on Dirk's efforts:
https://github.com/boundarydevices/u-boot-imx6/commits/production

This is what we're shipping with new orders of SABRE Lite or Nitrogen6X. Both of those boards use 'nitrogen6x_defconfig' and we auto-detect the board for the small changes in flow.

Quoted 3 lines

I think it´s better to include your board (nitrogen6w) patches on that repository instead for supporting those patches on the recipe.

We've submitted patches, but they need some re-work before a second attempt.

	http://lists.denx.de/pipermail/u-boot/2012-October/136462.html

In particular, we've been waiting for Troy's patches adding support for C Preprocessor usage in the board.cfg files. These will help unify the common bits of Solo/DualLite and 6Quad/6Dual.

Quoted 3 lines

But, the main question here is: Does u-boot mainline support nitrogen6x/nitrogen6w?

A U-Boot based on mx6qsabrelite_config will boot, but ethernet won't work, since the PHY reset pin changed between the two boards.

The other differences (notably audio) aren't really applicable to U-Boot.

A more complete description and comparison is available here:
http://boundarydevices.com/differences-sabre-lite-nitrogen6x-and-som/

Quoted 3 lines

What´s the difference between nitrogen6x and nitrogen6w? May this board use nitrogen6x support someway?

There isn't any difference besides the name. We originally intended to build a "Nitrogen6X" that was a complete clone of SABRE Lite, but have decided against it, and have deprecated the name 'Nitrogen6W'.

Quoted 9 lines

Otavio, could you, please, comment on this? I think it would only a matter of MACHINE_FEATURE.

Quoted 2 lines

create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig
create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch

The same is applicable to kernel. Apply patches in git repository and then update kernel recipe.

Same comments apply, though obviously audio routing and Wi-Fi/BT support are critical in the kernel.

Our latest non-Android kernel is available in this branch of our GitHub repository:

	https://github.com/boundarydevices/linux-imx6/commits/boundary-L3.0.35_12.09.01_GA

It's based on the Freescale release of the same name, minus the "boundary". We've included a branch for that to make comparison easy.

Regards,

Eric

#5 lore raw
Quoted 34 lines · Eric Nelson

Hi Daiane,

Quoted 23 lines · Daiane Angolini
Quoted 11 lines · Pushpalatha
---
  conf/machine/imx6qnitrogen6w.conf                  |    18 +
  .../support_nitrogen6x_config.patch                | 27324
+++++++++++++++++++
  recipes-bsp/u-boot/u-boot-fslc_2012.10.bb          |     2 +
  .../linux-imx-3.0.35/imx6qnitrogen6w/defconfig     |  3020 ++
  .../support_for_nitrogen6_configuration.patch      | 11469 ++++++++
  recipes-kernel/linux/linux-imx_3.0.35.bb           |     3 +
  6 files changed, 41836 insertions(+)

create mode 100644 conf/machine/imx6qnitrogen6w.conf

This board should be included on meta-fsl-arm-extra. Could you, please, rebase your patches for that project?

Quoted 2 lines

create mode 100644
recipes-bsp/u-boot/u-boot-fslc-v2012.10/imx6qnitrogen6w/support_nitrogen6x_config.patch

Quoted 6 lines

Please, take a look https://github.com/Freescale/u-boot-imx
This is where we get u-boot from. It´s a fork of mainline one (denx) plus some patches to include some patches that will be included on next u-boot version or some patches to configure something rellated with yocto (for example, scripts for inicialization).

Quoted 8 lines

Who's the maintainer of this tree? It seems that Otavio's been making updates to it for OE/Yocto:

https://github.com/Freescale/u-boot-imx/commit/8bbf2ebf8d8a0b5bdcd45ec83625147f22d69b41

From a brief look, it seems that this is based on the official main-line code, which is certainly usable but will lack some features.

The tree is basically mainline plus a set of backports, fixes and OE specific environment changes.

Quoted 6 lines

Dirk has been very diligent about tracking the set of patches submitted but not yet accepted by main-line U-Boot on i.MX6 in his tree:
https://github.com/dirkbehme/u-boot-imx6/commits/u-boot-imx-staging

These include things like OTP support which are still in flux and some support for Nitrogen6X.

Nice; I think we might try to include some of those for 2012.13 based tree. What do you think?

Quoted 6 lines

We based our 'production' branch on Dirk's efforts:
https://github.com/boundarydevices/u-boot-imx6/commits/production

This is what we're shipping with new orders of SABRE Lite or Nitrogen6X. Both of those boards use 'nitrogen6x_defconfig' and we auto-detect the board for the small changes in flow.

We've included this u-boot in meta-fsl-arm-extra (in a recipe called u-boot-boundary) so we're tracking the production tree as well, however it is not build by default due your SPI NOR bootloader being the default.

Quoted 11 lines
Quoted 3 lines

I think it´s better to include your board (nitrogen6w) patches on that repository instead for supporting those patches on the recipe.

We've submitted patches, but they need some re-work before a second attempt.

        http://lists.denx.de/pipermail/u-boot/2012-October/136462.html

In particular, we've been waiting for Troy's patches adding support for C Preprocessor usage in the board.cfg files. These will help unify the common bits of Solo/DualLite and 6Quad/6Dual.

Indeed; it will help a lot! :)

Quoted 7 lines
Quoted 3 lines

But, the main question here is: Does u-boot mainline support nitrogen6x/nitrogen6w?

A U-Boot based on mx6qsabrelite_config will boot, but ethernet won't work, since the PHY reset pin changed between the two boards.

Quoted 6 lines

The other differences (notably audio) aren't really applicable to U-Boot.

A more complete description and comparison is available here:

http://boundarydevices.com/differences-sabre-lite-nitrogen6x-and-som/

Nice documentation :)

Quoted 29 lines
Quoted 3 lines

What´s the difference between nitrogen6x and nitrogen6w? May this board use nitrogen6x support someway?

There isn't any difference besides the name. We originally intended to build a "Nitrogen6X" that was a complete clone of SABRE Lite, but have decided against it, and have deprecated the name 'Nitrogen6W'.

Quoted 12 lines

Otavio, could you, please, comment on this? I think it would only a matter of MACHINE_FEATURE.

Quoted 4 lines

create mode 100644
recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/defconfig
create mode 100644
recipes-kernel/linux/linux-imx-3.0.35/imx6qnitrogen6w/support_for_nitrogen6_configuration.patch

The same is applicable to kernel. Apply patches in git repository and then update kernel recipe.

Same comments apply, though obviously audio routing and Wi-Fi/BT support are critical in the kernel.

Our latest non-Android kernel is available in this branch of our GitHub repository:

Quoted 5 lines

https://github.com/boundarydevices/linux-imx6/commits/boundary-L3.0.35_12.09.01_GA

It's based on the Freescale release of the same name, minus the "boundary". We've included a branch for that to make comparison easy.

This was the tree I used when generating the patch for sabrelite. Is it possible for you to confirm if something is missing and submit an update if anything is need?

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br