Solved! It was the toolchain. I went to the Archlinux site and followed the instructions for building a cross-tool set: http://archlinuxarm.org/developers/distcc-cross-compiling Of course, the tools didn't build at first on Xubuntu 12.04/32, but I replaced the crosstool-ng with the latest version (1.17) and it all built. Then I rebuilt uboot, serial loaded it and it worked.by lancej29 - uBoot
I did some hacking around and I may be on to something. First, I added some GPIO register writes in the kwbimage.cfg file to verify, via the LEDs, that this much was working. It was. I noticed when the download completes, the system LED alone is on and it is green. So I wrote a code fragment to change the LED pattern to something I would recognize and started inserting it at various points inby lancej29 - uBoot
WarheadsSE, Thanks for the link. I tried it and got somewhat different behavior than before, but it just might be that the trials are not well controlled enough and are small enough not to be statistically significant. After running the script, I was able to power cycle and run u-boot with a working network about four times in a row. Then it stopped working again. At this point, I bootedby lancej29 - uBoot
Hello WarheadsSE -- we meet again. I'm not sure what you mean by "Twiddling power on resume to ON..." Is this a u-boot setting? The problem I am seeing is when I boot u-boot. I have not seen the problem booting either the stock Linux or Archlinux. Thanks, Lanceby lancej29 - uBoot
I found something that might be related, but I don't know enough about the processor and board to know. I compared the values for register initialization in the kwbimage.cfg file with what I take to be the corresponding registers in the nsa320 (read using md in u-boot). First, the base address for the registers in the nsa320 is 0xf100000 rather than the 0xffd00000 in the cfg file. I assume tby lancej29 - uBoot
I am struggling with my nsa320 using the stock u-boot. In addition to it not supporting thumb drives, the network is very flaky, but only in u-boot. Sometimes it works and sometimes it doesn't. When it doesn't work, I find that booting the stock firmware or Archlinux and then restarting fixes it. I don't know if this is normal for the nsa320, but it only fails to come up in u-bootby lancej29 - uBoot