Skip to contentSkip to conversation

4xx ethernet bringup

U-Boot-Users shami Allam 5 participants 17 messages Dec 19, 2007 – Dec 27, 2007

lore
Share & tools
lore
#0 lore raw

Hi All,

I am working on the 405GP custome board. I am able to bringup the SDRAM,Flash,I2c and serail on the board. But while trying to bringup the ethernet i am getting the following error. "No Ethernet found". On my board there is "DP83848I" PHY chip.

what exactely this is doing in lib_ppc/boarc.c s = getenv ("ethaddr");
#if defined (CONFIG_MBX) || \
defined (CONFIG_RPXCLASSIC) || \
defined(CONFIG_IAD210) || \
defined(CONFIG_V38B)
if (s == NULL)
board_get_enetaddr (bd->bi_enetaddr);
else
#endif
for (i = 0; i < 6; ++i) {
bd->bi_enetaddr[i] = s ? simple_strtoul (s, &e, 16) : 0; if (s)
s = (*e) ? e + 1 : e;
}
#ifdef CONFIG_HERMES
if ((gd->board_type >> 16) == 2) bd->bi_ethspeed = gd->board_type & 0xFFFF;
else
bd->bi_ethspeed = 0xFFFF;
#endif

and in the same file there is one more call...
#if (CONFIG_COMMANDS & CFG_CMD_NET)
#if defined(CONFIG_NET_MULTI)
WATCHDOG_RESET ();
puts ("Net: ");
#endif
eth_initialize (bd);
#endif

In the eth_initialize() function i see the print "No ethernet found". i reqeust you to please throw some out to come out of this problem......**********EXIT ME PLZ*************

Thanks
Shami.

Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071219/e859a6cf/attachment.htm

#1 lore raw
Quoted 4 lines · shami Allam

I am working on the 405GP custome board. I am able to bringup the SDRAM,Flash,I2c and serail on the board. But while trying to bringup the ethernet i am getting the following error. "No Ethernet found". On my board there is "DP83848I" PHY chip.

This message gets printed when you don't define the "ethaddr" environement address. So set this variable to a valid value and save the environment and reset the board. Then you should see one eth-interface.

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

Hi Stefan,

I assigned the ethaddr as 192.168.13.246 and after that i run the command "saveenv " and reset the board. I got the following
Net: ppc_4xx_eth0. once i get the shell prompt i assign the ipaddr as 192.168.13.241 and after that i run the command "saveenv" and reset the board. Now i tried to ping my Host PC which has the IP address as 192.168.13.240, i am getting the following error.....I am not able to ping the host IP. Can you please show some way to come of this issue..... => ping 192.168.13.240
Trying ppc_4xx_eth0
PHY speed read failed, assuming 10bT
PHY duplex read failed, assuming half duplex
ENET Speed is 10 Mbps - HALF duplex connection
Using ppc_4xx_eth0 device
sending ARP for c0a80df0
ARP broadcast 1
ARP broadcast 2
ping failed; host 192.168.13.240 is not alive
=>
Regards,
Shami...

Stefan Roese <[email protected]> wrote:

Quoted 4 lines · shami Allam

I am working on the 405GP custome board. I am able to bringup the SDRAM,Flash,I2c and serail on the board. But while trying to bringup the ethernet i am getting the following error. "No Ethernet found". On my board there is "DP83848I" PHY chip.

This message gets printed when you don't define the "ethaddr" environement address. So set this variable to a valid value and save the environment and reset the board. Then you should see one eth-interface.

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

---------------------------------
Get the freedom to save as many mails as you wish. Click here to know how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071220/dc27ad89/attachment.htm

#3 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

I assigned the ethaddr as 192.168.13.246 and after that i run the command "saveenv " and reset the board. I got the following

That looks like an IP address to me.

A MAC address is something different. Please see
http://en.wikipedia.org/wiki/MAC_address

Also make sure to read the FAQ.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is is no reason for any individual to have a computer in  their
home.      -- Ken Olsen (President of Digital Equipment Corporation),
              Convention of the World Future Society, in Boston, 1977
#4 lore raw

[U-Boot-Users] Boot 440EPx from NAND

Hi:

I am trying to boot 440EPx board similar to Seqouia from NAND. NAND flash is different from Sequoia's though, it has page size 2K, sector size 128K and it's 1Gb (128MB).

