You know what? v4.14

This commit is contained in:
Ciro Santilli
2017-11-16 23:56:13 +00:00
parent 23eddfb2a2
commit eebcca4e69
5 changed files with 4 additions and 23 deletions

View File

@@ -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)

View File

@@ -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"

View File

@@ -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

2
linux

Submodule linux updated: 732f1b1d36...d4160b40c5

View File

@@ -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 <new> <old base with our patches on top>
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~