79e655f6e9
Finally got display working, but it's based on MoKee kernel which is also hosted on GitHub by community. So what works: * USB Networking * Flashing * Touchscreen * Display * Weston with Xwayland The device boots and shows the splash screen properly, after about 3 sec the screen went black. I had to "echo 127 > /sys/devices/i2c-0/0-0038/leds/lm3530-backlight/brightness" to make the backlight work, even though the value of it was already 127. [skip ci]: this was built successfully in CI already
33 lines
1.1 KiB
Text
33 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="Xiaomi Mi 2"
|
|
deviceinfo_manufacturer="Xiaomi"
|
|
deviceinfo_codename="xiaomi-aries"
|
|
deviceinfo_date="2012-10-30"
|
|
deviceinfo_dtb=""
|
|
deviceinfo_modules_initfs=""
|
|
deviceinfo_arch="armhf"
|
|
|
|
# Device related
|
|
deviceinfo_keyboard="false"
|
|
deviceinfo_external_storage="false"
|
|
deviceinfo_screen_width="720"
|
|
deviceinfo_screen_height="1280"
|
|
deviceinfo_dev_touchscreen="/dev/input/event1"
|
|
deviceinfo_dev_touchscreen_calibration=""
|
|
deviceinfo_dev_keyboard=""
|
|
|
|
# Bootloader related
|
|
deviceinfo_flash_method="fastboot"
|
|
deviceinfo_kernel_cmdline="console=null androidboot.hardware=qcom ehci-hcd.park=3 maxcpus=2 androidboot.bootdevice=msm_sdcc.1 androidboot.selinux=permissive"
|
|
deviceinfo_generate_bootimg="true"
|
|
deviceinfo_bootimg_qcdt="false"
|
|
deviceinfo_flash_offset_base="0x80200000"
|
|
deviceinfo_flash_offset_kernel="0x00008000"
|
|
deviceinfo_flash_offset_ramdisk="0x02000000"
|
|
deviceinfo_flash_offset_second="0x00f00000"
|
|
deviceinfo_flash_offset_tags="0x00000100"
|
|
deviceinfo_flash_pagesize="2048"
|
|
|