Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
9e4a82a5
Verified
Commit
9e4a82a5
authored
2 years ago
by
Jami Kettunen
Committed by
Clayton Craft
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
volla-mimameid: add support for close to mainline kernel (MR 3652)
[ci:skip-build] already built successfully in CI
parent
a58ac838
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#197827
passed
2 years ago
Stage: lint
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device/testing/device-volla-mimameid/APKBUILD
+19
-6
19 additions, 6 deletions
device/testing/device-volla-mimameid/APKBUILD
device/testing/device-volla-mimameid/deviceinfo
+10
-5
10 additions, 5 deletions
device/testing/device-volla-mimameid/deviceinfo
with
29 additions
and
11 deletions
device/testing/device-volla-mimameid/APKBUILD
+
19
−
6
View file @
9e4a82a5
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
pkgname
=
device-volla-mimameid
pkgdesc
=
"Volla Phone 22"
pkgver
=
0.
1
pkgrel
=
1
pkgver
=
1
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"MIT"
arch
=
"aarch64"
options
=
"!check !archcheck"
depends
=
"
linux-volla-mimameid
mkbootimg
msm-fb-refresher
postmarketos-base
"
makedepends
=
"devicepkg-dev"
source
=
"deviceinfo"
subpackages
=
"
$pkgname
-kernel-downstream:kernel_downstream
$pkgname
-kernel-mainline:kernel_mainline
"
build
()
{
devicepkg_build
$startdir
$pkgname
...
...
@@ -26,6 +27,18 @@ package() {
devicepkg_package
$startdir
$pkgname
}
kernel_downstream
()
{
pkgdesc
=
"Downstream kernel"
depends
=
"linux-volla-mimameid msm-fb-refresher"
devicepkg_subpackage_kernel
$startdir
$pkgname
$subpkgname
}
kernel_mainline
()
{
pkgdesc
=
"Close to mainline kernel, heavily work in progress"
depends
=
"linux-postmarketos-mediatek-mt6768"
devicepkg_subpackage_kernel
$startdir
$pkgname
$subpkgname
}
sha512sums
=
"
0a8ac9a10584d0473864581f0a18063ab29083c80b7f89383da507ddfe2d2deb680e16d8943b3dbf50e71c49bf4b98aa73584bfbb236a9655307af5f0438e5
e4 deviceinfo
c0c9d466253b17d7af8be38b8541b7fb363ba0ac51cf06232c940e61c5a653f2f663869f6b89015cc33f14b46fb4304d5d3cfa89554254684bd98786642883
e4 deviceinfo
"
This diff is collapsed.
Click to expand it.
device/testing/device-volla-mimameid/deviceinfo
+
10
−
5
View file @
9e4a82a5
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Volla Phone 22"
deviceinfo_manufacturer="Volla"
deviceinfo_codename="volla-mimameid"
deviceinfo_year="2022"
deviceinfo_dtb="mediatek/mt6768"
deviceinfo_arch="aarch64"
# Device related
...
...
@@ -19,7 +16,6 @@ deviceinfo_screen_height="2340"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
...
...
@@ -36,6 +32,15 @@ deviceinfo_flash_offset_ramdisk="0x07c08000"
deviceinfo_flash_offset_second="0x00e10000"
deviceinfo_flash_offset_tags="0x0bc08000"
# Downstream kernel related
deviceinfo_dtb_downstream="mediatek/mt6768"
deviceinfo_kernel_cmdline_downstream="bootopt=64S3,32N2,64N2"
# Mainline kernel related
deviceinfo_dtb_mainline="mediatek/mt6769z-volla-mimameid"
deviceinfo_kernel_cmdline_mainline="bootopt=64S3,32N2,64N2 PMOS_NO_OUTPUT_REDIRECT"
deviceinfo_flash_fastboot_partition_dtbo_mainline="dtbo"
# NOTE: Flashing kernel on upgrades unsupported due to "dd: error writing
# '/dev/disk/by-partlabel/boot_a': Operation not permitted"
# (the current slot's boot partition appears to be write-protected :/)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment