Commit graph

20 commits

Author SHA1 Message Date
HenriDellal
ef2ef654f2
device/device-samsung-klte: fix APKBUILD (!874) 2020-01-17 18:11:16 +01:00
DolphinChips
9018537264
device-samsung-klte: remove nonfree-firmware from depends of kernel-downstream (!837) 2019-12-30 18:41:56 +01:00
Alexey Min
d4f39c5a44
samsung-klte: customize USB idVendor and idProduct (!741)
Use values from the stock Android:
 * 0x04e8 (Samsung Electronics Co., Ltd) as vendor
 * 0x6860 (Galaxy (MTP)) as product
2019-11-17 15:49:45 +01:00
lambdadroid
a855164812
main/linux-postmarketos-qcom: rename to linux-postmarketos-qcom-msm8974 (!662)
We have linux-postmarketos-qcom and linux-postmarketos-qcom-msm8916 now,
which is quite confusing. linux-postmarketos-qcom was originally added
for MSM8974 devices (e.g. Nexus 5) and its patches on top of mainline
are therefore quite focused on MSM8974.

linux-postmarketos-qcom-msm8916 on the other hand, has patches specific
to MSM8916. The two packages do not have any patch in common, therefore
merging the two would only cause signficiant overhead to coordinate
testing for devices of the two SoCs.
Therefore, it is better to keep them separate.

To avoid confusion, rename linux-postmarketos-qcom to
linux-postmarketos-qcom-msm8974 to make it clear that it is really
a close-to-mainline kernel for MSM8974 devices.

[ci:skip-build]: already built successfully in CI
2019-10-08 00:51:38 +02:00
Alexey Min
c7265011db
device-samsung-klte: don't replace NM unmanaged devices (!434)
Do not overwrite NM unmanaged devices, append instead.

[ci:skip-build]: already built successfully in CI
2019-06-13 22:08:39 +02:00
Alexey Min
e4cc96d27e samsung-klte: downstream: add android adaptation (!332)
Lots of device-specific configurations:

* android mount points and mounts
* android groups and users (needed for udev rules)
* android udev rules for platform devices (needed for android services to run)
* NetworkManager device-specific config
* wpa_supplicant device-specific config
* device-specific openrc service for late initcalls to bring up Wi-Fi hardware
* extra helper scripts to call logcat, set backlight brightness,
  get battery status, unlock kde screenlocker session
* use kernel cmdline from downstream android to keep it as close to
  android as possible. Important for android in lxc container later
2019-06-02 02:49:02 +00:00
Luca Weiss
693079abb5
mkinitfs: Introduce deviceinfo_append_dtb variable (!387)
We don't need to append the dtb to the kernel image in all cases, with
e.g. the u-boot bootloader we can load the dtb seperately from the
kernel image. Introduce a new variable deviceinfo_append_dtb, if set to
"true", append the dtb, otherwise just copy the dtb file to the boot
partition.

Fixes #260

[ci:ignore-count]
2019-06-02 03:13:43 +02:00
Alexey Min
b758c7a4b2
samsung-klte: add nonfree_firmware() to device package (!327) 2019-04-24 15:52:04 +02:00
Michal Guba
3a9ab3c7e6 samsung-klte: Switch to armv7 (!272)
Tested. Works fine on klte. Boots to weston.

[ci:skip-build]: already built successfully
2019-03-11 08:41:05 +00:00
Luca Weiss
bbec7c41ea
Add deviceinfo_codename variable (!114)
For postmarketOS/pmaports#157 [skip ci]
2018-12-26 21:49:10 +01:00
Oliver Smith
81c3b3c2dd
devices: remove deviceinfo_weston_pixman_type
This is not supported anymore, see previous commit for reasoning.
2018-11-29 07:31:06 +01:00
Oliver Smith
9814d78e73
device-*: don't use noarch anymore
Use the device's architecture instead of noarch. Because the device
packages should never be built for other architectures, even if all
depends can be built for other arches as well.

This simplifies package building as part of the new build
infrastructure effort.

pmbootstrap has also been changed to output this by default in
aportgen.
2018-11-27 07:47:11 +01:00
Daniele Debernardi
9249bf2122
Add support to different deviceinfo variables in mainline/downstream subpackages 2018-11-27 07:47:11 +01:00
Oliver Smith
5f01e6c68b deviceinfo: prepend manufacturer to device name 2018-08-23 00:44:46 +00:00
Daniele Debernardi
bb9ab3a9b3 device-huawei-y530: Modernize APKBUILD 2018-06-30 18:59:25 +02:00
Daniele Debernardi
d5a12b1f0f [samsung-klte] Add mainline kernel (linux-postmarketos-qcom) (#1479)
Changes:
* device-samsung-klte with both downstream and mainline kernel
  subpackages
* linux-postmarketos-qcom updated to last commit

What works in mainline kernel:
* internal SD card
* volume and home key buttons
* usb network
2018-05-13 19:47:32 +00:00
Oliver Smith
f5d5a9be19 msm-fb-refresher: use initfs hook (#1438)
The `msm-fb-refresher` updates the screen for msm based devices. It is
not needed for all devices, so we had some extra code in the initramfs,
that would only add it when the `deviceinfo_msm_refresher` variable was
set. However, we are able now to add files to initramfs hooks, so this
hack can be removed and simplify everything.

Changes:
* Remove `deviceinfo_msm_refresher` from all deviceinfos
* Add sanity check for it
* Move all `deviceinfo` sanity checks to an extra function
* `postmarketos-mkinitfs`: remove code for msm refresher
* `msm-fb-refresher`: add initramfs hook
2018-04-24 21:09:53 +00:00
Daniele Debernardi
d3b439ae2d deviceinfo: remove external_disk_install and external_disk, use external_storage instead (#1301)
* deviceinfo: remove external_disk_install and external_disk, use external_storage instead
* Complain when external_disk* is used
2018-03-07 22:35:02 +00:00
Oliver Smith
e654a995e6 device packages: depend on postmarketos-base (#1258)
* device-*: add postmarketos-base to depends
* aportgen: add postmarketos-base to depends
* Add test case
* postmarketos-base: Don't depend on devicepkg
* msm-fb-refresher: Enable service in post-install
2018-02-25 18:40:54 +00:00
Daniele Debernardi
3237f58244 Add device Samsung Galaxy S5 (samsung-klte) (#1163) 2018-02-02 19:59:14 +00:00