public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* sunxi_nand_spl reading zeros on NextThing C.H.I.P.
@ 2020-02-15 18:32 Yevhenii Hrabliuk
  2021-04-22 21:21 ` r315
  0 siblings, 1 reply; 3+ messages in thread
From: Yevhenii Hrabliuk @ 2020-02-15 18:32 UTC (permalink / raw)
  To: u-boot

Hello,

I'm trying to get latest U-Boot to work on the NextThing C.H.I.P.

After borrowing NFC config from the Chip Pro .dts, I can write the SPL to NAND
after loading U-Boot via sunxi-fel and the bootrom will pick it up fine.
So the "full" sunxi_nand.c works.

SPL's sunxi_nand_spl.c appears to read all zeros however - I checked by adding
prints in spl.c/jump_to_image_no_args().

Can someone please suggest possible things to try to make it work? I tried
tinkering with the settings but I have no idea if that's even the issue.

The NAND is a Toshiba "TC58TEG5DCLTA00"; NTC's settings for it are presumably [1]
and sunxi_nand_spl.c autodetects the following settings:

page_size:16384 ecc_strength:4 ecc_size:1024 addr_cycles:5 nseeds:8 randomize:0

Thanks.

[1]: https://raw.githubusercontent.com/nextthingco/chip-nand-scripts/master/nand_configs/Toshiba-MLC.config

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

end of thread, other threads:[~2021-05-01 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-15 18:32 sunxi_nand_spl reading zeros on NextThing C.H.I.P Yevhenii Hrabliuk
2021-04-22 21:21 ` r315
2021-05-01 22:48   ` r315

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox