Patches for Aria G25 board based on Buildroot 2016.08
PATCH 1/3 Patches for Aria G25 board based on Buildroot 2016.08
- configs/acmesystems_aria_g25_128mb_defconfig, configs/acmesystems_aria_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version
- board/acmesystems/aria-g25/genimage.cfg board/acmesystems/aria-g25/post-image.sh :
add support for genimage in order to build sdcard.img
- board/acmesystems/aria-g25/readme.txt : update documentation for Aria G25 and add notes about how to build sdcard.img
--- board/acmesystems/aria-g25/genimage.cfg | 35 +++++++++++++++++ board/acmesystems/aria-g25/post-image.sh | 14 +++++++ board/acmesystems/aria-g25/readme.txt | 56 ++++++++++++---------------- configs/acmesystems_aria_g25_128mb_defconfig | 30 +++++++++++---- configs/acmesystems_aria_g25_256mb_defconfig | 30 +++++++++++---- 5 files changed, 118 insertions(+), 47 deletions(-) create mode 100644 board/acmesystems/aria-g25/genimage.cfg create mode 100755 board/acmesystems/aria-g25/post-image.sh
board/acmesystems/aria-g25/genimage.cfg new file +35 -0
@@ -0,0 +1,35 @@ +# Minimal SD card image for the Acmesystems Aria G25 + +image boot.vfat { + vfat { + file zImage { + image = "zImage" + } + + file at91-ariag25.dtb { + image = "at91-ariag25.dtb" + } + + file boot.bin { + image = "at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.8.6.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/aria-g25/post-image.sh new file +14 -0
@@ -0,0 +1,14 @@ +#!/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}"
board/acmesystems/aria-g25/readme.txt +23 -33
74 lines not on this page · raw message
configs/acmesystems_aria_g25_128mb_defconfig +23 -7
@@ -1,20 +1,36 @@ # Architecture BR2_arm=y -# Linux headers same as kernel, a 4.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/aria-g25/post-image.sh" + +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -# Bootloader +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" + +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="3f957cec253abc80fd10c733e5e596f46e1aef56" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-128m" + +# Tools to build sdcard.img +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y
configs/acmesystems_aria_g25_256mb_defconfig +23 -7
@@ -1,20 +1,36 @@ # Architecture BR2_arm=y -# Linux headers same as kernel, a 4.1 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/aria-g25/post-image.sh" + +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -# Bootloader +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" + +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="3f957cec253abc80fd10c733e5e596f46e1aef56" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-256m" + +# Tools to build sdcard.img +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y
Signature · 1 line
2.7.4
PATCH 2/3 Patches for Arietta G25 board based on Buildroot 2016.08
- configs/acmesystems_arietta_g25_128mb_defconfig, configs/acmesystems_arietta_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version
- board/acmesystems/arietta-g25/genimage.cfg board/acmesystems/arietta-g25/post-image.sh :
add support for genimage in order to build sdcard.img
- board/acmesystems/arietta-g25/readme.txt : update documentation for Arietta G25 and add notes about how to build sdcard.img
--- board/acmesystems/arietta-g25/genimage.cfg | 12 ++++----- board/acmesystems/arietta-g25/post-image.sh | 4 +-- board/acmesystems/arietta-g25/readme.txt | 33 ++++++++++------------- configs/acmesystems_arietta_g25_128mb_defconfig | 36 ++++++++++++++----------- configs/acmesystems_arietta_g25_256mb_defconfig | 36 ++++++++++++++----------- 5 files changed, 63 insertions(+), 58 deletions(-)
board/acmesystems/arietta-g25/genimage.cfg +6 -6
@@ -1,18 +1,18 @@ # 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" + image = "at91-ariettag25.dtb" } - + file boot.bin { - image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.bin" - } + image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.8.6.bin" + } } size = 16M }
board/acmesystems/arietta-g25/post-image.sh +1 -3
@@ -6,11 +6,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" rm -rf "${GENIMAGE_TMP}" -genimage \ +genimage \ --rootpath "${TARGET_DIR}" \ --tmppath "${GENIMAGE_TMP}" \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" - -exit $?
board/acmesystems/arietta-g25/readme.txt +14 -19
@@ -1,20 +1,10 @@ -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. +Acme Systems Arietta G25 Build instructions ================== -To build an image for the arietta g25 choose the configuration -corresponding to the arietta variant. +To build an image for the Arietta G25 choose the configuration +corresponding to the Arietta variant. For 128MB RAM variant type:
@@ -24,7 +14,11 @@ else for 256MB RAM variant type: $ make acmesystems_arietta_g25_256mb_defconfig -then: +To customize the configuration choosed type: + +$ make menuconfig + +When you are ready to start building Buildroot type: $ make
@@ -34,12 +28,13 @@ 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": +Write the bootable SD card image "sdcard.img" onto an SD card with "dd" command: $ sudo dd if=output/images/sdcard.img of=/dev/sdX -Insert the microSD card into the arietta slot and power it. +Insert the microSD card into the Arietta slot and power it. + +To get the kernel log messages you can use a DPI cable (http://www.acmesystems.it/DPI) -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) +You can find additional informations, tutorials and a very comprehensive +documentation on http://www.acmesystems.it/arietta.
configs/acmesystems_arietta_g25_128mb_defconfig +21 -15
@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh" + +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" 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 +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y
configs/acmesystems_arietta_g25_256mb_defconfig +21 -15
@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh" + +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b36695b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" 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 +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y
Signature · 1 line
2.7.4
PATCH 2/3 Patches for Arietta G25 board based on Buildroot 2016.08
Hi Biagio,
2016-09-22 11:50 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 11 lines
- configs/acmesystems_arietta_g25_128mb_defconfig, configs/acmesystems_arietta_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version- board/acmesystems/arietta-g25/genimage.cfg
board/acmesystems/arietta-g25/post-image.sh:
add support for genimage in order to build sdcard.img-
board/acmesystems/arietta-g25/readme.txt: update documentation for Arietta G25 and add notes about how to build sdcard.img
As stated by Thomas in a previous review this patch should have a subject like:
configs/acmesystems_arietta_g25: updated kernel ad at91bootstrap
You should do the same for the Aria patch.
Quoted 71 lines
Signed-off-by Biagio Montaruli <[email protected]>--- board/acmesystems/arietta-g25/genimage.cfg | 12 ++++----- board/acmesystems/arietta-g25/post-image.sh | 4 +-- board/acmesystems/arietta-g25/readme.txt | 33 ++++++++++------------- configs/acmesystems_arietta_g25_128mb_defconfig | 36 ++++++++++++++----------- configs/acmesystems_arietta_g25_256mb_defconfig | 36 ++++++++++++++----------- 5 files changed, 63 insertions(+), 58 deletions(-)board/acmesystems/arietta-g25/genimage.cfg +6
-8@@ -1,18 +1,18 @@ # 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" + image = "at91-ariettag25.dtb" } - + file boot.bin { - image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.7.bin" - } + image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.8.6.bin" + } } size = 16M }board/acmesystems/arietta-g25/post-image.sh +1
-3@@ -6,11 +6,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" rm -rf "${GENIMAGE_TMP}" -genimage \ +genimage \ --rootpath "${TARGET_DIR}" \ --tmppath "${GENIMAGE_TMP}" \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" - -exit $?board/acmesystems/arietta-g25/readme.txt +0
-2@@ -1,20 +1,10 @@ -Acmesystems Arietta G25 -
board/acmesystems/arietta-g25/readme.txt line 1
Quoted 10 lines
board/acmesystems/arietta-g25/readme.txt +0
-9-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.
Why remove this paragraph?
Quoted 13 lines
board/acmesystems/arietta-g25/readme.txt +3
-2+Acme Systems Arietta G25 Build instructions ================== -To build an image for the arietta g25 choose the configuration -corresponding to the arietta variant. +To build an image for the Arietta G25 choose the configuration +corresponding to the Arietta variant. For 128MB RAM variant type:
board/acmesystems/arietta-g25/readme.txt else for 256MB RAM variant type: · line 18
Quoted 6 lines
board/acmesystems/arietta-g25/readme.txt +1
-1@@ -24,7 +14,11 @@ else for 256MB RAM variant type: $ make acmesystems_arietta_g25_256mb_defconfig -then: +To customize the configuration chosen type:
Typo: chosen not choosed
Quoted 25 lines
board/acmesystems/arietta-g25/readme.txt +4
-0+ +$ make menuconfig + +When you are ready to start building Buildroot type: $ make@@ -34,12 +28,13 @@ 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.board/acmesystems/arietta-g25/readme.txt +1
-1-Copy the bootable "sdcard.img" onto an SD card with "dd": +Write the bootable SD card image "sdcard.img" onto an SD card with "dd"command:
$ sudo dd if=output/images/sdcard.img of=/dev/sdXboard/acmesystems/arietta-g25/readme.txt +3
-1-Insert the microSD card into the arietta slot and power it. +Insert the microSD card into the Arietta slot and power it. + +To get the kernel log messages you can use a DPI cable (
board/acmesystems/arietta-g25/readme.txt How to write the microSD card · line 45
Quoted 3 lines
board/acmesystems/arietta-g25/readme.txt +0
-3-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)
I prefer this paragraph to the one you proposed ;)
Quoted 134 lines
board/acmesystems/arietta-g25/readme.txt +2
-0+You can find additional informations, tutorials and a very comprehensive +documentation on http://www.acmesystems.it/arietta.configs/acmesystems_arietta_g25_128mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github. com/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_128mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +2
-4-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=yconfigs/acmesystems_arietta_g25_256mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github. com/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_256mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +2
-5-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y --2.7.4
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 4 lines
Profile: http://it.linkedin.com/in/compagnucciangelo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/6801257a/attachment.html>
PATCH 2/3 Patches for Arietta G25 board based on Buildroot 2016.08
Hi Angelo,
for that patch I have used "Patches for Arietta G25 board based on Buildroot 2016.08" as title because it adds changes to different files and not only to the default configuration files of Arietta. Notice that I have listed the files modified and a summary of changes made to the relative files including the configuration files for Arietta; anyway I will send a new patch for Arietta with the title suggested by you (configs/acmesystems_arietta_g25: updated kernel and at91bootstrap3)
I will also include your suggestions for the readme.txt file in the new patch. Can I use the name "Arietta" instead of "arietta" in the readme.txt file ?
Best regards.
Biagio
2016-09-22 12:14 GMT+02:00 Angelo Compagnucci <[email protected]> :
Quoted 293 lines
Hi Biagio,
2016-09-22 11:50 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 11 lines
- configs/acmesystems_arietta_g25_128mb_defconfig, configs/acmesystems_arietta_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version- board/acmesystems/arietta-g25/genimage.cfg
board/acmesystems/arietta-g25/post-image.sh:
add support for genimage in order to build sdcard.img-
board/acmesystems/arietta-g25/readme.txt: update documentation for Arietta G25 and add notes about how to build sdcard.imgAs stated by Thomas in a previous review this patch should have a subject like:
configs/acmesystems_arietta_g25: updated kernel ad at91bootstrap
You should do the same for the Aria patch.
Quoted 71 lines
Signed-off-by Biagio Montaruli <[email protected]>--- board/acmesystems/arietta-g25/genimage.cfg | 12 ++++----- board/acmesystems/arietta-g25/post-image.sh | 4 +-- board/acmesystems/arietta-g25/readme.txt | 33 ++++++++++------------- configs/acmesystems_arietta_g25_128mb_defconfig | 36 ++++++++++++++----------- configs/acmesystems_arietta_g25_256mb_defconfig | 36 ++++++++++++++----------- 5 files changed, 63 insertions(+), 58 deletions(-)board/acmesystems/arietta-g25/genimage.cfg +6
-8@@ -1,18 +1,18 @@ # 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" + image = "at91-ariettag25.dtb" } - + file boot.bin { - image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.7.bin" - } + image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.8.6.bin" + } } size = 16M }board/acmesystems/arietta-g25/post-image.sh +1
-3@@ -6,11 +6,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" rm -rf "${GENIMAGE_TMP}" -genimage \ +genimage \ --rootpath "${TARGET_DIR}" \ --tmppath "${GENIMAGE_TMP}" \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" - -exit $?board/acmesystems/arietta-g25/readme.txt +0
-2@@ -1,20 +1,10 @@ -Acmesystems Arietta G25 -board/acmesystems/arietta-g25/readme.txt line 1
Quoted 10 lines
board/acmesystems/arietta-g25/readme.txt +0
-9-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.Why remove this paragraph?
Quoted 13 lines
board/acmesystems/arietta-g25/readme.txt +3
-2+Acme Systems Arietta G25 Build instructions ================== -To build an image for the arietta g25 choose the configuration -corresponding to the arietta variant. +To build an image for the Arietta G25 choose the configuration +corresponding to the Arietta variant. For 128MB RAM variant type:board/acmesystems/arietta-g25/readme.txt else for 256MB RAM variant type: · line 18
Quoted 6 lines
board/acmesystems/arietta-g25/readme.txt +1
-1@@ -24,7 +14,11 @@ else for 256MB RAM variant type: $ make acmesystems_arietta_g25_256mb_defconfig -then: +To customize the configuration chosen type:Typo: chosen not choosed
Quoted 25 lines
board/acmesystems/arietta-g25/readme.txt +4
-0+ +$ make menuconfig + +When you are ready to start building Buildroot type: $ make@@ -34,12 +28,13 @@ 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.board/acmesystems/arietta-g25/readme.txt +1
-1-Copy the bootable "sdcard.img" onto an SD card with "dd": +Write the bootable SD card image "sdcard.img" onto an SD card with "dd"command:
$ sudo dd if=output/images/sdcard.img of=/dev/sdXboard/acmesystems/arietta-g25/readme.txt +3
-1-Insert the microSD card into the arietta slot and power it. +Insert the microSD card into the Arietta slot and power it. + +To get the kernel log messages you can use a DPI cable (board/acmesystems/arietta-g25/readme.txt How to write the microSD card · line 45
Quoted 3 lines
board/acmesystems/arietta-g25/readme.txt +0
-3-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)I prefer this paragraph to the one you proposed ;)
Quoted 129 lines
board/acmesystems/arietta-g25/readme.txt +2
-0+You can find additional informations, tutorials and a very comprehensive +documentation on http://www.acmesystems.it/arietta.configs/acmesystems_arietta_g25_128mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_128mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +2
-4-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=yconfigs/acmesystems_arietta_g25_256mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_256mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +2
-5-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y --2.7.4
Quoted 11 lines
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/7ffe1f9c/attachment.html>
PATCH 2/3 Patches for Arietta G25 board based on Buildroot 2016.08
Hi Biagio,
2016-09-22 16:06 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 9 lines
Hi Angelo,
for that patch I have used "Patches for Arietta G25 board based on Buildroot 2016.08" as title because it adds changes to different files and not only to the default configuration files of Arietta. Notice that I have listed the files modified and a summary of changes made to the relative files including the configuration files for Arietta; anyway I will send a new patch for Arietta with the title suggested by you (configs/acmesystems_arietta_g25: updated kernel and at91bootstrap3)
The general rule is to be atomic in patch subject and content, in your case is more than normal that upgrading a configuration involves touching also board files.
Quoted 4 lines
I will also include your suggestions for the readme.txt file in the new patch. Can I use the name "Arietta" instead of "arietta" in the readme.txt file ?
Yes, sure!
Sincerely, Angelo
Quoted 315 lines
Best regards.
Biagio2016-09-22 12:14 GMT+02:00 Angelo Compagnucci <
angelo.compagnucci at gmail.com>:Quoted 306 lines
Hi Biagio,
2016-09-22 11:50 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 11 lines
- configs/acmesystems_arietta_g25_128mb_defconfig, configs/acmesystems_arietta_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version- board/acmesystems/arietta-g25/genimage.cfg
board/acmesystems/arietta-g25/post-image.sh:
add support for genimage in order to build sdcard.img-
board/acmesystems/arietta-g25/readme.txt: update documentation for Arietta G25 and add notes about how to build sdcard.imgAs stated by Thomas in a previous review this patch should have a subject like:
configs/acmesystems_arietta_g25: updated kernel ad at91bootstrap
You should do the same for the Aria patch.
Quoted 79 lines
Signed-off-by Biagio Montaruli <[email protected]>--- board/acmesystems/arietta-g25/genimage.cfg | 12 ++++----- board/acmesystems/arietta-g25/post-image.sh | 4 +-- board/acmesystems/arietta-g25/readme.txt | 33 ++++++++++------------- configs/acmesystems_arietta_g25_128mb_defconfig | 36 ++++++++++++++----------- configs/acmesystems_arietta_g25_256mb_defconfig | 36 ++++++++++++++----------- 5 files changed, 63 insertions(+), 58 deletions(-)board/acmesystems/arietta-g25/genimage.cfg +6
-8@@ -1,18 +1,18 @@ # 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" + image = "at91-ariettag25.dtb" } - + file boot.bin { - image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.7.bin" - } + image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.8.6.bin" + } } size = 16M }board/acmesystems/arietta-g25/post-image.sh +1
-3@@ -6,11 +6,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" rm -rf "${GENIMAGE_TMP}" -genimage \ +genimage \ --rootpath "${TARGET_DIR}" \ --tmppath "${GENIMAGE_TMP}" \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" - -exit $?board/acmesystems/arietta-g25/readme.txt +0
-6@@ -1,20 +1,10 @@ -Acmesystems Arietta G25 - -Intro -===== - -This default configuration will allow you to start experimenting withthe
-buildroot environment for the Arietta G25. With the current configurationboard/acmesystems/arietta-g25/readme.txt line 11
Quoted 4 lines
board/acmesystems/arietta-g25/readme.txt +0
-4-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.Why remove this paragraph?
Quoted 13 lines
board/acmesystems/arietta-g25/readme.txt +3
-2+Acme Systems Arietta G25 Build instructions ================== -To build an image for the arietta g25 choose the configuration -corresponding to the arietta variant. +To build an image for the Arietta G25 choose the configuration +corresponding to the Arietta variant. For 128MB RAM variant type:board/acmesystems/arietta-g25/readme.txt else for 256MB RAM variant type: · line 18
Quoted 6 lines
board/acmesystems/arietta-g25/readme.txt +1
-1@@ -24,7 +14,11 @@ else for 256MB RAM variant type: $ make acmesystems_arietta_g25_256mb_defconfig -then: +To customize the configuration chosen type:Typo: chosen not choosed
Quoted 25 lines
board/acmesystems/arietta-g25/readme.txt +4
-0+ +$ make menuconfig + +When you are ready to start building Buildroot type: $ make@@ -34,12 +28,13 @@ 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.board/acmesystems/arietta-g25/readme.txt +1
-1-Copy the bootable "sdcard.img" onto an SD card with "dd": +Write the bootable SD card image "sdcard.img" onto an SD card with "dd"command:
$ sudo dd if=output/images/sdcard.img of=/dev/sdXboard/acmesystems/arietta-g25/readme.txt +3
-1-Insert the microSD card into the arietta slot and power it. +Insert the microSD card into the Arietta slot and power it. + +To get the kernel log messages you can use a DPI cable (board/acmesystems/arietta-g25/readme.txt How to write the microSD card · line 45
Quoted 3 lines
board/acmesystems/arietta-g25/readme.txt +0
-3-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)I prefer this paragraph to the one you proposed ;)
Quoted 129 lines
board/acmesystems/arietta-g25/readme.txt +2
-0+You can find additional informations, tutorials and a very comprehensive +documentation on http://www.acmesystems.it/arietta.configs/acmesystems_arietta_g25_128mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_128mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +2
-4-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=yconfigs/acmesystems_arietta_g25_256mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_256mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +2
-5-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y --2.7.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
Profile: http://it.linkedin.com/in/compagnucciangelo
Signature · 4 lines
Profile: http://it.linkedin.com/in/compagnucciangelo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/a1b09d2a/attachment.html>
PATCH 2/3 Patches for Arietta G25 board based on Buildroot 2016.08
Hi Angelo,
what do you think about this version of "readme.txt" file for Arietta ? Is it good ?
Acme Systems Arietta G25
Quoted 42 lines
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_defconfigelse for 256MB RAM variant type:
$ make acmesystems_arietta_g25_256mb_defconfigTo customize the configuration chosen type:
$ make menuconfigWhen you are ready to start building Buildroot type:
$ makeHow 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":
Quoted 8 lines
$ sudo dd if=output/images/sdcard.img of=/dev/sdXInsert 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)
If for you it's OK, I will include it in the patch for Arietta.
Best regards,
Biagio.
2016-09-22 16:18 GMT+02:00 Angelo Compagnucci <[email protected]> :
Quoted 349 lines
Hi Biagio,
2016-09-22 16:06 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 9 lines
Hi Angelo,
for that patch I have used "Patches for Arietta G25 board based on Buildroot 2016.08" as title because it adds changes to different files and not only to the default configuration files of Arietta. Notice that I have listed the files modified and a summary of changes made to the relative files including the configuration files for Arietta; anyway I will send a new patch for Arietta with the title suggested by you (configs/acmesystems_arietta_g25: updated kernel and at91bootstrap3)The general rule is to be atomic in patch subject and content, in your case is more than normal that upgrading a configuration involves touching also board files.
Quoted 4 lines
I will also include your suggestions for the readme.txt file in the new patch. Can I use the name "Arietta" instead of "arietta" in the readme.txt file ?
Yes, sure!
Sincerely, Angelo
Quoted 318 lines
Best regards.
Biagio2016-09-22 12:14 GMT+02:00 Angelo Compagnucci <
angelo.compagnucci at gmail.com>:Quoted 309 lines
Hi Biagio,
2016-09-22 11:50 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 11 lines
- configs/acmesystems_arietta_g25_128mb_defconfig, configs/acmesystems_arietta_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version- board/acmesystems/arietta-g25/genimage.cfg
board/acmesystems/arietta-g25/post-image.sh:
add support for genimage in order to build sdcard.img-
board/acmesystems/arietta-g25/readme.txt: update documentation for Arietta G25 and add notes about how to build sdcard.imgAs stated by Thomas in a previous review this patch should have a subject like:
configs/acmesystems_arietta_g25: updated kernel ad at91bootstrap
You should do the same for the Aria patch.
Quoted 82 lines
Signed-off-by Biagio Montaruli <[email protected]>--- board/acmesystems/arietta-g25/genimage.cfg | 12 ++++----- board/acmesystems/arietta-g25/post-image.sh | 4 +-- board/acmesystems/arietta-g25/readme.txt | 33 ++++++++++------------- configs/acmesystems_arietta_g25_128mb_defconfig | 36 ++++++++++++++----------- configs/acmesystems_arietta_g25_256mb_defconfig | 36 ++++++++++++++----------- 5 files changed, 63 insertions(+), 58 deletions(-)board/acmesystems/arietta-g25/genimage.cfg +6
-8@@ -1,18 +1,18 @@ # 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" + image = "at91-ariettag25.dtb" } - + file boot.bin { - image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.7.bin" - } + image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.8.6.bin" + } } size = 16M }board/acmesystems/arietta-g25/post-image.sh +1
-3@@ -6,11 +6,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" rm -rf "${GENIMAGE_TMP}" -genimage \ +genimage \ --rootpath "${TARGET_DIR}" \ --tmppath "${GENIMAGE_TMP}" \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" - -exit $?board/acmesystems/arietta-g25/readme.txt +0
-6@@ -1,20 +1,10 @@ -Acmesystems Arietta G25 - -Intro -===== - -This default configuration will allow you to start experimenting withthe
-buildroot environment for the Arietta G25. With the current configuration
-it will bring-up the board, and allow access through the serial console.board/acmesystems/arietta-g25/readme.txt +0
-2- -You can find additional informations, tutorials and a veryQuoted 3 lines
comprehensive
-documentation on http://www.acmesystems.it/arietta.Why remove this paragraph?
Quoted 13 lines
board/acmesystems/arietta-g25/readme.txt +3
-2+Acme Systems Arietta G25 Build instructions ================== -To build an image for the arietta g25 choose the configuration -corresponding to the arietta variant. +To build an image for the Arietta G25 choose the configuration +corresponding to the Arietta variant. For 128MB RAM variant type:board/acmesystems/arietta-g25/readme.txt else for 256MB RAM variant type: · line 18
Quoted 6 lines
board/acmesystems/arietta-g25/readme.txt +1
-1@@ -24,7 +14,11 @@ else for 256MB RAM variant type: $ make acmesystems_arietta_g25_256mb_defconfig -then: +To customize the configuration chosen type:Typo: chosen not choosed
Quoted 25 lines
board/acmesystems/arietta-g25/readme.txt +4
-0+ +$ make menuconfig + +When you are ready to start building Buildroot type: $ make@@ -34,12 +28,13 @@ 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.board/acmesystems/arietta-g25/readme.txt +1
-1-Copy the bootable "sdcard.img" onto an SD card with "dd": +Write the bootable SD card image "sdcard.img" onto an SD card with"dd" command:
$ sudo dd if=output/images/sdcard.img of=/dev/sdXboard/acmesystems/arietta-g25/readme.txt +3
-1-Insert the microSD card into the arietta slot and power it. +Insert the microSD card into the Arietta slot and power it. + +To get the kernel log messages you can use a DPI cable (board/acmesystems/arietta-g25/readme.txt How to write the microSD card · line 45
Quoted 3 lines
board/acmesystems/arietta-g25/readme.txt +0
-3-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)I prefer this paragraph to the one you proposed ;)
Quoted 130 lines
+You can find additional informations, tutorials and a very comprehensive
board/acmesystems/arietta-g25/readme.txt +1
-0+documentation on http://www.acmesystems.it/arietta.configs/acmesystems_arietta_g25_128mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_128mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +2
-4-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=yconfigs/acmesystems_arietta_g25_256mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_256mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +2
-5-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y --2.7.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
Profile: http://it.linkedin.com/in/compagnucciangelo
Quoted 3 lines
--
Profile: http://it.linkedin.com/in/compagnucciangelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/4083daae/attachment.html>
PATCH 2/3 Patches for Arietta G25 board based on Buildroot 2016.08
Hi Biagio!
2016-09-22 16:25 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 49 lines
Hi Angelo,
what do you think about this version of "readme.txt" file for Arietta ? Is it good ?Acme Systems Arietta G25
Quoted 44 lines
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_defconfigelse for 256MB RAM variant type:
$ make acmesystems_arietta_g25_256mb_defconfigTo customize the configuration chosen type:
$ make menuconfigWhen you are ready to start building Buildroot type:
$ makeHow 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
Quoted 9 lines
Quoted 6 lines
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)
If for you it's OK, I will include it in the patch for Arietta.
For me it's ok!
Sincerely, Angelo
Quoted 361 lines
Best regards,
Biagio.2016-09-22 16:18 GMT+02:00 Angelo Compagnucci <
angelo.compagnucci at gmail.com>:Quoted 352 lines
Hi Biagio,
2016-09-22 16:06 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 9 lines
Hi Angelo,
for that patch I have used "Patches for Arietta G25 board based on Buildroot 2016.08" as title because it adds changes to different files and not only to the default configuration files of Arietta. Notice that I have listed the files modified and a summary of changes made to the relative files including the configuration files for Arietta; anyway I will send a new patch for Arietta with the title suggested by you (configs/acmesystems_arietta_g25: updated kernel and at91bootstrap3)The general rule is to be atomic in patch subject and content, in your case is more than normal that upgrading a configuration involves touching also board files.
Quoted 4 lines
I will also include your suggestions for the readme.txt file in the new patch. Can I use the name "Arietta" instead of "arietta" in the readme.txt file ?
Yes, sure!
Sincerely, Angelo
Quoted 318 lines
Best regards.
Biagio2016-09-22 12:14 GMT+02:00 Angelo Compagnucci <
angelo.compagnucci at gmail.com>:Quoted 309 lines
Hi Biagio,
2016-09-22 11:50 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 11 lines
- configs/acmesystems_arietta_g25_128mb_defconfig, configs/acmesystems_arietta_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version- board/acmesystems/arietta-g25/genimage.cfg
board/acmesystems/arietta-g25/post-image.sh:
add support for genimage in order to build sdcard.img-
board/acmesystems/arietta-g25/readme.txt: update documentation for Arietta G25 and add notes about how to build sdcard.imgAs stated by Thomas in a previous review this patch should have a subject like:
configs/acmesystems_arietta_g25: updated kernel ad at91bootstrap
You should do the same for the Aria patch.
Quoted 82 lines
Signed-off-by Biagio Montaruli <[email protected]>--- board/acmesystems/arietta-g25/genimage.cfg | 12 ++++----- board/acmesystems/arietta-g25/post-image.sh | 4 +-- board/acmesystems/arietta-g25/readme.txt | 33 ++++++++++------------- configs/acmesystems_arietta_g25_128mb_defconfig | 36 ++++++++++++++----------- configs/acmesystems_arietta_g25_256mb_defconfig | 36 ++++++++++++++----------- 5 files changed, 63 insertions(+), 58 deletions(-)board/acmesystems/arietta-g25/genimage.cfg +6
-8@@ -1,18 +1,18 @@ # 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" + image = "at91-ariettag25.dtb" } - + file boot.bin { - image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.7.bin" - } + image = "at91sam9x5_arietta-sdcardboot -linux-zimage-dt-3.8.6.bin" + } } size = 16M }board/acmesystems/arietta-g25/post-image.sh +1
-3@@ -6,11 +6,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" rm -rf "${GENIMAGE_TMP}" -genimage \ +genimage \ --rootpath "${TARGET_DIR}" \ --tmppath "${GENIMAGE_TMP}" \ --inputpath "${BINARIES_DIR}" \ --outputpath "${BINARIES_DIR}" \ --config "${GENIMAGE_CFG}" - -exit $?board/acmesystems/arietta-g25/readme.txt +0
-6@@ -1,20 +1,10 @@ -Acmesystems Arietta G25 - -Intro -===== - -This default configuration will allow you to start experimenting withthe
-buildroot environment for the Arietta G25. With the current configuration
-it will bring-up the board, and allow access through the serial console.board/acmesystems/arietta-g25/readme.txt +0
-2- -You can find additional informations, tutorials and a veryQuoted 3 lines
comprehensive
-documentation on http://www.acmesystems.it/arietta.Why remove this paragraph?
Quoted 13 lines
board/acmesystems/arietta-g25/readme.txt +3
-2+Acme Systems Arietta G25 Build instructions ================== -To build an image for the arietta g25 choose the configuration -corresponding to the arietta variant. +To build an image for the Arietta G25 choose the configuration +corresponding to the Arietta variant. For 128MB RAM variant type:board/acmesystems/arietta-g25/readme.txt else for 256MB RAM variant type: · line 18
Quoted 6 lines
board/acmesystems/arietta-g25/readme.txt +1
-1@@ -24,7 +14,11 @@ else for 256MB RAM variant type: $ make acmesystems_arietta_g25_256mb_defconfig -then: +To customize the configuration chosen type:Typo: chosen not choosed
Quoted 25 lines
board/acmesystems/arietta-g25/readme.txt +4
-0+ +$ make menuconfig + +When you are ready to start building Buildroot type: $ make@@ -34,12 +28,13 @@ 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.board/acmesystems/arietta-g25/readme.txt +1
-1-Copy the bootable "sdcard.img" onto an SD card with "dd": +Write the bootable SD card image "sdcard.img" onto an SD card with"dd" command:
$ sudo dd if=output/images/sdcard.img of=/dev/sdXboard/acmesystems/arietta-g25/readme.txt +3
-1-Insert the microSD card into the arietta slot and power it. +Insert the microSD card into the Arietta slot and power it. + +To get the kernel log messages you can use a DPI cable (board/acmesystems/arietta-g25/readme.txt How to write the microSD card · line 45
Quoted 3 lines
board/acmesystems/arietta-g25/readme.txt +0
-3-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)I prefer this paragraph to the one you proposed ;)
Quoted 130 lines
+You can find additional informations, tutorials and a very comprehensive
board/acmesystems/arietta-g25/readme.txt +1
-0+documentation on http://www.acmesystems.it/arietta.configs/acmesystems_arietta_g25_128mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_128mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_128mb_defconfig +2
-4-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=yconfigs/acmesystems_arietta_g25_256mb_defconfig +7
-3@@ -1,30 +1,36 @@ # Architecture BR2_arm=y -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y -# Kernel +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +10
-5+ +# Kernel configuration BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1.1" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7.4" BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_XZ=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_LABEL="rootfs" -# Bootloader +# AT91bootstrap bootloader BR2_TARGET_AT91BOOTSTRAP3=y BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/tanzilli/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="cedbde4b3669
5b715f469f4872f47e5cc8115000" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.c om/linux4sam/at91bootstrap.git"configs/acmesystems_arietta_g25_256mb_defconfig +1
-2+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.6" BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/acmesystems/arietta-g25/post-image.sh"
configs/acmesystems_arietta_g25_256mb_defconfig +2
-5-BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_PACKAGE_HOST_GENIMAGE=y +# Tools to build sdcard.img BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_MTOOLS=y --2.7.4
Quoted 5 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot--
Profile: http://it.linkedin.com/in/compagnucciangelo--
Profile: http://it.linkedin.com/in/compagnucciangelo
Signature · 4 lines
Profile: http://it.linkedin.com/in/compagnucciangelo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/77a6b9b1/attachment.html>
PATCH 3/3 Patches to update at91bootstrap3 package to 3.8.6 version
In reply to Biagio Montaruli- boot/at91bootstrap3/Config.in :
add support for the latest version (3.8.6) of AT91bootstrap
- boot/at91bootstrap3/at91bootstrap3.hash :
add the hash file of at91bootstrap-3.8.6.tar.gz
--- boot/at91bootstrap3/Config.in | 4 ++-- boot/at91bootstrap3/at91bootstrap3.hash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
boot/at91bootstrap3/Config.in +2 -2
@@ -15,7 +15,7 @@ choice prompt "AT91 Bootstrap 3 version" config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION - bool "3.8" + bool "3.8.6" config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT bool "Custom Git repository"
@@ -40,7 +40,7 @@ endif config BR2_TARGET_AT91BOOTSTRAP3_VERSION string - default "v3.8" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION + default "v3.8.6" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \ if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
boot/at91bootstrap3/at91bootstrap3.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 ae7bb3f8e631f5216f05fd4650b37f2e76d88d0b893bd680f4f398f33b8f3470 at91bootstrap3-v3.8.tar.gz +sha256 a2e9ec6f42ee3b5a805fe215257b63070b6c498d57c568c46fcb18fd1b38ea7e at91bootstrap-3.8.6.tar.gz
Signature · 1 line
2.7.4
PATCH 3/3 Patches to update at91bootstrap3 package to 3.8.6 version
Hi Biagio,
2016-09-22 11:50 GMT+02:00 Biagio Montaruli <[email protected]>:
Quoted 6 lines
- boot/at91bootstrap3/Config.in :
add support for the latest version (3.8.6) of AT91bootstrap- boot/at91bootstrap3/at91bootstrap3.hash :
add the hash file of at91bootstrap-3.8.6.tar.gz
This patch should have a subject like:
boot/at91bootstrap3: bump to version 3.8.6
Quoted 48 lines
Signed-off-by Biagio Montaruli <[email protected]>--- boot/at91bootstrap3/Config.in | 4 ++-- boot/at91bootstrap3/at91bootstrap3.hash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)boot/at91bootstrap3/Config.in +2
-2@@ -15,7 +15,7 @@ choice prompt "AT91 Bootstrap 3 version" config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION - bool "3.8" + bool "3.8.6" config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT bool "Custom Git repository"@@ -40,7 +40,7 @@ endif config BR2_TARGET_AT91BOOTSTRAP3_VERSION string - default "v3.8" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION + default "v3.8.6" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \ if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GITboot/at91bootstrap3/at91bootstrap3.hash +0
-1@@ -1,2 +1,2 @@ # Locally calculated -sha256 ae7bb3f8e631f5216f05fd4650b37f2e76d88d0b893bd680f4f398f33b8f3470at91bootstrap3-v3.8.tar.gz
+sha256a2e9ec6f42ee3b5a805fe215257b63070b6c498d57c568c46fcb18fd1b38ea7eat91bootstrap-3.8.6.tar.gz
--
2.7.4_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 4 lines
Profile: http://it.linkedin.com/in/compagnucciangelo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/dfb83b35/attachment.html>
PATCH 3/3 Patches to update at91bootstrap3 package to 3.8.6 version
In reply to Biagio MontaruliHello,
boot/at91bootstrap3/at91bootstrap3.hash line 2
Quoted 2 lines · Biagio Montaruli
boot/at91bootstrap3/at91bootstrap3.hash +1
-1-sha256 ae7bb3f8e631f5216f05fd4650b37f2e76d88d0b893bd680f4f398f33b8f3470 at91bootstrap3-v3.8.tar.gz +sha256 a2e9ec6f42ee3b5a805fe215257b63070b6c498d57c568c46fcb18fd1b38ea7e at91bootstrap-3.8.6.tar.gz
Filename should be:
at91bootstrap3-v3.8.6.tar.gz
since we're not yet checking hashes for Git-fetched packages you didn't see the difference.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 3/3 Patches to update at91bootstrap3 package to 3.8.6 version
Hello,
I have send the new patch for at91bootstrap3 package to Buildroot mailing list.
Thanks for your help.
2016-09-22 12:25 GMT+02:00 Thomas Petazzoni <
[email protected]>:
Quoted 13 lines
Hello,
Quoted 1 line · Biagio Montaruli
-sha256
ae7bb3f8e631f5216f05fd4650b37f
2e76d88d0b893bd680f4f398f33b8f3470at91bootstrap3-v3.8.tar.gzQuoted 1 line
+sha256
a2e9ec6f42ee3b5a805fe215257b63
070b6c498d57c568c46fcb18fd1b38ea7eat91bootstrap-3.8.6.tar.gzFilename should be:
at91bootstrap3-v3.8.6.tar.gz
Quoted 9 lines
since we're not yet checking hashes for Git-fetched packages you didn't see the difference.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160922/7f686651/attachment.html>
PATCH 1/3 Patches for Aria G25 board based on Buildroot 2016.08
In reply to Biagio MontaruliHello,
Quoted 4 lines · Biagio Montaruli
- configs/acmesystems_aria_g25_128mb_defconfig, configs/acmesystems_aria_g25_256mb_defconfig :
update default configuration files for both 128MB and 256MB version
Quoted 8 lines
- board/acmesystems/aria-g25/genimage.cfg
board/acmesystems/aria-g25/post-image.sh:
add support for genimage in order to build sdcard.img-
board/acmesystems/aria-g25/readme.txt: update documentation for Aria G25 and add notes about how to build sdcard.imgSigned-off-by Biagio Montaruli <[email protected]>
Applied after fixing the commit title and rewrapping the text in the readme.txt file.
Do you want to be notified for future changes, or build problems related to this configuration? If so, can you please send a patch modifying the DEVELOPERS file, like this:
N: Your name <youremail>
F: board/acmesystems/<name of the board>
F: configs/<name of the defconfig>
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com