Skip to contentSkip to conversation

LL Temac, MAC adresse trouble

U-Boot Georg Schardt 2 participants 5 messages Aug 13, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi ,

uh, the next error in my u-boot config :)

if i boot my linux-kernel via the xmd-debugger the lltemac has a correct mac-address and speed negotiating works fine, link comes up and ping works.

booting it with u-boot the mac-address is 0:0:0:0:0:0. i can change the address with ifconfig eth0 hw ether, but speed negotiation does not work:

eth0: XLlTemac: Not able to set the speed to 1000 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 100 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 10 (status: 0x7949)
eth0: XLlTemac: could not negotiate speed
eth0: XLlTemac: PHY Link carrier restored.

i think there is some error in the informations u-boot gives to the linux kernel, but i don't know what part of u-boot is doing this.

greetings
georg

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi John,

i use the kernel from git.xilinx.com (2.6.26-rc6) on a Virtex4FX12 Minimodul from Memec. in this kernel tree is a driver for the lltemac included.

Georg

Quoted 62 lines · John Linn

Hi Georg,

Are you writing the LL TEMAC driver yourself or did you get it somewhere?

I am working on u-boot for Xilinx is the reason I'm asking.

Thanks,
John

Quoted 3 lines

-----Original Message-----
From: u-boot-bounces at lists.denx.de

[mailto:u-boot-bounces at lists.denx.de] On Behalf Of Georg Schardt

Quoted 10 lines

Sent: Wednesday, August 13, 2008 11:21 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] LL Temac, MAC adresse trouble

Hi ,

uh, the next error in my u-boot config :)

if i boot my linux-kernel via the xmd-debugger the lltemac has a

correct

Quoted 2 lines

mac-address and speed negotiating works fine, link comes up and ping

works.

Quoted 2 lines

booting it with u-boot the mac-address is 0:0:0:0:0:0. i can change

the

Quoted 2 lines

address with ifconfig eth0 hw ether, but speed negotiation does not

work:

Quoted 9 lines

eth0: XLlTemac: Not able to set the speed to 1000 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 100 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 10 (status: 0x7949)
eth0: XLlTemac: could not negotiate speed
eth0: XLlTemac: PHY Link carrier restored.

i think there is some error in the informations u-boot gives to the linux kernel, but i don't know what part of u-boot is doing this.

Quoted 7 lines

greetings
georg
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

#3 lore raw
Quoted 6 lines

-----Original Message-----
From: Georg Schardt [mailto:schardt at team-ctech.de]
Sent: Wednesday, August 13, 2008 12:01 PM
To: John Linn; u-boot at lists.denx.de
Subject: Re: [U-Boot] LL Temac, MAC adresse trouble

Quoted 8 lines

Hi John,

i use the kernel from git.xilinx.com (2.6.26-rc6) on a Virtex4FX12 Minimodul from Memec. in this kernel tree is a driver for the lltemac included.

Georg

My mistake, I thought you were trying to use the LL TEMAC with u-boot to load the kernel.

Are you using arch/powerpc with a device tree and passing the device tree to the kernel?

I think the mac address should be in the device tree.

I can't say I have tested that problem before, so we might have an issue with our driver also.

-- John

Quoted 27 lines
Quoted 22 lines · John Linn

Hi Georg,

Are you writing the LL TEMAC driver yourself or did you get it somewhere?

I am working on u-boot for Xilinx is the reason I'm asking.

Thanks,
John

Quoted 3 lines

-----Original Message-----
From: u-boot-bounces at lists.denx.de

[mailto:u-boot-bounces at lists.denx.de] On Behalf Of Georg Schardt

Quoted 6 lines

Sent: Wednesday, August 13, 2008 11:21 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] LL Temac, MAC adresse trouble

Hi ,

Quoted 7 lines
Quoted 7 lines
Quoted 4 lines

uh, the next error in my u-boot config :)

if i boot my linux-kernel via the xmd-debugger the lltemac has a

correct

Quoted 1 line

mac-address and speed negotiating works fine, link comes up and

ping

Quoted 29 lines
Quoted 29 lines
Quoted 1 line

works.

Quoted 2 lines

booting it with u-boot the mac-address is 0:0:0:0:0:0. i can change

the

