20.12.2018 17:54, I wrote:
[...]
Ok, hardcoding size=1024 and strength=40 allowed to proceed with
installing exactly per instructions in sunxi/README.nand and after
power-cycle I've got a greeting from u-boot SPL from nand!

U-Boot SPL 2019.01-rc2 (Dec 20 2018 - 16:30:46 +0300)
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
DRAM: 1024 MiB
Trying to boot from NAND

However, nothing usefull apparenly happens after the greeting. Just
silence...

Is it true that U-boot SPL uses the same hardware storage access mechanisms as the normal U-boot would? If so, new U-boot body stored to nand could be verified (for read errors and such) by means of U-boot loaded through fel?

I'm still wondering if my hardcoding of ECC size=1024 and strength=40 into sunxi_nand.c also apply for SPL environment on not.


Thank you!

Regards,
Nikolai


Any hints?


Thank you!

Regards,
Nikolai


Now question is, how and where do I properly set them? AFAICS for the
linux kernel, the DT file can not be used for that on sunxi yet.
Apparently "strength" can possibly be either 24 or 40, taking into
account page size 8k and BROM restrictions. Not sure about the "size"
though.

Any hints?


Thank you!

Regards,
Nikolai


This is what the new shiny u-boot is saying me right after uploaded
though fel. So it of course rejects any subsequent nand commands.
Actually, it is basically the same message as sunxi_nand driver is
throwing in the kernel, but there it still somehow proceeds even without
this parameter page...

Any hints?


Thank you,

Regards,
Nikolai


--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to