configs: new configuration for at91sam9g20ek
PATCH 1/1 configs: new configuration for at91sam9g20ek
- added NAND-based configuration configs/at91sam9g20ek_defconfig for the at91sam9g20ek eval. board
- added at91sam9g20ek option to the atmel/flasher.sh tool
- removed old configs/at91sam9g20dfc_defconfig
- added at91sam9g20ek description for configuring the board for flashing
--- board/atmel/flasher.sh | 5 +++++ board/atmel/readme.txt | 7 +++++++ configs/at91sam9g20dfc_defconfig | 31 ------------------------------- configs/at91sam9g20ek_defconfig | 23 +++++++++++++++++++++++ 4 files changed, 35 insertions(+), 31 deletions(-) delete mode 100644 configs/at91sam9g20dfc_defconfig create mode 100644 configs/at91sam9g20ek_defconfig
board/atmel/flasher.sh +5 -0
@@ -20,6 +20,10 @@ family_at91sam9g25ek="at91sam9x5ek" mach_at91sam9g25ek="at91sam9g25-ek" dtb_at91sam9g25ek="at91sam9g25ek.dtb" +family_at91sam9g20ek="at91sam9g20ek" +mach_at91sam9g20ek="at91sam9g20-ek" +dtb_at91sam9g20ek="at91sam9g20ek.dtb" + family_at91sam9g35ek="at91sam9x5ek" mach_at91sam9g35ek="at91sam9g35-ek" dtb_at91sam9g35ek="at91sam9g35ek.dtb"
@@ -93,6 +97,7 @@ Available boards: at91sam9g45m10ek at91sam9rlek at91sam9g15ek + at91sam9g20ek at91sam9g25ek at91sam9x25ek at91sam9g35ek
board/atmel/readme.txt +7 -0
@@ -7,6 +7,7 @@ also be found on the Linux4SAM website, in particular here: http://www.at91.com/linux4sam/bin/view/Linux4SAM/GettingStarted This guide covers the following configurations: + - at91sam9g20ek_defconfig - at91sam9g45m10ek_defconfig - at91sam9rlek_defconfig - at91sam9x5ek_defconfig (at91sam9g15, at91sam9g25, at91sam9x25,
@@ -33,6 +34,7 @@ Flashing the board ------------------ Connect the board: + o at91sam9g20ek: DBGU: J17, USB sam-ba: J19 o at91sam9g45m10ek: DBGU: J10, USB sam-ba: J14 o at91sam9rlek: DBGU: J19, USB sam-ba: J21 o at91sam9x5ek: DBGU: J11, USB sam-ba: J20
@@ -42,6 +44,11 @@ Connect the board: o sama5d4 Xplained: DBGU: J1, USB sam-ba: J11 Start the board in RomBOOT: + o at91sam9g20ek: + 1. open JP7, JP33 and JP34 + 2. start the board + 3. close JP34 + o at91sam9g45m10ek: 1. open JP8, JP10 and JP12 2. start the board
configs/at91sam9g20dfc_defconfig deleted +0 -31
@@ -1,31 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Lock down headers to avoid breaking with new defaults -BR2_KERNEL_HEADERS_VERSION=y -BR2_DEFAULT_KERNEL_VERSION="3.1.6" -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 - -# Second stage bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="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" - -# Filesystem -BR2_TARGET_ROOTFS_TAR=y
configs/at91sam9g20ek_defconfig new file +23 -0
@@ -0,0 +1,23 @@ +BR2_arm=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.18" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=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="cad9c452bfeda05527fa46972c9d717b46f7b746" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_ZIMAGE=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g20ek" +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9g20eknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="at91sam9g20ek_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="677f3c2340b72131beebace8e96cac17b9569887" +BR2_PACKAGE_HOST_SAM_BA=y
Signature · 1 line
1.9.1
PATCH 1/1 configs: new configuration for at91sam9g20ek
Hi Jens,
A few small nitpicks below:
Quoted 14 lines · Jens Kamenik
board/atmel/flasher.sh +4
-0@@ -20,6 +20,10 @@ family_at91sam9g25ek="at91sam9x5ek" mach_at91sam9g25ek="at91sam9g25-ek" dtb_at91sam9g25ek="at91sam9g25ek.dtb" +family_at91sam9g20ek="at91sam9g20ek" +mach_at91sam9g20ek="at91sam9g20-ek" +dtb_at91sam9g20ek="at91sam9g20ek.dtb" + family_at91sam9g35ek="at91sam9x5ek" mach_at91sam9g35ek="at91sam9g35-ek" dtb_at91sam9g35ek="at91sam9g35ek.dtb"
board/atmel/flasher.sh Available boards: · line 100
Quoted 4 lines
board/atmel/flasher.sh +1
-0@@ -93,6 +97,7 @@ Available boards: at91sam9g45m10ek at91sam9rlek at91sam9g15ek + at91sam9g20ek
regarding the sort order, I'd say that at91sam9g20ek is not between at91sam9g15ek and at91sam9g25ek (both part of the at91sam9x5 familiy). I would place it before at91sam9g45m10ek. That comment is also valid for the family_, mach_ and dtb_ definitions
Quoted 3 lines
board/atmel/flasher.sh +0
-0at91sam9g25ek at91sam9x25ek at91sam9g35ek
[...]
configs/at91sam9g20ek_defconfig line 4
Quoted 10 lines
configs/at91sam9g20ek_defconfig new file +4
-0@@ -0,0 +1,23 @@ +BR2_arm=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.18" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=y
These can probably be updated to 4.1
Everything else seems OK, thanks for your patch.
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 configs: new configuration for at91sam9g20ek
Alex,
Quoted 4 lines · Alexandre Belloni
regarding the sort order, I'd say that at91sam9g20ek is not between at91sam9g15ek and at91sam9g25ek (both part of the at91sam9x5 familiy). I would place it before at91sam9g45m10ek. That comment is also valid for the
family_,mach_anddtb_definitions
I think you should explain why. It's because you're not interested in alphabetic ordering here, but rather "release date" ordering of the platform. Is that correct ?
Quoted 4 lines
Quoted 4 lines
configs/at91sam9g20ek_defconfig new file +0
-1--- /dev/null
Quoted 8 lines
configs/at91sam9g20ek_defconfig line 4
Quoted 6 lines
+++ b/configs/at91sam9g20ek_defconfig
configs/at91sam9g20ek_defconfig new file +4
-0@@ -0,0 +1,23 @@ +BR2_arm=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.18" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18=yThese can probably be updated to 4.1
Indeed.
Jens, can you fix those two issues and send an updated version of your patch ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 configs: new configuration for at91sam9g20ek
Hi,
Quoted 4 lines · Thomas Petazzoni
Alex,
On Mon, 9 Nov 2015 12:55:25 +0100, Alexandre Belloni wrote:
Quoted 9 lines
Quoted 4 lines
regarding the sort order, I'd say that at91sam9g20ek is not between at91sam9g15ek and at91sam9g25ek (both part of the at91sam9x5 familiy). I would place it before at91sam9g45m10ek. That comment is also valid for the
family_,mach_anddtb_definitionsI think you should explain why. It's because you're not interested in alphabetic ordering here, but rather "release date" ordering of the platform. Is that correct ?
I'd say that I'm more interested in grouping by families and that indeed would be almost the same as the release date order.
The sam9g20 is almost the same as a sam9260 but is quite far from the sam9x5 family.
Signature · 3 lines
Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com