f5d5a9be19
The `msm-fb-refresher` updates the screen for msm based devices. It is not needed for all devices, so we had some extra code in the initramfs, that would only add it when the `deviceinfo_msm_refresher` variable was set. However, we are able now to add files to initramfs hooks, so this hack can be removed and simplify everything. Changes: * Remove `deviceinfo_msm_refresher` from all deviceinfos * Add sanity check for it * Move all `deviceinfo` sanity checks to an extra function * `postmarketos-mkinitfs`: remove code for msm refresher * `msm-fb-refresher`: add initramfs hook
32 lines
1.3 KiB
Text
32 lines
1.3 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="Motorola Moto G4 Play"
|
|
deviceinfo_manufacturer="Motorola"
|
|
deviceinfo_date=""
|
|
deviceinfo_dtb=""
|
|
deviceinfo_modules_initfs=""
|
|
deviceinfo_arch="armhf"
|
|
|
|
# Device related
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="720"
|
|
deviceinfo_screen_height="1280"
|
|
deviceinfo_dev_touchscreen="/dev/input/event1"
|
|
deviceinfo_dev_touchscreen_calibration="1 0 0 0 1 0"
|
|
deviceinfo_dev_keyboard=""
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.bootdevice=7824900.sdhci utags.blkdev=/dev/block/bootdevice/by-name/utags utags.backup=/dev/block/bootdevice/by-name/utagsBackup movablecore=160M buildvariant=userdebug"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="true"
|
|
deviceinfo_flash_offset_base="0x80000000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x01000000"
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
deviceinfo_flash_offset_tags="0x00000100"
|
|
deviceinfo_flash_pagesize="2048"
|
|
|