Stefano, Peng,
I just compiled a fresh U-Boot with u-boot-imx/next and It looks
like commit 34f2feb ("imx: mmc_env: update runtime SD/MMC boot env
device") [1]
breaks my WaRP7 (but the same for the Pico-Pi i.MX7, tested by Joris in
CC),
see logs after:
U-Boot 2019.10-rc4-00232-gd03193d (Oct 07 2019 - 18:44:25 +0200)
CPU: Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 33C
Reset cause: POR
Model: Warp i.MX7 Board
Board: WARP7 in secure mode OPTEE DRAM 0x9d000000-0xa0000000
DRAM: 464 MiB
MMC: FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... MMC Device 2 not found
*** Warning - No MMC card found, using default environment
...
=> env default -f -a
## Resetting to default environment
=> env save
Saving Environment to MMC... MMC Device 2 not found
No MMC card found
Failed (1)
FYI, with a git revert -s 34f2feb92db6146831bafa696b7b46785c9f6b10,
all is working fine:
=> env default -f -a
## Resetting to default environment
=> env save
Saving Environment to MMC... Writing to MMC(0)... OK
So, can you consider this commit 'not applicable' for 2019.10 ?
BR
[1] -
https://github.com/sbabic/u-boot-imx/commit/34f2feb92db6146831bafa696b7b46785c9f6b10
--
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot