310b01ef45
Device uses mainline kernel. What works: - boots - pstore log - simple framebuffer - storage including sdcard * payload mock device tree: Payload mock device tree is needed to mock device tree, when we're overriding linux with u-boot in android boot image. Stock bootloader needs this dtb appended to gzipped u-boot. Bootscript is a simple hush shell script, dedicated to boot OS. It may be customized to implement dual boot or to change kernel command line.
38 lines
1.5 KiB
Text
38 lines
1.5 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="Samsung Galaxy S9"
|
|
deviceinfo_manufacturer="Samsung"
|
|
deviceinfo_codename="samsung-starqltechn"
|
|
deviceinfo_uboot_boardname="starqltechn"
|
|
deviceinfo_year="2018"
|
|
deviceinfo_arch="aarch64"
|
|
|
|
# Device related
|
|
deviceinfo_chassis="handset"
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="true"
|
|
deviceinfo_screen_width="2960"
|
|
deviceinfo_screen_height="1440"
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="heimdall-bootimg"
|
|
deviceinfo_kernel_cmdline="console=null androidboot.hardware=qcom video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_generate_uboot_fit_images="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_bootimg_dtb_second="false"
|
|
deviceinfo_bootimg_override_payload="u-boot.bin"
|
|
deviceinfo_bootimg_override_payload_compression="gzip"
|
|
deviceinfo_bootimg_override_payload_append_dtb="payload_mock.dtb"
|
|
deviceinfo_bootimg_override_initramfs="boot_image.itb"
|
|
deviceinfo_flash_offset_base="0x00000000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x02000000"
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
deviceinfo_flash_offset_tags="0x01e00000"
|
|
deviceinfo_flash_pagesize="4096"
|
|
deviceinfo_flash_heimdall_partition_kernel="BOOT"
|
|
deviceinfo_flash_heimdall_partition_initfs="BOOT"
|
|
deviceinfo_flash_heimdall_partition_system="SYSTEM"
|