All of lore.kernel.org
 help / color / mirror / Atom feed
From: Queenie <queenie245@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Blank console with IXDP425 in U-boot-1.1.6
Date: Thu, 21 Jun 2007 02:43:10 -0700 (PDT)	[thread overview]
Message-ID: <11229742.post@talk.nabble.com> (raw)
In-Reply-To: <11170146.post@talk.nabble.com>


Hello,

Thanx alot for all your valuable inputs. Finally got the console working for
my customised IXP422 based target board. 
This maybe useful for someone else trying...

Bootloader: U-boot 1.1.6 with npe microcode 2.4
(IPL_ixp400NpeLibrary-2_4)from Intel 
Toolchain : arm-linux-tools-20061213.tar.gz 
Settings used r below:
/*
 * Expansion bus settings
 */
#define CFG_EXP_CS0				0xbFFF3c42

/*
 * SDRAM settings
 */
#define CFG_SDR_CONFIG		0x18
#define CFG_SDR_MODE_CONFIG	0x1
#define CFG_SDRAM_REFRESH_CNT 	0x81a

/*
 * select serial console configuration
 */
#define CFG_IXP425_CONSOLE      IXP425_UART2
One thing which i got confused was that,
the Schematics of IXDP425 (Development board from Intel) mentioned the UARTs
and UART0 and UART1. While the IXP42X datasheet mentions High-speed UART
(C8000000) and Console UART at (C8001000)
and U-boot mentions the UARTs as UART1 and UART2

Hence even though in my customed target board schematics the console is
shown as connecte to UART1, 
in u-boot you have to choose the UART2 option as shown above.

I have got the console up but my ethernet is not yet up. Now my next target
is to get that working. Any tips for me :)

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? 
Iam using two SDRAM's 128Mbit each, 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)
3> What is PHYS_SDRAM_1_SIZE? Will it be the total SDRAM size or size of 1
SDRAM?? I tried iwth both options and didnt see any difference.
Please let me know.

Cheers!

Queenie




Queenie wrote:
> 
> 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#a11229742
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2007-06-21  9:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11 10:41 [U-Boot-Users] Blank console with IXDP425 in U-boot-1.1.6 Queenie
2007-06-11 11:13 ` Stefan Roese
2007-06-11 11:25   ` Ori Idan
2007-06-11 11:32   ` Queenie
2007-06-11 11:35     ` Ori Idan
2007-06-12  6:09       ` Queenie
2007-06-12  8:41         ` Stefan Roese
2007-06-18  5:25           ` Queenie
2007-06-21  9:43             ` Queenie [this message]
2007-06-11 11:47     ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11229742.post@talk.nabble.com \
    --to=queenie245@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.