summaryrefslogtreecommitdiff
path: root/libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-13 19:14:08 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-13 23:51:26 +0200
commitba68da7a10c253816a8adef2020213b2bd988c3b (patch)
treee56e756f89d91d05b25f20664b0fd92928fab752 /libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch
parentfe26f06b688ddbe57a0a3320bedfa3424991ec3a (diff)
downloadabslibre-ba68da7a10c253816a8adef2020213b2bd988c3b.tar.gz
abslibre-ba68da7a10c253816a8adef2020213b2bd988c3b.tar.bz2
abslibre-ba68da7a10c253816a8adef2020213b2bd988c3b.zip
libre: uboot4extlinux-imx: Update to 2020.04, cleanup PKGBUILD and extlinux.conf
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch')
-rw-r--r--libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch b/libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch
new file mode 100644
index 000000000..8f87c565c
--- /dev/null
+++ b/libre/uboot4extlinux-imx/0001-board-tbs2910-disable-loadb-and-loads-commands.patch
@@ -0,0 +1,44 @@
+From 9fd573c8fb080b9f729015705b489d856904445b Mon Sep 17 00:00:00 2001
+From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+Date: Sat, 30 May 2020 05:24:19 +0200
+Subject: [PATCH 1/6] board: tbs2910: disable loadb and loads commands
+
+The loadb and loads commands are not needed for booting.
+
+There are also more reliable and faster alternatives to
+loadb and loads that can be used with the current configuration.
+
+As that the resulting image is already very close to the
+size limit, removing the loadb and loads commands shouldn't
+hurt.
+
+With arm-linux-gnueabi-gcc 9.2.0-1 from the Parabola
+GNU/Linux distribution we have the following size
+reduction:
+- text: 6733 bytes
+- data: 116 bytes
+- bss: 1172 bytes
+- total: 8021 bytes
+
+Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+Acked-by: Soeren Moch <smoch@web.de>
+---
+ configs/tbs2910_defconfig | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
+index 2ff0e160f7..2623eb73cd 100644
+--- a/configs/tbs2910_defconfig
++++ b/configs/tbs2910_defconfig
+@@ -28,6 +28,8 @@ CONFIG_SYS_MEMTEST_START=0x10000000
+ CONFIG_SYS_MEMTEST_END=0x2f400000
+ CONFIG_CMD_GPIO=y
+ CONFIG_CMD_I2C=y
++# CONFIG_CMD_LOADB is not set
++# CONFIG_CMD_LOADS is not set
+ CONFIG_CMD_MMC=y
+ CONFIG_CMD_PART=y
+ CONFIG_CMD_PCI=y
+--
+2.27.0
+