Skip to contentSkip to conversation

u-boot vs. Cavium 5010 pci init

U-Boot sywang 4 participants 7 messages Sep 26, 2010 – Oct 8, 2010

lore
Share & tools
lore

sywang

author
#0 lore raw

Hello, everyone,

Do you know what bugs or problems there are on u-boot with Cavium CN5010 PCI init? Now I have the following on the board with Cavium CN5010. The board will hang when PCI init with the U-boot. Any suggestions are welcome. How to identify if the issue's cause is HW or SW?

Thanks!

Shuyou

#1 lore raw

Dear sywang,

Am 26.09.2010 um 02:21 schrieb sywang:

Quoted 4 lines

Hello, everyone,

Do you know what bugs or problems there are on u-boot with Cavium CN5010 PCI init?

The problem is that the whole cavium code is proprietary. They develop their cvmx code completely out of tree and link the code at file basis into a specific tree with more proprietary changes. Since this code is completely unknown to the community the community can not help you solving SW issues. Therefor go and ask cavium for support. On the other hand you may ask cavium to push their proprietary code upstream. Then it would be possible (some day) to solve those issues within the community.
The third chance is to take your documentation, the current code and current u-boot tree and begin to implement open source support for your device.

Quoted 3 lines

Now I have the following on the board with Cavium CN5010. The board will hang when PCI init with the U-boot. Any suggestions are welcome. How to identify if the issue's cause is HW or SW?

If you have started building your own u-boot for a working device/board then I guess it is a SW issue (missing support in mainline). If you have received a _not_ working device/board it may be HW related ...

regards

Andreas Bie?mann

author
#2 lore raw

Andreas,

Now the key is that I am not sure if the board can work or not.

Who had the similar experience ( debugged the board with CN5010)? Please email to me. Thanks for your help.

Thanks!
Shuyou

-----Original Message-----
From: Andreas Bie?mann [mailto:andreas.devel at googlemail.com]
Sent: 2010?9?26? 14:53
To: sywang
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] u-boot vs. Cavium 5010 pci init

Dear sywang,

Am 26.09.2010 um 02:21 schrieb sywang:

Quoted 3 lines

Hello, everyone,

Do you know what bugs or problems there are on u-boot with Cavium CN5010

PCI

Quoted 1 line

init?

The problem is that the whole cavium code is proprietary. They develop their cvmx code completely out of tree and link the code at file basis into a specific tree with more proprietary changes. Since this code is completely unknown to the community the community can not help you solving SW issues. Therefor go and ask cavium for support.
On the other hand you may ask cavium to push their proprietary code upstream. Then it would be possible (some day) to solve those issues within the community.
The third chance is to take your documentation, the current code and current u-boot tree and begin to implement open source support for your device.

Quoted 2 lines

Now I have the following on the board with Cavium CN5010. The board will hang when PCI init with the U-boot. Any suggestions are welcome. How

to

Quoted 1 line

identify if the issue's cause is HW or SW?

If you have started building your own u-boot for a working device/board then I guess it is a SW issue (missing support in mainline). If you have received a _not_ working device/board it may be HW related ...

regards

Andreas Bie?mann

#3 lore raw
In reply to sywang

Dear "sywang",

Quoted 5 lines · In message <[email protected]> you wrote:

Do you know what bugs or problems there are on u-boot with Cavium CN5010 PCI init? Now I have the following on the board with Cavium CN5010. The board will hang when PCI init with the U-boot. Any suggestions are welcome. How to identify if the issue's cause is HW or SW?

Cavium never provided free access to their code, nor did they ever attempt to push their changes upstream.

In the result, their code is completely unknown to us, and we cannot help you.

Please contact Cavium technical support.

Best regards,

Wolfgang Denk

Signature · 5 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
How many NASA managers does it take to screw in a lightbulb?  "That's
a known problem... don't worry about it."
#4 lore raw
Quoted 6 lines · Wolfgang Denk

Dear "sywang",

Quoted 1 line · In message <[email protected]> you wrote:

Cavium never provided free access to their code, nor did they ever attempt to push their changes upstream.

Would they not, therefore, be in breach of the GPL?

Regards,

Graeme

#5 lore raw

Dear Graeme Russ,

Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 3 lines

Cavium never provided free access to their code, nor did they ever attempt to push their changes upstream.

Would they not, therefore, be in breach of the GPL?

According to the GPL, you don't have to provide free access to everybody.

It is sufficient to accompany the delivery of U-Boot to each of their customers with a written offer to provide any third party a copy of the corresponding source code.

Of course, each of Cavium's customers could request that code, and then put it on a public server - but it seems nobody ever did.

Best regards,

Wolfgang Denk

Signature · 5 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
Was hei?t Windows auf Indianisch? - "Wei?er  Mann,  der  auf  Sanduhr
wartet!"
author
#6 lore raw

Who debuged u-boot on the board based on Cavium CN5010?

Thanks!
Shuyou

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: 2010?9?26? 16:56
To: Graeme Russ
Cc: sywang; u-boot at lists.denx.de
Subject: Re: [U-Boot] u-boot vs. Cavium 5010 pci init

Dear Graeme Russ,

Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 3 lines

Cavium never provided free access to their code, nor did they ever attempt to push their changes upstream.

Would they not, therefore, be in breach of the GPL?

According to the GPL, you don't have to provide free access to everybody.

It is sufficient to accompany the delivery of U-Boot to each of their customers with a written offer to provide any third party a copy of the corresponding source code.

Of course, each of Cavium's customers could request that code, and then put it on a public server - but it seems nobody ever did.

Best regards,

Wolfgang Denk

Signature · 5 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
Was hei?t Windows auf Indianisch? - "Wei?er  Mann,  der  auf  Sanduhr
wartet!"