linux-oneplus-sdm845: upgrade to 5.7-rc6 (MR 1271)
Update to a new kernel based on v5.7-rc6, adding the following new features: * Remoteproc support and firmware loading * Panel drivers for OnePlus 6/T * Adreno 630 support * Anbox support The new firmware-oneplus-sdm845 is required for these features and devices will not have working display output without firmware [ci:skip-build] Already built on CI
This commit is contained in:
parent
9a08f2747a
commit
80f332c9d2
2 changed files with 484 additions and 2328 deletions
|
@ -14,13 +14,14 @@ options="!strip !check !tracedeps pmb:cross-native"
|
|||
makedepends="bison findutils flex installkernel openssl-dev perl"
|
||||
|
||||
_config="config-$_flavor.$arch"
|
||||
_commit="d99aa17c6fd4528f0fc375b86d3390562046ba88"
|
||||
|
||||
# Source
|
||||
source="
|
||||
$url/-/archive/$pkgver-sdm845/sdm845-linux-next-$pkgver-sdm845.tar.gz
|
||||
sdm845-linux-next-$_commit.tar.gz::https://gitlab.com/sdm845-mainline/sdm845-linux-next/-/archive/$_commit/sdm845-linux-next-$_commit-sdm845.tar.gz
|
||||
$_config
|
||||
"
|
||||
builddir="$srcdir/sdm845-linux-next-$pkgver-sdm845"
|
||||
builddir="$srcdir/sdm845-linux-next-$_commit"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
@ -28,13 +29,6 @@ prepare() {
|
|||
cp -v "$srcdir"/$_config "$srcdir"/build/.config
|
||||
make -C "$builddir" O="$srcdir"/build ARCH="$_carch" \
|
||||
olddefconfig
|
||||
# localversion-next is appended to the kernel image name when on a next
|
||||
# tag, delete it to ensure name becomes vmlinuz-$_flavor
|
||||
rm $builddir/localversion-next
|
||||
# Ensure extraversion is $_flavour.
|
||||
# NOTE: mkinitfs WILL fail if CONFIG_LOCALVERSION is set or
|
||||
# CONFIG_LOCALVERSION_AUTO is set
|
||||
sed -i "s/^EXTRAVERSION =.*/EXTRAVERSION = -$_flavor/g" $builddir/Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -52,12 +46,12 @@ package() {
|
|||
|
||||
cd "$srcdir"/build
|
||||
mkdir -p "$pkgdir"/boot
|
||||
make -j1 zinstall modules_install dtbs_install \
|
||||
make zinstall modules_install dtbs_install \
|
||||
ARCH="$_carch" \
|
||||
INSTALL_PATH="$pkgdir"/boot/ \
|
||||
INSTALL_MOD_PATH="$pkgdir" \
|
||||
INSTALL_DTBS_PATH="$pkgdir/usr/share/dtb"
|
||||
}
|
||||
|
||||
sha512sums="2ed04f7d285192b48cffe3272c41a4659b063907f296de66ed66ba9bdebdcf2e8d0143094dfd3f530e61ccb6ad509554184aed316fd104af50d94e95046f2452 sdm845-linux-next-5.7_git20200507-sdm845.tar.gz
|
||||
1cfde45168ba129a28ddd64644eaaff18146082b652f8bc4081a01197fe7f16647778fcffb9b5ce06df8c0e57a3d72b5ee1895fdc6d58f8e36c4a646b9ab067b config-oneplus-sdm845.aarch64"
|
||||
sha512sums="1d83ab75660fa6fe5c3a2b5c78bdb8568f24656e4ddf93ebc9bc209a9adcd7d6bc47f14b7e2ab2cd664072020e2cf7de08260eb788ee219c69f9c80cfb2f6820 sdm845-linux-next-d99aa17c6fd4528f0fc375b86d3390562046ba88.tar.gz
|
||||
af0d5d106a89e852e8bddec8a3b4320d054e3ea664d072a22631eb82149a85562e152a9e0d5c8900e46c1da90c2530509f5d047ca7e64b50ad17f0d42d3cdb7c config-oneplus-sdm845.aarch64"
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue