Skip to contentSkip to conversation

configs: defconfigs for Atmel boards

PATCH New Alexandre Belloni 4 participants 20 messages Apr 30, 2015 – May 1, 2015 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

cover configs: defconfigs for Atmel boards

Hi,

This series updates and adds defconfigs for the recent(ish) atmel boards. They use Atmel's u-boot and kernel tree and are meant to be flashed on the NAND flash.

Alexandre Belloni (8):
configs: update at91sam9g45m10ek defconfig
configs: add defconfig for Atmel at91sam9rlek
configs: add defconfig for Atmel at91sam9x5ek
configs: add defconfig for Atmel sama5d3xek
configs: add defconfig for Atmel sama5d4ek
configs: add defconfig for Atmel sama4d4 Xplained Ultra
configs: add defconfig for Atmel sama5d3 Xplained
configs: rename atmel_xplained_defconfig

 configs/at91sam9g45m10ek_defconfig                 | 19 +++++++++++++-----
 configs/at91sam9rlek_defconfig                     | 18 +++++++++++++++++
 configs/at91sam9x5ek_defconfig                     | 18 +++++++++++++++++
 configs/atmel_sama5d3_xplained_defconfig           | 22 +++++++++++++++++++++
 ...config => atmel_sama5d3_xplained_mmc_defconfig} |  0
 configs/atmel_sama5d3xek_defconfig                 | 22 +++++++++++++++++++++
 configs/atmel_sama5d4_xplained_defconfig           | 23 ++++++++++++++++++++++
 configs/atmel_sama5d4ek_defconfig                  | 23 ++++++++++++++++++++++
 8 files changed, 140 insertions(+), 5 deletions(-)
 create mode 100644 configs/at91sam9rlek_defconfig
 create mode 100644 configs/at91sam9x5ek_defconfig
 create mode 100644 configs/atmel_sama5d3_xplained_defconfig
 rename configs/{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig} (100%)
 create mode 100644 configs/atmel_sama5d3xek_defconfig
 create mode 100644 configs/atmel_sama5d4_xplained_defconfig
 create mode 100644 configs/atmel_sama5d4ek_defconfig
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/8 configs: update at91sam9g45m10ek defconfig

Use kernel (3.18) and u-boot (2015.01) from Atmel's repositories.

---
 configs/at91sam9g45m10ek_defconfig | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
configs/at91sam9g45m10ek_defconfig +14 -5
index c958859df1a3..deaa193a5372 100644
@@ -1,9 +1,18 @@
 BR2_arm=y
 BR2_arm926t=y
-BR2_PACKAGE_HOST_SAM_BA=y
-BR2_TARGET_AT91BOOTSTRAP=y
-BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9m10g45ek"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="at91_dt"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9m10g45ek"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9m10g45eknf_uboot"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="at91sam9m10g45ek_nandflash"
-BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_DEFCONFIG="at91sam9g45"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#2 lore raw

PATCH 2/8 configs: add defconfig for Atmel at91sam9rlek

In reply to Alexandre Belloni
---
 configs/at91sam9rlek_defconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 configs/at91sam9rlek_defconfig
configs/at91sam9rlek_defconfig new file +18 -0
new file mode 100644
index 000000000000..369111a852b2
@@ -0,0 +1,18 @@
+BR2_arm=y
+BR2_arm926t=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="at91_dt"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9rlek"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9rleknf_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="at91sam9rlek_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#3 lore raw

PATCH 3/8 configs: add defconfig for Atmel at91sam9x5ek

In reply to Alexandre Belloni

This supports:
- at91sam9g15ek
- at91sam9g25ek
- at91sam9g35ek
- at91sam9x25ek
- at91sam9x35ek

---
 configs/at91sam9x5ek_defconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 configs/at91sam9x5ek_defconfig
configs/at91sam9x5ek_defconfig new file +18 -0
new file mode 100644
index 000000000000..461f45d87b3d
@@ -0,0 +1,18 @@
+BR2_arm=y
+BR2_arm926t=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="at91_dt"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="at91sam9x5ek_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#4 lore raw

PATCH 4/8 configs: add defconfig for Atmel sama5d3xek

