All of lore.kernel.org
 help / color / mirror / Atom feed
* u-boot idbloader.img fails to initialise LPDDR3 on nanopi m4 v1
@ 2021-02-06  9:36 Christopher Obbard
  2021-02-07 17:24 ` Christopher Obbard
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Obbard @ 2021-02-06  9:36 UTC (permalink / raw)
  To: u-boot

hi!

Both 2020.04, 2021.01 and latest u-boot HEAD fails to setup nano pi m4
V1 LPDDR3.

these are compiled with latest ATF HEAD. Any pointers on where to debug ?

For what it's worth; I can boot on nanopi m4 V2 board with patch[1],
so I am sure it's a DDR thing.

U-Boot TPL 2020.04 (Feb 06 2021 - 09:28:53)
sdram_init: LPDDR3 - 933MHz failed!
rk3399_dmc_init DRAM init failed -22
Missing DTB

U-Boot TPL 2021.01 (Feb 05 2021 - 12:45:32)
sdram_init: LPDDR3 - 933MHz failed!
rk3399_dmc_init DRAM init failed -22
Missing DTB

thanks!
Chris

[1]: https://patchwork.ozlabs.org/project/uboot/patch/20201018052548.29195-1-libunko at qq.com/

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

* u-boot idbloader.img fails to initialise LPDDR3 on nanopi m4 v1
  2021-02-06  9:36 u-boot idbloader.img fails to initialise LPDDR3 on nanopi m4 v1 Christopher Obbard
@ 2021-02-07 17:24 ` Christopher Obbard
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Obbard @ 2021-02-07 17:24 UTC (permalink / raw)
  To: u-boot

Turns out I was using the wrong defconfig, my board is a 2gb model
which has a separate defconfig.

Although, u-boot HEAD doesn't work, with an error:

U-Boot TPL 2021.04-rc1-00079-g8308a28af8 (Feb 07 2021 - 13:04:30)
Missing DTB
### ERROR ### Please RESET the board ###

On Sat, 6 Feb 2021 at 09:36, Christopher Obbard <chris@64studio.com> wrote:
>
> hi!
>
> Both 2020.04, 2021.01 and latest u-boot HEAD fails to setup nano pi m4
> V1 LPDDR3.
>
> these are compiled with latest ATF HEAD. Any pointers on where to debug ?
>
> For what it's worth; I can boot on nanopi m4 V2 board with patch[1],
> so I am sure it's a DDR thing.
>
> U-Boot TPL 2020.04 (Feb 06 2021 - 09:28:53)
> sdram_init: LPDDR3 - 933MHz failed!
> rk3399_dmc_init DRAM init failed -22
> Missing DTB
>
> U-Boot TPL 2021.01 (Feb 05 2021 - 12:45:32)
> sdram_init: LPDDR3 - 933MHz failed!
> rk3399_dmc_init DRAM init failed -22
> Missing DTB
>
> thanks!
> Chris
>
> [1]: https://patchwork.ozlabs.org/project/uboot/patch/20201018052548.29195-1-libunko at qq.com/

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

end of thread, other threads:[~2021-02-07 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-06  9:36 u-boot idbloader.img fails to initialise LPDDR3 on nanopi m4 v1 Christopher Obbard
2021-02-07 17:24 ` Christopher Obbard

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.