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
da9d54b4
Unverified
Commit
da9d54b4
authored
1 year ago
by
Anton Bambura
Committed by
Pablo Correa Gomez
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
google-trogdor: new device (MR 4250)
[ci:skip-build]: already built successfully in CI
parent
91b0823d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#207530
passed
1 year ago
Stage: lint
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
device/testing/device-google-trogdor/APKBUILD
+48
-0
48 additions, 0 deletions
device/testing/device-google-trogdor/APKBUILD
device/testing/device-google-trogdor/deviceinfo
+36
-0
36 additions, 0 deletions
device/testing/device-google-trogdor/deviceinfo
with
84 additions
and
0 deletions
device/testing/device-google-trogdor/APKBUILD
0 → 100644
+
48
−
0
View file @
da9d54b4
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname
=
device-google-trogdor
pkgdesc
=
"Google Trogdor Chromebooks"
pkgver
=
1
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"MIT"
arch
=
"aarch64"
options
=
"!check !archcheck"
depends
=
"
alsa-ucm-conf
depthcharge-tools
eudev-hwids
linux-postmarketos-qcom-sc7180
postmarketos-base
postmarketos-update-depthcharge-kernel
soc-qcom-sc7180
"
makedepends
=
"devicepkg-dev"
subpackages
=
"
$pkgname
-nonfree-firmware:nonfree_firmware"
source
=
"deviceinfo"
build
()
{
devicepkg_build
$startdir
$pkgname
}
package
()
{
devicepkg_package
$startdir
$pkgname
}
nonfree_firmware
()
{
pkgdesc
=
"WiFi/BT, Modem, GPU, Venus firmware"
depends
=
"
linux-firmware-qcom
linux-firmware-qca
linux-firmware-ath10k
firmware-google-trogdor
soc-qcom-sc7180-nonfree-firmware
msm-cros-efs-loader
"
mkdir
"
$subpkgdir
"
}
sha512sums
=
"
3c8c835274e39fcd76ac21ad551ef8bd171f60ab83f9846d6d96d2a5190e00e07ed9ee5a532b96a8cd09d11b5ed9c389c4b3e5c7862290fa4257f1060c47d6df deviceinfo
"
This diff is collapsed.
Click to expand it.
device/testing/device-google-trogdor/deviceinfo
0 → 100644
+
36
−
0
View file @
da9d54b4
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Google Trogdor Chromebook"
deviceinfo_manufacturer="Google"
deviceinfo_codename="google-trogdor"
deviceinfo_year="2021"
deviceinfo_dtb="qcom/sc7180-trogdor*"
deviceinfo_modules_initfs="i2c-hid-of i2c-hid-of-goodix elan-i2c elants-i2c cros-ec-keyb sbs-battery"
deviceinfo_arch="aarch64"
# Device related
# TODO: remove pmbootstrap requirement for deviceinfo_chassis
deviceinfo_chassis="convertible"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_gpu_accelerated="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="console=null deferred_probe_timeout=30"
deviceinfo_cgpt_kpart="/boot/vmlinuz.kpart"
deviceinfo_cgpt_kpart_start="8192"
# 128M kernel partition
deviceinfo_cgpt_kpart_size="262144"
# We are supposed to use "trogdor" board here, but lazor dts does
# not include trogdor compatible which results in loading a wrong
# dtb. "qc7180" board may result in including dtbs that are for
# sc7180 but not related to Chrome OS devices which would increase
# image size. This doesn't happen for us because we provide only
# dtbs from deviceinfo_dtb variable and nothing more, so use "qc7180"
# board here.
deviceinfo_depthcharge_board="qc7180"
deviceinfo_generate_depthcharge_image="true"
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