From b8d8838179e3fb16c6e4c85e32c6177ae3e7c958 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 5 Jun 2018 22:57:12 +0100 Subject: [PATCH] linux kernel update: procedure is only for old patchset --- README.adoc | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.adoc b/README.adoc index 815f709..e421cb4 100644 --- a/README.adoc +++ b/README.adoc @@ -2600,6 +2600,18 @@ git log | grep -E ' Linux [0-9]+\.' | head ==== Update the Linux kernel +During update all you kernel modules may break since the kernel API is not stable. + +They are usually trivial breaks of things moving around headers or to sub-structs. + +The userland, however, should simply not break, as Linus enforces strict backwards compatibility of userland interfaces. + +This backwards compatibility is just awesome, it makes getting and running the latest master painless. + +This also makes this repo the perfect setup to develop the Linux kernel. + +When we had a local patchset on top of mainline, this is how we updated it: + .... # Last point before out patches. last_mainline_revision=v4.15 @@ -2628,16 +2640,6 @@ git commit -m "linux: update to ${next_mainline_revision}" git push .... -During update all you kernel modules may break since the kernel API is not stable. - -They are usually trivial breaks of things moving around headers or to sub-structs. - -The userland, however, should simply not break, as Linus enforces strict backwards compatibility of userland interfaces. - -This backwards compatibility is just awesome, it makes getting and running the latest master painless. - -This also makes this repo the perfect setup to develop the Linux kernel. - ==== Downgrade the Linux kernel The kernel is not forward compatible, however, so downgrading the Linux kernel requires downgrading the userland too to the latest Buildroot branch that supports it.