linux kernel: bump default to version 4.7
Fabio Estevam
reviewerPATCH 1/4 linux kernel: bump default to version 4.7
From: Fabio Estevam <[email protected]>
--- linux/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
linux/Config.in +2 -2
@@ -27,7 +27,7 @@ choice prompt "Kernel version" config BR2_LINUX_KERNEL_LATEST_VERSION - bool "Latest version (4.6.4)" + bool "Latest version (4.7)" config BR2_LINUX_KERNEL_CUSTOM_VERSION bool "Custom version"
@@ -110,7 +110,7 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH config BR2_LINUX_KERNEL_VERSION string - default "4.6.4" if BR2_LINUX_KERNEL_LATEST_VERSION + default "4.7" if BR2_LINUX_KERNEL_LATEST_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ if BR2_LINUX_KERNEL_CUSTOM_VERSION default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH 2/4 linux-headers: bump default to version 4.7
From: Fabio Estevam <[email protected]>
--- package/linux-headers/Config.in.host | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
package/linux-headers/Config.in.host +10 -1
@@ -6,7 +6,7 @@ comment "Kernel Header Options" choice prompt "Kernel Headers" default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL - default BR2_KERNEL_HEADERS_4_6 + default BR2_KERNEL_HEADERS_4_7 help Select the kernel version to get headers from.
@@ -92,6 +92,10 @@ choice bool "Linux 4.6.x kernel headers" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + config BR2_KERNEL_HEADERS_4_7 + bool "Linux 4.7.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + config BR2_KERNEL_HEADERS_VERSION bool "Manually specified Linux version" endchoice
@@ -112,6 +116,10 @@ choice This is used to hide/show some packages that have strict requirements on the version of kernel headers. +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7 + bool "4.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6 bool "4.6.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
@@ -241,4 +249,5 @@ config BR2_DEFAULT_KERNEL_HEADERS default "4.4.15" if BR2_KERNEL_HEADERS_4_4 default "4.5.7" if BR2_KERNEL_HEADERS_4_5 default "4.6.4" if BR2_KERNEL_HEADERS_4_6 + default "4.7" if BR2_KERNEL_HEADERS_4_7 default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
Signature · 1 line
1.9.1
PATCH 2/4 linux-headers: bump default to version 4.7
Hello,
package/linux-headers/Config.in.host choice · line 97
Quoted 3 lines · Fabio Estevam
package/linux-headers/Config.in.host +3
-0+ config BR2_KERNEL_HEADERS_4_7 + bool "Linux 4.7.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7
You're selecting a symbol that doesn't exist here. Your patch 3/4 should have come before 2/4.
So I've applied this patch, but after applying 3/4.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Fabio Estevam
reviewerPATCH 3/4 toolchain: add 4.7.x choice for headers
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
--- toolchain/toolchain-common.in | 5 +++++ toolchain/toolchain-external/Config.in | 4 ++++ 2 files changed, 9 insertions(+)
toolchain/toolchain-common.in +5 -0
@@ -248,10 +248,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 bool select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "4.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 default "4.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 default "4.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 default "4.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
toolchain/toolchain-external/Config.in +4 -0
@@ -793,6 +793,10 @@ choice m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7 + bool "4.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6 bool "4.6.x" select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 3/4 toolchain: add 4.7.x choice for headers
Hello,
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>--- toolchain/toolchain-common.in | 5 +++++ toolchain/toolchain-external/Config.in | 4 ++++ 2 files changed, 9 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Fabio Estevam
reviewerPATCH 4/4 configs: Add new configuration for i.MX6UL Pico board
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Add support for Technexion's i.MX6UL Pico board running U-boot 2016.07 and kernel 4.7.
For information about this board, please visit:
http://www.wandboard.org/images/hobbit/hobbitboard-imx6ul-reva1.pdf
--- board/technexion/imx6ulpico/genimage.cfg | 41 +++++++++++++++++++++ board/technexion/imx6ulpico/post-image.sh | 16 +++++++++ board/technexion/imx6ulpico/readme.txt | 59 +++++++++++++++++++++++++++++++ configs/imx6ulpico_defconfig | 34 ++++++++++++++++++ 4 files changed, 150 insertions(+) create mode 100644 board/technexion/imx6ulpico/genimage.cfg create mode 100755 board/technexion/imx6ulpico/post-image.sh create mode 100644 board/technexion/imx6ulpico/readme.txt create mode 100644 configs/imx6ulpico_defconfig
board/technexion/imx6ulpico/genimage.cfg new file +41 -0
@@ -0,0 +1,41 @@ +# Minimal eMMC card image for the Technexion's i.MX6UL Pico board +# +# We mimic the .sdcard Freescale's image format for i.MX6UL: +# * the eMMC must have 1 kB free space at the beginning, +# * U-Boot is dumped as is, +# * a FAT partition at offset 8 MB is containing zImage and dtbs, +# * a single root filesystem partition is required (Ext4 in this case). +# + +image boot.vfat { + vfat { + files = { + "imx6ul-pico-hobbit.dtb", + "zImage" + } + } + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.imx" + offset = 1024 + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +}
board/technexion/imx6ulpico/post-image.sh new file +16 -0
@@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +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/technexion/imx6ulpico/readme.txt new file +59 -0
59 lines not on this page · raw message
configs/imx6ulpico_defconfig new file +34 -0
@@ -0,0 +1,34 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y + +# Linux headers same as kernel, a 4.7 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc5" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.7" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-pico-hobbit" + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="pico-imx6ul" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.07" +BR2_TARGET_UBOOT_FORMAT_IMX=y + +# required tools to create the eMMC image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# filesystem / image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/technexion/imx6ulpico/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y
Signature · 1 line
1.9.1
Thomas Petazzoni
AppliedPATCH 4/4 configs: Add new configuration for i.MX6UL Pico board
Hello,
Quoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Add support for Technexion's i.MX6UL Pico board running U-boot 2016.07 and kernel 4.7.
For information about this board, please visit:
http://www.wandboard.org/images/hobbit/hobbitboard-imx6ul-reva1.pdfSigned-off-by Fabio Estevam <[email protected]>
Quoted 10 lines
--- board/technexion/imx6ulpico/genimage.cfg | 41 +++++++++++++++++++++ board/technexion/imx6ulpico/post-image.sh | 16 +++++++++ board/technexion/imx6ulpico/readme.txt | 59 +++++++++++++++++++++++++++++++ configs/imx6ulpico_defconfig | 34 ++++++++++++++++++ 4 files changed, 150 insertions(+) create mode 100644 board/technexion/imx6ulpico/genimage.cfg create mode 100755 board/technexion/imx6ulpico/post-image.sh create mode 100644 board/technexion/imx6ulpico/readme.txt create mode 100644 configs/imx6ulpico_defconfig
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/4 linux kernel: bump default to version 4.7
In reply to Fabio EstevamHello,
Quoted 6 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>--- linux/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks, I've applied after changing the prefix from "linux kernel:" to just "linux:" since "linux" is the name of the Buildroot package this change applies to.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com