Commit graph

8263 commits

Author SHA1 Message Date
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
Oliver Smith
53a76cd768 Fix #219 for real!
100% tested. Assuming that you don't need to test an obvious change,
because it only changes one line is dangerous. I will learn from this,
sorry for the inconvenience.

`gcc-armhf` compiles fine again with that change, and it is able to
cross-compile packages as it used to.
2017-07-22 12:36:00 +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
Oliver Smith
dded463f9a Fix #219: pmbootstrap could not find g++-armhf/g++-aarch64 2017-07-22 09:49:24 +02:00
Clayton Craft
a1d5b99747 [RX51] Update to Linux-4.12.3 2017-07-21 16:00:47 -07:00
Clayton Craft
79c25a3e9e [RX51] Set keyboard layout for weston
This configures the keymap in weston so that the rx51 keyboard behaves
as expected (e.g. shift key, numbers, etc)
2017-07-21 13:47:00 -07:00
clayton craft
85cc4b01da Re-enable XWayland for devices that had it enabled (#221)
This re-enables the XWayland module for devices which did not use the
'dirty hack' that was removed in #201.
2017-07-21 20:25:06 +00:00
clayton craft
3bdeaf0793 Handle generating weston.ini in post-install script (#201)
This PR automatically creates the weston.ini in the
postmarketos-base post-install script based on options set in the
deviceinfo file for a particular device. This replaces #191.
If weston.ini exists, then no modifications are made.

(Optional) options supported in this PR for deviceinfo are:
deviceinfo_weston_core_modules - defaults to NONE if none specified
deviceinfo_weston_core_backend - defaults to 'fbdev-backend.so' if none specified
deviceinfo_weston_keymap_rules - keymap rule, found under /usr/share/X11/xkb/rules/
deviceinfo_weston_keymap_model - keymap model
2017-07-21 19:46:40 +00:00
Oliver Smith
a08c7af492 Update busybox-static-* to upstream 2017-07-21 21:02:31 +02:00
drebrez
1919b37f3a Add device HTC Desire (Bravo) support (#202)
* Add HTC Desire (Bravo) device-specific and kernel package

* Enable kernel virtual terminal support

* Add framebuffer and usb configuration in initfs-hook script

* Add udev required kernel options and set correct framebuffer resolution

* Add touchscreen device rules and enabled kernel logs (dmesg)

* Add deviceinfo_flash_offset_base in deviceinfo and update other offsets
2017-07-20 17:52:09 +00:00
Anton Lazarev
6fb9e0489d Add asus-grouper (#180) 2017-07-20 16:05:33 +00: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
Clayton Craft
fefb606912 [RX51] Add support for physical events w/ acpid
This adds a way to handle physical events like keypad slide switch,
screen lock, camera lid, and others. This uses acpid from busybox (I was
wrong about the real acpid package), and anl acpi.map file to map events
to 'scripts'. The scripts are symlinked to /etc/acpi/handler.sh,
automatically by the new post-install script, where
they are handled based on which script was called. This allows for
easily adding whatever is necessary for #178.

If this PR is merged, I will create a new wiki page detailing how others
can use this framework on other devices.

There's an issue with Busybox's acpid, where it is unable to detect new
devices added after the daemon loads. This is the case on the N900,
where openrc starts acpid well before the kernel is done modprobing
drivers (e.g. gpio_keys), so it's necessary to restart the acpid daemon
after some time to 'load' the new devices.
2017-07-19 19:17:25 -07: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
Oliver Smith
ae5817534f Adjust gcc-armhf/gcc-aarch64 to upstream 2017-07-19 23:07:34 +02:00
Oliver Smith
cdcc3d81a6 Fix #145: add deviceinfo_flash_offset_base again (#175)
* Fix #145: add deviceinfo_flash_offset_base again

* Add default OFFSET_BASE value in flasher if deviceinfo_flash_offset_base variable is not set
...and set correct default base value in create_bootimg function
2017-07-19 20:44:12 +00:00
Pablo Castellano
ba528b24b8 Two trivial changes (typo + info message) (#179)
Thanks, Pablo Castellano!

* Fixed typo

* Guide user about what are the next steps after flashing kernel and password

* Increased postmarketos-mkinitfs' pkgver and rewording

Changes requested:
https://github.com/postmarketOS/pmbootstrap/pull/179
2017-07-19 18:05:34 +00:00
Clayton Craft
e0f26c949a [RX51] Enable DRM in kernel
This enables DRM (Direct Rendering Manager) support in the kernel for
the RX51. This opens up the possibility of using the Weston DRM backend,
which in turn allows for DPMS (I hope) and other cool tricks.

n900:~# glxinfo|head
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4

n900:~# glxgears
94 frames in 5.0 seconds = 18.772 FPS
2017-07-19 09:54:46 -07:00
Pablo Castellano
66501ac5fd [weston] Added more patches
- Add support for ABGR (Asus grouper / Nexus 7 2012 tablet)
- Print guessed pixman type
2017-07-18 15:07:47 +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
clayton craft
f50f9fbaa9 Add acpid package (#170)
Thanks craftyguy!

This commit adds the acpid daemon. This requires a kernel with NETLINK
support compiled in before daemon will run. acpid will be extremely
helpful for devices that have external buttons which need event
handling. The nokia-rx51 is full of such devices/switched!

This was heavily leveraged from the Arch Linux PKGBUILD, thank you Arch
maintainers/contributors!
2017-07-17 20:11:53 +00:00
Clayton Craft
df6247b13e [RX51] Export u-boot kernel image with flasher
This properly exports the uImage kernel, which is used by u-boot, when
running 'flasher export'. Note the change to the uImage name to follow
the pattern "uImage-$flavor", which in the case of the RX 51 is
"uImage-nokia-rx51".
2017-07-17 12:14:05 -07: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
Clayton Craft
dc290de4d0 [RX51] Update to mainline kernel
A couple of issues are resolved by moving to the mainline kernel (from Pali's
kernel):

1) 'reboot' command now works as intended
2) boot is *much* faster
3) charging LED seems to be working now
2017-07-15 21:12:16 -07:00
Clayton Craft
ef744e6573 Account for uInitrd filename change in u-boot script (rx-51)
The uInitrd filename is appended with 'flavor' so, for example, with the
rx-51 the generated file is named 'uInitrd-nokia-rx51'. This corrects
the rx51's u-boot script to account for this change in filename.
2017-07-15 16:24:37 -07:00
Clayton Craft
2dddf9e124 [RX51] Add linux-firmware package
This removes the call to `firmware_install` in the APKGBUILD for
linux-nokia-rx51, and adds the `linux-firmware` package as a dependency
for device-nokia-rx51.

There are two immediate benefits for this:
1) wifi now works

2) the FM radio device was causing the boot to take ~2 minutes longer
than it should, now that the firmware is present there's no delay in
initializing this device
2017-07-15 14:30:54 -07:00
Clayton Craft
e8df23bdb6 RX51 - Add touchscreen calibration udev rule 2017-07-15 12:40:17 -07:00
Oliver Smith
e260190f2c Merge pull request #144 from postmarketOS/heimdall-partitions-in-deviceinfo
Close #22: deviceinfo: add heimdall partitions / make flasher variables optional
2017-07-14 20:48:38 +00:00
drebrez
8a7255ef27 Update heimdall script to flash both (kernel+initramfs) at once 2017-07-14 22:35:59 +02:00
Oliver Smith
9d2e384cb4 postmarketos-mkinitfs: Bump pkgver to 0.1.5 2017-07-14 18:10:56 +02:00
Oliver Smith
6f6f3112eb Merge branch 'configfs-usb' of https://github.com/Decatf/pmbootstrap 2017-07-14 18:09:26 +02:00
Oliver Smith
650d3d7e69 Update gcc-* to 6.4.0 2017-07-14 07:09:52 +02:00
ryang
0cf22ffebf Add ConfigFS based usb network configuration
This extends the initramfs init script to setup USB networking on kernels
using USB_CONFIGFS.
2017-07-13 11:17:48 -04:00
Oliver Smith
4e4c1abe8a Add new dependency test package: hello-world-wrapper 2017-07-12 22:19:01 +02:00
Oliver Smith
86e0b019f9 deviceinfo: add heimdall partitions / make flasher variables optional 2017-07-10 20:27:06 +02:00
Oliver Smith
fbf4ff7c59 [mako] Use red screen workaround 2017-07-09 11:53:21 +02:00
Oliver Smith
a8cc32a4c4 This fixes the following error:
mkbootimg: error: argument --base: invalid parse_int value: ''

So now postmarketos-mkinitfs can really generate boot.img files.
2017-07-09 11:19:29 +02:00
Oliver Smith
0075054187 Close #137: Remove "deviceinfo_modules" / minor deviceinfo changes
Minor changes:
* device-lg-hammerhead: remove left-over comment
* device-samsung-i9100: remove fastboot section
2017-07-08 08:46:27 +02:00
Oliver Smith
b8cb92af07 Update busybox-static-* to 1.27.0-r1 2017-07-08 07:48:35 +02:00
Oliver Smith
2357b81c5f Fix #139: Update musl-armhf to 1.1.16-r15 2017-07-08 07:44:33 +02:00
drebrez
9dbcc5d00c [i9070] Use kernel modules / Wifi support (!)
* Add kernel module compilation
* Add wifi firmware from vendor files (to `/lib/firmware/postmarketos`) and fix modules install path
* Add patch to change hardcoded dhd firmware/nvram paths
* Add wifi module (dhd) to the list of kernel modules that should be loaded at boot time

Details:
https://github.com/postmarketOS/pmbootstrap/pull/138

Thanks you very much, drebrez \o/
2017-07-08 05:30:00 +00:00
Oliver Smith
db6882b410 deviceinfo: Add link to reference and reword comments 2017-07-06 18:58:14 +02:00
Oliver Smith
62a627097c Merge pull request #136 from postmarketOS/build-all-kernels-natively
[i9070][i9100] Build kernels natively
2017-07-06 16:03:48 +00:00
Oliver Smith
0a43d44c6f Close #92: pmOS-specific /etc/motd, /etc/issue 2017-07-05 20:52:37 +02:00
Oliver Smith
7b7af3cd2d Get rid of the _pmb_build_in_native_chroot hack 2017-07-05 18:40:00 +02:00