pine64-pinephone: add vibration when booting (!1089)

Add a vibration feedback, along with the LED feedback when booting.
This is suggested by TL Lim.

When trying to power up the phone with holding it in the hand, vibration
feedback is more obvious than LED.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
This commit is contained in:
Icenowy Zheng 2020-03-22 20:44:35 +08:00 committed by Bart Ribbers
parent 790cda59be
commit 1e97a59bcf
No known key found for this signature in database
GPG Key ID: 699D16185DAFAE61
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@
pkgname="device-pine64-pinephone"
pkgdesc="PINE64 PinePhone"
pkgver=0.2
pkgrel=5
pkgrel=6
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@ -78,7 +78,7 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
sha512sums="89516a6fd13ae8fd9bfab7fabc5320a7fafdb8ca9b8c2a3dec173d3ef781c5f9d64cca4333f79503d6bdc8154569fe1b8b48d2acd195bade574d035a9b8edef8 deviceinfo
35a5ce7c18747e4363c6b310a1c33143f333a9dd2031d619dee10773d499329487a5ed76749e182d56829d03511266a54890cfa706ba21565e9ba8ffdb88f872 uboot-script.cmd
35d760c53dfc16a1b54d40a686ae4b5494245dd69a3c668e30499bf3b0bd6d06144a02ba8caf3a35bebb319bd24baa4fadfdd8f846e393bbe7ca8bb048f737b0 uboot-script.cmd
f4b5509fd6a8b23f3667f5e7262b3a19c607a37cb9eaf7d0e93eb826d45c26ec12df4810879bacb8e4042bb83cc80b2b436224c8d47b6d67361369a724bbf7ee sysrq.conf
c4c57d1627dd451213e1ef20d89de9266cd4edcc2d33a69aa9a1f13e16d9f9742036b69dc149fd910d7213f7525c41eb79576d4457bc85cc96eba0d986382d27 weston.ini
3dd6d612c381cb0002049d1974d8fb5aa5a53a1eb4d6bcbf62eb2ad52cfdc45f0f6ad24a699716d3513b0371aa1316f25dc72afc10d7176cc3b99d0965c3f030 hwtest.ini

View File

@ -1,3 +1,4 @@
gpio set 98
gpio set 114
if test ${mmc_bootdev} -eq 0 ; then
@ -29,4 +30,5 @@ fdt resize
echo Booting kernel
gpio set 116
gpio clear 98
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}