Skip to contentSkip to conversation

configs: chromebook snow: bump to linux 4.6.3

PATCH New Alex Suykov 2 participants 2 messages Jul 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: chromebook snow: bump to linux 4.6.3

No significant changes but 4.6.3 moved parts of the device tree into a different file, so dts patch must be updated.

---
 board/chromebook/snow/linux-4.3-dts-tpm.patch | 26 --------------------------
 board/chromebook/snow/linux-4.3.fragment      |  2 --
 board/chromebook/snow/linux-4.6-dts-tpm.patch | 27 +++++++++++++++++++++++++++
 board/chromebook/snow/linux-4.6.fragment      |  2 ++
 configs/chromebook_snow_defconfig             |  7 +++----
 5 files changed, 32 insertions(+), 32 deletions(-)
 delete mode 100644 board/chromebook/snow/linux-4.3-dts-tpm.patch
 delete mode 100644 board/chromebook/snow/linux-4.3.fragment
 create mode 100644 board/chromebook/snow/linux-4.6-dts-tpm.patch
 create mode 100644 board/chromebook/snow/linux-4.6.fragment
board/chromebook/snow/linux-4.3-dts-tpm.patch deleted +0 -26
deleted file mode 100644
index 4a9dd85..0000000
@@ -1,26 +0,0 @@
-Some versions of u-boot for this Chromebook check for tpm node
-in the device tree and fail badly (reboot) if it is not found.
-
-While not exactly correct, it is much easier to patch the mainline
-device tree to match u-boot expectations than to fix u-boot on
-this device.
-
-See https://code.google.com/p/chromium/issues/detail?id=220169
-and https://lkml.org/lkml/2013/3/4/242
-
-Signed-off-by: Alex Suykov <[email protected]>
-
---- a/arch/arm/boot/dts/exynos5250-snow.dts
-+++ b/arch/arm/boot/dts/exynos5250-snow.dts
-@@ -474,6 +474,11 @@
- 	status = "okay";
- 	samsung,i2c-sda-delay = <100>;
- 	samsung,i2c-max-bus-freq = <66000>;
-+
-+	tpm {
-+		compatible = "infineon,slb9635tt";
-+		reg = <0x20>;
-+	};
- };
- 
- &i2c_5 {
board/chromebook/snow/linux-4.3.fragment deleted +0 -2
deleted file mode 100644
index e2786da..0000000
@@ -1,2 +0,0 @@
-CONFIG_MWIFIEX=m
-CONFIG_MWIFIEX_SDIO=m
board/chromebook/snow/linux-4.6-dts-tpm.patch new file +27 -0
new file mode 100644
index 0000000..c71ff1b
@@ -0,0 +1,27 @@
+Some versions of u-boot for this Chromebook check for tpm node
+in the device tree and fail badly (reboot) if it is not found.
+
+While not exactly correct, it is much easier to patch the mainline
+device tree to match u-boot expectations than to fix u-boot on
+this device.
+
+See https://code.google.com/p/chromium/issues/detail?id=220169
+and https://lkml.org/lkml/2013/3/4/242
+
+Signed-off-by: Alex Suykov <[email protected]>
+
+--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
++++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
+@@ -466,6 +466,11 @@
+ 	status = "okay";
+ 	samsung,i2c-sda-delay = <100>;
+ 	samsung,i2c-max-bus-freq = <66000>;
++
++	tpm {
++		compatible = "infineon,slb9635tt";
++		reg = <0x20>;
++	};
+ };
+ 
+ &i2c_5 {
+
board/chromebook/snow/linux-4.6.fragment new file +2 -0
new file mode 100644
index 0000000..e2786da
@@ -0,0 +1,2 @@
+CONFIG_MWIFIEX=m
+CONFIG_MWIFIEX_SDIO=m
configs/chromebook_snow_defconfig +3 -4
index b96441d..408805b 100644
@@ -1,16 +1,15 @@
 BR2_arm=y
 BR2_cortex_a15=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3=y
 BR2_TARGET_GENERIC_GETTY_PORT="tty1"
 BR2_TARGET_GENERIC_GETTY_TERM="linux"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/chromebook/snow/sign.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/chromebook/snow/mksd.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.3.6"
-BR2_LINUX_KERNEL_PATCH="board/chromebook/snow/linux-4.3-dts-tpm.patch"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6.3"
+BR2_LINUX_KERNEL_PATCH="board/chromebook/snow/linux-4.6-dts-tpm.patch"
 BR2_LINUX_KERNEL_DEFCONFIG="exynos"
-BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/chromebook/snow/linux-4.3.fragment"
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/chromebook/snow/linux-4.6.fragment"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="exynos5250-snow"
 BR2_PACKAGE_LINUX_FIRMWARE=y
Signature · 1 line
2.8.3
#1 lore raw

PATCH 1/1 configs: chromebook snow: bump to linux 4.6.3

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Alex" == Alex Suykov <[email protected]> writes:

No significant changes but 4.6.3 moved parts of the device tree into a different file, so dts patch must be updated.

Quoted 11 lines
---
 board/chromebook/snow/linux-4.3-dts-tpm.patch | 26 --------------------------
 board/chromebook/snow/linux-4.3.fragment      |  2 --
 board/chromebook/snow/linux-4.6-dts-tpm.patch | 27 +++++++++++++++++++++++++++
 board/chromebook/snow/linux-4.6.fragment      |  2 ++
 configs/chromebook_snow_defconfig             |  7 +++----
 5 files changed, 32 insertions(+), 32 deletions(-)
 delete mode 100644 board/chromebook/snow/linux-4.3-dts-tpm.patch
 delete mode 100644 board/chromebook/snow/linux-4.3.fragment
 create mode 100644 board/chromebook/snow/linux-4.6-dts-tpm.patch
 create mode 100644 board/chromebook/snow/linux-4.6.fragment

FYI, the diff is quite a bit easier to read if you enable rename detection in git-diff when you generate the patch.

configs/chromebook_snow_defconfig line 3

Quoted 8 lines
configs/chromebook_snow_defconfig +0 -1
index b96441d..408805b 100644
@@ -1,16 +1,15 @@
 BR2_arm=y
 BR2_cortex_a15=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3=y

While BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6 is currently the default value, this will change once 4.7 is released, so I've added an explicit BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y and committed, thanks!

Signature · 1 line
Bye, Peter Korsgaard