[samsung-maguro] Use devicepkg-dev, enable FIQ debugger (#1009)

* [samsung-maguro] Enable FIQ debugger console mode
* [samsung-maguro] Use devicepkg-dev and install mesa-dri-swrast
This commit is contained in:
drebrez 2017-12-15 23:51:51 +01:00 committed by Oliver Smith
parent 4782ffd01f
commit cbb31df5a6
5 changed files with 23 additions and 23 deletions

View file

@ -1,5 +0,0 @@
# use 'weston-calibrator' to calibrate the touchscreen!
SUBSYSTEM=="input", ATTRS{name}=="Melfas MMSxxx Touchscreen", \
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1" \
ENV{WL_CALIBRATION}="1.020764 0.024113 -27.560623 -0.021433 1.007368 0.578735"

View file

@ -1,26 +1,30 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-maguro
pkgver=2
pkgrel=13
pkgrel=14
pkgdesc="Google Galaxy Nexus (GSM)"
url="https://github.com/postmarketOS"
arch="noarch"
license="MIT"
depends="linux-samsung-maguro mkbootimg firmware-samsung-maguro"
makedepends=""
makedepends="devicepkg-dev"
install=""
subpackages=""
source="
deviceinfo
90-android-touch-dev.rules
"
subpackages="$pkgname-mesa"
source="deviceinfo"
options="!check"
package() {
install -D -m644 "$srcdir"/deviceinfo \
"$pkgdir"/etc/deviceinfo
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
build() {
devicepkg_build $startdir $pkgname
}
sha512sums="56f67205541eba307c333fbccd8510d9d972699be35bade8762028fc18f0c3c6f904eadc4fced783f042c1eeb57adc684915b8bd90f954cfb6560af662526928 deviceinfo
f8c85b0ffcee751ee30d5f1fd8ed8e8413d9599875839fbc9bcfd85f08dbf203fecbd171fc3fe4e2742c5b8243132f6110142ff41193d6ad7df29b411516e199 90-android-touch-dev.rules"
package() {
devicepkg_package $startdir $pkgname
}
mesa() {
install_if="$pkgname mesa"
depends="mesa-dri-swrast"
mkdir "$subpkgdir"
}
sha512sums="dce64fc8cb993e62ffe3e4ad243ba18bf78dbde27f776f0e9dea9e426709cf5498df82eb049864471db6c3c2683a1f7563ab23b823cf96bf37cc6570b869a0b8 deviceinfo"

View file

@ -26,3 +26,4 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_kernel_cmdline="console=ttyFIQ0"

View file

@ -2,7 +2,7 @@
pkgname="linux-samsung-maguro"
pkgver=3.0.31
pkgrel=9
pkgrel=10
pkgdesc="Samsung Galaxy Nexus kernel from LineageOS"
arch="armhf"
_carch="arm"
@ -58,7 +58,7 @@ package() {
}
sha512sums="f117b3202c3db1a575598fd87ee27080db5c447c986ced677b63e6b00613ebfab58d634bf63b8bcf0c229eb0bec4dc81b13d7cfda3c2aee62e9ed8e26eeb860c linux-samsung-maguro-e14e5fe679a63eef92346cde874175d8b62b6a4a.tar.gz
6ba270b415506ef4e0a34dcd775d9d59cb749d2a1f4b9863444b866567ed7b05594215ae5ae4f8d302be826a64df97e6824ef38184b7566026d0e73801ed528b config-samsung-maguro.armhf
eb9bd3f80fd57a0f8be7e5236f4bc8d32159dae635327e656e598c48438e07e81085b4b687a325f18941fbea4d558c2408f8852f6f528500bd682a4f89c6bf22 config-samsung-maguro.armhf
d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h
d8cdc1137e6a4ad78a3a31acc40f0c98f4db272eaf5b90ee850abb83b80916c4ff3c18a0a181e94eebead44213f6314e3363d0c4b91d95ee1adafbcad6dc57ab android_paranoid_network.patch
65eb11dca6645073885228af6aae6efa40b6f063fd04157b501acf40368bf331dd701f746ed187659f654a9354ddf304aaefca8ffc9ea2b00c145c61162e1189 fix_old_perl_code.patch"

View file

@ -384,10 +384,10 @@ CONFIG_PL310_ERRATA_727915=y
CONFIG_ARM_GIC=y
CONFIG_FIQ_GLUE=y
CONFIG_FIQ_DEBUGGER=y
# CONFIG_FIQ_DEBUGGER_NO_SLEEP is not set
CONFIG_FIQ_DEBUGGER_NO_SLEEP=y
# CONFIG_FIQ_DEBUGGER_WAKEUP_IRQ_ALWAYS_ON is not set
CONFIG_FIQ_DEBUGGER_CONSOLE=y
# CONFIG_FIQ_DEBUGGER_CONSOLE_DEFAULT_ENABLE is not set
CONFIG_FIQ_DEBUGGER_CONSOLE_DEFAULT_ENABLE=y
#
# Bus support