TrekStor Surftab wintron 7.0 port
This adds support for the surftab Wintron 7.0. This device is x86_64 and has a 32-bit UEFI, so I need to install 32-bit grub (AFAIK it's the only bootloader capable of loading a 64-bit kernel from 32-bit).
Some thoughts:
- Maybe the grub setup should get in its own package to be reused for similar devices?
-
Booting from USB works; from SD the initramfs cam't find the boot partition. Is there a module missing?I just added modules till it worked. Now there are likely more than needed. - The screen brightness control doesn't work (also see here and here). How can I make these configurations build-in?
- Should I use linux-vanilla or linux-postmarketos-stable ?
Merge request reports
Activity
added 1 commit
- cf01564b - surftab-wintron7.0: add device support
By Nick Reitemeyer on 2019-03-26T06:34:56
The code looks good, but the grub stuff really needs to be changed. That's what I recommend to look into next.
Booting from USB works; from SD the initramfs cam't find the boot partition. Is there a module missing?
You can try to debug this with the debug-shell hook, see: https://wiki.postmarketos.org/wiki/Inspecting_the_initramfs
This depends on the kernel you want to use. In general, edit the kernel config.
- Should I use linux-vanilla or linux-postmarketos-stable ?
If you need changes like the above, then it is probably easier to use linux-postmarketos-stable. You can edit the pmOS kernel config with
pmbootstrap kconfig edit postmarketos-stable
.Have you seen this device? https://wiki.postmarketos.org/wiki/Generic_x64_uefi
I know that it doesn't need a 32x bootloader, but maybe it is helpful to look at how everything is done in that device package.
Great work @nickre!
By Oliver Smith on 2019-03-26T17:29:14
Edited by Administrator- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
mentioned in merge request pmbootstrap!1771 (merged)
By Nick Reitemeyer on 2019-03-28T19:31:40
I refactored the grub stuff. Now depends on pmbootstrap!1771 (merged).
By Nick Reitemeyer on 2019-03-28T19:32:20
added 17 commits
-
dd2dd374...9bf79483 - 16 commits from branch
postmarketOS:master
- 39971739 - surftab-wintron7.0: new device (TrekStor Surftab wintron 7.0) (!290 (merged))
By Oliver Smith on 2019-04-04T18:00:12
-
dd2dd374...9bf79483 - 16 commits from branch
enabled an automatic merge when the pipeline for 39971739 succeeds
By Oliver Smith on 2019-04-04T18:01:40
mentioned in commit 39971739
By Nick Reitemeyer on 2019-05-06T13:59:55