Skip to contentSkip to conversation

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

DISCUSSION Joris Offouga 4 participants 4 messages Jan 26, 2020

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi Joris,

Thanks for reporting the regression.

Adding Angelo.

Quoted 70 lines · Joris Offouga

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

#2 lore raw
Quoted 72 lines · Fabio Estevam

Hi Joris,

Thanks for reporting the regression.

Adding Angelo.

Quoted 65 lines · Joris Offouga

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

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!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200126/c34d9685/attachment.sig>
#3 lore raw
In reply to Fabio Estevam

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

Quoted 78 lines · Fabio Estevam

Hi Joris,

Thanks for reporting the regression.

Adding Angelo.

Quoted 70 lines · Joris Offouga

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

Signature · 4 lines
Angelo Dureghello
Timesys
email: angelo.dureghello at timesys.com
cell.:  +39 388 8550663