From adb0a420e56e6dd721f8fa49c8ac66ceb412a58a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Tue, 27 Nov 2018 21:22:41 +0100 Subject: [PATCH] uboot-envtools: imx6: Add support for Toradex Apalis board family MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch is needed in order to be able to use fw_{set,print}env commands. Signed-off-by: Petr Štetiar --- package/boot/uboot-envtools/files/imx6 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/boot/uboot-envtools/files/imx6 b/package/boot/uboot-envtools/files/imx6 index fec8ce0aa4..fb05f13346 100644 --- a/package/boot/uboot-envtools/files/imx6 +++ b/package/boot/uboot-envtools/files/imx6 @@ -7,12 +7,16 @@ touch /etc/config/ubootenv +. /lib/imx6.sh . /lib/uboot-envtools.sh . /lib/functions.sh board=$(board_name) case "$board" in +apalis*) + ubootenv_add_uci_config $(bootdev_from_uuid)boot0 -0x2200 0x2000 0x200 10 + ;; *gw5*) if [ -c /dev/mtd1 ]; then # board boots from NAND