From eebcca4e693c305fa224e9a4936acacfffb8b00b Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 16 Nov 2017 23:56:13 +0000 Subject: [PATCH] You know what? v4.14 --- README.md | 2 +- buildroot_config_fragment | 4 ---- getting-started.md | 6 ++---- linux | 2 +- maintainers.md | 13 ------------- 5 files changed, 4 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 279d782..ee0aa3b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Linux Kernel Module Cheat -Run one command, get a QEMU Buildroot BusyBox virtual machine built from source with several minimal Linux kernel 4.12 module development example tutorials with GDB and KGDB debug and minimal QEMU educational models. "Tested" in x86, ARM and MIPS guests, latest Ubuntu release host. +Run one command, get a QEMU Buildroot BusyBox virtual machine built from source with several minimal Linux kernel 4.14 module development example tutorials with GDB and KGDB debug and minimal QEMU educational models. "Tested" in x86, ARM and MIPS guests, Ubuntu 17.10 host. ![](screenshot.png) diff --git a/buildroot_config_fragment b/buildroot_config_fragment index eddd131..c3525bd 100644 --- a/buildroot_config_fragment +++ b/buildroot_config_fragment @@ -1,7 +1,3 @@ -# Must match the Linux kernel source. -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.12" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y - BR2_GLOBAL_PATCH_DIR="../global_patch_dir" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../kernel_config_fragment" BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../busybox_config_fragment" diff --git a/getting-started.md b/getting-started.md index 9679acf..86020a3 100644 --- a/getting-started.md +++ b/getting-started.md @@ -215,11 +215,9 @@ Scripts under `/etc/init.d` are run by `/etc/init.d/rcS`, which gets called by t ## Kernel version -We try to use the latest possible kernel version: +We try to use the latest possible kernel major release version. - grep BR2_LINUX_KERNEL_VERSION buildroot/output.*~/.config - -or in QEMU: +In QEMU: cat /proc/version diff --git a/linux b/linux index 732f1b1..d4160b4 160000 --- a/linux +++ b/linux @@ -1 +1 @@ -Subproject commit 732f1b1d3621a12341faa4cb1aa45e83e48cc6b1 +Subproject commit d4160b40c586e36c77600bf2a71ee00fc0a3e8a7 diff --git a/maintainers.md b/maintainers.md index 1b0c87a..f521a7d 100644 --- a/maintainers.md +++ b/maintainers.md @@ -1,18 +1,5 @@ # Maintainers -## How to update the Linux kernel version? - -TODO I can only do it "easily" if the kernel headers are supported, check `buildroot/package/linux-headers/Config.in.host` to see if `BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12` is there. Once you've found a supported version: - - cd linux - git rebase --onto v4.12 v4.9.6 - # git rebase --onto - -And on `buildroot_config_fragment` edit: - - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.12" - BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y - ## How to add new Buildroot options? cd buildroot/output.x86_64~