In reply to Alexandre Belloni

This supports:
- sama5d31ek
- sama5d33ek
- sama5d34ek
- sama5d35ek
- sama5d36ek

with or without the PDA4 or PDA7 screens.

---
 configs/atmel_sama5d3xek_defconfig | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 configs/atmel_sama5d3xek_defconfig
configs/atmel_sama5d3xek_defconfig new file +22 -0
new file mode 100644
index 000000000000..3ae9f831cd44
@@ -0,0 +1,22 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="sama5d31ek sama5d31ek_pda4 sama5d31ek_pda7 sama5d31ek_revc sama5d31ek_revc_pda4 sama5d31ek_revc_pda7 sama5d33ek sama5d33ek_pda4 sama5d33ek_pda7 sama5d33ek_revc sama5d33ek_revc_pda4 sama5d33ek_revc_pda7 sama5d34ek sama5d34ek_pda4 sama5d34ek_pda7 sama5d34ek_revc sama5d34ek_revc_pda4 sama5d34ek_revc_pda7 sama5d35ek sama5d35ek_revc sama5d36ek sama5d36ek_pda4 sama5d36ek_pda7 sama5d36ek_revc sama5d36ek_revc_pda4 sama5d36ek_revc_pda7"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3xeknf_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="sama5d3xek_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_TARGET_UBOOT_SPL=y
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#5 lore raw

PATCH 5/8 configs: add defconfig for Atmel sama5d4ek

In reply to Alexandre Belloni
---
 configs/atmel_sama5d4ek_defconfig | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 configs/atmel_sama5d4ek_defconfig
configs/atmel_sama5d4ek_defconfig new file +23 -0
new file mode 100644
index 000000000000..adc06c20280e
@@ -0,0 +1,23 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_ENABLE_NEON=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4eknf_uboot_secure"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="sama5d4ek_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_TARGET_UBOOT_SPL=y
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#6 lore raw

PATCH 6/8 configs: add defconfig for Atmel sama4d4 Xplained Ultra

In reply to Alexandre Belloni
---
 configs/atmel_sama5d4_xplained_defconfig | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 configs/atmel_sama5d4_xplained_defconfig
configs/atmel_sama5d4_xplained_defconfig new file +23 -0
new file mode 100644
index 000000000000..819ce028ef9b
@@ -0,0 +1,23 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_ENABLE_NEON=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="sama5d4_xplained_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_TARGET_UBOOT_SPL=y
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#7 lore raw

PATCH 6/8 configs: add defconfig for Atmel sama4d4 Xplained Ultra

Dear Alexandre Belloni,

Quoted 1 line · Alexandre Belloni

Typo in the commit title: sama4d4 -> sama5d4.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH 7/8 configs: add defconfig for Atmel sama5d3 Xplained

In reply to Alexandre Belloni
---
 configs/atmel_sama5d3_xplained_defconfig | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 configs/atmel_sama5d3_xplained_defconfig
configs/atmel_sama5d3_xplained_defconfig new file +22 -0
new file mode 100644
index 000000000000..ba3c9cd664bd
@@ -0,0 +1,22 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained at91-sama5d3_xplained_pda4 at91-sama5d3_xplained_pda7"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="sama5d3_xplained_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_TARGET_UBOOT_SPL=y
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.1.4
#9 lore raw

PATCH 7/8 configs: add defconfig for Atmel sama5d3 Xplained

Alexandre,

Quoted 12 lines · Alexandre Belloni
---
 configs/atmel_sama5d3_xplained_defconfig | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 configs/atmel_sama5d3_xplained_defconfig
configs/atmel_sama5d3_xplained_defconfig new file +0 -0
new file mode 100644
index 000000000000..ba3c9cd664bd

configs/atmel_sama5d3_xplained_defconfig line 9

Quoted 9 lines
configs/atmel_sama5d3_xplained_defconfig new file +9 -0
@@ -0,0 +1,22 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"

'linux-3.18-at91' appears to be a branch which means that it could be updated and break this config?

I believe in order to ensure that a build is reproducible for everyone that this should be a tag or commit SHA. This would also apply to all your other new NAND configurations for the Atmel boards.

