Xiaomi Mi Pad (xiaomi-mocha)

From postmarketOS Wiki
Xiaomi Mi Pad
Xiaomi Mi Pad
Xiaomi Mi Pad
Manufacturer Xiaomi
Name Mi Pad
Codename xiaomi-mocha
Released 2014
Type tablet
Hardware
Chipset Nvidia Tegra K1 (T124)
CPU 4x 2.2 GHz Cortex-A15
GPU Nvidia GK20A (192-core Kepler)
Display 1536 x 2048 LCD IPS
Storage 16 GB / 64 GB
Memory 2 GB
Architecture armv7
Software
Original software Android
Original version 4.4.4
postmarketOS
Category testing
Pre-built images no
Mainline partial
Features
Flashing
USB Networking
Broken
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
IR TX
Connectivity
WiFi
Bluetooth
GPS
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
Power Sensor
This device is based on the Tegra K1.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

  • CEllenvia

Users owning this device


How to enter flash mode

Hold Power + Volume Down until "FASTBOOT" shows on screen

Installation

Attention: IF YOU ARE ON ANY NON-STOCK ROM(BootBlobs), Flash to original first.

It is recommended to install from recovery mode, which can write pmos to system partition.

Following is the old bsp kernel installation.

$ pmbootstrap initfs hook_add debug-shell
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs --partition userdata # Flashing to the system partition fails with (remote: '(InvalidSize)'), May cause by 2 system partition.

$ pmbootstrap flasher flash_kernel

Progress

Now turn to FOSS Boot-loader porting, since the Linux kernel refused to boot w/o firmware built-in.

Mainline Status

This device comes with a interesting boot package method, which dt.img isn't QCDT style at all. Instead, it just use dtb file as dt.img. So for packaging, i need some workaround to make qcdt happy.

PSCI(4 core enable) is possible by using TOS-For-PSCI 0.2, but this makes the wlan unusable on 5.4 fork.


Function Hardware Status Info
Boot - P Boot with exists 5.4 fork, working on mainline.
Display Sharp LQ079L1SX01 Y -
Touchscreen Atmel mXT1664T2-C2U/Synaptics 7040(?) P There are two kinds of touchscreen, which for my device is mXT1664T2-C2U.
Onscreen RGB LED Texas Instruments(National Semiconductor) LP5521 Y Need to add to DTS Documentation/leds/leds-lp5521
Backlight LED Texas Instruments LP8556 Y -
Charger IC Texas Instruments BQ24192 Y Need to add to DTS power/supply/bq24190
Battery Management Texas Instruments BQ27520-G4 Y Need to add to DTS power/supply/bq27xxx
Power Management & NTP etc. (palmas) Texas Instruments TPS65913 Y Need to add to DTS regulator/palmas-pmic.txt regulator/palmas-pmic.txt
Wi-Fi, BT & FM Cypress(Broadcom) CYW4354XKUBG - net/wireless/brcm,bcm4329-fmac
SDCard Onsemi CM1624 - -
GPU NVIDIA GK20A P Known issues
Audio NXP TFA9890 - Documentation/devicetree/bindings/sound/nxp,tfa989x
Camera Sony IMX179 & Omni OV5696 -

See also

The Kernel Xiaomi Official released: [1]


pmaports!3735 Initial merge request