Commit Graph
99 Commits
Author SHA1 Message Date
Martijn Braam 3bba29a6ef Add postmarketos-ui-shelli (!397)
A framebuffer console plus gesture recognition UI option. Tested locally
building and on nexus 5. The power key works fine for me and the freeze
after sitting for about 5 minutes still happens for me but I don't
consider that necessarily a shelli bug, maybe the code needs to feed a
watchdog or something.
2019-06-01 23:06:37 +02:00
Martijn Braam 07cbc8cf18 main/hwtest: Update to 0.2.0 (!401)
This adds the first interactive tests for inputs, interactive tests are
only run when specifying --interactive/-i. This also adds --export and
--verify. The export option will write the test results to an .ini file.
The verify option will run the tests and compare it to the saved export
and then will show a diff of hardware functionality.
2019-05-31 03:30:09 +02:00
Martijn Braam d72923dcd5 main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +02:00
Martijn Braam 4f5aa75375 Add hwtest 0.1.0 2019-05-21 19:39:26 +00:00
Martijn Braam 5cf1ee92e8 pine-dontbeevil: Fixed sound and battery (!348)
* Fixed audio
* Fixed battery handeling
* Added fix for touchscreen not working for everyone
* Use newer upstream kernel

[ci:skip-build]: won't finish in time, Martijn made sure that it builds.
2019-05-06 22:01:34 +00:00
Martijn Braam badaed7177 pine-dontbeevil: update kernel, config, more CMA mem (!336)
* Moved more PinePhone related kernel stuff to the upstream
* Added cma=256M so the CSI subsystem doesn't throw out-of-memory errors
  when capturing at higher than 1280x720 resolutions (but it still hangs)
* Removed a lot of modules that get compiled for DVB tuners after
  enableing the camera stuff.

[ci:skip-build]: doesn't finish in time
2019-04-28 23:03:02 +00:00
Martijn Braam 74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00
Martijn Braam 9353bca73f pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so
  it can easily be edited and the diff remains readable in gitlab
* Added patch to build the new dtb
* Added the ST LIS3MDL to the new dtb (Magnetometer)
* Added the SensorTek STK3335 to the new dtb (Proximity and ambient
  light sensor)
* InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope)
* Added CSI bus and OV5640 camera

Remaining issues:
* The STK3310 module doesn't load automatically
* Camera doesn't want to capture but does show up as /dev/video0

[ci:skip-build]: doesn't finish in time
2019-04-18 20:59:11 +00:00
Martijn Braam 9b88689b9d new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
Martijn Braam 4c222eee7b main/postmarketos-ui-i3wm: Added xinput dependency (!282)
This adds the missing xinput dependency that's needed for lock.sh
2019-03-18 06:47:48 +00:00
Martijn Braam f5b9af638e main/linux-postmarketos-stable: Fix ARMv7
This makes the linux-postmarketos-stable kernel generate an armv7 package instead of armhf. The contents
of the package were armv7 already but now it can be correct with the new Alpine support.
2019-02-27 14:09:53 +00:00
Martijn Braam 021640f04b cross/gcc-*: update to 8.3.0-r0 2019-02-26 13:22:07 +01:00
Martijn Braam 85bafd1e3a sourcehut helper: Added option to specify pmbootstrap branch 2019-02-16 16:51:23 +01:00
Martijn Braam 99700879f3 main/unixbench: Upgrade to latest git master (!166)
Upgrade unixbench to git master instead of the old git tag I've used.
New version has way better way to check core count on ARM machines.
2019-01-22 06:47:55 +01:00
Martijn Braam fb436c7b29 main/unixbench: add aport for a benchmarking tool (!145)
Adds an aport for unixbench and a wrapper so it can be started with
ubench without requiring write permissions in /usr. To launch the
benchmark on a phone and have it finish in a reasonable amount of time:

$ ubench dhry whets
Output on an i7-7700HQ in the pmbootstrap chroot:
Dhrystone 2 using register variables      146273178.2 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    44390.3 MWIPS (9.7 s, 7 samples)

System Benchmarks Partial Index              BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  146273178.2  12534.1
Double-Precision Whetstone                       55.0      44390.3   8071.0
                                                                   ========
System Benchmarks Index Score (Partial Only)                        10057.9

