Commit graph

7848 commits

Author SHA1 Message Date
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
Oliver Smith
1220ed9fbe Generate aports for busybox-static-armhf and -aarch64
...and add generating both aports to the testsuite.
2017-07-05 18:24:47 +02:00
Oliver Smith
706851e2da Fix #128: Remove obsolete 'deviceinfo_flash_offset_base' 2017-07-04 23:25:31 +02:00
Oliver Smith
d6de60f07d Merge pull request #130 from PabloCastellano/develop
Small changes
2017-07-04 20:37:19 +00:00
Oliver Smith
a153675c28 i9100: remove recovery/download mode instructions txt file
This info belongs in the wiki instead.
2017-07-04 18:19:05 +02:00
Pablo Castellano
1382fe9d57 [titan] Removed duplicate deviceinfo_generate_bootimg in deviceinfo 2017-07-03 23:49:05 +02:00
Oliver Smith
6828280782 Merge pull request #125 from postmarketOS/mkinitfs-bootimg
Create boot.img file in mkinitfs
2017-06-30 15:21:56 +00:00
Attila Szöllősi
d82b41319e Device sony amami (#100)
* Add device: sony-amami
* Add kernel package for sony-amami
2017-06-30 15:19:46 +00:00
drebrez
6e1e4c5cfc Device samsung i9070 (#123)
* Add Samsung Galaxy S Advance (i9070) device-specific package

* Add Samsung Galaxy S Advance (i9070) kernel package

* Add initfs-hook script to set framebuffer settings

* Enable adb root access in recovery mode (TWRP)

* Add usb configuration in initfs-hook script
Add weston calibration values
Update description of kernel changes

* Remove TMRP recovery and change init script to boot directly postmarketOS
2017-06-29 20:04:16 +00:00
Oliver Smith
7fe9b28ab2 Activate boot.img generation in all fastboot-compatible devices 2017-06-29 21:26:55 +02:00
Oliver Smith
eb51b544a2 Generate boot.img files in mkinitfs
* Only, when deviceinfo_generate_bootimg="true" in the deviceinfo
* It respects a new deviceinfo_kernel_cmdline parameter from the deviceinfo
2017-06-29 21:20:20 +02:00
drebrez
6485278d95 Change initialization order, execute hooks before the usb network setup 2017-06-29 18:51:24 +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