Store U-Boot environnement in eMMC on i.MX8MPlus
Joris OFFOUGA
offougajoris at gmail.com
Wed Jan 25 10:27:22 CET 2023
Hi all,
I try to store my U-Boot environment in eMMC on i.MX8MPlus, I then remove the CONFIG_ENV_IS_NOWHERE option, and I then put the following options:
CONFIG_SYS_MMC_ENV_DEV=1
CONFIG_ENV_OFFSET=0x400000
CONFIG_ENV_SIZE=0x2000
CONFIG_SYS_MMC_ENV_PART=0
However during the boot sequence I get stuck here:
U-Boot SPL 2023.01 (Jan 25 2023 - 08:23:12 +0100)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
NormalBoot
Trying to boot from BOOTROM
Boot Stage: USB boot
Find img info 0x&48017200, size 872
Need continue download 1024
Download 1090688, Total size 1092224
NOTICE: BL31: v2.4(release):acddd624b
NOTICE: BL31: Built: 08:21:46, Jan 24 2023
whereas if I have the option CONFIG_ENV_IS_NOWHERE=y
U-Boot SPL 2023.01 (Jan 25 2023 - 08:41:47 +0100)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
NormalBoot
Trying to boot from BOOTROM
Boot Stage: USB boot
Find img info 0x&48016e00, size 872
Need continue download 1024
Download 1089160, Total size 1090696
NOTICE: BL31: v2.4(release):acddd624b
NOTICE: BL31: Built: 08:21:46, Jan 24 2023
U-Boot 2023.01 (Jan 25 2023 - 08:41:47 +0100)
CPU: i.MX8MP Lite[4] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 52C
Reset cause: POR
Model: IMX8MPLUS
DRAM: 1 GiB
Core: 187 devices, 26 uclasses, devicetree: separate
MMC:FSL_SDHC:0
Loading Environment from nowhere...OK
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF acddd62
do you have any idea about this?
Best regards,
Joris OFFOUGA
More information about the U-Boot
mailing list