Add ASUS Vivobook S 15
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6578 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
18cd11d7fc
commit
3c5d110aba
8 changed files with 239 additions and 0 deletions
40
device/testing/device-asus-s5507q/APKBUILD
Normal file
40
device/testing/device-asus-s5507q/APKBUILD
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-asus-s5507q
|
||||
pkgdesc="ASUS Vivobook S 15"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-qcom-laptop
|
||||
postmarketos-base
|
||||
systemd-boot
|
||||
firmware-asus-s5507q-dpu
|
||||
firmware-asus-s5507q-wifi
|
||||
firmware-asus-s5507q-audio
|
||||
dtbloader
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
deviceinfo
|
||||
modules-initfs
|
||||
"
|
||||
|
||||
_pmb_recommends="
|
||||
firmware-asus-s5507q-common
|
||||
"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
d8fbfda725a96166646f4d804dd6f35ffa1e45f072ba68829a27051ce13bcfddefaef1b3ce622cbdefeb284ca9893f9d6c6d4e3d0c17acaaed457c5784bad3d0 deviceinfo
|
||||
bf450e5aa2878f06824090cac9b51a751e58d8fdff32793a3e87f47cf9c567c53ec9127761eba7a49b25c2b8cf6386910f208d5801fc585c71c68d0745ac3170 modules-initfs
|
||||
"
|
||||
24
device/testing/device-asus-s5507q/deviceinfo
Normal file
24
device/testing/device-asus-s5507q/deviceinfo
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="ASUS Vivobook S 15"
|
||||
deviceinfo_manufacturer="ASUS"
|
||||
deviceinfo_codename="asus-s5507q"
|
||||
deviceinfo_year="2024"
|
||||
deviceinfo_dtb="qcom/x1e80100-asus-vivobook-s15"
|
||||
deviceinfo_arch="aarch64"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="laptop"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_gpu_accelerated="true"
|
||||
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused pd_ignore_unused"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
||||
deviceinfo_partition_type="gpt"
|
||||
deviceinfo_boot_filesystem="fat32"
|
||||
deviceinfo_generate_systemd_boot="true"
|
||||
94
device/testing/device-asus-s5507q/modules-initfs
Normal file
94
device/testing/device-asus-s5507q/modules-initfs
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
atmel_mxt_ts
|
||||
aux-hpd-bridge
|
||||
backlight
|
||||
bq25890_charger
|
||||
clk-smd-rpm
|
||||
display_connector
|
||||
dispcc-x1e80100
|
||||
dwc3
|
||||
dwc3-qcom
|
||||
edt-ft5x06
|
||||
gcc-sm6115
|
||||
goodix
|
||||
gpi
|
||||
gpio_sbu_mux
|
||||
gpio_vibra
|
||||
gpucc-x1e80100
|
||||
i2c-hid
|
||||
i2c-hid-of
|
||||
i2c-hid-of-elan
|
||||
i2c-qcom-geni
|
||||
icc-bwmon
|
||||
icc-osm-l3
|
||||
icc-smd-rpm
|
||||
led_bl
|
||||
libcomposite
|
||||
lmh
|
||||
meson_drm
|
||||
meson_dw_hdmi
|
||||
msm
|
||||
nvme
|
||||
nvme_core
|
||||
nvmem_qcom_spmi_sdam
|
||||
nvmem_qfprom
|
||||
onboard-usb-dev
|
||||
panel_edp
|
||||
panel_samsung_atna33xc20
|
||||
panel-samsung-s6d7aa0
|
||||
panel-samsung-sofef00
|
||||
panel_sitronix_st7703
|
||||
panel-visionox-rm69299
|
||||
phy-nxp-ptn3222
|
||||
crc8
|
||||
pcie_qcom
|
||||
phy_qcom_edp
|
||||
phy-qcom-eusb2-repeater
|
||||
phy-qcom-qmp-combo
|
||||
phy-qcom-qmp-pcie
|
||||
phy-qcom-qmp-ufs
|
||||
phy-qcom-qmp-usb
|
||||
phy-qcom-qmp-usbc
|
||||
phy-qcom-qusb2
|
||||
phy-qcom-snps-eusb2
|
||||
phy-snps-eusb2
|
||||
phy_sun6i_mipi_dphy
|
||||
pinctrl-sm6115
|
||||
pmic-glink
|
||||
pmic-glink-altmode
|
||||
ps883x
|
||||
pwm_bl
|
||||
pwm_sun4i
|
||||
qcom-apcs-ipc-mailbox
|
||||
qcom_glink
|
||||
qcom_glink_rpm
|
||||
qcom_hwspinlock
|
||||
qcom_pmic_tcpm
|
||||
qcom_smd
|
||||
qcom_smd-regulator
|
||||
qcom-spmi-pmic
|
||||
qcom_usb_vbus-regulator
|
||||
qnoc-qcm2290
|
||||
qnoc-sm6115
|
||||
rmi_core
|
||||
rmi_i2c
|
||||
rpmpd
|
||||
rpm-proc
|
||||
rpmsg_core
|
||||
smd-rpm
|
||||
smem
|
||||
sun4i_drm
|
||||
sun4i_i2s
|
||||
sun4i_tcon
|
||||
sun6i_dma
|
||||
sun6i_mipi_dsi
|
||||
sun8i_mixer
|
||||
sun8i_tcon_top
|
||||
tcpm
|
||||
tcsrcc-x1e80100
|
||||
typec
|
||||
udc-core
|
||||
ufs-qcom
|
||||
ulpi
|
||||
usb-storage
|
||||
xhci-plat-hcd
|
||||
zinitix
|
||||
65
device/testing/firmware-asus-s5507q/APKBUILD
Normal file
65
device/testing/firmware-asus-s5507q/APKBUILD
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
pkgname=firmware-asus-s5507q
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
_commit="6adb9ca4d5219f011d36daa09ec521907f54c6a5"
|
||||
pkgdesc="Firmware files for ASUS Vivobook S 15"
|
||||
url="https://github.com/binarycraft007/firmware-asus-s5507q"
|
||||
arch="aarch64"
|
||||
depends="
|
||||
linux-firmware-qcom
|
||||
linux-firmware-qca
|
||||
linux-firmware-ath12k
|
||||
firmware-qcom-adreno
|
||||
"
|
||||
license="proprietary"
|
||||
source="$pkgname-$_commit.tar.gz::$url/archive/$_commit.tar.gz
|
||||
dpu.files
|
||||
wifi.files
|
||||
audio.files
|
||||
common.files
|
||||
"
|
||||
options="!check !strip !archcheck !spdx !tracedeps pmb:cross-native"
|
||||
builddir="$srcdir/firmware-asus-s5507q-$_commit"
|
||||
replaces="linux-firmware-ath12k"
|
||||
|
||||
subpackages="
|
||||
$pkgname-common:common
|
||||
$pkgname-dpu:dpu
|
||||
$pkgname-wifi:wifi
|
||||
$pkgname-audio:audio
|
||||
"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
common() {
|
||||
while IFS="" read -r _i || [ -n "$_i" ]; do
|
||||
install -Dm644 "$builddir/$_i" "$subpkgdir/$_i"
|
||||
done < "$srcdir/common.files"
|
||||
install -Dm644 "$srcdir/common.files" "$subpkgdir/usr/share/mkinitfs/files/common.files"
|
||||
}
|
||||
|
||||
wifi() {
|
||||
while IFS="" read -r _i || [ -n "$_i" ]; do
|
||||
install -Dm644 "$builddir/$_i" "$subpkgdir/$_i"
|
||||
done < "$srcdir/wifi.files"
|
||||
}
|
||||
|
||||
audio() {
|
||||
while IFS="" read -r _i || [ -n "$_i" ]; do
|
||||
install -Dm644 "$builddir/$_i" "$subpkgdir/$_i"
|
||||
done < "$srcdir/audio.files"
|
||||
}
|
||||
|
||||
dpu() {
|
||||
install -Dm644 "$srcdir/dpu.files" "$subpkgdir/usr/share/mkinitfs/files/dpu.files"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ff665076663383b18c14c79bfac2fbcac46455d40a2c08a147e49b3d7741e8eab94b0fca03a1f536c3c07c082234648adf370796502d80d46bf3dbcb8566f280 firmware-asus-s5507q-6adb9ca4d5219f011d36daa09ec521907f54c6a5.tar.gz
|
||||
1ab5d99b050db2a65d0ada43e333145bf59b38a9658116c80977d01f94b3dbb0c3e9c2f30824f96e43f949706857a777024c0f095b989eaef013c4d5e5238cfc dpu.files
|
||||
d424a5ec8e278cd6a3095714ca97284174c01583aa55d2666d8a034050e8609de9770daf98d7908b5ab5fa5d64aba068e3ce9af5dfed838ba1ded92808192f84 wifi.files
|
||||
3a273a9448957ea1c187287ed1d90ff9e5ed358b8dd20b37e1890f7effbd66ba016d0c0fcc8884e79a1b435aefbb389643de3d9d9fe977ea5210417d2f63a3b0 audio.files
|
||||
42168ff103ce03dc8fe7491d756333b0bc8d821d8aa7360539b1d019519732ee70874601d90941dc1fc993422039cf0954049f0953367b741fb68bce58d148c6 common.files
|
||||
"
|
||||
1
device/testing/firmware-asus-s5507q/audio.files
Normal file
1
device/testing/firmware-asus-s5507q/audio.files
Normal file
|
|
@ -0,0 +1 @@
|
|||
/lib/firmware/qcom/x1e80100/X1E80100-ASUS-Vivobook-S15-tplg.bin.zst
|
||||
10
device/testing/firmware-asus-s5507q/common.files
Normal file
10
device/testing/firmware-asus-s5507q/common.files
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/adsp_dtbs.elf
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/adspr.jsn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/adsps.jsn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/adspua.jsn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/battmgr.jsn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/cdsp_dtbs.elf
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/cdspr.jsn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/qcadsp8380.mbn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/qccdsp8380.mbn
|
||||
/lib/firmware/qcom/x1e80100/ASUSTeK/vivobook-s15/qcdxkmsuc8380.mbn
|
||||
2
device/testing/firmware-asus-s5507q/dpu.files
Normal file
2
device/testing/firmware-asus-s5507q/dpu.files
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/lib/firmware/qcom/gen70500_sqe.fw.zst
|
||||
/lib/firmware/qcom/gen70500_gmu.bin.zst
|
||||
3
device/testing/firmware-asus-s5507q/wifi.files
Normal file
3
device/testing/firmware-asus-s5507q/wifi.files
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
/lib/firmware/ath12k/WCN7850/hw2.0/amss.bin.zst
|
||||
/lib/firmware/ath12k/WCN7850/hw2.0/board-2.bin.zst
|
||||
/lib/firmware/ath12k/WCN7850/hw2.0/m3.bin.zst
|
||||
Loading…
Add table
Add a link
Reference in a new issue