From f06e26f865fcc87d630f7766415c303bcf202f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Tue, 13 Nov 2018 00:00:03 +0000 Subject: [PATCH] downgrade linux kernel: you may need to change this repo to match buildroot https://github.com/cirosantilli/linux-kernel-module-cheat/issues/39 --- README.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.adoc b/README.adoc index ea913e8..f6c2d62 100644 --- a/README.adoc +++ b/README.adoc @@ -4115,6 +4115,19 @@ Those commits change `BR2_LINUX_KERNEL_LATEST_VERSION` in `/linux/Config.in`. You should then look up if there is a branch that supports that kernel. Staying on branches is a good idea as they will get backports, in particular ones that fix the build as newer host versions come out. +Finally, after downgrading Buildroot, if something does not work, you might also have to make some changes to how this repo uses Buildroot, as the Buildroot configuration options might have changed. + +We don't expect those changes to be very difficult. A good way to approach the task is to: + +* do a dry run build to get the equivalent Bash commands used: ++ +.... +./build-buildroot --dry-run +.... +* build the Buildroot documentation for the version you are going to use, and check if all Buildroot build commands make sense there + +Then, if you spot an option that is wrong, some grepping in this repo should quickly point you to the code you need to modify. + === Kernel command line parameters Bootloaders can pass a string as input to the Linux kernel when it is booting to control its behaviour, much like the `execve` system call does to userland processes.