From 1689bae97c0334b2a67bc5f22c732c264c07872b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 3 May 2024 14:12:11 +0200 Subject: [PATCH] webos: webos-raspberrypi: linux-raspberrypi=webosrpi37 :Release Notes: Remove the backported wens certificate used by wireless-regdb since 2024.01.23 as mentioned in: https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=11c9c6eec5ff45cd1fd4858bc28f38693c5d0fde revert: http://gpro.lge.com/c/webos-pro/meta-lg-webos/+/404384 webos: webos-raspberrypi: linux-raspberrypi=webosrpi36 :Detailed Notes: The same is now backported in meta-raspberrypi with: https://github.com/agherzan/meta-raspberrypi/pull/1317 There is recipes-kernel/linux/linux-raspberrypi_6.1.bb recipe in meta-raspberrypi/kirkstone which was backported to support raspberrypi5 which we can switch to by setting PREFERRED_VERSION_linux-raspberrypi (all rpis use 6.1 since mickledore and 6.6 since scarthgap). rpi-6.1.y has these changes as well: BUILD/work-shared/raspberrypi4-64/kernel-source $ git log rpi-6.1.y --oneline net/wireless/certs/wens.hex db57ef0dd4c2 wifi: cfg80211: fix certs build to not depend on file order ec350809cd98 wifi: cfg80211: Add my certificate but only since 6.1.74 (not 6.1.61 used in meta-raspberrypi/kirkstone before the backports from: https://github.com/agherzan/meta-raspberrypi/pull/1317 [kirkstone] linux-raspberrypi_6.1.bb: Upgrade to 6.1.77 https://github.com/agherzan/meta-raspberrypi/pull/1319 [mickledore] linux-raspberrypi_6.1.bb: Upgrade to 6.1.77 https://github.com/agherzan/meta-raspberrypi/pull/1318 [nanbield] linux-raspberrypi_6.1.bb: Upgrade to 6.1.77 https://github.com/agherzan/meta-raspberrypi/pull/1320 [scarthgap] linux-raspberrypi: Drop 5.15 :Testing Performed: Only build tested. :QA Notes: No change to image. :Issues Addressed: [WRQ-21716] CCC: Various build fixes [WRQ-20759] iw reg set doesn't work [WRQ-16273] [TAS Failed][OSE][QWAPI-3045] com.webos.service.wifi: getCountryCode [WRQ-693] Create GPVB with Yocto 4.2 Mickledore Change-Id: Iffa75dc5c9e6f77736dcd73020e87e497a84f21a Reviewed-on: http://gpro.lge.com/c/webos-pro/meta-lg-webos/+/409332 Reviewed-by: Ghane Simit Reviewed-by: Abdul Khader Reviewed-by: Hieu Van Nguyen Reviewed-by: Jaekyu Lee Reviewed-by: Yangwoo Byun --- ...001-wifi-cfg80211-Add-my-certificate.patch | 126 ------------------ ...x-certs-build-to-not-depend-on-file-.patch | 34 ----- .../linux/linux-raspberrypi_%.bbappend | 4 +- 3 files changed, 1 insertion(+), 163 deletions(-) delete mode 100644 meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0001-wifi-cfg80211-Add-my-certificate.patch delete mode 100644 meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0002-wifi-cfg80211-fix-certs-build-to-not-depend-on-file-.patch diff --git a/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0001-wifi-cfg80211-Add-my-certificate.patch b/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0001-wifi-cfg80211-Add-my-certificate.patch deleted file mode 100644 index 9b62e9e46..000000000 --- a/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0001-wifi-cfg80211-Add-my-certificate.patch +++ /dev/null @@ -1,126 +0,0 @@ -From 80663991ddaec664f6ffd37e4b61eed405fbfd9c Mon Sep 17 00:00:00 2001 -From: Chen-Yu Tsai -Date: Thu, 7 Dec 2023 21:20:50 +0800 -Subject: [PATCH] wifi: cfg80211: Add my certificate - -commit fb768d3b13ffa325b7e84480d488ac799c9d2cd7 upstream. - -As announced [1][2], I have taken over maintainership of the -wireless-regdb project. - -Add my certificate so that newer releases are valid to the kernel. -Seth's certificate should be kept around for awhile, at least until -a few new releases by me happen. - -This should also be applied to stable trees so that stable kernels -can utilize newly released database binaries. - -[1] https://lore.kernel.org/linux-wireless/CAGb2v657baNMPKU3QADijx7hZa=GUcSv2LEDdn6N=QQaFX8r-g@mail.gmail.com/ -[2] https://lore.kernel.org/linux-wireless/ZWmRR5ul7EDfxCan@wens.tw/ - -Cc: stable@vger.kernel.org -Signed-off-by: Chen-Yu Tsai -Acked-by: Seth Forshee -Link: https://msgid.link/ZXHGsqs34qZyzZng@wens.tw -Signed-off-by: Johannes Berg -Signed-off-by: Greg Kroah-Hartman ---- -Upstream-Status: Backport [018f336f79fd wifi: cfg80211: Add my certificate] - - net/wireless/certs/wens.hex | 87 +++++++++++++++++++++++++++++++++++++ - 1 file changed, 87 insertions(+) - create mode 100644 net/wireless/certs/wens.hex - -diff --git a/net/wireless/certs/wens.hex b/net/wireless/certs/wens.hex -new file mode 100644 -index 000000000000..ccd5b5dc3360 ---- /dev/null -+++ b/net/wireless/certs/wens.hex -@@ -0,0 +1,87 @@ -+/* Chen-Yu Tsai's regdb certificate */ -+0x30, 0x82, 0x02, 0xa7, 0x30, 0x82, 0x01, 0x8f, -+0x02, 0x14, 0x61, 0xc0, 0x38, 0x65, 0x1a, 0xab, -+0xdc, 0xf9, 0x4b, 0xd0, 0xac, 0x7f, 0xf0, 0x6c, -+0x72, 0x48, 0xdb, 0x18, 0xc6, 0x00, 0x30, 0x0d, -+0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, -+0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, 0x0f, 0x31, -+0x0d, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x04, 0x03, -+0x0c, 0x04, 0x77, 0x65, 0x6e, 0x73, 0x30, 0x20, -+0x17, 0x0d, 0x32, 0x33, 0x31, 0x32, 0x30, 0x31, -+0x30, 0x37, 0x34, 0x31, 0x31, 0x34, 0x5a, 0x18, -+0x0f, 0x32, 0x31, 0x32, 0x33, 0x31, 0x31, 0x30, -+0x37, 0x30, 0x37, 0x34, 0x31, 0x31, 0x34, 0x5a, -+0x30, 0x0f, 0x31, 0x0d, 0x30, 0x0b, 0x06, 0x03, -+0x55, 0x04, 0x03, 0x0c, 0x04, 0x77, 0x65, 0x6e, -+0x73, 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, -+0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, -+0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, -+0x00, 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, -+0x01, 0x00, 0xa9, 0x7a, 0x2c, 0x78, 0x4d, 0xa7, -+0x19, 0x2d, 0x32, 0x52, 0xa0, 0x2e, 0x6c, 0xef, -+0x88, 0x7f, 0x15, 0xc5, 0xb6, 0x69, 0x54, 0x16, -+0x43, 0x14, 0x79, 0x53, 0xb7, 0xae, 0x88, 0xfe, -+0xc0, 0xb7, 0x5d, 0x47, 0x8e, 0x1a, 0xe1, 0xef, -+0xb3, 0x90, 0x86, 0xda, 0xd3, 0x64, 0x81, 0x1f, -+0xce, 0x5d, 0x9e, 0x4b, 0x6e, 0x58, 0x02, 0x3e, -+0xb2, 0x6f, 0x5e, 0x42, 0x47, 0x41, 0xf4, 0x2c, -+0xb8, 0xa8, 0xd4, 0xaa, 0xc0, 0x0e, 0xe6, 0x48, -+0xf0, 0xa8, 0xce, 0xcb, 0x08, 0xae, 0x37, 0xaf, -+0xf6, 0x40, 0x39, 0xcb, 0x55, 0x6f, 0x5b, 0x4f, -+0x85, 0x34, 0xe6, 0x69, 0x10, 0x50, 0x72, 0x5e, -+0x4e, 0x9d, 0x4c, 0xba, 0x38, 0x36, 0x0d, 0xce, -+0x73, 0x38, 0xd7, 0x27, 0x02, 0x2a, 0x79, 0x03, -+0xe1, 0xac, 0xcf, 0xb0, 0x27, 0x85, 0x86, 0x93, -+0x17, 0xab, 0xec, 0x42, 0x77, 0x37, 0x65, 0x8a, -+0x44, 0xcb, 0xd6, 0x42, 0x93, 0x92, 0x13, 0xe3, -+0x39, 0x45, 0xc5, 0x6e, 0x00, 0x4a, 0x7f, 0xcb, -+0x42, 0x17, 0x2b, 0x25, 0x8c, 0xb8, 0x17, 0x3b, -+0x15, 0x36, 0x59, 0xde, 0x42, 0xce, 0x21, 0xe6, -+0xb6, 0xc7, 0x6e, 0x5e, 0x26, 0x1f, 0xf7, 0x8a, -+0x57, 0x9e, 0xa5, 0x96, 0x72, 0xb7, 0x02, 0x32, -+0xeb, 0x07, 0x2b, 0x73, 0xe2, 0x4f, 0x66, 0x58, -+0x9a, 0xeb, 0x0f, 0x07, 0xb6, 0xab, 0x50, 0x8b, -+0xc3, 0x8f, 0x17, 0xfa, 0x0a, 0x99, 0xc2, 0x16, -+0x25, 0xbf, 0x2d, 0x6b, 0x1a, 0xaa, 0xe6, 0x3e, -+0x5f, 0xeb, 0x6d, 0x9b, 0x5d, 0x4d, 0x42, 0x83, -+0x2d, 0x39, 0xb8, 0xc9, 0xac, 0xdb, 0x3a, 0x91, -+0x50, 0xdf, 0xbb, 0xb1, 0x76, 0x6d, 0x15, 0x73, -+0xfd, 0xc6, 0xe6, 0x6b, 0x71, 0x9e, 0x67, 0x36, -+0x22, 0x83, 0x79, 0xb1, 0xd6, 0xb8, 0x84, 0x52, -+0xaf, 0x96, 0x5b, 0xc3, 0x63, 0x02, 0x4e, 0x78, -+0x70, 0x57, 0x02, 0x03, 0x01, 0x00, 0x01, 0x30, -+0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, -+0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x03, 0x82, -+0x01, 0x01, 0x00, 0x24, 0x28, 0xee, 0x22, 0x74, -+0x7f, 0x7c, 0xfa, 0x6c, 0x1f, 0xb3, 0x18, 0xd1, -+0xc2, 0x3d, 0x7d, 0x29, 0x42, 0x88, 0xad, 0x82, -+0xa5, 0xb1, 0x8a, 0x05, 0xd0, 0xec, 0x5c, 0x91, -+0x20, 0xf6, 0x82, 0xfd, 0xd5, 0x67, 0x60, 0x5f, -+0x31, 0xf5, 0xbd, 0x88, 0x91, 0x70, 0xbd, 0xb8, -+0xb9, 0x8c, 0x88, 0xfe, 0x53, 0xc9, 0x54, 0x9b, -+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xa2, 0x81, 0x03, 0x2d, -+0xd4, 0x2a, 0x63, 0x3f, 0xf7, 0x31, 0x2e, 0x40, -+0x33, 0x5c, 0x46, 0xbc, 0x9b, 0xc1, 0x05, 0xa5, -+0x45, 0x4e, 0xc3 diff --git a/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0002-wifi-cfg80211-fix-certs-build-to-not-depend-on-file-.patch b/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0002-wifi-cfg80211-fix-certs-build-to-not-depend-on-file-.patch deleted file mode 100644 index ecd53bfee..000000000 --- a/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi/0002-wifi-cfg80211-fix-certs-build-to-not-depend-on-file-.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 14b5aacbb831f4bb411381d885cb87d7c455a0dc Mon Sep 17 00:00:00 2001 -From: Johannes Berg -Date: Thu, 14 Dec 2023 09:08:16 +0100 -Subject: [PATCH] wifi: cfg80211: fix certs build to not depend on file order - -commit 3c2a8ebe3fe66a5f77d4c164a0bea8e2ff37b455 upstream. - -The file for the new certificate (Chen-Yu Tsai's) didn't -end with a comma, so depending on the file order in the -build rule, we'd end up with invalid C when concatenating -the (now two) certificates. Fix that. - -Cc: stable@vger.kernel.org -Reported-by: Biju Das -Reported-by: Naresh Kamboju -Fixes: fb768d3b13ff ("wifi: cfg80211: Add my certificate") -Signed-off-by: Johannes Berg -Signed-off-by: Greg Kroah-Hartman ---- -Upstream-Status: Backport [4ccca0017c4e wifi: cfg80211: fix certs build to not depend on file order] - - net/wireless/certs/wens.hex | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/net/wireless/certs/wens.hex b/net/wireless/certs/wens.hex -index ccd5b5dc3360..0d50369bede9 100644 ---- a/net/wireless/certs/wens.hex -+++ b/net/wireless/certs/wens.hex -@@ -84,4 +84,4 @@ - 0xf0, 0xc7, 0x83, 0xbb, 0xa2, 0x81, 0x03, 0x2d, - 0xd4, 0x2a, 0x63, 0x3f, 0xf7, 0x31, 0x2e, 0x40, - 0x33, 0x5c, 0x46, 0xbc, 0x9b, 0xc1, 0x05, 0xa5, --0x45, 0x4e, 0xc3 -+0x45, 0x4e, 0xc3, diff --git a/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend index 82e664ec8..e6dcdf0b2 100644 --- a/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend +++ b/meta-webos-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend @@ -1,6 +1,6 @@ # Copyright (c) 2017-2024 LG Electronics, Inc. -EXTENDPRAUTO:append = "webosrpi36" +EXTENDPRAUTO:append = "webosrpi37" CMDLINE:append = " rw cgroup_memory=1 cgroup_enable=memory swapaccount=1" @@ -12,8 +12,6 @@ SRC_URI += "\ file://0001-kernel-seed-voicecard.patch \ file://0002-seed-voicecard-Update-from-HinTak-to-support-v6.1-ke.patch;minver=6.1.0 \ file://0003-seed-voicecard-Update-from-HinTak-to-support-v6.6-ke.patch;minver=6.6.0 \ - file://0001-wifi-cfg80211-Add-my-certificate.patch \ - file://0002-wifi-cfg80211-fix-certs-build-to-not-depend-on-file-.patch \ ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'file://docker.cfg', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'file://ebtables.cfg', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'file://lxc.cfg', '', d)} \