Skip to contentSkip to conversation

Blank console with IXDP425 in U-boot-1.1.6

U-Boot-Users Queenie 3 participants 10 messages Jun 11, 2007 – Jun 21, 2007

lore
Share & tools
lore

Queenie

author
#0 lore raw

Hi Everybody,

Iam a newbie in this field. I have a customed target board having IXP425. This board has been working fine with Redboot. I do not have the working source code for Redboot but only the bin file which works fine. I now want to customise the u-boot and make u-boot the bootloader for this board.

I have downloaded u-boot-1.1.6. Also I have downloaded the npe microcode from intel website (IPL_ixp400NpeLibrary-2_4).
The tool chain I have downloaded is arm-linux-tools-20061213.tar.gz I have added the toolchain in my $PATH (.bash_profile file)
I complied my u-boot for IXDP425 by giving the command "make ixdp425_config" and the "make all"
It complied sucessfully and gave me a u-boot.bin and u-boot.srec file.

I used this u-boot.bin file and loaded it into my target board flash using an ICE. after this is accomplished, I restarted the board and connected the console of my target board so that i could observe the bootloader prompt on the hyperterminal.
I see nothin on the console (hyperterminal)
I have connect it with baud rate 115200, 8 data bits, parity bits none, 1 stop bit and flow control as none. I even tried with flow control as hardware.

Please advise where i could be going wrong and how i should proceed.

Thanks!!

Queenie

Signature · 2 lines
View this message in context: http://www.nabble.com/Blank-console-with-IXDP425-in-U-boot-1.1.6-tf3900825.html#a11058369
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw

Hi Queenie,

Quoted 6 lines · Queenie

Iam a newbie in this field. I have a customed target board having IXP425. This board has been working fine with Redboot. I do not have the working source code for Redboot but only the bin file which works fine. I now want to customise the u-boot and make u-boot the bootloader for this board.

Quoted 6 lines

I have downloaded u-boot-1.1.6. Also I have downloaded the npe microcode from intel website (IPL_ixp400NpeLibrary-2_4).
The tool chain I have downloaded is arm-linux-tools-20061213.tar.gz I have added the toolchain in my $PATH (.bash_profile file) I complied my u-boot for IXDP425 by giving the command "make ixdp425_config" and the "make all"

Yes, but if I understand you correctly, then you don't have the Intel IXDP425 board, but a custom specific board. Correct? I assume that there are some differences to the Intel board. What are those differences? You have to *port* U-Boot to your specific hardware.

Quoted 11 lines

It complied sucessfully and gave me a u-boot.bin and u-boot.srec file.

I used this u-boot.bin file and loaded it into my target board flash using an ICE. after this is accomplished, I restarted the board and connected the console of my target board so that i could observe the bootloader prompt on the hyperterminal.
I see nothin on the console (hyperterminal)
I have connect it with baud rate 115200, 8 data bits, parity bits none, 1 stop bit and flow control as none. I even tried with flow control as hardware.

Quoted 1 line

Please advise where i could be going wrong and how i should proceed.

As mentioned above, using a binary compiled for a different board will in most cases not work.

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
=====================================================================

#2 lore raw

Could it be that your hardware uses a different UART?
I had similar problem with a board of my customer that used different UART. in his case the change was simple, just change CFG_IXP425_CONSOLE from IXP425_UART1 to IXP425_UART2 in include/configs/ixdp425.h

Check the UART in you board.

Signature · 1 line
Ori Idan
Quoted 56 lines · Stefan Roese

Hi Queenie,

Quoted 6 lines · Queenie

Iam a newbie in this field. I have a customed target board having IXP425. This board has been working fine with Redboot. I do not have the working source code for Redboot but only the bin file which works fine. I now want to customise the u-boot and make u-boot the bootloader for this board.

Quoted 6 lines

I have downloaded u-boot-1.1.6. Also I have downloaded the npe microcode from intel website (IPL_ixp400NpeLibrary-2_4).
The tool chain I have downloaded is arm-linux-tools-20061213.tar.gz I have added the toolchain in my $PATH (.bash_profile file) I complied my u-boot for IXDP425 by giving the command "make ixdp425_config" and the "make all"

Yes, but if I understand you correctly, then you don't have the Intel IXDP425 board, but a custom specific board. Correct? I assume that there are some differences to the Intel board. What are those differences? You have to *port* U-Boot to your specific hardware.

Quoted 11 lines

It complied sucessfully and gave me a u-boot.bin and u-boot.srec file.

I used this u-boot.bin file and loaded it into my target board flash using an ICE. after this is accomplished, I restarted the board and connected the console of my target board so that i could observe the bootloader prompt on the hyperterminal.
I see nothin on the console (hyperterminal)
I have connect it with baud rate 115200, 8 data bits, parity bits none, 1 stop bit and flow control as none. I even tried with flow control as hardware.

Quoted 1 line

Please advise where i could be going wrong and how i should proceed.