I set following parameters in my <board>.h file:

#define CFG_NAND_U_BOOT_SIZE (600 << 10) /* Size of RAM U-Boot
image */

/*
* Now the NAND chip has to be defined (no autodetection used!) */
#define CFG_NAND_PAGE_SIZE (2048) /* NAND chip page size
*/
#define CFG_NAND_BLOCK_SIZE (128 << 10) /* NAND chip block size
*/
#define CFG_NAND_PAGE_COUNT (64) /* NAND chip page count
*/
#define CFG_NAND_BAD_BLOCK_POS (5) /* Location of bad block
marker */
#define CFG_NAND_4_ADDR_CYCLE /* Fourth addr used
(>32MB) */

but it doesn't boot.

Any suggestion? What is CFG_NAND_PAGE_COUNT anyway?

Thanks,

Leonid.

#5 lore raw

[U-Boot-Users] Boot 440EPx from NAND

Quoted 23 lines · Leonid

I am trying to boot 440EPx board similar to Seqouia from NAND. NAND flash is different from Sequoia's though, it has page size 2K, sector size 128K and it's 1Gb (128MB).

I set following parameters in my <board>.h file:

#define CFG_NAND_U_BOOT_SIZE (600 << 10) /* Size of RAM U-Boot
image */

/*
* Now the NAND chip has to be defined (no autodetection used!) */
#define CFG_NAND_PAGE_SIZE (2048) /* NAND chip page size
*/
#define CFG_NAND_BLOCK_SIZE (128 << 10) /* NAND chip block size
*/
#define CFG_NAND_PAGE_COUNT (64) /* NAND chip page count
*/
#define CFG_NAND_BAD_BLOCK_POS (5) /* Location of bad block
marker */
#define CFG_NAND_4_ADDR_CYCLE /* Fourth addr used
(>32MB) */

Quoted 3 lines

but it doesn't boot.

Any suggestion?

The current code is tested only for 512byte page size NAND devices. Very likely it needs some changes for 2k devices. Especially the ECC stuff will need some changes.

Quoted 1 line

What is CFG_NAND_PAGE_COUNT anyway?

CFG_NAND_PAGE_SIZE defines the number of pages per block. For example a 64MByte NAND chips has a page size of 512 bytes and a block size of 16kbytes. This makes 16k/512 == 32.

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

#6 lore raw

[U-Boot-Users] Boot 440EPx from NAND

Hi, Stefan:
_____________________________________________________________

Quoted 1 line · Stefan Roese
Quoted 1 line

[Leonid] I am trying to boot 440EPx board similar to Seqouia from

NAND. > > NAND flash is different from Sequoia's though, it has page size

Quoted 1 line
Quoted 1 line

2K, sector size 128K and it's 1Gb (128MB).

[snip]

Quoted 1 line

The current code is tested only for 512byte page size NAND devices.

Very

Quoted 1 line

likely it needs some changes for 2k devices. Especially the ECC stuff

will

Quoted 1 line

need some changes.

[Leonid] You mean 512 bytes block may be hardcoded somewhere instead of using page size definition from <board>.h file? Any suggestions what places in the code look into? ECC stuff - where is it?

Quoted 3 lines
Quoted 1 line

[Leonid] What is CFG_NAND_PAGE_COUNT anyway?

CFG_NAND_PAGE_SIZE defines the number of pages per block. For example

a

Quoted 3 lines

64MByte NAND chips has a page size of 512 bytes and a block size of 16kbytes.
This makes 16k/512 == 32.

[Leonid] OK, that what I thought it is. In my flash with 128K blocks and 2K pages I got page count 128/2=64.

Thanks a lot,
Leonid.

#7 lore raw
In reply to shami Allam

Hi Shami,

Quoted 2 lines · shami Allam

I assigned the ethaddr as 192.168.13.246 and after that i run the command
"saveenv " and reset the board.

As Wolfgang already mentioned, this is *not* an ethernet address but an IP address.

Quoted 10 lines

I got the following Net: ppc_4xx_eth0. once
i get the shell prompt i assign the ipaddr as 192.168.13.241 and after that i run the command "saveenv" and reset the board. Now i tried to ping my Host PC which has the IP address as 192.168.13.240, i am getting the following error.....I am not able to ping the host IP. Can you please show some way to come of this issue..... => ping 192.168.13.240 Trying ppc_4xx_eth0
PHY speed read failed, assuming 10bT
PHY duplex read failed, assuming half duplex
ENET Speed is 10 Mbps - HALF duplex connection

