bq-frieza: new device (MR 2652)
[ci:skip-build] Already built on CI in MR
This commit is contained in:
parent
5411328605
commit
21a226098e
5 changed files with 3500 additions and 0 deletions
29
device/testing/device-bq-frieza/APKBUILD
Normal file
29
device/testing/device-bq-frieza/APKBUILD
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
pkgname=device-bq-frieza
|
||||||
|
pkgdesc="BQ Aquarius M10 FHD"
|
||||||
|
pkgver=0.1
|
||||||
|
pkgrel=0
|
||||||
|
url="https://postmarketos.org"
|
||||||
|
license="MIT"
|
||||||
|
arch="aarch64"
|
||||||
|
options="!check !archcheck"
|
||||||
|
depends="
|
||||||
|
linux-bq-frieza
|
||||||
|
mesa-dri-gallium
|
||||||
|
mkbootimg
|
||||||
|
postmarketos-base
|
||||||
|
"
|
||||||
|
makedepends="devicepkg-dev"
|
||||||
|
source="deviceinfo"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
devicepkg_build $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
devicepkg_package $startdir $pkgname
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
9f1ef103e8debbd9ee230b37e1b977ccf00b9dd873c158d91cb2bdcf6c97d6e6a9573725cc898d1ef5520f5e12ae40eb9e855906db90174947e5a4859b3a9cc5 deviceinfo
|
||||||
|
"
|
32
device/testing/device-bq-frieza/deviceinfo
Normal file
32
device/testing/device-bq-frieza/deviceinfo
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Reference: <https://postmarketos.org/deviceinfo>
|
||||||
|
# Please use double quotes only. You can source this file in shell
|
||||||
|
# scripts.
|
||||||
|
|
||||||
|
deviceinfo_format_version="0"
|
||||||
|
deviceinfo_name="BQ Aquarius M10 FHD"
|
||||||
|
deviceinfo_manufacturer="BQ"
|
||||||
|
deviceinfo_codename="bq-frieza"
|
||||||
|
deviceinfo_year="2016"
|
||||||
|
deviceinfo_arch="aarch64"
|
||||||
|
|
||||||
|
# Device related
|
||||||
|
deviceinfo_chassis="tablet"
|
||||||
|
deviceinfo_keyboard="false"
|
||||||
|
deviceinfo_external_storage="true"
|
||||||
|
deviceinfo_screen_width="1920"
|
||||||
|
deviceinfo_screen_height="1200"
|
||||||
|
deviceinfo_framebuffer_landscape="true"
|
||||||
|
|
||||||
|
# Bootloader related
|
||||||
|
deviceinfo_flash_method="fastboot"
|
||||||
|
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 datapart=/dev/disk/by-partlabel/userdata fixrtc rootdelay=5"
|
||||||
|
deviceinfo_generate_bootimg="true"
|
||||||
|
deviceinfo_bootimg_qcdt="false"
|
||||||
|
deviceinfo_bootimg_mtk_mkimage="false"
|
||||||
|
deviceinfo_bootimg_dtb_second="false"
|
||||||
|
deviceinfo_flash_pagesize="2048"
|
||||||
|
deviceinfo_flash_offset_base="0x40078000"
|
||||||
|
deviceinfo_flash_offset_kernel="0x00008000"
|
||||||
|
deviceinfo_flash_offset_ramdisk="0x03f88000"
|
||||||
|
deviceinfo_flash_offset_second="0x00e88000"
|
||||||
|
deviceinfo_flash_offset_tags="0x0df88000"
|
56
device/testing/linux-bq-frieza/APKBUILD
Normal file
56
device/testing/linux-bq-frieza/APKBUILD
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
# Reference: <https://postmarketos.org/vendorkernel>
|
||||||
|
# Kernel config based on: arch/arm64/configs/bq_aquaris_m10_FHD_ubuntu_defconfig
|
||||||
|
|
||||||
|
pkgname=linux-bq-frieza
|
||||||
|
pkgver=3.10.93
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="BQ Aquarius M10 FHD kernel fork"
|
||||||
|
arch="aarch64"
|
||||||
|
_carch="arm64"
|
||||||
|
_flavor="bq-frieza"
|
||||||
|
url="https://kernel.org"
|
||||||
|
license="GPL-2.0-only"
|
||||||
|
options="!strip !check !tracedeps pmb:cross-native"
|
||||||
|
makedepends="
|
||||||
|
bash
|
||||||
|
bc
|
||||||
|
bison
|
||||||
|
devicepkg-dev
|
||||||
|
flex
|
||||||
|
openssl-dev
|
||||||
|
perl
|
||||||
|
"
|
||||||
|
|
||||||
|
# Source
|
||||||
|
_repository="kernel_bq_m10"
|
||||||
|
_commit="547e2e991ba95c5b26870570eba4b32f934f0167"
|
||||||
|
_config="config-$_flavor.$arch"
|
||||||
|
source="
|
||||||
|
$pkgname-$_commit.tar.gz::https://github.com/ubports/$_repository/archive/$_commit.tar.gz
|
||||||
|
$_config
|
||||||
|
gcc10-extern_YYLOC_global_declaration.patch
|
||||||
|
"
|
||||||
|
builddir="$srcdir/$_repository-$_commit"
|
||||||
|
_outdir="out"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
default_prepare
|
||||||
|
. downstreamkernel_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
unset LDFLAGS
|
||||||
|
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
|
||||||
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" \
|
||||||
|
"$_flavor" "$_outdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
f9ddd8f59a98e6d0f488d44456a1c336d7fbe3282b22ca705702c44154c2d87686cfe1ba39b109446420d3cb190cc41e7f3e65e4e65896ccfe083383fc394901 linux-bq-frieza-547e2e991ba95c5b26870570eba4b32f934f0167.tar.gz
|
||||||
|
c181ef409b6d7930f5da876d2ccb8276dc6b52cff090a7db5472e3b2f3b6ea95511f597299890d202454a9125447935933c6a1d30308adedd0de5dd3b294686a config-bq-frieza.aarch64
|
||||||
|
2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch
|
||||||
|
"
|
3382
device/testing/linux-bq-frieza/config-bq-frieza.aarch64
Normal file
3382
device/testing/linux-bq-frieza/config-bq-frieza.aarch64
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1 @@
|
||||||
|
../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch
|
Loading…
Reference in a new issue