Quoted 2 lines

address with ifconfig eth0 hw ether, but speed negotiation does not

work:

Quoted 16 lines

eth0: XLlTemac: Not able to set the speed to 1000 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 100 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 10 (status: 0x7949)
eth0: XLlTemac: could not negotiate speed
eth0: XLlTemac: PHY Link carrier restored.

i think there is some error in the informations u-boot gives to the linux kernel, but i don't know what part of u-boot is doing this.

greetings
georg
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Quoted 1 line
Quoted 1 line

This email and any attachments are intended for the sole use of the

named recipient(s) and

Quoted 1 line

contain(s) confidential information that may be proprietary,

privileged or copyrighted under

Quoted 1 line

applicable law. If you are not the intended recipient, do not read,

copy, or forward this email

Quoted 1 line

message or any attachments. Delete this email message and any

attachments immediately.

Quoted 4 lines
Quoted 3 lines

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

#4 lore raw

I use ARCH=ppc without devicetree.

i tried the devicetree tool from git.xilinx.com but i don't understand it right. i miss the .py file in the git-tree ? but this is my next project :)

because booting without uboot works fine, i dont think there is a problem with the driver.

i made a new board definition for the fx12mm copy some stuff from the ml403 board. is there any definition i have to change ? board_info or something ?

Georg

Quoted 127 lines · John Linn
Quoted 6 lines

-----Original Message-----
From: Georg Schardt [mailto:schardt at team-ctech.de]
Sent: Wednesday, August 13, 2008 12:01 PM
To: John Linn; u-boot at lists.denx.de
Subject: Re: [U-Boot] LL Temac, MAC adresse trouble

Quoted 9 lines

Hi John,

i use the kernel from git.xilinx.com (2.6.26-rc6) on a Virtex4FX12 Minimodul from Memec. in this kernel tree is a driver for the lltemac included.

Georg

My mistake, I thought you were trying to use the LL TEMAC with u-boot to load the kernel.

Are you using arch/powerpc with a device tree and passing the device tree to the kernel?

I think the mac address should be in the device tree.

I can't say I have tested that problem before, so we might have an issue with our driver also.

-- John

Quoted 31 lines
Quoted 27 lines · John Linn

Hi Georg,

Are you writing the LL TEMAC driver yourself or did you get it somewhere?

I am working on u-boot for Xilinx is the reason I'm asking.

Thanks,
John

Quoted 4 lines

-----Original Message-----
From: u-boot-bounces at lists.denx.de

[mailto:u-boot-bounces at lists.denx.de] On Behalf Of Georg Schardt

Quoted 8 lines

Sent: Wednesday, August 13, 2008 11:21 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] LL Temac, MAC adresse trouble

Hi ,

uh, the next error in my u-boot config :)

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines

if i boot my linux-kernel via the xmd-debugger the lltemac has a

correct

Quoted 2 lines

mac-address and speed negotiating works fine, link comes up and

ping

Quoted 32 lines
Quoted 32 lines

works.

Quoted 3 lines

booting it with u-boot the mac-address is 0:0:0:0:0:0. i can change

the

Quoted 3 lines

address with ifconfig eth0 hw ether, but speed negotiation does not

work:

Quoted 17 lines

eth0: XLlTemac: Not able to set the speed to 1000 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 100 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 10 (status: 0x7949)
eth0: XLlTemac: could not negotiate speed
eth0: XLlTemac: PHY Link carrier restored.

i think there is some error in the informations u-boot gives to the linux kernel, but i don't know what part of u-boot is doing this.

greetings
georg
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Quoted 2 lines
Quoted 2 lines

This email and any attachments are intended for the sole use of the

named recipient(s) and

Quoted 2 lines

contain(s) confidential information that may be proprietary,

privileged or copyrighted under

Quoted 2 lines

applicable law. If you are not the intended recipient, do not read,

copy, or forward this email

Quoted 2 lines

message or any attachments. Delete this email message and any

attachments immediately.

Quoted 2 lines
Quoted 2 lines

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

#5 lore raw

Sorry I'm not much help with arch/ppc kernels and u-boot.

In our case we were pulling the mac address from the i2c eeprom so I don't think it mattered what u-boot would have been passing.