Did you configure the PHY address correctly? What does "mii info" show? how did you configure the PHY address in your board config file?

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

#8 lore raw

Thanks for the information. But I read some where that for the Lab testing purpose that I can give the IP address!!!!!
I am able to read the PHY inforamtion by command mii info 0x01<PHY Addr>. Following is the info....
=> mii info 0x01
PHY_PHYIDR2 @ 0x1 = 0x5c90
PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90
PHY_BMCR value is 0x2100
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, FDX
=>
But my Link LED is not glowing at all. Always my Link status shows "Not Active" can anyone throw some light for me..... Regards,
Shami...

Stefan Roese <[email protected]> wrote:
Hi Shami,

Quoted 2 lines · shami Allam

I assigned the ethaddr as 192.168.13.246 and after that i run the command "saveenv " and reset the board.

As Wolfgang already mentioned, this is *not* an ethernet address but an IP address.

Quoted 10 lines

I got the following Net: ppc_4xx_eth0. once
i get the shell prompt i assign the ipaddr as 192.168.13.241 and after that i run the command "saveenv" and reset the board. Now i tried to ping my Host PC which has the IP address as 192.168.13.240, i am getting the following error.....I am not able to ping the host IP. Can you please show some way to come of this issue..... => ping 192.168.13.240 Trying ppc_4xx_eth0
PHY speed read failed, assuming 10bT
PHY duplex read failed, assuming half duplex
ENET Speed is 10 Mbps - HALF duplex connection

Did you configure the PHY address correctly? What does "mii info" show? how did you configure the PHY address in your board config file?

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

---------------------------------
Now you can chat without downloading messenger. Click here to know how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071221/b6f89a3e/attachment.htm

#9 lore raw
Quoted 2 lines · shami Allam

Thanks for the information. But I read some where that for the Lab testing purpose that I can give the IP address!!!!!

Please don't mix up ethernet address (== MAC address) and IP address. Of course you can set ip addresses (and should if you don't use dhcp/bootp). But you have to configure valid ethernet addresses too. If you don't have an ethernet address pool, you can use the "tools/gen_eth_addr" tool to create a random valid eth address for testing.

Quoted 7 lines

I am able to read the PHY
inforamtion by command mii info 0x01<PHY Addr>. Following is the info.... => mii info 0x01
PHY_PHYIDR2 @ 0x1 = 0x5c90
PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90
PHY_BMCR value is 0x2100
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, FDX

And what does "mii info" show (without parameter)?

What is the value of CONFIG_PHY_ADDR in your board config file?

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

#10 lore raw
Quoted 18 lines · --- Stefan Roese
Quoted 1 line · shami Allam

Thanks for the information. But I read some where

that for the Lab testing

Quoted 1 line

purpose that I can give the IP address!!!!!

