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
29 lines
1.1 KiB
Text
29 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="Google Nexus 6P"
|
|
deviceinfo_manufacturer="Huawei"
|
|
deviceinfo_date=""
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_nonfree="????"
|
|
deviceinfo_dtb=""
|
|
deviceinfo_modules_initfs=""
|
|
deviceinfo_external_storage="false"
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Splash screen
|
|
deviceinfo_screen_width="1440"
|
|
deviceinfo_screen_height="2560"
|
|
|
|
# Fastboot related
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_flash_offset_base="0x00000000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x02000000"
|
|
# Angler doesn't have a second in the boot.img. This is a placeholder value for mkbootimg
|
|
deviceinfo_flash_offset_second="0x00000000"
|
|
deviceinfo_flash_offset_tags="0x01e00000"
|
|
deviceinfo_kernel_cmdline="androidboot.hardware=angler androidboot.console=ttyHSL0 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3"
|
|
deviceinfo_flash_pagesize="4096"
|