
Dear Ben Warren,
In message 4A8342BE.7050600@gmail.com you wrote:
It looks like the 'trab' board uses 16-bit accesses (CONFIG_CS8900_BUS16). The function 'get_reg_init_bus()' does some funny initialization to get the chip into 16-bit mode. I wonder if maybe that's not working the same as the original. That could explain the crash too.
Yes...
BTW - it shouldn't matter in this case, but there's a typo in cs8900.c that this should fix:
I confirm that this change has no impact on the current issue.
Note however that your modification was probably not the (only) culprit. With current mainline version I get this:
TRAB # run load TFTP from server 192.168.1.1; our IP address is 192.168.3.68 Filename 'trab/u-boot.bin-wd'. Load address: 0xc100000 Loading: T T T T T T T T T T Retry count exceeded; starting again TFTP from server 192.168.1.1; our IP address is 192.168.3.68 Filename 'trab/u-boot.bin-wd'. Load address: 0xc100000 Loading: T T T T T T T T T T Retry count exceeded; starting again TFTP from server 192.168.1.1; our IP address is 192.168.3.68 Filename 'trab/u-boot.bin-wd'. Load address: 0xc100000 Loading: T T T T T T T T T T Retry count exceeded; starting again
with the timeouts being *way* too fast.
It seems that 1.2.0 was the last version that has been actually tested on trab / SMDK2400.
I'll try to run a git bisect tomorrow; need to get some sleep now.
Best regards,
Wolfgang Denk