Thanks,
-Ryan

Quoted 13 lines
configs/atmel_sama5d3_xplained_defconfig new file +13 -0
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"
+BR2_LINUX_KERNEL_ZIMAGE=y
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained at91-sama5d3_xplained_pda4 at91-sama5d3_xplained_pda7"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BOARDNAME="sama5d3_xplained_nandflash"
+BR2_TARGET_UBOOT_CUSTOM_GIT=y
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/linux4sam/u-boot-at91.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="u-boot-2015.01-at91"
+BR2_TARGET_UBOOT_SPL=y
+BR2_PACKAGE_HOST_SAM_BA=y
Signature · 5 lines
Ryan Barnett / Sr Software Engineer
Airborne Information Systems / Security Systems and Software
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
ryan.barnett at rockwellcollins.com
www.rockwellcollins.com
#10 lore raw

PATCH 7/8 configs: add defconfig for Atmel sama5d3 Xplained

Quoted 29 lines · Ryan Barnett

Alexandre,

Quoted 12 lines · Alexandre Belloni
---
 configs/atmel_sama5d3_xplained_defconfig | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 configs/atmel_sama5d3_xplained_defconfig
configs/atmel_sama5d3_xplained_defconfig new file +0 -0
new file mode 100644
index 000000000000..ba3c9cd664bd

configs/atmel_sama5d3_xplained_defconfig line 9

Quoted 9 lines
configs/atmel_sama5d3_xplained_defconfig new file +9 -0
@@ -0,0 +1,22 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"

'linux-3.18-at91' appears to be a branch which means that it could be updated and break this config?

Quoted 4 lines

I believe in order to ensure that a build is reproducible for everyone that this should be a tag or commit SHA. This would also apply to all your other new NAND configurations for the Atmel boards.

That is the expected behaviour. This branch must not break. I'm not saying it won't break but if it ever breaks, it will definitively be fixed.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#11 lore raw

PATCH 7/8 configs: add defconfig for Atmel sama5d3 Xplained

Alexandre,

Quoted 30 lines · Alexandre Belloni
Quoted 29 lines · Ryan Barnett

Alexandre,

Quoted 12 lines · Alexandre Belloni
---
 configs/atmel_sama5d3_xplained_defconfig | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 configs/atmel_sama5d3_xplained_defconfig
configs/atmel_sama5d3_xplained_defconfig new file +0 -0
new file mode 100644
index 000000000000..ba3c9cd664bd

configs/atmel_sama5d3_xplained_defconfig line 9

Quoted 9 lines
configs/atmel_sama5d3_xplained_defconfig new file +9 -0
@@ -0,0 +1,22 @@
+BR2_arm=y
+BR2_cortex_a5=y
+BR2_ARM_EABIHF=y
+BR2_ARM_FPU_VFPV4D16=y
+BR2_ARM_INSTRUCTIONS_THUMB2=y
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_GIT=y
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/linux4sam/linux-at91.git"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="linux-3.18-at91"

'linux-3.18-at91' appears to be a branch which means that it could be updated and break this config?

Quoted 8 lines
Quoted 4 lines

I believe in order to ensure that a build is reproducible for everyone that this should be a tag or commit SHA. This would also apply to all your other new NAND configurations for the Atmel boards.

That is the expected behaviour. This branch must not break. I'm not saying it won't break but if it ever breaks, it will definitively be fixed.

OK - that is fine as I don't really have a strong opinion on this so leaving it as the branch is fine with me. I was more so making the observation.

Thanks,
-Ryan

Signature · 5 lines
Ryan Barnett / Sr Software Engineer
Airborne Information Systems / Security Systems and Software
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
ryan.barnett at rockwellcollins.com
www.rockwellcollins.com
#12 lore raw

PATCH 7/8 configs: add defconfig for Atmel sama5d3 Xplained

In reply to Alexandre Belloni

Dear Alexandre Belloni,

Quoted 10 lines · Alexandre Belloni
Quoted 6 lines

'linux-3.18-at91' appears to be a branch which means that it could be updated and break this config?

I believe in order to ensure that a build is reproducible for everyone that this should be a tag or commit SHA. This would also apply to all your other new NAND configurations for the Atmel boards.

