[Buildroot] [PATCH v3] configs: add defconfig for TS-7680

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Aug 24 21:18:04 UTC 2017


Hello,

On Thu, 24 Aug 2017 17:07:00 -0400, Julien Grossholtz wrote:
> 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
> 
> Signed-off-by: Julien Grossholtz <julien.grossholtz at savoirfairelinux.com>

Thanks for this new version, much better! I've applied to the next
branch, with just one change (see below).


> +++ b/configs/ts7680_defconfig
> @@ -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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list