37a4121e08
The Huawei Ascend G7 is based on Qualcomm MSM8916 and therefore makes use of linux-postmarketos-qcom-msm8916 as a close-to-mainline kernel. Initially supported features: - USB - Storage (eMMC, SD card) - Display - Touchscreen, Buttons, Vibrator - Notification LED - WiFi/Bluetooth - Accelerometer, Magnetometer, Proximity - Audio - NFC The modem needs more work to work around strange Huawei firmware mess. Note that the Huawei shipped an outdated firmware version that does not support booting aarch64 kernels (like used in this device port). However, the device does not verify firmware signatures so it is possible to flash firmware from other devices. This is mostly described in the wiki, but unfortunately it's quite complex. However, the aarch64 version of linux-postmarketos-qcom-msm8916 receives much more testing so I would like to avoid adding more armv7 MSM8916 devices unless absolutely necessary. For pointercal: Screen dimension 720x1280 Touchscreen dimension (reported by evtest) 1100x1900 720/1100*65536 = ~42896 1280/1900*65536 = ~44151 Offset doesn't seem to be needed. [ci:skip-build] already built successfully in CI
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Huawei Ascend G7"
|
|
deviceinfo_manufacturer="Huawei"
|
|
deviceinfo_codename="huawei-g7"
|
|
deviceinfo_year="2014"
|
|
deviceinfo_dtb="qcom/msm8916-huawei-g7"
|
|
deviceinfo_append_dtb="true"
|
|
deviceinfo_modules_initfs="panel-huawei-tianma-nt35521 msm rmi-i2c"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="720"
|
|
deviceinfo_screen_height="1280"
|
|
deviceinfo_getty="ttyMSM0;115200"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_kernel_cmdline="earlycon console=ttyMSM0,115200 PMOS_NO_OUTPUT_REDIRECT"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_flash_offset_base="0x80000000"
|
|
deviceinfo_flash_offset_kernel="0x00080000"
|
|
deviceinfo_flash_offset_ramdisk="0x02000000"
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
deviceinfo_flash_offset_tags="0x01e00000"
|
|
deviceinfo_flash_pagesize="2048"
|
|
deviceinfo_flash_sparse="true"
|