Skip to content

Commit

Permalink
linux: Add version 4.8-rc2
Browse files Browse the repository at this point in the history
Announcement for Linux 4.8-rc1 [1]:

> It's been two weeks, and the merge window for 4.8 is thus closed.
>
> Due to travel last week, I actually still have a few pull requests
> pending in my inbox that I just wanted to take another look at before
> merging, but the large bulk of the merge window material has been
> merged, and I wanted to make sure there aren't any new ones coming in.
>
> This seems to be building up to be one of the bigger releases lately,
> but let's see how it all ends up. The merge window has been fairly
> normal, although the patch itself looks somewhat unusual: over 20% of
> the patch is documentation updates, due to conversion of the drm and
> media documentation from docbook to the Sphinx doc format. There are
> other doc updates, but that's the big bulk of it.
>
> If you ignore the documentation format change, things look fairly
> regular, with about 60% of the non-documentation diffs being drivers
> (gpu, networking, media, sound, etc)  and about 15% being arch updates
> (arm, powerpc and x86 dominate, but there's mips and s390 too).
>
> The rest is spread out - core networking, tooling (mainly perf),
> include files, core kernel, vfs and low-level filesystems (xfs stands
> out). Few areas escaped:
>
>   10787 files changed, 612208 insertions(+), 272098 deletions(-)
>
> Go out and test. The diffs and logs are too big to post, so as usual
> for rc1, I'm just appending my "merge log" for a very high-level view.

Announcement for Linux 4.8-rc2 [2].

While at it, select `EARLY_PRINTK_DBGP` as an alternative to the serial
port to get Linux kernel messages [3].

```
$ diff -u /boot/config-4.7.0.mx64.94 /boot/config-4.8.0-rc2.mx64.95
[…]
-# CONFIG_EARLY_PRINTK_DBGP is not set
+CONFIG_EARLY_PRINTK_DBGP=y
[…]
```

[1] https://lkml.org/lkml/2016/8/7/93
[2] https://lkml.org/lkml/2016/8/14/874
[3] https://www.kernel.org/doc/Documentation/x86/earlyprintk.txt
  • Loading branch information
pmenzel committed Aug 19, 2016
1 parent fa7ec88 commit 9dd9e1d
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions linux-4.8_rc2-95.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#!/bin/env beesh

# note: CONFIG=/boot/config-WHATEVER BEE_MAKEFLAGS='-j 40' ./linux-xxx.bee

KERNELVERSION=4.8.0-rc2

echo $KERNELVERSION

SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.8-rc2.tar.xz"

# EXCLUDE=""

#CONFIG=

KERNELLOCAL=".mx64.95"
FULLKERNELVERSION="${KERNELVERSION}${KERNELLOCAL}"

B=${S}

mee_patch() {
echo "PATCH $@"
bee_patch $@
}

mee_configure() {
echo "configure $@"
if [ -e /proc/config.gz ] ; then
zcat /proc/config.gz >config-current
RUNNING=config-current
else
RUNNING=/boot/config-$(uname -r)
fi

: ${CONFIG:=${RUNNING}}

if [ ! -e ${CONFIG} ] ; then
echo "can't find config '${CONFIG}'"
exit 1
fi

cp -v ${CONFIG} .config

LOCALVERSION="\"${KERNELLOCAL}\""
sed -i -e "s@CONFIG_LOCALVERSION=.*@CONFIG_LOCALVERSION=${LOCALVERSION}@" .config

echo "doing make -C ${S} olddefconfig in ${PWD} .."

make olddefconfig

echo "doing make -C ${S} menuconfig in ${PWD} .."

make menuconfig
}

mee_build() {
echo "build $@"
make ${BEE_MAKEFLAGS}
}

mee_install() {
echo "install $@"

make modules_install INSTALL_MOD_PATH=${D}
make install INSTALL_PATH=${D}/boot
# make firmware_install INSTALL_MOD_PATH=${D}

rm -v ${D}/lib/modules/${FULLKERNELVERSION}/{source,build}

ln -sv /usr/src/linux/${PKGALLPKG}/source ${D}/lib/modules/${FULLKERNELVERSION}/source
ln -sv /usr/src/linux/${PKGALLPKG}/build ${D}/lib/modules/${FULLKERNELVERSION}/build

ln -sv bzImage-${FULLKERNELVERSION} ${D}/boot/mariux.${PKGREVISION}
}

0 comments on commit 9dd9e1d

Please sign in to comment.