Please don't mix up ethernet address (== MAC address) and IP address. Of
course you can set ip addresses (and should if you don't use dhcp/bootp). But
you have to configure valid ethernet addresses too. If you don't have an
ethernet address pool, you can use the "tools/gen_eth_addr" tool to create a random valid eth address for testing.

Quoted 2 lines

I am able to read the PHY
inforamtion by command mii info 0x01<PHY Addr>.

Following is the info....

Quoted 8 lines
Quoted 5 lines

=> mii info 0x01
PHY_PHYIDR2 @ 0x1 = 0x5c90
PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90 PHY_BMCR value is 0x2100
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00,

100baseT, FDX

And what does "mii info" show (without parameter)?

PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY_PHYIDR2 @ 0x17 = 0x5c90 PHY_PHYIDR[1,2] @ 0x17 = 0x20005c90 PHY_BMCR value is 0x2100
PHY 0x17: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, FDX
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
=>

Quoted 3 lines

What is the value of CONFIG_PHY_ADDR in your board config file?

#define CONFIG_PHY_ADDR 1/* PHY address*/

Quoted 2 lines

Best regards,

Regards,
Shami.

Quoted 2 lines

=====================================================================

Quoted 7 lines

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

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

Quoted 4 lines

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio
2005.

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Quoted 4 lines

_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/u-boot-users

Quoted 1 line

Download prohibited? No problem. CHAT from any
browser, without download. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php

#11 lore raw

Hey Shami,
I help you to see the mail on 4xx, but don't send
mails from my id. No more access my Id. ok

Regards,
Raj.

Quoted 71 lines · --- raj
Quoted 2 lines · --- Stefan Roese
Quoted 1 line · shami Allam

Thanks for the information. But I read some

where

Quoted 8 lines

that for the Lab testing

Quoted 1 line

purpose that I can give the IP address!!!!!

Please don't mix up ethernet address (== MAC address) and IP address. Of
course you can set ip addresses (and should if you don't use dhcp/bootp). But
you have to configure valid ethernet addresses

too.

Quoted 5 lines

If you don't have an
ethernet address pool, you can use the
"tools/gen_eth_addr" tool to create a
random valid eth address for testing.

Quoted 8 lines
Quoted 2 lines

I am able to read the PHY
inforamtion by command mii info 0x01<PHY Addr>.

Following is the info....

Quoted 5 lines

=> mii info 0x01
PHY_PHYIDR2 @ 0x1 = 0x5c90 PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90 PHY_BMCR value is 0x2100
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev =

0x00,

Quoted 3 lines

100baseT, FDX

And what does "mii info" show (without parameter)?

PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY_PHYIDR2 @ 0x17 = 0x5c90 PHY_PHYIDR[1,2] @ 0x17 = 0x20005c90 PHY_BMCR value is 0x2100
PHY 0x17: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, FDX
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
=>

Quoted 1 line
Quoted 11 lines
Quoted 2 lines

What is the value of CONFIG_PHY_ADDR in your board config file?

#define CONFIG_PHY_ADDR 1/* PHY address*/

Quoted 2 lines

Best regards,

Regards,
Shami.

Quoted 2 lines

=====================================================================

Quoted 8 lines
Quoted 7 lines

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 3 lines
Quoted 2 lines

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

Quoted 5 lines
Quoted 4 lines

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio
2005.

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Quoted 5 lines
Quoted 4 lines

_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/u-boot-users

Quoted 4 lines
Quoted 1 line
Quoted 11 lines

Download prohibited? No problem. CHAT from any
browser, without download. Go to
http://in.messenger.yahoo.com/webmessengerpromo.php/

Save all your chat conversations. Find them
online at
http://in.messenger.yahoo.com/webmessengerpromo.php

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

Quoted 4 lines

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio
2005.

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Quoted 4 lines

_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/u-boot-users

Quoted 1 line

Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/

#12 lore raw
In reply to Stefan Roese

Sorry Raj....
I am sending from my id....

Quoted 2 lines · shami Allam

Thanks for the information. But I read some where that for the Lab testing purpose that I can give the IP address!!!!!

Please don't mix up ethernet address (== MAC address) and IP address. Of course you can set ip addresses (and should if you don't use dhcp/bootp). But you have to configure valid ethernet addresses too. If you don't have an ethernet address pool, you can use the "tools/gen_eth_addr" tool to create a random valid eth address for testing.

Quoted 2 lines

I am able to read the PHY
inforamtion by command mii info 0x01

.. Following is the info....

Quoted 5 lines

=> mii info 0x01
PHY_PHYIDR2 @ 0x1 = 0x5c90
PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90
PHY_BMCR value is 0x2100
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, FDX

And what does "mii info" show (without parameter)?

=> mii info
PHY ID register 2 read failed
PHY_PHYIDR2 @ 0x1 = 0x5c90
PHY_PHYIDR[1,2] @ 0x1 = 0x20005c90
PHY_BMCR value is 0x2100
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 100baseT, PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
PHY ID register 2 read failed
like this many....

What is the value of CONFIG_PHY_ADDR in your board config file?

follwing i defined in the board config file.....

#define CONFIG_PHY_ADDR 1

Regards,
Shami....
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
=====================================================================

---------------------------------
Why delete messages? Unlimited storage is just a click away.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071221/bc466d57/attachment.htm

#13 lore raw
In reply to Stefan Roese

Hi Stefan,

After booting my target i get the following message..

I2C:ready
DRAM:16MB
FLASH:2MB
In: serial
Out:serial
Err:serial
Net: ppc_4xx_eth0
=>
and after that if i say
=> mii info
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 10baseT, HDX
=> setenv ipaddr 192.168.13.248
=> ping 192.168.13.248
After this if i ping it's not pinging self and also the host ip(192.168.13.240). Can you help me out what could be the problem..... => mii read 0x01<PHY Addr> 0x01<register val>
when i read the PHY 0x01 register following is the value 0x7849. This value show that "No Link". why so. PHY chip i am using DP83848I

Regards,
Shami.

Quoted 4 lines · shami Allam

I am working on the 405GP custome board. I am able to bringup the SDRAM,Flash,I2c and serail on the board. But while trying to bringup the ethernet i am getting the following error. "No Ethernet found". On my board there is "DP83848I" PHY chip.

This message gets printed when you don't define the "ethaddr" environement address. So set this variable to a valid value and save the environment and reset the board. Then you should see one eth-interface.

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

---------------------------------
Now you can chat without downloading messenger. Click here to know how.

---------------------------------
Save all your chat conversations. Find them online.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071222/c2464e95/attachment.htm

#14 lore raw
Quoted 13 lines · shami Allam

After booting my target i get the following message..

I2C:ready
DRAM:16MB
FLASH:2MB
In: serial
Out:serial
Err:serial
Net: ppc_4xx_eth0
=>
and after that if i say
=> mii info
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 10baseT, HDX

And is this correct? Do you have a 10MBit connection?

Quoted 2 lines

=> setenv ipaddr 192.168.13.248
=> ping 192.168.13.248

So you try to ping to yourself here. This does not work. You have to ping to a different target (PC).

Quoted 5 lines

After this if i ping it's not pinging self and also the host
ip(192.168.13.240). Can you help me out what could be the problem..... => mii read 0x01<PHY Addr> 0x01<register val>
when i read the PHY 0x01 register following is the value 0x7849. This
value show that "No Link". why so. PHY chip i am using DP83848I

Possibly a PHY configuartion problem. Did you check if you soldered the correct resistors and condensators? Is the power-supply ok?

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

#15 lore raw
Quoted 13 lines · shami Allam

After booting my target i get the following message..

I2C:ready
DRAM:16MB
FLASH:2MB
In: serial
Out:serial
Err:serial
Net: ppc_4xx_eth0
=>
and after that if i say
=> mii info
PHY 0x01: OUI = 0x80017, Model = 0x09, Rev = 0x00, 10baseT, HDX

And is this correct? Do you have a 10MBit connection?

it support both 100baseT and 10baseT.

Quoted 2 lines

=> setenv ipaddr 192.168.13.248
=> ping 192.168.13.248

So you try to ping to yourself here. This does not work. You have to ping to a different target (PC).

Yes i tried to ping the Host PC (i.e) 192.168.13.240. But still i am not getting reply.....

Quoted 3 lines

After this if i ping it's not pinging self and also the host ip(192.168.13.240). Can you help me out what could be the problem..... => mii read 0x01

0x01

Quoted 2 lines

when i read the PHY 0x01 register following is the value 0x7849. This value show that "No Link". why so. PHY chip i am using DP83848I

Possibly a PHY configuartion problem. Did you check if you soldered the correct resistors and condensators? Is the power-supply ok?

if I do the PHY loopback by enabling the bit 14bit in the BMCR. i am getting the reply. Still you suspect PHY configuration problem.....or do i need to do anything at MAC side......

Regards,
Shami.

---------------------------------
Download prohibited? No problem. CHAT from any browser, without download.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071222/a797ec2d/attachment.htm

#16 lore raw
Quoted 9 lines · shami Allam
Quoted 3 lines

After this if i ping it's not pinging self and also the host ip(192.168.13.240). Can you help me out what could be the problem..... => mii read 0x01

0x01

Quoted 2 lines

when i read the PHY 0x01 register following is the value 0x7849. This value show that "No Link". why so. PHY chip i am using DP83848I

Quoted 6 lines

Possibly a PHY configuartion problem. Did you check if you soldered the correct resistors and condensators? Is the power-supply ok?

if I do the PHY loopback by enabling the bit 14bit in the BMCR. i am
getting the reply. Still you suspect PHY configuration problem.....or do i need to do anything at MAC side......

Yes, I still suspect PHY hardware problems. Check (again) all R's and C's, clocks and power supplies.

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