Hello again... > I try the mac file > http://casper.berkeley.edu/svn/trunk/roach/production/test_software/roach_testing/macraigor_macros/loadram_rinit_auto.mac > > it works. > But the ROACH can't complete the whole uboot process. > The screen only shows the message as follows: > --------------------------------------------------------------------------------------------------- > > U-Boot 2008.10-svn2226 (Aug 7 2009 - 16:06:44) > > CPU: AMCC PowerPC 440EPx Rev. A at 660 MHz (PLB=165, OPB=82, EBC=82 MHz) > No Security/Kasumi support > Bootstrap Option H - Boot ROM Location I2C (Addr 0x52) > 32 kB I-Cache 32 kB D-Cache > Board: Roach > I2C: ready > DTT: 1 is 30 C > DRAM: (spd v1.2) 1 GB > --------------------------------------------------------------------------------------- > > What's happened? Good question! I don't really have an answer. What I can say is that the next text output should be "FLASH: 64 MB". So I'm guessing something went wrong with your flash somehow. This could be a red-herring though. I would try the following before getting my hands really dirty:
* Changing the boot configuration to CONFIG C by toggling CONFIG DIP 1 and then power cycling * Updating the CPLD, via Xilinx JTAG, with the newest design (you can find it at casper_svn:roach/gw/binaries/roach_cpld/ * Try reinstalling uboot using the macG tool If these fail I would then try dumping the External Processor Bus memory using the maccraigor tool. * First try dumping some memory at the CPLD Base to check that the EPB is working You should get something like this... > halt > word 1c0000000 20 C0000000: 007F0200 31000000 05010000 05010000 C0000010: 01FF0000 03000000 D00D0800 06340100 C0000020: 007F0200 31000000 05010000 05010000 C0000030: 01FF0000 03000000 D00D0800 06340100 C0000040: 007F0200 31000000 05010000 05010 * Next try dumping the flash contents to check that flash is working You should get something like this... >word 1fffa0000 20 FFFA0000: 27051956 552D426F 6F742032 3030382E FFFA0010: 31302D73 766E3232 32362028 41756720 FFFA0020: 20372032 30303920 2D203136 3A30363A FFFA0030: 34342900 00000000 00000000 00000000 FFFA0040: 00000000 00000000 00000000 00000000 Next I would try loading uboot with the debug signatures enabled (see attached). If this fails I would use the debugger, or just lots of uboot debug messages, to find out where exactly the code got stuck. Please keep me posted on your progress. Good Luck, David

