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

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@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/1526bcce0f7285087621e16e6720636d...
Best regards,
Joris Offouga

Hi Joris,
Thanks for reporting the regression.
Adding Angelo.
On Sun, Jan 26, 2020 at 8:38 AM Joris Offouga offougajoris@gmail.com wrote:
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@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/1526bcce0f7285087621e16e6720636d...
Best regards,
Joris Offouga

On Sun, Jan 26, 2020 at 10:25:10AM -0300, Fabio Estevam wrote:
Hi Joris,
Thanks for reporting the regression.
Adding Angelo.
On Sun, Jan 26, 2020 at 8:38 AM Joris Offouga offougajoris@gmail.com wrote:
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@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/1526bcce0f7285087621e16e6720636d...
Ugh, yes, thanks for the report. Lets see what we need to do here to fix everyone as this was for fixing another set of platforms. Thanks!

Hi Fabio and Joris,
sorry, couldn't test this on imx7/8 stuff. I'll fix this asap, likely, restricting this operation to m68k.
Regards, Angelo
On Sun, Jan 26, 2020 at 2:25 PM Fabio Estevam festevam@gmail.com wrote:
Hi Joris,
Thanks for reporting the regression.
Adding Angelo.
On Sun, Jan 26, 2020 at 8:38 AM Joris Offouga offougajoris@gmail.com wrote:
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@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/1526bcce0f7285087621e16e6720636d...
Best regards,
Joris Offouga
participants (4)
-
Angelo Dureghello
-
Fabio Estevam
-
Joris Offouga
-
Tom Rini