That is the expected behaviour. This branch must not break. I'm not saying it won't break but if it ever breaks, it will definitively be fixed.

No, please don't use a branch. Never ever. This makes the build non-reproducible. And also means that once a linux-linux-3.18-at91.tar.gz tarball has been created in $(DL_DIR), it is never redownloaded even if the branch is updated.

So please do like Ryan said: use a tag or a commit ID. Feel free to update this commit ID or tag as often as you want by sending patches, but don't use a branch name.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#13 lore raw

PATCH 8/8 configs: rename atmel_xplained_defconfig

In reply to Alexandre Belloni

For consistency, rename atmel_xplained_defconfig to atmel_sama5d3_xplained_mmc_defconfig as this configuration supports booting the sama5d3 Xplained with an MMC card (as opposed to the NAND flash).

---
 .../{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig}    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename configs/{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig} (100%)
configs/atmel_sama5d3_xplained_mmc_defconfig renamed from configs/atmel_xplained_defconfig +0 -0
similarity index 100%
rename from configs/atmel_xplained_defconfig
rename to configs/atmel_sama5d3_xplained_mmc_defconfig
Signature · 1 line
2.1.4
#14 lore raw

PATCH 8/8 configs: rename atmel_xplained_defconfig

Alexandre,

Quoted 10 lines · Alexandre Belloni

For consistency, rename atmel_xplained_defconfig to atmel_sama5d3_xplained_mmc_defconfig as this configuration supports booting the sama5d3 Xplained with an MMC card (as opposed to the NAND flash).

---
 .../{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig}    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename configs/{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig} (100%)

I believe the readme.txt under board/atmel/xplained should be updated to say atmel_sama5d3_xplained_mmc_defconfig instead of atmel_xplained_defconfig.

Thanks
-Ryan

Quoted 5 lines
configs/atmel_sama5d3_xplained_mmc_defconfig renamed from configs/atmel_xplained_defconfig +0 -0
similarity index 100%
rename from configs/atmel_xplained_defconfig
rename to configs/atmel_sama5d3_xplained_mmc_defconfig
Signature · 5 lines
Ryan Barnett / Sr Software Engineer
Airborne Information Systems / Security Systems and Software
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
ryan.barnett at rockwellcollins.com
www.rockwellcollins.com
#15 lore raw

PATCH 8/8 configs: rename atmel_xplained_defconfig

Quoted 15 lines · Ryan Barnett

Alexandre,

Quoted 10 lines · Alexandre Belloni

For consistency, rename atmel_xplained_defconfig to atmel_sama5d3_xplained_mmc_defconfig as this configuration supports booting the sama5d3 Xplained with an MMC card (as opposed to the NAND flash).

---
 .../{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig}    | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename configs/{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig} (100%)
Quoted 4 lines

I believe the readme.txt under board/atmel/xplained should be updated to say atmel_sama5d3_xplained_mmc_defconfig instead of atmel_xplained_defconfig.

Indeed, I'll update it.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#16 lore raw

cover configs: defconfigs for Atmel boards

In reply to Alexandre Belloni

Hi Alexandre,

Quoted 16 lines · Alexandre Belloni

Hi,

This series updates and adds defconfigs for the recent(ish) atmel boards. They use Atmel's u-boot and kernel tree and are meant to be flashed on the NAND flash.

Alexandre Belloni (8):
configs: update at91sam9g45m10ek defconfig
configs: add defconfig for Atmel at91sam9rlek
configs: add defconfig for Atmel at91sam9x5ek
configs: add defconfig for Atmel sama5d3xek
configs: add defconfig for Atmel sama5d4ek
configs: add defconfig for Atmel sama4d4 Xplained Ultra
configs: add defconfig for Atmel sama5d3 Xplained
configs: rename atmel_xplained_defconfig