I've only been working with arch/powerpc and u-boot for some time now. I'll let you know if I see something helpful.

-- John

Quoted 17 lines

-----Original Message-----
From: Georg Schardt [mailto:schardt at team-ctech.de]
Sent: Wednesday, August 13, 2008 12:22 PM
To: John Linn
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] LL Temac, MAC adresse trouble

I use ARCH=ppc without devicetree.

i tried the devicetree tool from git.xilinx.com but i don't understand it right. i miss the .py file in the git-tree ? but this is my next project :)

because booting without uboot works fine, i dont think there is a problem with the driver.

Quoted 17 lines

i made a new board definition for the fx12mm copy some stuff from the ml403 board. is there any definition i have to change ? board_info or something ?

Georg

Quoted 10 lines · John Linn
Quoted 10 lines

-----Original Message-----
From: Georg Schardt [mailto:schardt at team-ctech.de]
Sent: Wednesday, August 13, 2008 12:01 PM
To: John Linn; u-boot at lists.denx.de
Subject: Re: [U-Boot] LL Temac, MAC adresse trouble

Hi John,

i use the kernel from git.xilinx.com (2.6.26-rc6) on a Virtex4FX12 Minimodul from Memec. in this kernel tree is a driver for the

lltemac

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

included.

Georg

My mistake, I thought you were trying to use the LL TEMAC with

u-boot to

Quoted 8 lines
Quoted 8 lines

load the kernel.

Are you using arch/powerpc with a device tree and passing the device tree to the kernel?

I think the mac address should be in the device tree.

I can't say I have tested that problem before, so we might have an

issue

Quoted 42 lines
Quoted 42 lines

with our driver also.

-- John

Quoted 37 lines
Quoted 33 lines · John Linn

Hi Georg,

Are you writing the LL TEMAC driver yourself or did you get it somewhere?

I am working on u-boot for Xilinx is the reason I'm asking.

Thanks,
John

Quoted 4 lines

-----Original Message-----
From: u-boot-bounces at lists.denx.de

[mailto:u-boot-bounces at lists.denx.de] On Behalf Of Georg Schardt

Quoted 11 lines

Sent: Wednesday, August 13, 2008 11:21 AM
To: u-boot at lists.denx.de
Subject: [U-Boot] LL Temac, MAC adresse trouble

Hi ,

uh, the next error in my u-boot config :)

if i boot my linux-kernel via the xmd-debugger the lltemac has a

correct

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

mac-address and speed negotiating works fine, link comes up and

ping

Quoted 4 lines
Quoted 4 lines

works.

Quoted 1 line

booting it with u-boot the mac-address is 0:0:0:0:0:0. i can

change

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

the

Quoted 1 line

address with ifconfig eth0 hw ether, but speed negotiation does

not

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

work:

Quoted 1 line

eth0: XLlTemac: Not able to set the speed to 1000 (status:

0x7949)

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

eth0: XLlTemac: Not able to set the speed to 100 (status: 0x7949)
eth0: XLlTemac: Not able to set the speed to 10 (status: 0x7949)
eth0: XLlTemac: could not negotiate speed
eth0: XLlTemac: PHY Link carrier restored.

i think there is some error in the informations u-boot gives to

the

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

linux kernel, but i don't know what part of u-boot is doing

this.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines

greetings
georg
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

This email and any attachments are intended for the sole use of

the

Quoted 13 lines
Quoted 13 lines
Quoted 1 line
Quoted 1 line

named recipient(s) and

Quoted 2 lines

contain(s) confidential information that may be proprietary,

privileged or copyrighted under

Quoted 2 lines

applicable law. If you are not the intended recipient, do not read,

copy, or forward this email

Quoted 2 lines

message or any attachments. Delete this email message and any

Quoted 7 lines
Quoted 7 lines

attachments immediately.

Quoted 2 lines
Quoted 2 lines

This email and any attachments are intended for the sole use of the

named recipient(s) and

Quoted 1 line

contain(s) confidential information that may be proprietary,

privileged or copyrighted under

Quoted 1 line

applicable law. If you are not the intended recipient, do not read,

copy, or forward this email

Quoted 1 line

message or any attachments. Delete this email message and any

attachments immediately.

Quoted 4 lines
Quoted 3 lines

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.