configs: add defconfig for TS-7680
PATCH v3 1/1 configs: add defconfig for TS-7680
The TS-7680 is an i.MX286 ARM ARM926EJ-S board with 10/100 Ethernet, USB port, eMMC and CAN ports.
The TS-7680 uses a 3.14.28 Linux kernel provided by Technologic Systems:
https://github.com/embeddedarm/linux-3.14.28-imx28
U-Boot is not provided as the manufacturer recommends not to update the built-in bootloader.
For more informations please see:
https://wiki.embeddedarm.com/wiki/TS-7680
---
Changes v2 -> v3
- Update Technologic Systems kernel to the latest commit that includes gcc5.x patches (suggested by Thomas Petazzoni)
- Remove those patches from the commit (suggested by Thomas Petazzoni)
- Use support/scripts/genimage.sh instead of custom post-build script and update readme.txt accordingly. (suggested by Thomas Petazzoni)
- Remove glibc selection from defconfig to let Buildroot build default libc. (suggested by Thomas Petazzoni)
Changes v1 -> v2:
- Fix Linux v3.14 build for gcc version > gcc5.x by applying upstream patches (Suggested by Baruch Siach)
board/technologic/ts7680/genimage.cfg | 14 ++++++++++ board/technologic/ts7680/readme.txt | 51 +++++++++++++++++++++++++++++++++++ configs/ts7680_defconfig | 19 +++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 board/technologic/ts7680/genimage.cfg create mode 100644 board/technologic/ts7680/readme.txt create mode 100644 configs/ts7680_defconfig
board/technologic/ts7680/genimage.cfg new file +14 -0
@@ -0,0 +1,14 @@ +image sdcard.img { + hdimage { + } + + partition unused { + size = 512B + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 256M + } +}
board/technologic/ts7680/readme.txt new file +51 -0
51 lines not on this page · raw message
configs/ts7680_defconfig new file +19 -0
@@ -0,0 +1,19 @@ +BR2_arm=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.14.28" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/technologic/ts7680/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/embeddedarm/linux-3.14.28-imx28.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ff01621df09b97d9fd546d1b49f4013060142892" +BR2_LINUX_KERNEL_DEFCONFIG="ts76xx" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-ts7680" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 1 line
2.9.4
PATCH v3 1/1 configs: add defconfig for TS-7680
Hello,
Quoted 6 lines · Julien Grossholtz
The TS-7680 is an i.MX286 ARM ARM926EJ-S board with 10/100 Ethernet, USB port, eMMC and CAN ports.
The TS-7680 uses a 3.14.28 Linux kernel provided by Technologic Systems:
https://github.com/embeddedarm/linux-3.14.28-imx28
Quoted 7 lines
U-Boot is not provided as the manufacturer recommends not to update the built-in bootloader.
For more informations please see:
https://wiki.embeddedarm.com/wiki/TS-7680Signed-off-by Julien Grossholtz <[email protected]>
Thanks for this new version, much better! I've applied to the next branch, with just one change (see below).
configs/ts7680_defconfig line 3
Quoted 5 lines
+++ b/configs/ts7680_defconfig
configs/ts7680_defconfig new file +3
-0@@ -0,0 +1,19 @@ +BR2_arm=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.14.28"
Those two lines were not needed: indeed we prefer to use the option "Same as kernel being built" (BR2_KERNEL_HEADERS_AS_KERNEL) when the kernel is also built as part of the defconfig. Since BR2_KERNEL_HEADERS_AS_KERNEL is the default, it doesn't need to be specified in the defconfig.
One neat side effect is that it will avoid a double download of the
kernel: with your defconfig, Buildroot was downloading the vanilla 3.14.28 for the kernel headers, and then Git cloning the vendor-specific kernel tree. With the change I've made, it will use the vendor-specific Git tree for the kernel headers as well, avoiding the 3.14.28 vanilla kernel download.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v3 1/1 configs: add defconfig for TS-7680
Hello,
----- Original Message -----
Quoted 40 lines
From: "Thomas Petazzoni" <[email protected]>
To: "Julien Grossholtz" <[email protected]>
Cc: "Julien Grossholtz" <[email protected]>, "Mark Featherston" <[email protected]>, buildroot at buildroot.org
Sent: Thursday, August 24, 2017 5:18:04 PM
Subject: Re: [Buildroot] [PATCH v3] configs: add defconfig for TS-7680Hello,
Quoted 6 lines · Julien Grossholtz
The TS-7680 is an i.MX286 ARM ARM926EJ-S board with 10/100 Ethernet, USB port, eMMC and CAN ports.
The TS-7680 uses a 3.14.28 Linux kernel provided by Technologic Systems:
https://github.com/embeddedarm/linux-3.14.28-imx28Quoted 7 lines
U-Boot is not provided as the manufacturer recommends not to update the built-in bootloader.
For more informations please see:
https://wiki.embeddedarm.com/wiki/TS-7680Signed-off-by Julien Grossholtz <[email protected]>Thanks for this new version, much better! I've applied to the next branch, with just one change (see below).
configs/ts7680_defconfig line 3
Quoted 5 lines
+++ b/configs/ts7680_defconfig
configs/ts7680_defconfig new file +3
-0@@ -0,0 +1,19 @@ +BR2_arm=y +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.14.28"Those two lines were not needed: indeed we prefer to use the option "Same as kernel being built" (
BR2_KERNEL_HEADERS_AS_KERNEL) when the kernel is also built as part of the defconfig. SinceBR2_KERNEL_HEADERS_AS_KERNELis the default, it doesn't need to be specified in the defconfig.
Quoted 6 lines
One neat side effect is that it will avoid a double download of the
kernel: with your defconfig, Buildroot was downloading the vanilla 3.14.28 for the kernel headers, and then Git cloning the vendor-specific kernel tree. With the change I've made, it will use the vendor-specific Git tree for the kernel headers as well, avoiding the 3.14.28 vanilla kernel download.
This is great, thank you!
Quoted 12 lines
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Julien