As mentioned above, using a binary compiled for a different board will in most cases not work.

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

author
#3 lore raw
In reply to Stefan Roese

Yes.. U r right. Iam not using the ixdp425 (development) board. What iam using is a customised board having IXP425.

On this board, I tried with the REDBOOT prebuilt utility for ixdp425 board ( development board) from the web and I could see the console message on my hyperterminal.

I was wondering y I cannot observe the same with my U-boot. is there any extra configuration needed?

I checked the CFG_IXP425_CONSOLE macro in u-boot and saw thats its assigned to IXP425_UART1 of the IXP425 chip. I also checked the circuit diagram of my customised target platform and found that the console is connected to UART1 only.

What could be causing this problem?

Quoted 64 lines · Stefan Roese

Hi Queenie,

Quoted 7 lines · Queenie

Iam a newbie in this field. I have a customed target board having IXP425. This board has been working fine with Redboot. I do not have the working source code for Redboot but only the bin file which works fine. I now want to customise the u-boot and make u-boot the bootloader for this
board.

Quoted 6 lines

I have downloaded u-boot-1.1.6. Also I have downloaded the npe microcode from intel website (IPL_ixp400NpeLibrary-2_4).
The tool chain I have downloaded is arm-linux-tools-20061213.tar.gz I have added the toolchain in my $PATH (.bash_profile file) I complied my u-boot for IXDP425 by giving the command "make ixdp425_config" and the "make all"

Yes, but if I understand you correctly, then you don't have the Intel IXDP425
board, but a custom specific board. Correct? I assume that there are some differences to the Intel board. What are those differences? You have to *port* U-Boot to your specific hardware.

Quoted 14 lines

It complied sucessfully and gave me a u-boot.bin and u-boot.srec file.

I used this u-boot.bin file and loaded it into my target board flash using
an ICE. after this is accomplished, I restarted the board and connected the
console of my target board so that i could observe the bootloader prompt on
the hyperterminal.
I see nothin on the console (hyperterminal)
I have connect it with baud rate 115200, 8 data bits, parity bits none, 1 stop bit and flow control as none. I even tried with flow control as hardware.

Quoted 1 line

Please advise where i could be going wrong and how i should proceed.

As mentioned above, using a binary compiled for a different board will in most
cases not work.

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

Signature · 2 lines
View this message in context: http://www.nabble.com/Blank-console-with-IXDP425-in-U-boot-1.1.6-tf3900825.html#a11059014
Sent from the Uboot - Users mailing list archive at Nabble.com.
#4 lore raw

Check crystal rate.
Although usually if you have a wrong clock frequency, you will get garbage characters.

Signature · 1 line
Ori Idan
Quoted 101 lines · Queenie

Yes.. U r right. Iam not using the ixdp425 (development) board. What iam using is a customised board having IXP425.

On this board, I tried with the REDBOOT prebuilt utility for ixdp425 board ( development board) from the web and I could see the console message on my hyperterminal.

I was wondering y I cannot observe the same with my U-boot. is there any extra configuration needed?

I checked the CFG_IXP425_CONSOLE macro in u-boot and saw thats its assigned to IXP425_UART1 of the IXP425 chip. I also checked the circuit diagram of my customised target platform and found that the console is connected to UART1 only.

What could be causing this problem?

Quoted 53 lines · Stefan Roese

Hi Queenie,

Quoted 7 lines · Queenie

Iam a newbie in this field. I have a customed target board having IXP425. This board has been working fine with Redboot. I do not have the working source code for Redboot but only the bin file which works fine. I now want to customise the u-boot and make u-boot the bootloader for this
board.

Quoted 6 lines

I have downloaded u-boot-1.1.6. Also I have downloaded the npe microcode from intel website (IPL_ixp400NpeLibrary-2_4).
The tool chain I have downloaded is arm-linux-tools-20061213.tar.gz I have added the toolchain in my $PATH (.bash_profile file) I complied my u-boot for IXDP425 by giving the command "make ixdp425_config" and the "make all"

Yes, but if I understand you correctly, then you don't have the Intel IXDP425
board, but a custom specific board. Correct? I assume that there are some differences to the Intel board. What are those differences? You have to *port* U-Boot to your specific hardware.

Quoted 14 lines

It complied sucessfully and gave me a u-boot.bin and u-boot.srec file.

I used this u-boot.bin file and loaded it into my target board flash using
an ICE. after this is accomplished, I restarted the board and connected the
console of my target board so that i could observe the bootloader prompt on
the hyperterminal.
I see nothin on the console (hyperterminal)
I have connect it with baud rate 115200, 8 data bits, parity bits none, 1 stop bit and flow control as none. I even tried with flow control as hardware.

Quoted 1 line

Please advise where i could be going wrong and how i should proceed.

As mentioned above, using a binary compiled for a different board will in most
cases not work.

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
=====================================================================

Quoted 11 lines

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

-------------------------------------------------------------------------
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

