20.12.2018 18:46, I wrote:
[...]
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...
Some update. If after erasing nand I only store (to nand) SPL without
the u-boot body, I get a perfectly correct message from SPL:
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
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
So apparently SPL does see something in nand, or at least it understands
if u-boot body is not there. Quite encouraging...
Although the instruction does not quite explain why the u-boot body goes
specifically to offset 800000 in nand and if it somehow depends on
actual page size and such. Still puzzled somewhat.
Thank you!
Regards,
Nikolai
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.