diff options
| author | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-04-04 14:32:48 -0300 |
|---|---|---|
| committer | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-05-14 18:06:58 -0300 |
| commit | bdbad4a03db867358bb878afa686f64480b895bb (patch) | |
| tree | 9006fb684696b1a234b7f091fb204dd3cbff0e64 | |
| parent | 2ffc9c3774bdffdc25b8e11de6c15ef6c2d03126 (diff) | |
| download | meta-freescale-bdbad4a03db867358bb878afa686f64480b895bb.tar.gz | |
linux-imx: Update from 6.6.52 to 6.12.3
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
| -rw-r--r-- | recipes-kernel/linux/linux-imx/0001-tty-vt-conmakehash-Don-t-mention-the-full-path-of-th.patch | 70 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-imx_6.12.bb (renamed from recipes-kernel/linux/linux-imx_6.6.bb) | 12 |
2 files changed, 4 insertions, 78 deletions
diff --git a/recipes-kernel/linux/linux-imx/0001-tty-vt-conmakehash-Don-t-mention-the-full-path-of-th.patch b/recipes-kernel/linux/linux-imx/0001-tty-vt-conmakehash-Don-t-mention-the-full-path-of-th.patch deleted file mode 100644 index dbeae5150..000000000 --- a/recipes-kernel/linux/linux-imx/0001-tty-vt-conmakehash-Don-t-mention-the-full-path-of-th.patch +++ /dev/null | |||
| @@ -1,70 +0,0 @@ | |||
| 1 | From 3bd85c6c97b2d232638594bf828de62083fe3389 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de> | ||
| 3 | Date: Mon, 11 Mar 2024 12:30:18 +0100 | ||
| 4 | Subject: [PATCH] tty: vt: conmakehash: Don't mention the full path of the | ||
| 5 | input in output | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | This change strips $abs_srctree of the input file containing the | ||
| 11 | character mapping table in the generated output. The motivation for this | ||
| 12 | change is Yocto emitting a build warning | ||
| 13 | |||
| 14 | WARNING: linux-lxatac-6.7-r0 do_package_qa: QA Issue: File /usr/src/debug/linux-lxatac/6.7-r0/drivers/tty/vt/consolemap_deftbl.c in package linux-lxatac-src contains reference to TMPDIR | ||
| 15 | |||
| 16 | So this change brings us one step closer to make the build result | ||
| 17 | reproducible independent of the build path. | ||
| 18 | |||
| 19 | Upstream-Status: Backport [https://github.com/torvalds/linux/commit/3bd85c6c97b2d232638594bf828de62083fe3389] | ||
| 20 | |||
| 21 | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | ||
| 22 | Link: https://lore.kernel.org/r/20240311113017.483101-2-u.kleine-koenig@pengutronix.de | ||
| 23 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
| 24 | --- | ||
| 25 | drivers/tty/vt/conmakehash.c | 15 +++++++++++++-- | ||
| 26 | 1 file changed, 13 insertions(+), 2 deletions(-) | ||
| 27 | |||
| 28 | diff --git a/drivers/tty/vt/conmakehash.c b/drivers/tty/vt/conmakehash.c | ||
| 29 | index cddd789fe46e..dc2177fec715 100644 | ||
| 30 | --- a/drivers/tty/vt/conmakehash.c | ||
| 31 | +++ b/drivers/tty/vt/conmakehash.c | ||
| 32 | @@ -76,7 +76,8 @@ static void addpair(int fp, int un) | ||
| 33 | int main(int argc, char *argv[]) | ||
| 34 | { | ||
| 35 | FILE *ctbl; | ||
| 36 | - char *tblname; | ||
| 37 | + const char *tblname, *rel_tblname; | ||
| 38 | + const char *abs_srctree; | ||
| 39 | char buffer[65536]; | ||
| 40 | int fontlen; | ||
| 41 | int i, nuni, nent; | ||
| 42 | @@ -101,6 +102,16 @@ int main(int argc, char *argv[]) | ||
| 43 | } | ||
| 44 | } | ||
| 45 | |||
| 46 | + abs_srctree = getenv("abs_srctree"); | ||
| 47 | + if (abs_srctree && !strncmp(abs_srctree, tblname, strlen(abs_srctree))) | ||
| 48 | + { | ||
| 49 | + rel_tblname = tblname + strlen(abs_srctree); | ||
| 50 | + while (*rel_tblname == '/') | ||
| 51 | + ++rel_tblname; | ||
| 52 | + } | ||
| 53 | + else | ||
| 54 | + rel_tblname = tblname; | ||
| 55 | + | ||
| 56 | /* For now we assume the default font is always 256 characters. */ | ||
| 57 | fontlen = 256; | ||
| 58 | |||
| 59 | @@ -253,7 +264,7 @@ int main(int argc, char *argv[]) | ||
| 60 | #include <linux/types.h>\n\ | ||
| 61 | \n\ | ||
| 62 | u8 dfont_unicount[%d] = \n\ | ||
| 63 | -{\n\t", argv[1], fontlen); | ||
| 64 | +{\n\t", rel_tblname, fontlen); | ||
| 65 | |||
| 66 | for ( i = 0 ; i < fontlen ; i++ ) | ||
| 67 | { | ||
| 68 | -- | ||
| 69 | 2.34.1 | ||
| 70 | |||
diff --git a/recipes-kernel/linux/linux-imx_6.6.bb b/recipes-kernel/linux/linux-imx_6.12.bb index e039dd9c8..05d9c4ea6 100644 --- a/recipes-kernel/linux/linux-imx_6.6.bb +++ b/recipes-kernel/linux/linux-imx_6.12.bb | |||
| @@ -12,20 +12,16 @@ i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU | |||
| 12 | 12 | ||
| 13 | require recipes-kernel/linux/linux-imx.inc | 13 | require recipes-kernel/linux/linux-imx.inc |
| 14 | 14 | ||
| 15 | SRCBRANCH = "lf-6.6.y" | 15 | SRCBRANCH = "lf-6.12.y" |
| 16 | LOCALVERSION = "-6.6.52-2.2.0" | 16 | LOCALVERSION = "-6.12.3-1.1.0" |
| 17 | SRCREV = "e0f9e2afd4cff3f02d71891244b4aa5899dfc786" | 17 | SRCREV = "37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a" |
| 18 | |||
| 19 | SRC_URI += " \ | ||
| 20 | file://0001-tty-vt-conmakehash-Don-t-mention-the-full-path-of-th.patch \ | ||
| 21 | " | ||
| 22 | 18 | ||
| 23 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition | 19 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition |
| 24 | # required by kernel-yocto.bbclass. | 20 | # required by kernel-yocto.bbclass. |
| 25 | # | 21 | # |
| 26 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | 22 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and |
| 27 | # should be updated once patchlevel is merged. | 23 | # should be updated once patchlevel is merged. |
| 28 | LINUX_VERSION = "6.6.52" | 24 | LINUX_VERSION = "6.12.3" |
| 29 | 25 | ||
| 30 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" | 26 | KBUILD_DEFCONFIG:mx6-generic-bsp = "imx_v7_defconfig" |
| 31 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" | 27 | KBUILD_DEFCONFIG:mx7-generic-bsp = "imx_v7_defconfig" |
