lg-hammerhed: enable flash kernel on update (MR 2627)

Enable flashing kernel on update + small cleanups for deviceinfo:

* re-sort lines in deviceinfo
* remove console=tty0 from kernel cmdline, so it does not spit out
  all kernel logs on the screen. Now during boot you see just
  blinking cursor and pmOS logo.
This commit is contained in:
Alexey Minnekhanov 2021-10-23 20:33:12 +03:00
parent 741133fc3f
commit 41df49dc91
No known key found for this signature in database
GPG Key ID: 6FE3B029D9D9FAFF
2 changed files with 15 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lg-hammerhead
pkgver=2
pkgrel=29
pkgver=3
pkgrel=0
pkgdesc="Google Nexus 5"
url="https://postmarketos.org"
arch="armv7"
@ -11,6 +11,7 @@ depends="
mesa-dri-gallium
mkbootimg
postmarketos-base
postmarketos-update-kernel
swclock-offset
"
makedepends="devicepkg-dev"
@ -74,8 +75,10 @@ nonfree_firmware() {
"$subpkgdir"/etc/modprobe.d/bt-module-deps.conf
}
sha512sums="6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
a850782da69c99b9d9b5e405ce0e206568015e840597780fb0a4d20fba14cb8f7ce96abf6255796b8613cf46f4a1d48eab4147477fbe3f00cc06f567a82cab94 deviceinfo
sha512sums="
6cef5f8ae1785ac16e6fe84bfc861ac50cdfb94db35d764f44a25c960e123cb82f6e56f45362a5340c62a3d5ac225f2689afd4f6964cb88305a0892ba44214f0 bt-module-deps.conf
aba6a7fc9b91d35e4f7d2daf3c808570a30019dcbd957daa38db3a0b5a274c73923a08789ea5fd71558dda34c37d41d6651a3cc39395f9735ac3f1a0bf00f9db deviceinfo
8ee9e4a5420aa6b00cef04848a94b7e9d7bfd98252ace23b181b757ee44d27d453a2fcd9dbbbe149f17cd8a596f3749d3425d4040167f9e303e5e66dc8cd9560 rootston.ini
4c22070223f39c419260a6817e5cc2b7881c095deeba031363a5634842dd175dd67eecace980849f0553de79110ef4e43a66143d71433805cd916c37fe7248e9 weston.ini
0a9da551fa9d48d8a663f6bc74e8a7d6e2d2a6e009bd163fa46cd302e75656ad7ae57402a0bd70614ec253e0f2445b4c6999df07104f4c657ed630305c7f40d4 xorg.conf"
0a9da551fa9d48d8a663f6bc74e8a7d6e2d2a6e009bd163fa46cd302e75656ad7ae57402a0bd70614ec253e0f2445b4c6999df07104f4c657ed630305c7f40d4 xorg.conf
"

View File

@ -6,27 +6,29 @@ deviceinfo_name="Google Nexus 5"
deviceinfo_manufacturer="LG"
deviceinfo_codename="lg-hammerhead"
deviceinfo_year="2013"
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_dtb="qcom-msm8974-lge-nexus5-hammerhead"
deviceinfo_append_dtb="true"
deviceinfo_modules_initfs="pm8941_pwrkey rmi_i2c"
deviceinfo_external_storage="false"
deviceinfo_flash_method="fastboot"
deviceinfo_arch="armv7"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="false"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
deviceinfo_getty="ttyMSM0;115200"
# Fastboot related
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_method="fastboot"
deviceinfo_flash_kernel_on_update="true"
deviceinfo_flash_offset_base="0"
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 msm.vram=192m msm.allow_vram_carveout=1"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 PMOS_NO_OUTPUT_REDIRECT msm.vram=192m msm.allow_vram_carveout=1"
deviceinfo_flash_pagesize="2048"