[U-Boot-Users] Blank console with IXDP425 in U-boot-1.1.6

Queenie
2007-06-18T05:25:52Z

Hi Stefan,

I checked the SDRAM setting and the SDRAM controller options of IXP425,
the SDRAM Iam using is Winbond W981216DH-75, Iam using two such SDRAM's
connected to CS0 having D0-D15 and D16-D31 datalines respectively. Hence Iam
using total size of 32MB SDRAM (2 SDRAM's of 128Mbit --> 8Mx16)
The SDRAM Iam using is have CL3 (CAS latency 3)

accordingly I have changed by SDRAM Seetings as below

/*
* SDRAM settings
*/
#define CFG_SDR_CONFIG 0x8
#define CFG_SDR_MODE_CONFIG 0x1

How can i calcualte the CFG_SDRAM_REFRESH_CNT and the CFG_EXP_CS0?
In U-boot, the values given r as below?
#define CFG_SDRAM_REFRESH_CNT 0x81a
#define CFG_EXP_CS0 0xbcd23c42

How can i find it for my target board?

I tried with the above setting but i still could not get my console to be
working :(
Few questions--
1> Why is the CFG_HZ as 3333333 ? Is this for the Bus for UART? I read its
66MHz
2> What us CONFIG_KGDB_SER_INDEX? Its now set to 2, is it connected to my
serial console port?

--
Queenie

Stefan Roese wrote:
>
> On Tuesday 12 June 2007, Queenie wrote:
>> Is there any way I can find out the difference between the IXDP425 board
>> (development platform) and my customised board? I have the schematics
>> only
>> of my customised target platform.
>
> You should be able to get the schematics for the Intel eval board from the
> Intel. If it's not available on the web-page, then you should contact your
> Intel distributor/FAE.
>
>> From the schematics its clear that the IXP425 266MHz network processor
>> uses
>> the 33MHz PCI bus. The Expansion bus is connected to the Flash (Boot
>> ROM).
>> the SDRAM used is 4M*16*2. Serial port is connected to UART1 and MII 1 to
>> the Lan port PHY.
>> The physical address for Flash is (0x50000000) and SDRAM (0x00000000).
>
> I suspect that you have a problem either with the boot-flash setup or the
> SDRAM configuration. Here the setup from the ixdp425.h config file:
>
> /*
> * Expansion bus settings
> */
> #define CFG_EXP_CS0 0xbcd23c42
>
> /*
> * SDRAM settings
> */
> #define CFG_SDR_CONFIG 0xd
> #define CFG_SDR_MODE_CONFIG 0x1
> #define CFG_SDRAM_REFRESH_CNT 0x81a
>
> Please check if this exactly matches your setup. If not you have to change
> these values accordingly.
>
>> Do I have any changes in the /include/configs/ixdp425.h ?
>> CFG_HZ is 3333333 currently.
>> What r the files in U-boot i have to concentrate on? And what r the other
>> things i have to check for considering Iam a newbie in this field.
>>
>> Can it be that I havent used the right cross toolchain to compile? R
>> there
>> some options i have to select?
>> I have used arm-linux-tools-20061213.tar.gz ??
>>
>> Can someone please guide me.
>
> I am.
>
> Best regards,
> Stefan
>
> =====================================================================
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
> =====================================================================
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>

--
View this message in context: http://www.nabble.com/Blank-console-with-IXDP425-in-U-boot-1.1.6-tf3900825.html#a11170146