MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1

Joris Offouga offougajoris at gmail.com
Sun Jan 26 12:38:12 CET 2020


Hi Tom

I tested latest U-Boot master and it looks like commit 1526bcce (common: 
add blkcache init)[1] breaks load environment in mmc on my Pico-imx7d, 
imx7dsabre and imx8mm-evk:

see logs after:

U-Boot 2020.01-00731-g40521a6c90-dirty (Jan 26 2020 - 12:12:49 +0100)

CPU:   Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 29C
Reset cause: POR
Model: TechNexion PICO-IMX7D Board and PI baseboard
Board: i.MX7D PICOSOM
I2C:   ready
DRAM:  512 MiB
PMIC:  PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC:   FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... data abort
pc : [<9feb0d4e>]       lr : [<9feab5e5>]
reloc pc : [<8781ad4e>]       lr : [<878155e5>]
sp : 9de8ac60  ip : 00000002     fp : 9fef3d1c
r10: 00000000  r9 : 9de95ea0     r8 : 00000000
r7 : 00000006  r6 : feffff7f     r5 : 9fefb620  r4 : feffff7f
r3 : ffffefff  r2 : 62168365     r1 : 00000000  r0 : 00000006
Flags: NzCv  IRQs off  FIQs off  Mode SVC_32 (T)
Code: 3b01 f8cb 3008 4634 (6836) e7df
Resetting CPU ...

resetting ...

after revert it :

U-Boot SPL 2020.01-00732-g80dd068886-dirty (Jan 26 2020 - 12:19:49 +0100)
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 482142 to 0x877fffc0... done
Jumping to header at 0x877fffc0
Header Tag is not an IMX image

-Boot 2020.01-00732-g80dd068886-dirty (Jan 26 2020 - 12:19:49 +0100)

CPU:   Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 40C
Reset cause: POR
Model: TechNexion PICO-IMX7D Board and PI baseboard
Board: i.MX7D PICOSOM
I2C:   ready
DRAM:  512 MiB
PMIC:  PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC:   FSL_SDHC: 2, FSL_SDHC: 1, FSL_SDHC: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at 30be0000
Hit any key to stop autoboot:  0

So, can you consider this commit 'not applicable' for next release ?

[1] 
https://gitlab.denx.de/u-boot/u-boot/commit/1526bcce0f7285087621e16e6720636d01839da8

Best regards,

Joris Offouga



More information about the U-Boot mailing list