Commit graph

1220 commits

Author SHA1 Message Date
Pablo Castellano
7688454be0 Find root partition using labels
For some reason /dev/disk/by-label/pmOS_root symlink is not present and
blkid from busybox doesn't support the -L parameter. We could install
blkid from util-linux but I prefered to use shell commands instead
2017-06-22 19:58:28 +02:00
Pablo Castellano
58b31aee1f Update musl-* to 1.1.16-r13 2017-06-22 00:44:02 +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
Oliver Smith
39b6a65c07 gcc-aarch64: remove dependency on bash
This was added by mistake while testing the gcc-aarch64 aport.
2017-06-18 02:00:41 +02:00
Pablo Castellano
fcc1ad6361 [weston] Added compositor-fbdev-Added-parameter-pixman-type patch
It fixes the red screen bug by running weston --pixman-type=2

https://github.com/postmarketOS/pmbootstrap/issues/54
2017-06-16 22:44:48 +02:00
Oliver Smith
88e4768465 Update musl-* to 1.1.16-r12 2017-06-15 03:07:51 +02:00
Oliver Smith
b2bbee1116 Fix #87: weston: Change arch to "all", so it builds on aarch64.
Pull request for the same change in the upstream APKBUILD from Alpine:
https://github.com/alpinelinux/aports/pull/1689
2017-06-15 01:38:28 +02:00
Oliver Smith
4ebf025585 Remove firefox dependency from postmarketos-demos.
firefox-esr is not apackaged on Alpine for aarch64 right now.
As firefox is just a demo in the current state, it will be left to
the user to add it to his installation with the --add flag, so this
will not break the install step anymore.
2017-06-15 00:33:22 +02:00
Oliver Smith
b89fc0826b postmarketos-demos: Depend on firefox-esr instead of firefox
The firefox package is currently broken in armhf Alpine,
and it looks like fixing will take a while (depends on packaging
rust for armhf on Alpine):

https://bugs.alpinelinux.org/issues/7409
https://github.com/alpinelinux/aports/pull/1578#discussion_r119988654
2017-06-14 19:52:40 +02:00
Oliver Smith
925b78ae16 Official support for aarch64 (#84)
* Fix hardcoded `armhf` in pmb/aportgen/binutils.py
* Generate aports: `binutils-aarch64`, `musl-aarch64`, `gcc-aarch64`
* Distccd: Remember the cross-compiler architecture (currently armhf
  or aarch64), that the current distccd is running as, and restart
  distccd with the correct architecture, in case a different arch
  is needed than what it is currently running as. (Depending on the
  cross-compiler arch, the PATH variable gets adjusted before
  starting distccd)
* Testcases: add aport generation for aarch64, add cross-compiling
  to aarch64
* pmb/parse/arch.py: Add aarch64 to the mapping
2017-06-14 19:10:21 +02:00
Oliver Smith
af7c03c959 Fix #76: Rebuild initramfs, when installing a initramfs hook
Also shellcheck all *.trigger files from now on in the static code analysis.
2017-06-13 00:55:49 +02:00
Oliver Smith
5d4f279362 Merge branch 'lazy-reproducible-builds'
We have "lazy reproducible builds" now. What I mean by that is, that
the resulting "apk" archive is not fully reproducible, but all binaries
inside it are. This is necessary to kick-off the binary repo, which is
in turn required to get the testsuite going on Travis. Read #64 for more
information.

Usage:
```
pmbootstrap build hello-world --buildinfo
pmbootstrap challenge /tmp/path/to/hello-world-1-r2.apk
```

The "--buildinfo" parameter generates a "buildinfo.json", which contains
the versions of all dependencies. It is not very optimizied, so this
is a performance bottleneck and takes 10 seconds (which is quite much
considering that the hello-world package builds in less than a second).
This can be improved in the future, and then the buildinfo parameter
may become the default.
2017-06-11 14:19:57 +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
Pablo Castellano
fc1f52d5d2 postmarketos-mkinitfs-hook-usb-shell: Fix checksum 2017-06-09 19:32:26 +02:00
Oliver Smith
2081ab1e65 postmarketos-mkinitfs: Bump pkgrel, update hashes 2017-06-09 17:50:18 +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
Oliver Smith
95312904f6 Update heimdall to 1.4.2 2017-06-08 20:37:08 +02:00
Martijn Braam
8f676acd33 Initial n900 commit 2017-06-08 19:27:02 +02:00
Oliver Smith
576fb1fde6 Package 0xffff (Maemo flasher) as there's interest in porting pmOS to the N900 2017-06-07 23:35:34 +02:00
Oliver Smith
f70bd6b688 Remove busybox aport: telnetd is enabled in upstream now
Pull request, that got merged:
https://github.com/alpinelinux/aports/pull/1092

Please note, that you can't directly upgrade from postmarketOS "busybox-extras" to the upstreamed version.
To upgrade properly, do the following:
* delete your self-compiled busybox* packages:
	`sudo rm ~/.local/var/pmbootstrap/packages/armhf/busybox*`
* zap all your armhf chroots with:
	`./pmbootstrap.py zap`
2017-06-07 23:14:24 +02:00
Oliver Smith
e68d4180b3 WIP #64: make gcc-armhf lazy-reproducible, properly compare symlinks 2017-06-06 22:21:59 +02:00
Martijn Braam
ea00652f69 Added touchscreen support for hammerhead 2017-06-06 00:43:59 +02:00
Santosh D
d09656993b remove 3d driver support for now, so MSM framebuffer works 2017-06-05 22:19:41 +02:00
Oliver Smith
01361dafa1 Fix #49: Change license for device-lg-hammerhead from FIXME to MIT 2017-06-04 00:31:48 +02:00
Oliver Smith
5cf496ddb0 Merge pull request #48 from lawl/device/maguro
Add samsung-maguro
2017-06-03 20:53:11 +00:00
Santosh D
8683e2b40f remove dead code and bump pkgrel on postmarketos-base 2017-06-03 22:48:49 +02:00
Santosh D
d93a070b03 fix tty configuration 2017-06-03 22:13:22 +02:00
Santosh D
d05688a78b fix naming convention and kernel config 2017-06-03 22:05:44 +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
Santosh D
647024bef8 Merge https://github.com/postmarketOS/pmbootstrap into device/maguro 2017-06-02 23:51:49 +02:00
Oliver Smith
06ee31ced0 Update gcc-armhf, musl-armhf to upstream 2017-06-02 22:02:14 +02:00
Santosh D
4972776bec maguro boots and i get telnet! 2017-06-01 21:03:21 +02:00
Adam Van Ymeren
7ff923ba80 Update musl-armhf to r10. 2017-06-01 14:53:55 -04:00
Santosh D
25f7d24643 Merge https://github.com/postmarketOS/pmbootstrap into device/maguro 2017-06-01 20:10:26 +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