Xiaomi Mi Pad (xiaomi-mocha): Difference between revisions
Appearance
m Situations |
mNo edit summary |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
| name = Mi Pad | | name = Mi Pad | ||
| codename = xiaomi-mocha | | codename = xiaomi-mocha | ||
| image = File: | | image = File:Mipad-commerial.jpg | ||
| imagecaption = | | imagecaption = Xiaomi Mi Pad | ||
| releaseyear = 2014 | | releaseyear = 2014 | ||
| originalsoftware = Android | | originalsoftware = Android | ||
Line 19: | Line 19: | ||
| status_usbnet = N | | status_usbnet = N | ||
| status_flashing = | | status_flashing = | ||
| status_touch = | | status_touch = P<!-- Touch screen is working? You can also answer these questions with P for partially. --> | ||
| status_screen = Y | | status_screen = Y | ||
| status_wifi = <!-- Wireless network works? --> | | status_wifi = <!-- Wireless network works? --> | ||
Line 50: | Line 50: | ||
| status_barometer = <!-- Barometer works --> | | status_barometer = <!-- Barometer works --> | ||
| status_powersensor = <!-- Power sensor works --> | | status_powersensor = <!-- Power sensor works --> | ||
| status_fossbootloader = <!-- | | status_fossbootloader = Y | ||
<!-- U-Boot --> | |||
| status_uboot = yes | |||
| status_uboot_primary = Y | |||
| status_uboot_secondary = Y | |||
| status_uboot_mainline = Y | |||
| status_uboot_internalstorage = Y | |||
| status_uboot_sd = Y | |||
| status_uboot_usbhost = N | |||
| status_uboot_usbperipheral = Y | |||
| status_uboot_screen = P | |||
| status_uboot_keyboard = - | |||
| status_uboot_buttons = Y | |||
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* --> | | booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* --> | ||
}} | }} | ||
Line 72: | Line 84: | ||
<!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | <!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | ||
< | Attention: IF YOU ARE ON ANY NON-STOCK ROM(BootBlobs), Flash to original first. | ||
It is recommended to [[Installation_from_recovery_mode|install from recovery mode]], which can write pmos to system partition. | |||
Following is the old bsp kernel installation. | |||
<syntaxhighlight lang="shell-session"> | |||
$ pmbootstrap initfs hook_add debug-shell | $ pmbootstrap initfs hook_add debug-shell | ||
$ pmbootstrap install | $ pmbootstrap install | ||
Line 78: | Line 96: | ||
$ pmbootstrap flasher flash_kernel | $ pmbootstrap flasher flash_kernel | ||
</ | </syntaxhighlight> | ||
<!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | <!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | ||
== | == 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. | |||
{|class="wikitable feature-colors" | {|class="wikitable feature-colors" | ||
Line 111: | Line 118: | ||
|Boot | |Boot | ||
| - | | - | ||
| | | P | ||
| Boot with exists 5.4 fork. | | Boot with exists 5.4 fork, working on mainline. | ||
|- | |- | ||
|Display | |Display | ||
Line 120: | Line 127: | ||
|- | |- | ||
|Touchscreen | |Touchscreen | ||
| Atmel mXT1664T2-C2U/Synaptics ? | | Atmel mXT1664T2-C2U/Synaptics 7040(?) | ||
| P | | P | ||
| There are two kinds of touchscreen, which for my device is mXT1664T2-C2U | | There are two kinds of touchscreen, which for my device is mXT1664T2-C2U. | ||
|- | |- | ||
|Onscreen RGB LED | |Onscreen RGB LED | ||
| Texas Instruments(National Semiconductor) LP5521 | | Texas Instruments(National Semiconductor) LP5521 | ||
| Y | | Y | ||
| Need to add to DTS | | Need to add to DTS Documentation/leds/leds-lp5521 | ||
|- | |- | ||
|Backlight LED | |Backlight LED | ||
Line 137: | Line 144: | ||
| Texas Instruments BQ24192 | | Texas Instruments BQ24192 | ||
| Y | | Y | ||
| Need to add to DTS | | Need to add to DTS power/supply/bq24190 | ||
|- | |- | ||
|Battery Management | |Battery Management | ||
| Texas Instruments BQ27520-G4 | | Texas Instruments BQ27520-G4 | ||
| Y | | Y | ||
| Need to add to DTS | | 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 | |Wi-Fi, BT & FM | ||
| Cypress(Broadcom) CYW4354XKUBG | | Cypress(Broadcom) CYW4354XKUBG | ||
| | | - | ||
| | | net/wireless/brcm,bcm4329-fmac | ||
|- | |- | ||
| SDCard | | SDCard | ||
Line 162: | Line 174: | ||
|NXP TFA9890 | |NXP TFA9890 | ||
| - | | - | ||
| | | Documentation/devicetree/bindings/sound/nxp,tfa989x | ||
|- | |||
|Camera | |||
| Sony IMX179 & Omni OV5696 | |||
| - | |||
| | |||
|} | |} | ||
Latest revision as of 11:38, 1 February 2025
![]() 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 |
FOSS bootloader | yes |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | partial |
Flashing |
No data |
---|---|
USB Networking |
Broken |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
Partial |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
IR TX |
No data |
Connectivity | |
WiFi |
No data |
Bluetooth |
No data |
GPS |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Power Sensor |
No data |
Primary Bootloader |
Works |
---|---|
Secondary Bootloader |
Works |
Mainline |
Works |
Internal Storage |
Works |
SD card |
Works |
USB Host |
Broken |
USB Peripheral |
Works |
Display |
Partial |
Buttons |
Works |
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
- CEllenvia (Notes: 64Giga, Atmel touchpad)
- IonAgorria (Notes: Stock - OK)
How to enter flash mode
Hold
+ until "FASTBOOT" shows on screenInstallation
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