chuwi-hi10plus: initial device support
I don't know why but I recently started to do quite some postmarketOS work, now we have another device in the house!
Anyway, this port uses the Android bootloader (kernelflinger) instead of Gummiboot or rEFInd,... just in case if people still wants to easily reflash Android later without going through some DNX Fastboot, Intel Flash Tool blah blah.
More information on this port:
- Chuwi violates GPLv2 by not releasing the kernel sources of Android to the public. And they still does.
- This port uses Linux mainline (5.1-rc7), and almost everything works properly, so thankfully we don't have to use the 3.10 kernel which is outdated and EOL.
Progress:
What works:
- Kernel
- USB networking
- Rootfs
- Wi-Fi
- Bluetooth (not tested, but firmware loads without errors)
- Sound (using PulseAudio)
- Touch (gslx680-ts-acpi)
- 3D Acceleration & Video Decoding
- Both USB ports
What doesn't work:
- Sensors
- SD Card Slot (Sometimes, most of the time it's unreliable)
(anything that isn't mentioned isn't working or not tested)
Merge request reports
Activity
- Resolved by Administrator
This port uses Linux mainline (5.1-rc7), and almost everything works properly, so thankfully we don't have to use the 3.10 kernel which is outdated and EOL
Awesome! What exactly works though? ;)
By Bart Ribbers on 2019-05-08T16:58:06
Edited by Ghost User
added 19 commits
-
7db78c73...5f3d9996 - 18 commits from branch
postmarketOS:master
- 58144ed2 - chuwi-hi10plus: new device
By Danct12 on 2019-05-13T17:06:19
-
7db78c73...5f3d9996 - 18 commits from branch
The tablet finally booted to Weston
One problem is that how are we going to bundle gslx680-ts-acpi driver? I cannot get the silead driver to work, not sure why, but the gslx680-ts-acpi driver works fine on Arch Linux.
Since Alpine Linux doesn't have dkms, we might need a better way to implement the driver.
By Danct12 on 2019-05-13T17:10:03
mentioned in issue #256
By Danct12 on 2019-05-13T17:31:17
EDIT: for the gslx680-acpi packaging discussion, see #256.
The tablet finally booted to Weston
Awesome!
One problem is that how are we going to bundle gslx680-ts-acpi driver? I cannot get the silead driver to work, not sure why, but the gslx680-ts-acpi driver works fine on Arch Linux.
I wish we had DKMS in Alpine. Maybe that is feasible for you to port?
For wireguard we had used a hack: https://wiki.postmarketos.org/wiki/Out-of-tree_kernel_modules
Another method I can think of, is somehow building the module in-tree together with your device-specific linux package. But that is also not so great, having DKMS would be the best solution imho.
Regarding the checksums, it seems to be caching on your PC (from what we found out in the chat). Please add another comment, when this is solved and CI passes :)
Thank you very much for your porting efforts @danct12 \o/
By Oliver Smith on 2019-05-14T18:44:43
Edited by Administrator- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added 1 commit
- 46dceac1 - linux-chuwi-hi10plus: remade the script using devicepkg-dev
By Danct12 on 2019-05-16T05:20:00
added 1 commit
- ed7089bf - chuwi-hi10plus: use devicepkg-dev, made changes as ollieparanoid
By Danct12 on 2019-05-16T05:23:26
- Resolved by Administrator
@ollieparanoid The build will never pass on CI due to it compiling more than 1 hour.
By Danct12 on 2019-05-16T18:52:35
Edited by Ghost User
added 1 commit
- 8aa99f4b - chuwi-hi10plus: use devicepkg-dev, made changes as ollieparanoid requested.
By Danct12 on 2019-05-16T11:41:28
added 9 commits
-
8aa99f4b...aff352d9 - 5 commits from branch
postmarketOS:master
- 0d46d05b - chuwi-hi10plus: new device
- 3c176771 - linux-chuwi-hi10plus-mainline: remove hi10plus platform data
- 0570ea2e - chuwi-hi10plus: device boots & added touch screen driver and device firmwares.
- 5b4446dc - chuwi-hi10plus: use devicepkg-dev, made changes as ollieparanoid requested.
By Danct12 on 2019-05-16T13:28:59
Toggle commit list-
8aa99f4b...aff352d9 - 5 commits from branch
added 1 commit
- e22967ee - device-chuwi-hi10plus: added vaapi support
By Danct12 on 2019-05-16T18:31:21
- Resolved by Administrator
Quick question, is there anyway to add files to initram? I want to add a firmware file for gslx680-ts-acpi.
By Danct12 on 2019-05-16T21:02:15
Edited by Ghost User
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added 1 commit
- 8f519a6f - chuwi-hi10plus: added touch screen support to initram for FDE.
By Danct12 on 2019-05-17T18:23:04
added 1 commit
- d66b9da6 - chuwi-hi10plus: added touch screen support to initram for FDE.
By Danct12 on 2019-05-17T18:25:40
added 1 commit
- 3394e1d9 - chuwi-hi10plus: added touch screen support to initram for FDE.
By Danct12 on 2019-05-17T18:30:12
I added support for FDE and Battery, however there's a problem:
FDE
- Doesn't work, usually there'll be a UI for entering the password, but that one doesn't show up, and instead gives a message that root cannot be mounted.
- I can still unlock the rootfs in debug-shell through cryptsetup!
- osk-sdl works fine in rootfs while I was testing, and also works while in debug-shell
Battery (charging-sdl)
- Works, it even shows the charging indicator for a few seconds before boots straight to the rootfs for some weird reason, even though it's booted in the charging parameters (power off the system, then plug in the charger).
(Sidenote: The device doesn't need fb.modes and directfbrc to exist in order to start osk-sdl. This can be proven by charging-sdl shows up in initram.)
By Danct12 on 2019-05-17T18:45:19
Edited by Administratoradded 9 commits
-
3394e1d9...e927feb4 - 3 commits from branch
postmarketOS:master
- 41f25119 - chuwi-hi10plus: new device
- b06d2af4 - linux-chuwi-hi10plus-mainline: remove hi10plus platform data
- 1b39ce68 - chuwi-hi10plus: device boots & added touch screen driver and device firmwares.
- d8f4b6d2 - chuwi-hi10plus: use devicepkg-dev, made changes as ollieparanoid requested.
- 294f812a - device-chuwi-hi10plus: added vaapi support
- 0fa82621 - chuwi-hi10plus: added touch screen support to initram for FDE.
By Danct12 on 2019-05-18T03:02:54
Toggle commit list-
3394e1d9...e927feb4 - 3 commits from branch
No idea how to fix the osk-sdl and charging-sdl issues right now, except for poking at the source.
You did some amazing work with this port, @danct12!
Let's merge this as is, and do future improvement as follow up MRs. I'm building this locally, and then merging it. (So the patch size in future MRs is smaller.)EDIT: code LGTM.
By Oliver Smith on 2019-05-19T15:37:20
Edited by Administratoradded 4 commits
-
0fa82621...f343cb5a - 3 commits from branch
postmarketOS:master
- eb990fe4 - chuwi-hi10plus: new device (CHUWI Hi10 Plus) (!347 (merged))
By Oliver Smith on 2019-05-19T19:35:23
-
0fa82621...f343cb5a - 3 commits from branch
added 1 commit
- 94d5efbc - chuwi-hi10plus: new device (CHUWI Hi10 Plus) (!347 (merged))
By Oliver Smith on 2019-05-19T19:46:42
enabled an automatic merge when the pipeline for 94d5efbc succeeds
By Oliver Smith on 2019-05-19T19:47:17
mentioned in commit 94d5efbc
By Danct12 on 2019-06-05T11:55:58