From a853105c74cb29a874baeba9eccd906cf76e6404 Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Fri, 6 Nov 2020 16:16:37 +0100 Subject: [PATCH] device-pine64-pinetab: fix too long uboot setenv --- device/testing/device-pine64-pinetab/APKBUILD | 4 ++-- device/testing/device-pine64-pinetab/uboot-script.cmd | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/device/testing/device-pine64-pinetab/APKBUILD b/device/testing/device-pine64-pinetab/APKBUILD index d70c07ecd..6bf0907bd 100644 --- a/device/testing/device-pine64-pinetab/APKBUILD +++ b/device/testing/device-pine64-pinetab/APKBUILD @@ -1,7 +1,7 @@ # Reference: pkgname=device-pine64-pinetab pkgdesc="PINE64 PineTab" -pkgver=0.3 +pkgver=0.4 pkgrel=0 url="https://postmarketos.org" license="MIT" @@ -130,7 +130,7 @@ nonfree_firmware() { sha512sums="2cf8d22f6c324633b4e72dea7a6b642e767b9bf50dac801ffc9e57347d272655b7087956afd50c3e65cd87c2f24e0e69c11b648b00bd58d31608d4e98e99e5d9 HiFi.conf 3bdf9d4c41058680d488d9b4a2ac5fd693ceddc5f319a577480546f8af7d9d64c9d3196e73cb0c00e793697eef4ad075c88c3d274702a5387c15945bc749d844 PineTab.conf 21e31f6f12923b764538b605ba4d510b41f0eb572ab260010540f35810e5845a0b32c6ee10714b249e6afabe765d9e55c56b3cb709cba46e066981bb0c0c0bce deviceinfo -b4444fa6c900369ceddfddf664cc8494a7d8541cbbd3c46c8080ccc106d9312b0c10422aa1c27b498d8d8d521ce533f3fb353bf69fd69c9bfb5f5b14c68b3583 uboot-script.cmd +0e3f69170072f150f449cd9ccd9897728558a98acf2d5b85484ae8104b97f84e77760d7a30eeeccaf37d12cf870b3107ee34cefe55bdb033f3c7ac87d2093d24 uboot-script.cmd f4b5509fd6a8b23f3667f5e7262b3a19c607a37cb9eaf7d0e93eb826d45c26ec12df4810879bacb8e4042bb83cc80b2b436224c8d47b6d67361369a724bbf7ee sysrq.conf 9e71c61bfa72b60e749c4dc04f17eb59d25de822765e81e65c937d6be5236d3951a652b69a1ab973abe6add9f34705be5dbaa98bbfa25daf7504dd50b28524c2 sway.conf 8d1ef04911f1cfa7eda8185f4f4d807af23105a7c8f23d8c18f02afeccd8ab124de70c2e2760c154a3128fe3793447039fb0abf37aa496f597d27051e275033e 99-pinetab-keyboard.hwdb diff --git a/device/testing/device-pine64-pinetab/uboot-script.cmd b/device/testing/device-pine64-pinetab/uboot-script.cmd index cd8a274e7..0cebd8505 100644 --- a/device/testing/device-pine64-pinetab/uboot-script.cmd +++ b/device/testing/device-pine64-pinetab/uboot-script.cmd @@ -6,9 +6,8 @@ else setenv bootdev 2; fi; - -setenv bootargs init=/init.sh rw console=tty0 console=ttyS0,115200 no_console_suspend earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0 loglevel=1 cma=256M fbcon=rotate:1 PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk${bootdev}p1 pmos_root=/dev/mmcblk${bootdev}p2 - +# This is close to the max env size, https://unix.stackexchange.com/questions/530762/max-line-length-for-u-boot-setenv +setenv bootargs init=/init.sh rw console=tty0 console=ttyS0,115200 earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0 loglevel=1 cma=256M fbcon=rotate:1 PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE pmos_boot=/dev/mmcblk${bootdev}p1 pmos_root=/dev/mmcblk${bootdev}p2 printenv