2010-03-01 08:38:01     PR1 based custom board not booting

Document created by Aaronwu Employee on Sep 25, 2013Last modified by Aaronwu Employee on Sep 25, 2013
Version 2Show Document
  • View in full screen mode

2010-03-01 08:38:01     PR1 based custom board not booting

Muhammad Ali (PAKISTAN)

Message: 86667   

 

Hi,

 

 

 

I have designed a custom Blackfin bf537 daughter card which is based on PR1 schematic design available at astfin blog.

 

 

 

The problem is, i am not getting anything on the console. Attached are the schematics . And here are what i've tried so far.

 

-i am using SPI_MASTER mode for Booting

 

-Loaded SPI flash with u-boot image (image verified by running the same image on edge pbx box).

 

-I am using WIGGLER for jtag

 

 

 

after loading and verifying the SPI flash data. On power up, there is nothing on console.Not even any unreadable char .

 

-I checked CLKOUT (SDRAM bus clock) it was 120Mhz which seems fine. means u-boot did execute to some instant.

 

-If there is no u-boot in spi flash, the CLKOUT shows 50Mhz... which again seems normal (or is it not ?).

 

-UART connections verified.

 

 

 

so any ideas ?? or any more questions that may help you guys solve my problem? ???

 

 

 

 

 

NOTE; there was an error in schematic , ABE0 was connectd to both the RAMs, it has been fixed now by connecting ABE1 to Upper half of the byte and ABE0 to lower half of the byte acccording to the EE notes on ADI. but still no activity on console

 

SDRAM.pdf

SPI_FLASH.pdf

Main_Schematic.pdf

QuoteReplyEditDelete

 

 

2010-03-01 08:39:26     Re: PR1 based custom board not booting

Muhammad Ali (PAKISTAN)

Message: 86668   

 

u-boot version is 1.1.6 (same as given with astfin 2 )

QuoteReplyEditDelete

 

 

2010-03-01 08:54:24     Re: PR1 based custom board not booting

Mike Frysinger (UNITED STATES)

Message: 86669   

 

we didnt have anything to do with the astfin design.  if you have questions about that, you really should ask on the asterisk forums.

 

as for u-boot, 1.1.6 is ancient.  the latest release has a lot of enhanced debugging features.  please read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:debugging

QuoteReplyEditDelete

 

 

2010-03-01 10:10:48     Re: PR1 based custom board not booting

Muhammad Ali (PAKISTAN)

Message: 86671   

 

is there anyway i can test my SDRAMs ???

 

Or anyway that may indicate how far does uboot go in bf ?

QuoteReplyEditDelete

 

 

2010-03-01 10:22:47     Re: PR1 based custom board not booting

Axel Alatalo (SWEDEN)

Message: 86672   

 

I'm just out on a limb here, but could there be something wrong with oyur RTC crystal? If a standard u-boot does not get pulses on the RTC-CLK it will just hang dead waiting for some kind of event from the RTC hardware.

 

One easy test: Touch the pins of the RTC (induces some random noise that generates a few clk pulses). If u-boort starts when touching the RTC, you know the problem. I know this sounds silly, but in my experience its fairly common and it fits your description of hanging dead early.

 

Otherwise, use the JTAG to find out where u-boot hangs, that usually gives a pretty good indication of whats wrong.

 

As for testing memory, if you have an icebear jtag I think a simple memorytest program follows, just run it.

QuoteReplyEditDelete

 

 

2010-03-01 11:30:35     Re: PR1 based custom board not booting

Mike Frysinger (UNITED STATES)

Message: 86673   

 

use jtag and/or read the documentation

Attachments

Outcomes