Linux v4.16

This commit is contained in:
Ciro Santilli
2018-04-04 10:09:17 +01:00
parent 330edbe8eb
commit 6692ec03f7
2 changed files with 12 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
:toclevels: 6 :toclevels: 6
:toc-title: :toc-title:
Run one command, get a QEMU or gem5 Buildroot BusyBox virtual machine built from source with several minimal Linux kernel 4.15 module development example tutorials with GDB and KGDB step debugging and minimal educational hardware models. "Tested" in x86, ARM and MIPS guests, Ubuntu 17.10 host. Run one command, get a QEMU or gem5 Buildroot BusyBox virtual machine built from source with several minimal Linux kernel 4.16 module development example tutorials with GDB and KGDB step debugging and minimal educational hardware models. "Tested" in x86, ARM and MIPS guests, Ubuntu 17.10 host.
toc::[] toc::[]
@@ -1492,30 +1492,32 @@ git log | grep -E ' Linux [0-9]+\.' | head
.... ....
# Last point before out patches. # Last point before out patches.
last_mainline_revision=v4.14 last_mainline_revision=v4.15
next_mainline_revision=v4.15 next_mainline_revision=v4.16
cd linux cd linux
# Create a branch before the rebase. # Create a branch before the rebase in case things go wrong.
git branch "lkmc-${last_mainline_revision}" git checkout -b "lkmc-${last_mainline_revision}"
git remote set-url origin git@github.com:cirosantilli/linux.git git remote set-url origin git@github.com:cirosantilli/linux.git
git push git push
git checkout master
git remote add up git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git remote add up git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch up git fetch up
git rebase --onto "$next_mainline_revision" "$last_mainline_revision" git rebase --onto "$next_mainline_revision" "$last_mainline_revision"
./build -l
# Manually fix our kernel modules if necessary.
cd .. cd ..
./build -lk
# Manually fix broken kernel modules if necessary.
git branch "buildroot-2017.08-linux-${last_mainline_revision}" git branch "buildroot-2017.08-linux-${last_mainline_revision}"
git add . git add .
# And update the README to show off.
git commit -m "Linux ${next_mainline_revision}" git commit -m "Linux ${next_mainline_revision}"
# Test the heck out of it, especially kernel modules and GDB.
./run
git push git push
.... ....
and update the README!
During update all you kernel modules may break since the kernel API is not stable. 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. They are usually trivial breaks of things moving around headers or to sub-structs.

2
linux

Submodule linux updated: 225d02dc63...8976d3ed1e