configs: atmel: update of old boards
cover configs: atmel: update of old boards
Hi,
Thomas reported me that some components (kernel or u-Boot) are no longer compiling due to incompatibilities with gcc.
Since there is no longer official releases (linux4sam) for these products, they will rely on mainline versions for U-Boot and Linux. AT91bootstrap is bumped to a recent version.
Regards
Ludovic Desroches (4):
configs: atmel: at91sam9260eknf: update defconfig
configs: atmel: at91sam9rlek: update defconfig
configs: atmel: at91sam9g20dfc: update defconfig
configs: atmel: at91sam9g45m10ek: update defconfig
configs/at91sam9260eknf_defconfig | 29 +++++++++++++++-------------- configs/at91sam9g20dfc_defconfig | 21 ++++++++++----------- configs/at91sam9g45m10ek_defconfig | 23 ++++++++++++++--------- configs/at91sam9rlek_defconfig | 23 ++++++++++++++--------- 4 files changed, 53 insertions(+), 43 deletions(-)
Signature · 1 line
2.9.0
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Bump to a recent version of AT91bootstrap and use mainline version of U-Boot and Linux.
--- configs/at91sam9260eknf_defconfig | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-)
configs/at91sam9260eknf_defconfig +12 -10
@@ -2,9 +2,6 @@ BR2_arm=y BR2_arm926t=y -# Linux headers same as kernel, a 3.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y - # Packages BR2_PACKAGE_HOST_SAM_BA=y
@@ -13,15 +10,20 @@ BR2_TARGET_ROOTFS_UBIFS=y BR2_TARGET_ROOTFS_UBI=y # Bootloaders -BR2_TARGET_AT91BOOTSTRAP=y -BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek" -BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.7" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9260eknf_uboot" BR2_TARGET_BAREBOX=y BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9260ek_nandflash" # Kernel BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/atmel/at91sam9260ek/linux-3.9.config" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9260ek" +
Signature · 1 line
2.9.0
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Hi Ludovic,
Quoted 29 lines · Ludovic Desroches
Bump to a recent version of AT91bootstrap and use mainline version of U-Boot and Linux.
Signed-off-by Ludovic Desroches <[email protected]>--- configs/at91sam9260eknf_defconfig | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-)configs/at91sam9260eknf_defconfig +0
-6@@ -2,9 +2,6 @@ BR2_arm=y BR2_arm926t=y -# Linux headers same as kernel, a 3.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y - # Packages BR2_PACKAGE_HOST_SAM_BA=y@@ -13,15 +10,20 @@ BR2_TARGET_ROOTFS_UBIFS=y BR2_TARGET_ROOTFS_UBI=y # Bootloaders -BR2_TARGET_AT91BOOTSTRAP=y -BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek" -BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=y
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 22
Quoted 10 lines
configs/at91sam9260eknf_defconfig +8
-0+BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.7" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9260eknf_uboot" BR2_TARGET_BAREBOX=y BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9260ek_nandflash"
Why enable both U-Boot and Barebox?
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines
configs/at91sam9260eknf_defconfig +0
-2# Kernel BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"
For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 27
Quoted 2 lines
configs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/atmel/at91sam9260ek/linux-3.9.config"
You can now drop this file.
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 28
Quoted 3 lines
configs/at91sam9260eknf_defconfig +3
-0+BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9260ek"
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Quoted 11 lines · Baruch Siach
Hi Ludovic,
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines · Ludovic Desroches
# Kernel
BR2_LINUX_KERNEL=yconfigs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
I'm not sure this is actually useful because the amount of testing is minimal and it just increases the maintenance burden.
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Hi Alexandre,
Quoted 10 lines · Alexandre Belloni
Quoted 8 lines · Baruch Siach
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines · Ludovic Desroches
# Kernel
BR2_LINUX_KERNEL=yconfigs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
Quoted 2 lines
I'm not sure this is actually useful because the amount of testing is minimal and it just increases the maintenance burden.
I don't understand. How would locking a specific kernel version in the defconfig increase maintenance burden? Any tested kernel version would do. We just want to ensure consistent user experience. Otherwise the built kernel will change with the default value of BR2_LINUX_KERNEL_VERSION.
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Quoted 13 lines · Baruch Siach
Hi Alexandre,
Quoted 10 lines · Alexandre Belloni
Quoted 8 lines · Baruch Siach
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines · Ludovic Desroches
# Kernel
BR2_LINUX_KERNEL=yconfigs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
Quoted 8 lines
Quoted 2 lines
I'm not sure this is actually useful because the amount of testing is minimal and it just increases the maintenance burden.
I don't understand. How would locking a specific kernel version in the defconfig increase maintenance burden? Any tested kernel version would do. We just want to ensure consistent user experience. Otherwise the built kernel will change with the default value of
BR2_LINUX_KERNEL_VERSION.
Yeah, that's my point. Any kernel version will do and that avoids having to update it in the defconfig all the time, hence less maintenance. The previous defconfig has not been building for a while (basically, since the switch to gcc5).
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
In reply to Baruch SiachQuoted 13 lines · Baruch Siach
Hi Alexandre,
Quoted 10 lines · Alexandre Belloni
Quoted 8 lines · Baruch Siach
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines · Ludovic Desroches
# Kernel
BR2_LINUX_KERNEL=yconfigs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
Quoted 8 lines
Quoted 2 lines
I'm not sure this is actually useful because the amount of testing is minimal and it just increases the maintenance burden.
I don't understand. How would locking a specific kernel version in the defconfig increase maintenance burden? Any tested kernel version would do. We just want to ensure consistent user experience. Otherwise the built kernel will change with the default value of
BR2_LINUX_KERNEL_VERSION.
That's the goal. Kernel was no longer compiling because it was too old to be used with gcc5. We may have the same situation in the future and we'll simply choose the latest kernel release for the update as I do today. That's why Alexandre says that it will increase the maintenance.
Ludovic
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
In reply to Baruch SiachQuoted 28 lines · Baruch Siach
Hi Ludovic,
Quoted 25 lines · Ludovic Desroches
Bump to a recent version of AT91bootstrap and use mainline version of U-Boot and Linux.
Signed-off-by Ludovic Desroches <[email protected]>--- configs/at91sam9260eknf_defconfig | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-)configs/at91sam9260eknf_defconfig +0
-3@@ -2,9 +2,6 @@ BR2_arm=y BR2_arm926t=y -# Linux headers same as kernel, a 3.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9=y - # Packages BR2_PACKAGE_HOST_SAM_BA=y@@ -13,15 +10,20 @@ BR2_TARGET_ROOTFS_UBIFS=y BR2_TARGET_ROOTFS_UBI=y
Quoted 17 lines
Quoted 4 lines
configs/at91sam9260eknf_defconfig +0
-3# Bootloaders -BR2_TARGET_AT91BOOTSTRAP=y -BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek" -BR2_TARGET_AT91BOOTSTRAP_NANDFLASH=yconfigs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 22
Quoted 10 lines
configs/at91sam9260eknf_defconfig +8
-0+BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.7" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9260eknf_uboot" BR2_TARGET_BAREBOX=y BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="at91sam9260ek" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9260ek_nandflash"Why enable both U-Boot and Barebox?
I don't know why Barebox was selected but the 'official' bootloader is U-Boot for all our products that's why I add it. I kept Barebox because it was already selected and I don't know if someone is still using it or not.
Quoted 8 lines
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines
configs/at91sam9260eknf_defconfig +0
-2# Kernel BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
As Alexandre said, we don't want to spend time for the maintainance of these old boards so sticking to the mainline seems to be the way to go. Giving a version is a kind of commitment but we no longer perform tests on these boards excepting kernel boot with kernelci.
Quoted 4 lines
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 27
Quoted 2 lines
configs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/atmel/at91sam9260ek/linux-3.9.config"You can now drop this file.
Ok.
Quoted 11 lines
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 28
Quoted 4 lines
configs/at91sam9260eknf_defconfig +3
-0+BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9260ek"baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Hello,
Quoted 7 lines · Ludovic Desroches
Quoted 2 lines
Why enable both U-Boot and Barebox?
I don't know why Barebox was selected but the 'official' bootloader is U-Boot for all our products that's why I add it. I kept Barebox because it was already selected and I don't know if someone is still using it or not.
But the end result is a defconfig that doesn't make any sense.
Please provide a defconfig that makes sense, and with an updated readme.txt if you decide to change the bootloader (and therefore the flashing instructions).
Quoted 8 lines
Quoted 7 lines
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines
# Kernel
BR2_LINUX_KERNEL=yconfigs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
Quoted 4 lines
As Alexandre said, we don't want to spend time for the maintainance of these old boards so sticking to the mainline seems to be the way to go. Giving a version is a kind of commitment but we no longer perform tests on these boards excepting kernel boot with kernelci.
That's not Buildroot policy. We want defconfigs with fixed kernel and bootloader versions, so that we know they have been tested.
If you are not able/willing to test those defconfigs, then we could just as well remove them. But I'm not going to merge a defconfig that doesn't comply with our policy of having a fixed kernel and a fixed bootloader version.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Quoted 31 lines · Thomas Petazzoni
Hello,
Quoted 7 lines · Ludovic Desroches
Quoted 2 lines
Why enable both U-Boot and Barebox?
I don't know why Barebox was selected but the 'official' bootloader is U-Boot for all our products that's why I add it. I kept Barebox because it was already selected and I don't know if someone is still using it or not.
But the end result is a defconfig that doesn't make any sense.
Please provide a defconfig that makes sense, and with an updated readme.txt if you decide to change the bootloader (and therefore the flashing instructions).
Quoted 8 lines
Quoted 7 lines
configs/at91sam9260eknf_defconfig BR2_TARGET_ROOTFS_UBIFS=y · line 25
Quoted 4 lines
# Kernel
BR2_LINUX_KERNEL=yconfigs/at91sam9260eknf_defconfig +0
-2-BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.1"For the sake of reproducibility you should set this to the version you tested, say, 4.8.6. The same goes for other patches in this series.
Quoted 4 lines
As Alexandre said, we don't want to spend time for the maintainance of these old boards so sticking to the mainline seems to be the way to go. Giving a version is a kind of commitment but we no longer perform tests on these boards excepting kernel boot with kernelci.
Quoted 8 lines
That's not Buildroot policy. We want defconfigs with fixed kernel and bootloader versions, so that we know they have been tested.
If you are not able/willing to test those defconfigs, then we could just as well remove them. But I'm not going to merge a defconfig that doesn't comply with our policy of having a fixed kernel and a fixed bootloader version.
Can I use a fixed version of the compiler too? It seems it makes sense because this defconfig was tested but is no more compiling.
Regards
Ludovic
Quoted 7 lines
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/4 configs: atmel: at91sam9260eknf: update defconfig
Hello,
Quoted 7 lines · Ludovic Desroches
Quoted 4 lines
If you are not able/willing to test those defconfigs, then we could just as well remove them. But I'm not going to merge a defconfig that doesn't comply with our policy of having a fixed kernel and a fixed bootloader version.
Can I use a fixed version of the compiler too? It seems it makes sense because this defconfig was tested but is no more compiling.
This could be an option indeed (reverting to gcc 4.x instead of gcc 5.x). However, the fact that no-one is willing to test/maintain this defconfig is a sign that nobody is interested in it. So I'd rather remove it, than keep a defconfig that gets never updated, even when there is a build issue.
So, options are clear:
1. Remove the defconfig entirely.
2. Update the defconfig in the proper way, minimally tested on HW.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 2/4 configs: atmel: at91sam9rlek: update defconfig
In reply to Ludovic DesrochesBump to a recent version of AT91bootstrap and use mainline version of U-Boot and Linux.
--- configs/at91sam9rlek_defconfig | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-)
configs/at91sam9rlek_defconfig +14 -9
@@ -1,22 +1,27 @@ +# Architecture BR2_arm=y BR2_arm926t=y -# Linux headers same as kernel, a 3.18 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y + +# Kernel 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="03329ca4cf6b94acc5c65b59b2d1f90fdeee0887" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9rlek" + +# Filesystem BR2_TARGET_ROOTFS_UBIFS=y BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 BR2_TARGET_ROOTFS_UBI=y + +# Bootloaders BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.7" 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="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="677f3c2340b72131beebace8e96cac17b9569887" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9rlek_nandflash" + +# Tools BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.9.0
PATCH 3/4 configs: atmel: at91sam9g20dfc: update defconfig
In reply to Ludovic DesrochesBump to a recent version of AT91bootstrap and use mainline version of U-Boot and Linux.
--- configs/at91sam9g20dfc_defconfig | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)
configs/at91sam9g20dfc_defconfig +10 -11
@@ -2,28 +2,27 @@ BR2_arm=y BR2_arm926t=y -# Linux headers same as kernel, a 3.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1=y - # Host utilities # BR2_PACKAGE_HOST_SAM_BA=y # First stage bootloader -BR2_TARGET_AT91BOOTSTRAP=y -BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9g20ek" -BR2_TARGET_AT91BOOTSTRAP_DATAFLASHCARD=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.7" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9g20eknf_uboot" # Second stage bootloader BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="at91sam9g20ek_nandflash" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9g20ek_nandflash" # Kernel BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.1.6" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="at91sam9g20ek" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g20ek" # Filesystem BR2_TARGET_ROOTFS_TAR=y
Signature · 1 line
2.9.0
PATCH 4/4 configs: atmel: at91sam9g45m10ek: update defconfig
In reply to Ludovic DesrochesBump to a recent version of AT91bootstrap and use mainline version of U-Boot and Linux.
--- configs/at91sam9g45m10ek_defconfig | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-)
configs/at91sam9g45m10ek_defconfig +14 -9
@@ -1,22 +1,27 @@ +# Architecture BR2_arm=y BR2_arm926t=y -# Linux headers same as kernel, a 3.18 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y + +# Kernel 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="03329ca4cf6b94acc5c65b59b2d1f90fdeee0887" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9m10g45ek" + +# Filesystem BR2_TARGET_ROOTFS_UBIFS=y BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 BR2_TARGET_ROOTFS_UBI=y + +# Bootloaders BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.7" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9m10g45eknf_uboot" BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="at91sam9m10g45ek_nandflash" -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="677f3c2340b72131beebace8e96cac17b9569887" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9m10g45ek_nandflash" + +# Tools BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
2.9.0