Commit graph

15 commits

Author SHA1 Message Date
Oliver Smith
64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00
Minecrell
10581d2755
asus-me176c: load goodix touchscreen module in initfs (!1042)
This is needed for touchscreen input in osk-sdl.
2020-03-14 05:58:06 +01:00
Minecrell
24d4ccb827
asus-me176c: add alsa-ucm-conf to dependencies (!1042)
This is needed for audio to work properly.

Also change meson buildtype to "plain", see
https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E
2020-03-14 05:57:29 +01:00
Minecrell
48b6e76b5e
device/device-*: bump pkgrel (!1036)
All device ports have been changed in one of the previous commits,
so do one pkgrel bump for all of them using:
  $ pmbootstrap pkgrel_bump device-*

[ci:ignore-count]
2020-03-09 10:06:11 +01:00
Minecrell
de2bba9e58
device/device-*: automatically add deviceinfo_year from wiki (!1036)
Download: https://wiki.postmarketos.org/index.php?title=Special:CargoExport&tables=Devices&&fields=Codename%2C+Released&&group+by=Codename&order+by=%60Codename%60%2C+%60Released%60&limit=5000&format=csv

cd device
for device in device-*; do
	year=$(grep -oP "${device#device-},\K2\d{3}" ../results.csv)
	[[ -n "$year" ]] || continue
	sed -i "s/deviceinfo_date=\"\"/deviceinfo_year=\"$year\"/" "$device/deviceinfo"
done

devices=$(git ls-files -m -- . | xargs dirname | sort -u | xargs echo)
pmbootstrap checksum $devices
2020-03-09 10:06:06 +01:00
Minecrell
7ef5bc00d1
device/device-*: remove invalid deviceinfo_dev_touchscreen lines (!1036)
Attempting to use a stable device path there does not actually work,
so we might as well remove it and hope that directfb can now automatically
detect the touchscreen for osk-sdl.
2020-03-09 10:06:03 +01:00
Minecrell
e302eff0bc
device/device-*: remove empty touchscreen(_calibration) / dev_keyboard (!1036)
Most devices do not need to set any of these variables.
directfb can now automatically detect touchscreens, calibration is
only needed for resistive touchscreens and dev_keyboard is unused.

Automatically done using:
  - sed -i '/deviceinfo_dev_keyboard=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen=""/d' device-*/deviceinfo
  - sed -i '/deviceinfo_dev_touchscreen_calibration=""/d' device-*/deviceinfo
2020-03-09 10:06:00 +01:00
Minecrell
f9cb1dff3d
asus-me176c: use fastboot-bootpart flasher (!930)
Flash (split) boot partition to the "APD" partition.
It's a rather useless partition with media files for demo purposes.
Perfect for a small(-ish) boot partition with ~300 MB.
2020-02-10 01:45:10 +03:00
Minecrell
83a0a953af
asus-me176c: remove -x11 subpackage (!917)
So far, the -x11 subpackage for asus-me176c was used to install
the Xorg Intel driver (xf86-video-intel). But these days many
distributions actually recommend using the standard Xorg modesetting
driver instead, see e.g.
  - Debian: https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/
  - Fedora: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/AUPYPJMFJZMHPEKN24LBABZKIEOV4NU5/
  - KDE: https://community.kde.org/Plasma/5.9_Errata#Intel_GPUs

The standard Xorg modesetting driver is included in the main xorg-server
package. Not installing xf86-video-intel saves about ~73 MiB of disk space
(because it also pulls in many unneeded dependencies).

Xfce seems to be working just fine with the modesetting driver.
(And most users will probably prefer Wayland anyway...)
2020-01-30 22:50:57 +01:00
Minecrell
b9ca5e66ff
asus-me176c: install mesa-vulkan-intel as Vulkan driver (!910)
The Intel graphics in asus-me176c have (incomplete) Vulkan support
in Mesa. Make it possible to use Vulkan by installing the Intel
driver that is necessary for it.
2020-01-29 01:09:53 +03:00
Minecrell
4a844dc630
asus-me176c: reduce rootfs size by installing only needed Mesa driver (!910)
The mesa-dri-intel package is deprecated since it was replaced with
mesa-dri-classic and mesa-dri-gallium. Installing mesa-dri-intel
causes both packages to be installed.

The Intel graphics in asus-me176c are not supported by the new
Gallium "iris" driver, therefore asus-me176c can only use the old
i965 driver available in mesa-dri-classic.

Removing mesa-dri-gallium reduces the disk space needed for a minimal
installation on asus-me176c:
  - Before: 329M
  - After:  256M (-73M)
2020-01-29 01:09:45 +03:00
Bart Ribbers
71557f7f0c
device-*: rebuild for the new splash screen generation 2020-01-28 15:40:18 +01:00
HenriDellal
4dd592d189
device/device-asus-me176c: fix APKBUILD (!874) 2020-01-17 18:12:38 +01:00
lambdadroid
fe4bd3ab4d
asus-me176c: rework packages (!699)
device/device-asus-me176c:
  - Install me176c-factory to apply correct MAC addresses for
    WiFi and BT
  - Use FAT32 for boot partition. This allows flashing the boot
    partition directly as ESP (EFI System Partition).
  - Overall cleanup

device/linux-asus-me176c:
  - Update kernel fork to 4.19.80
  - Cleanup APKBUILD
  - Stop building patched ACPI DSDT table directly into kernel

firmware/firmware-asus-me176c:
  - Package WiFi firmware

firmware/firmware-asus-me176c-acpi:
  - New package for the patched ACPI DSDT table
  -> Separate from firmware-asus-me176c because it is always required,
     (not optional)

[ci:skip-build]: runs into timeout
2019-11-03 15:58:37 +01:00
Mis012
c28fffa5b3 New device: asus-me176cx (Asus MeMo Pad 7) (!123)
Use upstream Linux with patches, which are needed for a lot of things.
lambdadroid said he will upstream some of them, but the battery driver
would need to be written from scratch, which is apparentely
non-trivial.

[skip ci]: kernel doesn't build under one hour (maybe too many modules
are selected), but it does build eventually
2019-01-03 10:19:45 +01:00