Quoted 16 lines
 configs/at91sam9g45m10ek_defconfig                 | 19 +++++++++++++-----
 configs/at91sam9rlek_defconfig                     | 18 +++++++++++++++++
 configs/at91sam9x5ek_defconfig                     | 18 +++++++++++++++++
 configs/atmel_sama5d3_xplained_defconfig           | 22 +++++++++++++++++++++
 ...config => atmel_sama5d3_xplained_mmc_defconfig} |  0
 configs/atmel_sama5d3xek_defconfig                 | 22 +++++++++++++++++++++
 configs/atmel_sama5d4_xplained_defconfig           | 23 ++++++++++++++++++++++
 configs/atmel_sama5d4ek_defconfig                  | 23 ++++++++++++++++++++++
 8 files changed, 140 insertions(+), 5 deletions(-)
 create mode 100644 configs/at91sam9rlek_defconfig
 create mode 100644 configs/at91sam9x5ek_defconfig
 create mode 100644 configs/atmel_sama5d3_xplained_defconfig
 rename configs/{atmel_xplained_defconfig => atmel_sama5d3_xplained_mmc_defconfig} (100%)
 create mode 100644 configs/atmel_sama5d3xek_defconfig
 create mode 100644 configs/atmel_sama5d4_xplained_defconfig
 create mode 100644 configs/atmel_sama5d4ek_defconfig

Since you are moving all of the Atmel boards to use NAND boot configuration, it would be good to have a 'README' that explains how to load the boards utilizing the SAM-BA tool (it appears all the NAND configurations are using this). At minimum it would be to point to Linux4SAM wiki for loading instructions.

Thoughts?

Thanks,
-Ryan

Signature · 5 lines
Ryan Barnett / Sr Software Engineer
Airborne Information Systems / Security Systems and Software
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
ryan.barnett at rockwellcollins.com
www.rockwellcollins.com
#17 lore raw

cover configs: defconfigs for Atmel boards

Quoted 8 lines · Ryan Barnett

Since you are moving all of the Atmel boards to use NAND boot configuration, it would be good to have a 'README' that explains how to load the boards utilizing the SAM-BA tool (it appears all the NAND configurations are using this). At minimum it would be to point to Linux4SAM wiki for loading instructions.

Thoughts?

Sure, I'm actually planning to provide the tcl scripts to use with SAM-BA to help people load the generated images on their board.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#18 lore raw

cover configs: defconfigs for Atmel boards

In reply to Ryan Barnett

Ryan, Alex,

Quoted 5 lines · Ryan Barnett

Since you are moving all of the Atmel boards to use NAND boot configuration, it would be good to have a 'README' that explains how to load the boards utilizing the SAM-BA tool (it appears all the NAND configurations are using this). At minimum it would be to point to Linux4SAM wiki for loading instructions.

Fully agreed.

Alexandre, please also include generating a NAND capable filesystem image as part of those defconfig, so that they can easily be flashed/used on the boards. I guess UBI images is going to be the most appropriate solution. But clearly, such defconfigs should not generate just a tarball.

Thanks

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#19 lore raw

cover configs: defconfigs for Atmel boards

Quoted 10 lines · Thomas Petazzoni

Ryan, Alex,

Quoted 5 lines · Ryan Barnett

Since you are moving all of the Atmel boards to use NAND boot configuration, it would be good to have a 'README' that explains how to load the boards utilizing the SAM-BA tool (it appears all the NAND configurations are using this). At minimum it would be to point to Linux4SAM wiki for loading instructions.

Quoted 7 lines

Fully agreed.

Alexandre, please also include generating a NAND capable filesystem image as part of those defconfig, so that they can easily be flashed/used on the boards. I guess UBI images is going to be the most appropriate solution. But clearly, such defconfigs should not generate just a tarball.

Actually, I think it's better to use SD card images where possible.

- If you're using it just for experimentation, then the SD card is a much more flexible and less risky way to experiment. Personally, I even prefer kernel-linked-with-initramfs (and DTB) images, since that's just a single file and it automatically gives you the rest of the SD card as a FAT partition.

- If you want to use it for an actual product (prototype), then you're anyway going to have to study in a bit more detail how the flash works and you'll probably want to do a slightly more complicated flash partitioning.

That said, I do think it's really useful to have those tcl scripts for using
SAM-BA.

And of course, since I never use the defconfigs myself, my opinion is probably
not that important.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F