On Wed, Dec 30, 2009 at 04:38:44PM -0600, [email protected] wrote: > I've got a custom board that was based on the walnut. I have a 2+ year old > version of u-boot working on it, but we are trying to go to the newer version > to match our newer hardware. The hardware is a 405gpr to spansion s29jl064. > I found another board using the same flash for some hints. Here are parts of > the config. I did not modify amcc-common.h (The debug and more info are > below).
<snip> > is= cmd 51(Q) addr ff800080 is= ffffffffffffffff 0000005100000051 > fwrite addr ff800000 cmd f0 00000000000000f0 64 bit x 64 bit > fwrite addr ff800000 cmd ff 00000000000000ff 64 bit x 64 bit > fwrite addr ff8002a8 cmd 98 0000000000000098 64 bit x 64 bit > is= cmd 51(Q) addr ff800080 is= ffffffffffffffff 0000000000000051 > fwrite addr ff802aa8 cmd 98 0000000000000098 64 bit x 64 bit > is= cmd 51(Q) addr ff800080 is= ffffffffffffffff 0000000000000051 > not found > ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB > *** failed *** > ### ERROR ### Please RESET the board ### I had another reply (that I seem to be missing), but the clue was in the BDI working when I did reset halt, then attach via gdb, then continue. In this case, it would work. When I did a reset run it did not. As it turns out some registers were setup in the bdi config that were not getting done properly by the init code. By just eliminating them a couple at a time, I was able to find the problem register. Thanks for all your help. Ayman _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

