
Hi Hans,
On 20.08.2015 16:49, Stefan Roese wrote:
Yes, see:
https://github.com/NextThingCo/CHIP-u-boot https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-nand-wip
Thanks.
I've started on your "sunxi-nand-wip" branch. And noticed that its currently stuck / hangs in nand_onfi_set_features() called via sunxi_nand_chip_init_timings(). I've attached 2 patches now:
One with some whitespace / coding-style fixes and more important a 2nd one that actually fixes some buggy pointer initialization.
I just wanted to share this improvement, even if the driver still does not work correctly. But at least its not crashing that early with this fix.
Comments welcome.
BTW: What is the current status of this code? From my debugging (see 2nd patch) it seems that this should not be good enough to run on any board yet.
Thanks, Stefan