All of lore.kernel.org
 help / color / mirror / Atom feed
* MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1
@ 2020-01-26 11:38 Joris Offouga
  2020-01-26 13:25 ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Joris Offouga @ 2020-01-26 11:38 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1
  2020-01-26 11:38 MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1 Joris Offouga
@ 2020-01-26 13:25 ` Fabio Estevam
  2020-01-26 13:29   ` Tom Rini
  2020-01-26 15:29   ` Angelo Dureghello
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2020-01-26 13:25 UTC (permalink / raw)
  To: u-boot

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 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
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1
  2020-01-26 13:25 ` Fabio Estevam
@ 2020-01-26 13:29   ` Tom Rini
  2020-01-26 15:29   ` Angelo Dureghello
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2020-01-26 13:29 UTC (permalink / raw)
  To: u-boot

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 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!

-- 
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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1
  2020-01-26 13:25 ` Fabio Estevam
  2020-01-26 13:29   ` Tom Rini
@ 2020-01-26 15:29   ` Angelo Dureghello
  1 sibling, 0 replies; 4+ messages in thread
From: Angelo Dureghello @ 2020-01-26 15:29 UTC (permalink / raw)
  To: u-boot

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 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
> >



-- 
Angelo Dureghello
Timesys
email: angelo.dureghello at timesys.com
cell.:  +39 388 8550663

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-26 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 11:38 MMC on I.MX7/8MM break on U-Boot 2020.01-00630-gad647690b1 Joris Offouga
2020-01-26 13:25 ` Fabio Estevam
2020-01-26 13:29   ` Tom Rini
2020-01-26 15:29   ` Angelo Dureghello

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.