[Armadeus-commitlog] armadeus/u-boot branch, armadeus-2020.07, updated. b4ce4f6a54800d12f00c4aaa11
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2021-10-01 08:22:19
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus/u-boot".
The branch, armadeus-2020.07 has been updated
via b4ce4f6a54800d12f00c4aaa11839e0a6fae0426 (commit)
via 48d551440c5c6960026b88e539c9cc3c107ada8e (commit)
from ac5731fad0bc636c90be6a11ca070f5b341eb7e5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b4ce4f6a54800d12f00c4aaa11839e0a6fae0426
Author: Sébastien Szymanski <seb...@ar...>
Date: Fri Oct 1 10:12:38 2021 +0200
opos8mmdev_defconfig: check env version
commit 48d551440c5c6960026b88e539c9cc3c107ada8e
Author: Sébastien Szymanski <seb...@ar...>
Date: Fri Oct 1 10:07:53 2021 +0200
opos8mmdev.h: add mmcboot command
-----------------------------------------------------------------------
Summary of changes:
configs/opos8mmdev_defconfig | 2 ++
include/configs/opos8mmdev.h | 8 ++++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/configs/opos8mmdev_defconfig b/configs/opos8mmdev_defconfig
index e750b0e27d..cc9e6ba78b 100644
--- a/configs/opos8mmdev_defconfig
+++ b/configs/opos8mmdev_defconfig
@@ -27,6 +27,8 @@ CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-imx/mkimage_fit_atf.sh"
CONFIG_OF_SYSTEM_SETUP=y
CONFIG_BOOTDELAY=5
+CONFIG_USE_PREBOOT=y
+CONFIG_PREBOOT="run check_env"
CONFIG_LOGLEVEL=7
CONFIG_LOG_DEFAULT_LEVEL=7
CONFIG_BOARD_LATE_INIT=y
diff --git a/include/configs/opos8mmdev.h b/include/configs/opos8mmdev.h
index 771c010971..ec53a26073 100644
--- a/include/configs/opos8mmdev.h
+++ b/include/configs/opos8mmdev.h
@@ -76,7 +76,7 @@
#define CONFIG_SYS_MMC_ENV_DEV 0
#define CONFIG_SYS_MMC_ENV_PART 2
-#define CONFIG_ENV_VERSION 1
+#define CONFIG_ENV_VERSION 2
#define CONFIG_BOARD_NAME opos8mm
#define ACFG_CONSOLE_DEV ttymxc3
#define CONFIG_SYS_AUTOLOAD "no"
@@ -197,10 +197,14 @@
"${gatewayip}:${netmask}:${hostname}:eth0:off\0" \
"addmmcargs=setenv bootargs ${bootargs} root=${mmcroot} " \
"rootfstype=${mmcrootfstype}\0" \
- "emmcboot=run initargs; run addmmcargs; " \
+ "genmmcboot=run initargs; run addmmcargs; " \
"load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/${kernelimg} && " \
"load mmc ${mmcdev}:${mmcpart} ${fdt_addr} /boot/imx8mm-${fdt_name}.dtb && " \
"booti ${loadaddr} - ${fdt_addr};\0" \
+ "emmcboot=setenv mmcdev 0; setenv mmcpart 2; setenv mmcroot /dev/mmcblk0p2 ro; " \
+ "run genmmcboot;\0" \
+ "mmcboot=setenv mmcdev 1; setenv mmcpart 1; setenv mmcroot /dev/mmcblk1p1 ro; " \
+ "run genmmcboot;\0" \
"addnfsargs=setenv bootargs ${bootargs} root=/dev/nfs rw " \
"nfsroot=${serverip}:${rootpath}\0" \
"nfsboot=run initargs; run addnfsargs addipargs; " \
hooks/post-receive
--
armadeus/u-boot
|