msm8974 devices: allow vram carveout (MR 2015)
This is needed with the 5.11 kernel. Also adjust the vram & cma sizes for all msm8974 devices. The CMA size is 256MB as set in the kernel config. VRAM is default 16MB although it is set to 192MB with a kernel patch; but set it manually for all devices to make it possible to remove this patch in the future - until we have IOMMU working.
This commit is contained in:
parent
aca8e29d17
commit
6eeab7840c
@ -2,7 +2,7 @@
|
||||
pkgname=device-fairphone-fp2
|
||||
pkgdesc="Fairphone 2"
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
@ -86,7 +86,7 @@ phosh() {
|
||||
"$subpkgdir"/etc/phosh/rootston.ini
|
||||
}
|
||||
|
||||
sha512sums="f41b13840337d006ca925c7aff244f8e5202427aa30f7b5db5473650205932e52b96f99480369696bd9daf376f8f8cc65c1f17b5eaab6e95ae0cea9f2a924e17 deviceinfo
|
||||
sha512sums="9c069d0f1076498df7d5d8f1a861b9d53c6b49e69575466c269df70130c51a9f45b1f9371f8e5182e11ed2d408af6c6bd3a9a353a3650efc93a47242f12c2bde deviceinfo
|
||||
55360b1ba4ddadea341c9edb13c32ba5f19aabf75ab28602f30cfb79b9df8834f115ef979c70569f23ec1293b1fcd408baf320d87803293ce7106bdc73a26c9f FP2.conf
|
||||
b834461c6866bb0c473dd089dd5da641dd42a00f610aad6503117aa50fe6e200db9ad0a264bb609f12350d59faee1f772907bacd75439f702ea7d52f6f85e2b1 hifi
|
||||
aad7cce10db5ec156585893c82932bd42f2c86e4d68208b5f3816ac7f5f80eb6ddf15157666e81de97d30b20897f88e1027545a87fe5c96c37b5e75e3e125ee4 rootston.ini
|
||||
|
@ -8,7 +8,7 @@ deviceinfo_codename="fairphone-fp2"
|
||||
deviceinfo_year="2015"
|
||||
deviceinfo_dtb_mainline="qcom-msm8974-fairphone-fp2"
|
||||
deviceinfo_append_dtb_mainline="true"
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey qnoc_msm8974 ili210x"
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey ili210x"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
@ -24,7 +24,7 @@ deviceinfo_mesa_driver_mainline="msm"
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0,115200,n8 PMOS_NO_OUTPUT_REDIRECT androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3b7 ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1"
|
||||
deviceinfo_kernel_cmdline_mainline="earlycon=msm_serial_dm,0xf991e000 PMOS_NO_OUTPUT_REDIRECT clk_ignore_unused pd_ignore_unused cma=500m msm.vram=400m"
|
||||
deviceinfo_kernel_cmdline_mainline="earlycon=msm_serial_dm,0xf991e000 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt_downstream="true"
|
||||
deviceinfo_flash_offset_base="0x00000000"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-lg-hammerhead
|
||||
pkgver=2
|
||||
pkgrel=24
|
||||
pkgrel=25
|
||||
pkgdesc="Google Nexus 5"
|
||||
url="https://postmarketos.org"
|
||||
arch="armv7"
|
||||
@ -59,7 +59,7 @@ nonfree_firmware() {
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="23af238f42099740402105b44a1729f39aca6eadbdb04138499f4e89d92e4b1e44a3fa9172f49d9dcae7947d54bd7016aaa85fc2892b45d3fe5bb13f5633f790 deviceinfo
|
||||
sha512sums="a850782da69c99b9d9b5e405ce0e206568015e840597780fb0a4d20fba14cb8f7ce96abf6255796b8613cf46f4a1d48eab4147477fbe3f00cc06f567a82cab94 deviceinfo
|
||||
4c22070223f39c419260a6817e5cc2b7881c095deeba031363a5634842dd175dd67eecace980849f0553de79110ef4e43a66143d71433805cd916c37fe7248e9 weston.ini
|
||||
0a9da551fa9d48d8a663f6bc74e8a7d6e2d2a6e009bd163fa46cd302e75656ad7ae57402a0bd70614ec253e0f2445b4c6999df07104f4c657ed630305c7f40d4 xorg.conf
|
||||
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
||||
|
@ -10,7 +10,7 @@ deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_dtb="qcom-msm8974-lge-nexus5-hammerhead"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs="pm8941_pwrkey qnoc_msm8974 rmi_i2c"
|
||||
deviceinfo_modules_initfs="pm8941_pwrkey rmi_i2c"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_arch="armv7"
|
||||
@ -27,6 +27,6 @@ deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x2900000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x02700000"
|
||||
deviceinfo_kernel_cmdline="console=tty0 console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_kernel_cmdline="console=tty0 console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-oneplus-bacon
|
||||
pkgver=1
|
||||
pkgrel=23
|
||||
pkgrel=24
|
||||
pkgdesc="OnePlus One"
|
||||
url="https://postmarketos.org"
|
||||
arch="armv7"
|
||||
@ -51,6 +51,6 @@ weston() {
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="a98277e3d544fdb0bf3a4bf18407676145b34fb28c78e9b1376813a1adca8d2e576bfca24e14d61f854f32817721777ea30dfa21ce1016f459fd0b6e6d223820 deviceinfo
|
||||
sha512sums="3e6a523a1f551943f1938603ba2f5d8e8a56fe92aa71967f8919de3fb727831032651f20f2d4ed9512389f5cbaca71c5d4d2ed1ce8ac519516a23e7932a2b991 deviceinfo
|
||||
65e9ee7352b1dc39d99ea411eb0ed9c56f9975230907db5add3a1b4146cdf6f227c934052dab38a1937ed67d67585f28fb7410f10a1bec9dd5e4eb69d7253515 90-android-touch-dev.rules
|
||||
86a0c08720225e4532f797ad69307dfff66867e4a35de1aacceefc48f19721caf93f9a17a268e58f1f5a7e947f157d6984676837c2b5b835b0caf6ee9821bb5a weston.ini"
|
||||
|
@ -8,7 +8,7 @@ deviceinfo_codename="oneplus-bacon"
|
||||
deviceinfo_year="2014"
|
||||
deviceinfo_dtb_mainline="qcom-msm8974-oneplus-bacon"
|
||||
deviceinfo_append_dtb_mainline="true"
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey qnoc_msm8974 rmi_i2c"
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey rmi_i2c"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
@ -21,7 +21,7 @@ deviceinfo_screen_height="1920"
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0,115200,n8 androidboot.hardware=bacon user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 androidboot.bootdevice=msm_sdcc.1 buildvariant=userdebug"
|
||||
deviceinfo_kernel_cmdline_mainline="PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_kernel_cmdline_mainline="PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt_downstream="true"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
|
@ -2,7 +2,7 @@
|
||||
pkgname=device-samsung-klte
|
||||
pkgdesc="Samsung Galaxy S5"
|
||||
pkgver=0.3
|
||||
pkgrel=13
|
||||
pkgrel=14
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
@ -94,7 +94,7 @@ mainline_firmware() {
|
||||
sha512sums="a68734d3fe30695d5a9302c92327e8ca564a73d06f0de87371800d1bdf4c541c3721af380b8d44cfa0b4cc1dc8a71586aec3f00bb877ee9dc18f41ba34caaeff 70-klte-android.rules
|
||||
66db173b9f1075a133efeea8bda94ef08089b7c15acbc1e3aefb9f8510daa7690a0ce2739d20647e096ba69940ac5c4c6699f3b032ec67609ca56f116bb25256 battery-status
|
||||
c66e0c57e911b644cf6c340ea19ce0a9399b8e9e6cb0da38f612e0f8b3d0812ad109cd7b7506184e840a653397a64e3e57fdc71ab8b0fc52733bf74365b9c0e7 cpufreq.start
|
||||
feeda2ace7affdcb3e2333b448be26d3adc29ae62875ca4c4b21fe5a0401719c4765dfe425f470b176529a61a3291d7127867b860dd1a86835ea57ec1d14a89a deviceinfo
|
||||
6a44037e10a8374283726ad920b9405a441f313d0fd4bc8aa8b5c1eb3e61eba513c1ddc6a4587593a7223fd945f5e4958be6fdf77a2e4ffcf264a00666fa9e42 deviceinfo
|
||||
35f3b120152ebe709e11cebc9ced03f21f52768d88bd68ed23ed864fe1dd3b63665c8f74575882e217dd8226ae5d260e5ad2045dc4ab2470c89185f19b81c4a7 fstab.android
|
||||
f773a9792407c1ad96b11c6673093c9eeff7d538459b7772c5956760a8cbb4de8912b24c77e8812afe056db26fa3e29af09e2a3851828baa0b9a9986bf80790b set-brightness
|
||||
3753dcd8c25cfbbdd8f087a3168537df1334f0d33f36bc8923ec3d225ceb88121aa8d1670d6c6a2baab3d7067c86a43571695ce22e3b47076f97fcb53d1d7e6f NetworkManager-klte.conf"
|
||||
|
@ -8,7 +8,7 @@ deviceinfo_codename="samsung-klte"
|
||||
deviceinfo_year="2014"
|
||||
deviceinfo_dtb_mainline="qcom-msm8974-samsung-klte"
|
||||
deviceinfo_append_dtb_mainline="true"
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey qnoc_msm8974 rmi_i2c"
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey rmi_i2c"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
@ -22,7 +22,7 @@ deviceinfo_getty_mainline="ttyMSM0;115200"
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="heimdall-bootimg"
|
||||
deviceinfo_kernel_cmdline_downstream="console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 zcache.enabled=1 zcache.compressor=lz4 androidboot.bootdevice=msm_sdcc.1 audit=0 selinux=0 androidboot.selinux=disabled"
|
||||
deviceinfo_kernel_cmdline_mainline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT"
|
||||
deviceinfo_kernel_cmdline_mainline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
deviceinfo_bootimg_qcdt_downstream="true"
|
||||
deviceinfo_bootimg_qcdt_mainline="false"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-sony-amami
|
||||
pkgver=3
|
||||
pkgrel=8
|
||||
pkgrel=9
|
||||
pkgdesc="Sony Xperia Z1 Compact"
|
||||
url="https://postmarketos.org"
|
||||
arch="armv7"
|
||||
@ -46,6 +46,6 @@ nonfree_firmware() {
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="8ea66507c2dc185632da0c9893014a7b452495e429003cb64e9dc892752d855c7e835dbf875abae8b98f6736dd82eaafd5de943d07bbbc1b8ba867919fc915ec deviceinfo
|
||||
sha512sums="c6e4c68b45ed9b67de92c4f395a3fecfef25e1c6f8ec6830a50c6ebd3ef3712c5b54e8e1b011a424459fee46ed1ac65c2dcff8970e6518802903427b8ab540e8 deviceinfo
|
||||
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
|
||||
4dc5b6a2d9de6b97e4033b14771b8a6afe922afcd0bc4c97481cfad775726109dd0570058b94b2cd805691343076e7d4d886218787ba883cc31dd1e6e3abb0af fb.modes"
|
||||
|
@ -10,10 +10,11 @@ deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_dtb_mainline="qcom-msm8974-sony-xperia-amami"
|
||||
deviceinfo_append_dtb_mainline="true"
|
||||
deviceinfo_modules_initfs=""
|
||||
deviceinfo_modules_initfs_mainline="pm8941_pwrkey"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_arch="armv7"
|
||||
deviceinfo_kernel_cmdline_mainline="msm.vram=192m msm.allow_vram_carveout=1"
|
||||
deviceinfo_generate_bootimg="true"
|
||||
|
||||
# Splash screen
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-sony-castor
|
||||
pkgver=2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Sony Xperia Z2 Tablet"
|
||||
url="https://postmarketos.org"
|
||||
arch="armv7"
|
||||
@ -26,5 +26,5 @@ nonfree_firmware() {
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="63fc02c92ebe74afc5d468b41afb64c636ccbadf68f99eec645ccc9a01924bb7eb45b76c0347dd0568893530a02ad8149708380246b3f8d3212e247a72aa1d14 deviceinfo
|
||||
sha512sums="599ddc55007a2277643c3a8ef52135b6e962f2402906e26cb3c37461e6d54ca17dab40ead24e089d1264ba7692b201e13707eabfe5d787c82f8a85db7fe1d69e deviceinfo
|
||||
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf"
|
||||
|
@ -10,7 +10,7 @@ deviceinfo_chassis="tablet"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_dtb="qcom-msm8974-sony-xperia-castor"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs="pm8941_pwrkey qnoc_msm8974 rmi_i2c"
|
||||
deviceinfo_modules_initfs="pm8941_pwrkey rmi_i2c"
|
||||
deviceinfo_external_storage="true"
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_arch="armv7"
|
||||
@ -22,4 +22,4 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused console=ttyMSM0,115200,n8 cma=1024m msm.vram=896m"
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused console=ttyMSM0,115200,n8 msm.vram=192m msm.allow_vram_carveout=1"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-sony-sirius
|
||||
pkgver=1
|
||||
pkgrel=14
|
||||
pkgrel=15
|
||||
pkgdesc="Sony Xperia Z2 device package"
|
||||
url="https://postmarketos.org"
|
||||
arch="armv7"
|
||||
@ -52,7 +52,7 @@ nonfree_firmware() {
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="5b316bfce12c45c290e926e251789d75eda3ff79ca49f3e6f7e1a7fbb261e91d77f81deb02a08428bb08a5e3ec49ed83bf3f335ce331c9eac363eb6136e802c5 deviceinfo
|
||||
sha512sums="3ca98d14af1e6295ea6c55e9d39beb99d72affa7c6215ff4cc8c9281168fe1a2ee27a5cdba3ec449cefda31a92a6f6737998e00ee0efe62ba1982f2fa9f4b65b deviceinfo
|
||||
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini
|
||||
ec5e26e60a77e74befabf5cc3f85a2636ce07261e725c0a051999d321ddec056f307001ba659c91e403770ac99d38b3160fd46e235c467fefc03d0901452314d 99-touch.rules
|
||||
35a5dbd90eef6c567822f1a805c6adf620bb9c6c9c2e1755407409c2fab044baa40dda9e526c45108b4a2bbf43e0ad67e3dd90c35f6a6c6e29ec5930f2d1c4a7 modules-load.conf
|
||||
|
@ -9,7 +9,7 @@ deviceinfo_year="2014"
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_dtb=""
|
||||
deviceinfo_modules_initfs="pm8941_pwrkey qnoc_msm8974 max1187x"
|
||||
deviceinfo_modules_initfs="pm8941_pwrkey max1187x"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_flash_method="fastboot"
|
||||
deviceinfo_arch="armv7"
|
||||
@ -26,5 +26,5 @@ deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x2900000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x02700000"
|
||||
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 cma=1024m msm.vram=778m"
|
||||
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 msm.vram=192m msm.allow_vram_carveout=1"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
Loading…
Reference in New Issue
Block a user