#9 lore raw
In reply to Queenie
Quoted 6 lines · Queenie

Yes.. U r right. Iam not using the ixdp425 (development) board. What iam using is a customised board having IXP425.

On this board, I tried with the REDBOOT prebuilt utility for ixdp425 board ( development board) from the web and I could see the console message on my hyperterminal.

You were lucky then.

Quoted 9 lines

I was wondering y I cannot observe the same with my U-boot. is there any extra configuration needed?

I checked the CFG_IXP425_CONSOLE macro in u-boot and saw thats its assigned to IXP425_UART1 of the IXP425 chip. I also checked the circuit diagram of my customised target platform and found that the console is connected to UART1 only.

What could be causing this problem?

Lot's of things could go wrong. For example the SDRAM setup. Or the input clock frequency. Or some GPIO's. Or etc...

You have to figure out the differences between your board and the Intel eval board and change the U-Boot files accordingly.

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
=====================================================================

author
#5 lore raw
In reply to Ori Idan

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.

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).

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.

---
Queenie

Quoted 137 lines · Ori Idan

Check crystal rate.
Although usually if you have a wrong clock frequency, you will get garbage characters.

Signature · 1 line
Ori Idan
Quoted 105 lines · Queenie

Yes.. U r right. Iam not using the ixdp425 (development) board. What iam using is a customised board having IXP425.

On this board, I tried with the REDBOOT prebuilt utility for ixdp425 board (
development board) from the web and I could see the console message on my hyperterminal.

I was wondering y I cannot observe the same with my U-boot. is there any extra configuration needed?

I checked the CFG_IXP425_CONSOLE macro in u-boot and saw thats its assigned
to IXP425_UART1 of the IXP425 chip. I also checked the circuit diagram of my
customised target platform and found that the console is connected to UART1
only.

What could be causing this problem?

Quoted 5 lines · Stefan Roese

Hi Queenie,

Quoted 1 line · Queenie

Iam a newbie in this field. I have a customed target board having

IXP425.

Quoted 1 line
Quoted 1 line

This board has been working fine with Redboot. I do not have the

working

Quoted 6 lines
Quoted 6 lines

source code for Redboot but only the bin file which works fine. I now want to customise the u-boot and make u-boot the bootloader for this
board.

I have downloaded u-boot-1.1.6. Also I have downloaded the npe

microcode

Quoted 9 lines
Quoted 5 lines

from intel website (IPL_ixp400NpeLibrary-2_4).
The tool chain I have downloaded is arm-linux-tools-20061213.tar.gz I have added the toolchain in my $PATH (.bash_profile file) I complied my u-boot for IXDP425 by giving the command "make ixdp425_config" and the "make all"

Yes, but if I understand you correctly, then you don't have the Intel IXDP425
board, but a custom specific board. Correct? I assume that there are

some

Quoted 8 lines

differences to the Intel board. What are those differences? You have to *port* U-Boot to your specific hardware.

Quoted 5 lines

It complied sucessfully and gave me a u-boot.bin and u-boot.srec file.

I used this u-boot.bin file and loaded it into my target board flash using
an ICE. after this is accomplished, I restarted the board and

connected

Quoted 2 lines
Quoted 2 lines

the
console of my target board so that i could observe the bootloader

prompt

Quoted 4 lines
Quoted 4 lines

on
the hyperterminal.
I see nothin on the console (hyperterminal)
I have connect it with baud rate 115200, 8 data bits, parity bits

none, 1

Quoted 6 lines
Quoted 4 lines

stop bit and flow control as none. I even tried with flow control as hardware.

Please advise where i could be going wrong and how i should proceed.

As mentioned above, using a binary compiled for a different board will

in

Quoted 13 lines

most
cases not work.

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
=====================================================================

-------------------------------------------------------------------------

Quoted 10 lines

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

Quoted 10 lines

-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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

Signature · 2 lines
View this message in context: http://www.nabble.com/Blank-console-with-IXDP425-in-U-boot-1.1.6-tf3900825.html#a11073431
Sent from the Uboot - Users mailing list archive at Nabble.com.
#6 lore raw
Quoted 3 lines · Queenie

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.

Quoted 6 lines

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.

Quoted 10 lines

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
=====================================================================

author
#7 lore raw

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

Quoted 71 lines · Stefan Roese
Quoted 4 lines · Queenie

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.

Quoted 7 lines

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.

Quoted 11 lines

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

Signature · 2 lines
View this message in context: http://www.nabble.com/Blank-console-with-IXDP425-in-U-boot-1.1.6-tf3900825.html#a11170146
Sent from the Uboot - Users mailing list archive at Nabble.com.
author
#8 lore raw

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

Quoted 116 lines · Queenie

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

Quoted 77 lines · Stefan Roese
Quoted 5 lines · Queenie

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.

Quoted 8 lines

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.

Quoted 6 lines

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.

Quoted 6 lines

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

Signature · 2 lines
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.