mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 21:39:02 +00:00
Added to u-boot default env reading from /boot/armbianEnv.txt (#1556)
Changed in imx7d Kernel config compilation type of sdma-imx to module Change-Id: I83f34aaf2961b6a5ca3f24a0b0e33a8a6c6399db
This commit is contained in:
parent
85e10a3c69
commit
f8b7f0b117
2 changed files with 15 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
|
||||
index f5171bb..d617565 100644
|
||||
index f5171bb..922bf63 100644
|
||||
--- a/include/configs/mx7dsabresd.h
|
||||
+++ b/include/configs/mx7dsabresd.h
|
||||
@@ -43,6 +43,8 @@
|
||||
|
@ -45,16 +45,27 @@ index f5171bb..d617565 100644
|
|||
"mmcboot=echo Booting from mmc ...; " \
|
||||
"run mmcargs; " \
|
||||
"if test ${tee} = yes; then " \
|
||||
@@ -212,7 +214,7 @@
|
||||
@@ -212,13 +214,18 @@
|
||||
"fi;\0" \
|
||||
"findfdt="\
|
||||
"if test $fdt_file = undefined; then " \
|
||||
- "setenv fdt_file imx7d-sdb.dtb; " \
|
||||
+ "setenv fdt_file /boot/dtb/imx7d-sdb.dtb; " \
|
||||
+ "fi;\0" \
|
||||
+ "loadenv="\
|
||||
+ "if ext4load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/armbianEnv.txt; then " \
|
||||
+ "env import -t ${load_addr} ${filesize};" \
|
||||
"fi;\0" \
|
||||
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
@@ -303,7 +305,7 @@
|
||||
"run findfdt;" \
|
||||
"mmc dev ${mmcdev};" \
|
||||
"mmc dev ${mmcdev}; if mmc rescan; then " \
|
||||
+ "run loadenv;"\
|
||||
"if run loadbootscript; then " \
|
||||
"run bootscript; " \
|
||||
"else " \
|
||||
@@ -303,7 +310,7 @@
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0 /* USDHC1 */
|
||||
#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue