board: Add support for Acmesystems Arietta g25
PATCH v3 1/1 board: Add support for Acmesystems Arietta g25
This patch adds a minimal working configuration for Acmesystems Arietta g25.
---
Changelog:
v3 -> v3:
* Fixing missing DOSFSTOOLS, MTOOLS
* Rewording of readme.txt
v1 -> v2:
* Using genimage for image generation, updating documentation accordingly.
board/acmesystems/arietta-g25/genimage.cfg | 35 +++++++++++++++++++ board/acmesystems/arietta-g25/post-image.sh | 16 +++++++++ board/acmesystems/arietta-g25/readme.txt | 45 +++++++++++++++++++++++++ configs/acmesystems_arietta_g25_128mb_defconfig | 33 ++++++++++++++++++ configs/acmesystems_arietta_g25_256mb_defconfig | 33 ++++++++++++++++++ 5 files changed, 162 insertions(+) create mode 100644 board/acmesystems/arietta-g25/genimage.cfg create mode 100755 board/acmesystems/arietta-g25/post-image.sh create mode 100644 board/acmesystems/arietta-g25/readme.txt create mode 100644 configs/acmesystems_arietta_g25_128mb_defconfig create mode 100644 configs/acmesystems_arietta_g25_256mb_defconfig
board/acmesystems/arietta-g25/genimage.cfg new file +35 -0
@@ -0,0 +1,35 @@ +# Minimal SD card image for the Acmesystems Arietta G25 +# +image boot.vfat { + vfat { + file zImage { + image = "zImage" + } + + file acme-arietta.dtb { + image = "at91-ariag25.dtb" + } + + file boot.bin{ + image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.bin" + } + } + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +}
board/acmesystems/arietta-g25/post-image.sh new file +16 -0
@@ -0,0 +1,16 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${TARGET_DIR}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" + +exit $?
board/acmesystems/arietta-g25/readme.txt new file +45 -0
45 lines not on this page · raw message
configs/acmesystems_arietta_g25_128mb_defconfig new file +33 -0
@@ -0,0 +1,33 @@ +# Architecture +BR2_arm=y + +# Toolchain +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="4.1.1" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_ZIMAGE=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" +BR2_LINUX_KERNEL_XZ=y + +# Bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="git://github.com/tanzilli/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y
configs/acmesystems_arietta_g25_256mb_defconfig new file +33 -0
@@ -0,0 +1,33 @@ +# Architecture +BR2_arm=y + +# Toolchain +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="4.1.1" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_ZIMAGE=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" +BR2_LINUX_KERNEL_XZ=y + +# Bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="git://github.com/tanzilli/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y
Signature · 1 line
1.9.1
PATCH v3 1/1 board: Add support for Acmesystems Arietta g25
Dear Thomas Petazzoni, Peter Korsgaard,
No way to have it included at this point in time, right?
I rally wanted to have it included for 2016.02 release!
Sincerely, Angelo
2016-02-05 19:08 GMT+01:00 Angelo Compagnucci <[email protected]>:
Quoted 223 lines
This patch adds a minimal working configuration for Acmesystems Arietta g25.
Signed-off-by Angelo Compagnucci <[email protected]>---
Changelog:
v3 -> v3:* Fixing missing DOSFSTOOLS, MTOOLS
* Rewording of readme.txtv1 -> v2:
* Using genimage for image generation, updating documentation accordingly.
board/acmesystems/arietta-g25/genimage.cfg | 35 +++++++++++++++++++ board/acmesystems/arietta-g25/post-image.sh | 16 +++++++++ board/acmesystems/arietta-g25/readme.txt | 45 +++++++++++++++++++++++++ configs/acmesystems_arietta_g25_128mb_defconfig | 33 ++++++++++++++++++ configs/acmesystems_arietta_g25_256mb_defconfig | 33 ++++++++++++++++++ 5 files changed, 162 insertions(+) create mode 100644 board/acmesystems/arietta-g25/genimage.cfg create mode 100755 board/acmesystems/arietta-g25/post-image.sh create mode 100644 board/acmesystems/arietta-g25/readme.txt create mode 100644 configs/acmesystems_arietta_g25_128mb_defconfig create mode 100644 configs/acmesystems_arietta_g25_256mb_defconfigboard/acmesystems/arietta-g25/genimage.cfg new file +35
-0@@ -0,0 +1,35 @@ +# Minimal SD card image for the Acmesystems Arietta G25 +# +image boot.vfat { + vfat { + file zImage { + image = "zImage" + } + + file acme-arietta.dtb { + image = "at91-ariag25.dtb" + } + + file boot.bin{ + image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.bin" + } + } + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +}board/acmesystems/arietta-g25/post-image.sh new file +16
-0@@ -0,0 +1,16 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${TARGET_DIR}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" + +exit $?board/acmesystems/arietta-g25/readme.txt new file +45
-0@@ -0,0 +1,45 @@ +Acmesystems Arietta G25 + +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Arietta G25. With the current configuration +it will bring-up the board, and allow access through the serial console. + +You can find additional informations, tutorials and a very comprehensive +documentation on http://www.acmesystems.it/arietta. + +Build instructions +================== + +To build an image for the arietta g25 choose the configuration +corresponding to the arietta variant. + +For 128MB RAM variant type: + +$ make acmesystems_arietta_g25_128mb_defconfig + +else for 256MB RAM variant type: + +$ make acmesystems_arietta_g25_256mb_defconfig + +then: + +$ make + +How to write the microSD card +============================= + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + +Insert the microSD card into the arietta slot and power it. + +The image just built is fairly basic and the only output +you will get is on serial console, please consider to use a DPI +cable (http://www.acmesystems.it/DPI)configs/acmesystems_arietta_g25_128mb_defconfig new file +33
-0@@ -0,0 +1,33 @@ +# Architecture +BR2_arm=y + +# Toolchain +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="4.1.1" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_ZIMAGE=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" +BR2_LINUX_KERNEL_XZ=y + +# Bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="git://github.com/tanzilli/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_MTOOLS=yconfigs/acmesystems_arietta_g25_256mb_defconfig new file +33
-1@@ -0,0 +1,33 @@ +# Architecture +BR2_arm=y + +# Toolchain +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="4.1.1" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_ZIMAGE=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" +BR2_LINUX_KERNEL_XZ=y + +# Bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="git://github.com/tanzilli/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y --1.9.1
Signature · 1 line
Profile: http://it.linkedin.com/in/compagnucciangelo
PATCH v3 1/1 board: Add support for Acmesystems Arietta g25
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Angelo" == Angelo Compagnucci <[email protected]> writes:
Dear Thomas Petazzoni, Peter Korsgaard,
No way to have it included at this point in time, right?
Strictly no, but it cannot really cause regressions for anything else so I'll takke a look tonight.
What is the relation between "Arietta g25" and our existing "Aria g25"? Do we need seperate defconfigs / board support for both?
Signature · 2 lines
Venlig hilsen, Peter Korsgaard
PATCH v3 1/1 board: Add support for Acmesystems Arietta g25
Dear Peter Korsgaard
2016-02-11 17:26 GMT+01:00 Peter Korsgaard <[email protected]>:
Quoted 10 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Angelo" == Angelo Compagnucci <[email protected]> writes:
Dear Thomas Petazzoni, Peter Korsgaard,
No way to have it included at this point in time, right?Strictly no, but it cannot really cause regressions for anything else so I'll takke a look tonight.
What is the relation between "Arietta g25" and our existing "Aria g25"? Do we need seperate defconfigs / board support for both?
They have the same cpu but are different boards and have differet bootloader / memory configurations. So yes, we need support for both.
Sincerely, Angelo.
Quoted 4 lines
--
Venlig hilsen,
Peter Korsgaard
Signature · 1 line
Profile: http://it.linkedin.com/in/compagnucciangelo
PATCH v3 1/1 board: Add support for Acmesystems Arietta g25
In reply to Angelo CompagnucciQuoted 31 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Angelo" == Angelo Compagnucci <[email protected]> writes:
This patch adds a minimal working configuration for Acmesystems Arietta g25.
Signed-off-by Angelo Compagnucci <[email protected]>---
Changelog:
v3 -> v3:* Fixing missing DOSFSTOOLS, MTOOLS
* Rewording of readme.txtv1 -> v2:
* Using genimage for image generation, updating documentation accordingly.
board/acmesystems/arietta-g25/genimage.cfg | 35 +++++++++++++++++++ board/acmesystems/arietta-g25/post-image.sh | 16 +++++++++ board/acmesystems/arietta-g25/readme.txt | 45 +++++++++++++++++++++++++ configs/acmesystems_arietta_g25_128mb_defconfig | 33 ++++++++++++++++++ configs/acmesystems_arietta_g25_256mb_defconfig | 33 ++++++++++++++++++ 5 files changed, 162 insertions(+) create mode 100644 board/acmesystems/arietta-g25/genimage.cfg create mode 100755 board/acmesystems/arietta-g25/post-image.sh create mode 100644 board/acmesystems/arietta-g25/readme.txt create mode 100644 configs/acmesystems_arietta_g25_128mb_defconfig create mode 100644 configs/acmesystems_arietta_g25_256mb_defconfig
board/acmesystems/arietta-g25/readme.txt line 45
Quoted 3 lines
board/acmesystems/arietta-g25/readme.txt new file +3
-0+The image just built is fairly basic and the only output +you will get is on serial console, please consider to use a DPI +cable (http://www.acmesystems.it/DPI)
There's a number of trailing spaces here and elsewhere in the readme.txt
configs/acmesystems_arietta_g25_128mb_defconfig line 6
Quoted 12 lines
configs/acmesystems_arietta_g25_128mb_defconfig new file +6
-0@@ -0,0 +1,33 @@ +# Architecture +BR2_arm=y + +# Toolchain +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="4.1.1"
With our new same-as-kernel version handling (BR2_KERNEL_HEADERS_AS_KERNEL) these two lines can be dropped.
Committed with these fixes, thanks.
Signature · 1 line
Bye, Peter Korsgaard