
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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users