This is a neat way to get relative performance between devices and
testing performance for upstream/downstream kernels.
2019-01-19 22:12:52 +01:00
Martijn Braam 093cc7d002 cross/busybox-static-*: update to 1.29.3-r7 2019-01-14 22:48:40 +01:00
Martijn Braam 4631c2c879 srht: Fixed logic error in submit.py 2018-12-14 14:56:24 +01:00
Martijn Braam 76889851be Support submitting multiple files at once with submit.py 2018-12-14 11:22:46 +00:00
Martijn Braam 18366bb90b main/postmarketos-splash: add --raw (!75) 2018-11-27 07:50:28 +01:00
Martijn Braam ab939626f5 device/device-tablet-x64uefi: new aport (!68) 2018-11-27 07:49:03 +01:00
Martijn Braam adaf4f3ced Added build helper for sr.ht 2018-11-27 07:47:11 +01:00
Martijn Braam 4e940e519d Enabled QCDT for motorola-osprey 2018-09-24 22:02:54 +00:00
Martijn Braam fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00
Martijn Braam 23ba0dd94c cross/musl-x86_64: Update aports to 1.1.20-r0 2018-09-08 01:02:15 +02:00
Martijn Braam c4132e6e37 cross/musl-armhf cross/musl-aarch64: Update aports to 1.1.20-r0 2018-09-08 00:57:53 +02:00
Martijn Braam 0138c0596e aports: device-samsung-manta: Changed flasher to heimdall 2018-08-15 21:22:53 +00:00
Martijn Braam feae03d4f1 aports: Updated busybox-static-aarch64 to 1.28.4-r2 for upstream compatability 2018-08-13 02:23:00 +02:00
Martijn Braam da07c7ff06 aports: Updated busybox-static to 1.28.4-r2 for upstream compatability 2018-08-12 22:07:17 +02:00
Martijn Braam 38c3a4b111 Fixed path in n900 gps 2018-06-30 16:56:52 +02:00
Martijn Braam 741ce3b36f Fixed checksum for gps-nokia-n900 2018-06-30 16:52:52 +02:00
Martijn Braam 9771426a39 Updated references for github to gitlab 2018-06-30 16:08:43 +02:00
Martijn Braam c813b146b6 linux-postmarketos-qcom: Remove composite usb gadget for networking (#1462)
* linux-postmarketos-qcom: Remove composite USB gadget
* linux-postmarketos-qcom: Fix usb networking
- Enable functionfs so we're able to actually configure the USB
  networking
- Enable the USB serial console for convenience, although not enabled by
  default pre-composed configuration
2018-05-06 22:34:17 +02:00
Martijn Braam c8616eb683 main/postmarketos-artwork-wallpapers: Added the grass wallpapers (#1471) 2018-05-06 14:12:20 +00:00
Martijn Braam 6e75a19cc1 Hammerhead cleanup (#1460)
* aports/device: device-lg-hammerhead: Removed weston workaround
* aports/device: device-lg-hammerhead: Changed console output to ttyMSM0 for mainline
* aports/device: device-lg-hammerhead: Enabled xwayland for weston
2018-05-03 16:22:30 +02:00
Martijn Braam 471391afb8 Updated gcc-armhf, gcc-aarch64 and gcc-x86_64 to r8 (#1456) 2018-05-01 15:17:32 +02:00
Martijn Braam 6caeba319e postmarketos-base: Enable NetworkManager by default (#388) 2018-03-04 11:07:21 +00:00
Martijn Braam 64166249da postmarketos-ui-i3wm (#1225)
* Added a ui package for i3wm

* Added n900 specific i3wm config

* Fixed mixed tabs and spaces in i3status.

This is also the first commit made on an n900
running postmarketOS.

* Removed redundant X11

* Use lock.sh to lock the device

* Windows management improvements

* bump pkgver

* Fix device-nokia-n900 checksums

* Fixed path in the i3wm split package
2018-02-20 11:21:03 +01:00
Martijn Braam fa0dae0838 Wireguard for postmarketos-stable (#1231)
* Added modified wireguard APKBUILD from alpine
* Add required kernel options to postmarketos-stable
2018-02-19 16:51:00 +00:00
Martijn Braam 417b673286 linux-samsung-s6500d: Fixed kernel version number and upstream url (#1142) 2018-01-20 17:42:42 +00:00
Martijn Braam 483d9d68f7 [hammerhead] Redscreen kernel patch / xorg.conf / msm fb refresher (#924)
* Added redscreen kernel patch and xorg config
* Moved weston and x11 specific config to subpackage
* Removed deviceinfo_weston_pixman_type for hammerhead
* Added msm-fb-refresher to hammerhead
2017-12-05 20:00:59 +00:00
Martijn Braam f898709b68 Fix #790: pkgdesc for postmarketos-ui-xfce4 said it was GTK+3 already (#791) 2017-10-18 18:57:08 +00:00
Martijn Braam a3375bb0ba Removed a lot of hardcoded modules in mkinitramfs (#691)
This removes a few globs from the mkinitramfs module copy part. This is an issue
in linux-postmarketos since it will copy gpu drivers for all possible hardware to the
initramfs.

This should be done in the deviceinfo variables for the modules instead and is
already done for the current devices that use module loading. This changes the
initramfs (uncompressed) from 16 MB to 11 MB just because the qemu graphics
drivers aren't included.
2017-10-04 18:16:31 +00:00
Martijn Braam 7abec5849b Deterministic dhcp lease (#619)
* Ensure leased ip is always 172.16.42.2
* Bumped version for postmarketos-mkinitfs
2017-09-23 14:23:38 +00:00
Martijn Braam 4b67d15535 Update musl from upstream (#617) 2017-09-23 00:48:07 +00:00
Martijn Braam 4890b9a935 Added base offset to hammerhead deviceinfo (#556) 2017-09-18 18:46:29 +00:00
Martijn Braam 3d58af930a Changed logo in the splash screens (#502)
* Changed logo in the splash screens
* Added spacing parameter for logo to the config
2017-09-02 20:49:34 +00:00
Martijn Braam 2dded4b39d Add setting for device keymap for devices with keymaps (#379)
* Added rx51_us keymap to nokia n900
* Added keymap option to init
* Made install command run setup-keymap when neccesary
* Validate keymap on install
2017-08-19 21:40:20 +00:00
Martijn Braam 9478c6272b Fix the checksum on the n900 device package (#352) 2017-08-09 14:25:48 +02:00
Martijn Braam 32241643c8 Fixed dtb installation with mainline kernel (#307)
* Fixed dtb installation with mainline kernel
2017-07-31 19:44:17 +02:00
Martijn Braam 0fc1ef3488 Merge pull request #273 from yuvadm/dtbtool
Add dtbtool package
2017-07-27 17:04:57 +02:00
Martijn Braam 750a1c8e29 Merge pull request #258 from craftyguy/enable_syslog
Enable syslog on boot
2017-07-27 09:33:09 +02:00
Martijn Braam c122412932 Added more drivers to the x86_64 kernel (#272)
This adds support for ide, sata, mice, touchscreens,
displays and serial ports in qemu.
2017-07-26 18:33:21 +00:00
Martijn Braam bed8ab6427 Unified linux-postmarketos kernel for qemu and n900 (#228)
The creates the linux-postmarketos package which for now supports the n900 (and probably the other maemo devices) and qemu with the vexpress-a9 machine simulation.

I've put the generated dtbs in /usr/share/dtb for now and set the dtb field in the deviceinfo for the n900 and my new qemu device.

* Introduced linux-postmarketos-omap
* Unified kernel progress
* Created kernel bootable with qemu
* Updated n900 deviceinfo for generic kernel
* Changed qemu device to vexpress
* Updated APK comments and added linux-postmarketos-dev package
* Append dtb in mkinitfs
* Fixed bootscript on n900 for the generic kernel
* Don't detect double flavors with -dtb appending
* Added graphics drivers for vexpress (qemu)
* Added more drivers for qemu

This adds virtio network support in qemu for the vexpress-a9 machine.
The keyboard and mouse don't work yet.
You can boot into weston if --no-fde is specified
2017-07-25 20:08:35 +00:00
Martijn Braam c8e4803913 New splash images in mkinitfs (#240)
Thanks, Martijn Braam!

* Made postmarketos-mkinitfs use postmarketos-splash to generate splash images
* Added screen sizes to all deviceinfo files
* Bumped pkgrel for all device packages
2017-07-23 12:50:40 +00:00
Martijn Braam 7ccbe4e9ec Created splash screen generator (#206)
Nice configurable splash screen generator, thanks Martijn Braam!
2017-07-22 22:39:30 +00:00
Martijn Braam 4c015dee77 Merge pull request #224 from craftyguy/rx51_linux-4.12.3
[RX51] Update to Linux-4.12.3
2017-07-22 12:42:58 +02:00
Martijn Braam aafcac8b09 Merge pull request #184 from craftyguy/rx51_weston_keyboard_layout
[RX51] Set keyboard layout for weston
2017-07-22 11:01:29 +02:00
Martijn Braam a2597d466c Merge pull request #192 from craftyguy/rx51_handle_phys_events
[RX51] Add support for physical events w/ acpid
2017-07-20 11:51:03 +02:00
Martijn Braam 0fe152da6f Merge pull request #197 from craftyguy/rx51_enable_drm
[RX51] Enable DRM in kernel
2017-07-19 23:37:32 +02:00
Martijn Braam 43f80e202f Merge pull request #169 from craftyguy/rx51_fix_uImage_filename
[RX51] Export u-boot kernel image with flasher
2017-07-17 23:17:26 +02:00
Martijn Braam 1757d5f111 Fixed checksums for device-nokia-rx51 after merge 2017-07-16 17:09:12 +02:00
Martijn Braam 0088c2cdd1 Merge pull request #159 from craftyguy/rx51_kernel4.12
[RX51] Update to mainline kernel
2017-07-16 17:02:43 +02:00
Martijn Braam 204e6cf6b8 Merge pull request #155 from craftyguy/master
[RX51] Account for uInitrd filename change in u-boot script
2017-07-16 16:59:29 +02:00
Martijn Braam 626f3c891a Merge branch 'master' into rx51_kernel4.12 2017-07-16 16:58:21 +02:00
Martijn Braam c6bd820c85 Bumped version on hammerhead packages 2017-06-29 00:22:17 +02:00
Martijn Braam 4625771305 Added dependency on linux-firmware 2017-06-29 00:19:59 +02:00
Martijn Braam 5216fcada7 Reverted accidental menuconfig change 2017-06-29 00:18:55 +02:00
Martijn Braam 32c71bbb21 Added bcmdhd calibration from google git 2017-06-29 00:16:22 +02:00
Martijn Braam e0ebe06f44 Changed broadcom config for hammerhead 2017-06-29 00:07:57 +02:00
Martijn Braam e089f71f3e Fixed module loading for n900 2017-06-19 00:05:37 +02:00
Martijn Braam 94f460ba44 Enabled module installing for the n900 kernel 2017-06-18 21:17:00 +02:00
Martijn Braam 10ea4f30b3 Bumped version for device-nokia-rx51 2017-06-10 19:49:49 +02:00
Martijn Braam bf88419982 Added hook to enable backlight on boot for n900 2017-06-10 18:43:33 +02:00
Martijn Braam c9aaa648ec Nokia branch cleanup 2017-06-10 11:43:24 +02:00
Martijn Braam 8e0e1637b9 Added uboot handeling to mkinitfs 2017-06-10 01:41:01 +02:00
Martijn Braam af2e7e34f3 Renamed kerneloutput to vmlinuz- to avoid initfs build errors 2017-06-10 01:39:41 +02:00
Martijn Braam 8e9849ecfa Added uboot script to n900 2017-06-10 01:38:46 +02:00
Martijn Braam 531cc1bbaf Added uboot flag to deviceinfo 2017-06-09 23:42:53 +02:00
Martijn Braam 2905dc1ee6 Bootable kernel for Nokia n900 2017-06-09 23:11:29 +02:00
Martijn Braam e599f28113 Merge branch 'master' of github.com:postmarketOS/pmbootstrap into device-nokia-rx51 2017-06-09 20:27:19 +02:00
Martijn Braam 26ee9f1ff8 Changed telnetd ip in boot process to 172.16.42.1/24, see issue #70 2017-06-09 12:29:56 +02:00
Martijn Braam 8f676acd33 Initial n900 commit 2017-06-08 19:27:02 +02:00
Martijn Braam ea00652f69 Added touchscreen support for hammerhead 2017-06-06 00:43:59 +02:00
Martijn Braam 36062ad1f5 Hammerhead framebuffer modules 2017-06-03 16:48:46 +02:00
Martijn Braam 619fe1103e Hammerhead module loading functional 2017-06-03 14:27:26 +02:00
Martijn Braam 36338b9f0b Hammerhead cleanups 2017-06-03 13:12:21 +02:00
Martijn Braam c83e66c5dc Enable module loading for the hammerhead kernel 2017-06-03 01:01:58 +02:00
Martijn Braam 967ef44d04 Rebase hammerhead on latest master 2017-06-03 00:40:24 +02:00
Martijn Braam 1e5e2669a0 Updated deviceinfo 2017-06-01 16:52:35 +02:00
Martijn Braam 15fb49ad11 Enable devtmpfs 2017-06-01 14:52:24 +02:00
Martijn Braam 29c223969d Merge branch 'device-lg-hammerhead' of github.com:MartijnBraam/pmbootstrap into device-lg-hammerhead 2017-05-31 22:55:38 +02:00
Martijn Braam d2a53ecede Include device tree in nexus 5 kernel 2017-05-31 22:55:26 +02:00
Martijn Braam c26a4be6ba Added nexus 5 deviceinfo from @dzervas 2017-05-31 22:55:26 +02:00
Martijn Braam 703de5d042 LG Hammerhead kernel finally compiles 2017-05-31 22:55:26 +02:00
Martijn Braam 9823a0e416 Begin of the Nexus 5 hammerhead port 2017-05-31 22:55:26 +02:00
Martijn Braam 18efd373af Include device tree in nexus 5 kernel 2017-05-31 16:41:50 +02:00
Martijn Braam b17944956c Added nexus 5 deviceinfo from @dzervas 2017-05-31 16:41:31 +02:00
Martijn Braam e3c73d2d89 LG Hammerhead kernel finally compiles 2017-05-31 16:41:31 +02:00
Martijn Braam 250df011f0 Begin of the Nexus 5 hammerhead port 2017-05-31 16:41:31 +02:00