From cc69cdfc343d49c222932a3f26b860e39ff11a62 Mon Sep 17 00:00:00 2001 From: montvid Date: Thu, 28 Sep 2017 18:08:08 +0300 Subject: [PATCH] Fix bootloader cmd eaten characters (#644) * Feed the whacky bootloader that eats 26 characters https://dflund.se/~triad/krad/nexus7-flo/ proposed a fix for the bootloader and it works. --- device/device-asus-flo/APKBUILD | 4 ++-- device/device-asus-flo/deviceinfo | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/device/device-asus-flo/APKBUILD b/device/device-asus-flo/APKBUILD index 7e25ba0cf..dd88023df 100644 --- a/device/device-asus-flo/APKBUILD +++ b/device/device-asus-flo/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-asus-flo pkgver=0 -pkgrel=3 +pkgrel=4 pkgdesc="Google Nexus 7 2013 flo" url="https://github.com/postmarketOS" arch="noarch" @@ -21,6 +21,6 @@ package() { install -D -m644 "$srcdir/90-android-touch-dev.rules" \ "$pkgdir/lib/udev/rules.d/90-android-touch-dev.rules" } -sha512sums="c001afc386e71af19caf438c1fe4af3a16982df4c6095e0aa3bb7782ef6e40e93ecc125c28a315e7138ca4acb42234e76ff2f199b7ab6c97ee0ee651ad4e97f6 deviceinfo +sha512sums="df489865a244af0d776897a5b13b609afbd6d3a28ed4e4c07ccfec5620379443cb6cea01807d74ab8a1c5d96e23dd64b8028a6954eea771aedc1b111509eaa8f deviceinfo a02db4e1bdb622cc4616b750dc5c3248081f5124cc49ef18f25b430c921c80004eff9f6a9b84a76ce04785c256e71776ff90e0f60140e4cce6860ba8d80cf4d2 90-android-touch-dev.rules 3278921cc1617d10fdd13dfbeaf213cda0078d069e727acd8cfac10bd8ade6f373be1e22fd1e4b50ae71cd2eae09f7d6aad5de42338d9ea9f8c1a34f0b60cb69 wpa_supplicant.conf" diff --git a/device/device-asus-flo/deviceinfo b/device/device-asus-flo/deviceinfo index 91413d32e..15c2331c7 100644 --- a/device/device-asus-flo/deviceinfo +++ b/device/device-asus-flo/deviceinfo @@ -23,7 +23,8 @@ deviceinfo_screen_height="1920" # Fastboot related deviceinfo_generate_bootimg="true" deviceinfo_flash_offset_base="0x80200000" -deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=340M" +# Feed the whacky bootloader that eats 26 characters +deviceinfo_kernel_cmdline="xxxxxxxxxxxxxxxxxxxxxxxxxxconsole=ttyMSM0,115200,n8 user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=340M" deviceinfo_flash_offset_kernel="0x00008000" deviceinfo_flash_offset_ramdisk="0x02000000" deviceinfo_flash_offset_second="0x00f00000"