Skip to contentSkip to conversation

License issues with Xilinx provided files

U-Boot-Users Keith J Outwater 3 participants 5 messages May 9, 2006 – May 31, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Peter Ryser <[email protected]> wrote on 05/08/2006 06:21:06 PM:

Quoted 6 lines

Keith,

thanks for the follow-up. I would have missed Wolfgang's email. I think we should take the discussion back to the mailing list.

The drivers should be in a common location and the BSP generation

mechanism should be used to overwrite these files for a given hardware design. That will always guarantee that the drivers matching the IP will be used.

Won't that mean that for any given design that uses a Virtex2/ppc405, the public U-Boot source tree will never be guaranteed correct? It sounds like the user would be required to maintain a locally modified U-Boot source tree for each design.

That sounds like a clumsy solution.

Could we just set up a common driver library and provide a mechanism to allow a particular board to configure the library for the particular IP versions used in the hardware design? Then the IP versions are specified in the board configuration file and you're done.

Note that no matter what approach is used, there is still the licensing issue. I cannot, for example, submit certain Xilinx driver files for inclusion into U-Boot that I need to support my board.

Are you planning to add a complete set of drivers to U-Boot?

Quoted 5 lines

Cheers,
- Peter

#2 lore raw
Quoted 3 lines

Won't that mean that for any given design that uses a Virtex2/ppc405, the public U-Boot source tree will never be guaranteed correct?

Yes, it will be correct because the updates to the U-Boot source tree are aligned with reference designs for a set of boards.

Quoted 3 lines

It sounds like the user would be required to maintain a locally modified U-Boot source tree for each design.

IMHO, that's good design practice anyway. For every hardware project you have a number of software projects that are aligned to the hardware features. At any given time you want to be able to go back to that source tree if an issue comes up.

Quoted 2 lines

That sounds like a clumsy solution.

Configurable hardware is different from static hardware. On one hand it is a challenge while on the other hand it has lots of benefits. It's definitely not clumsy.

Quoted 5 lines

Could we just set up a common driver library and provide a mechanism to allow a particular board to configure the library for the particular IP versions used in the hardware design? Then the IP versions are specified in the board configuration file and you're done.

IMHO, having a driver library would make things much more complicated. Generating the required drivers for a given hardware configuration is straight forward.

Quoted 4 lines

Note that no matter what approach is used, there is still the licensing issue. I cannot, for example, submit certain Xilinx driver files for inclusion into U-Boot that I need to support my board.

That's correct. You can not change the license of drivers shipping in EDK to GPL. However, if you let me know what drivers you need to have licensed under GPL I can get this done.

Quoted 2 lines

Are you planning to add a complete set of drivers to U-Boot?

No, drivers will be added on a "as needed" basis. But in the first place stuff needs to make it into the source tree that we have submitted in the past before we can add new things.

- Peter

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

It sounds like the user would be required to maintain a locally modified

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

U-Boot source tree for each design.

IMHO, that's good design practice anyway. For every hardware project you have a number of software projects that are aligned to the hardware features. At any given time you want to be able to go back to that source tree if an issue comes up.

But why in a *locally modified* tree? IMO the public source tree should be used.

Quoted 3 lines

IMHO, having a driver library would make things much more complicated. Generating the required drivers for a given hardware configuration is straight forward.

Is the complexity of such a driver library (which seems to be a good thing to have IMHO) an inherent issue that cannot be resolved, or is it a result of the current design that, assuming we had enough resources, could be resolved in a technically clean way?

Quoted 9 lines

That's correct. You can not change the license of drivers shipping in EDK to GPL. However, if you let me know what drivers you need to have licensed under GPL I can get this done.

Quoted 2 lines

Are you planning to add a complete set of drivers to U-Boot?

No, drivers will be added on a "as needed" basis. But in the first place stuff needs to make it into the source tree that we have submitted in the past before we can add new things.

I'll be working on this ASAP.

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
: 1.  What is the possibility of this being added in the future?
In the near future, the probability is close to zero. In the  distant
future, I'll be dead, and posterity can do whatever they like... :-)
                                                              - lwall
#4 lore raw

wd at denx.de wrote on 05/10/2006 03:58:18 PM:

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

It sounds like the user would be required to maintain a locally

modified

Quoted 4 lines

^^^^^^^^^^^^^^^^

Quoted 3 lines
Quoted 2 lines

U-Boot source tree for each design.

IMHO, that's good design practice anyway. For every hardware project

you

Quoted 6 lines
Quoted 3 lines

have a number of software projects that are aligned to the hardware features. At any given time you want to be able to go back to that source tree if an issue comes up.

But why in a *locally modified* tree? IMO the public source tree should be used.

I agree, especially for commercially available boards. A README.<board> file
can be used to document the hardware design (EDK version, IP versions, memory map, etc...) in sufficient detail to re-create the FPGA firmware. If
a user wished to overwrite (i.e. locally modify) the U-Boot tree they could,
but IMO that should not be *required*. I really like the idea of minimizing
local maintenance and configuration control. Let the maintainer do that ;)

Quoted 5 lines
Quoted 5 lines

IMHO, having a driver library would make things much more complicated.

Generating the required drivers for a given hardware configuration is straight forward.

Yes, EDK will do that and it is fairly painless. That approach also requires that EDK be very aware of the organization and layout of the U-Boot source tree. Setting up a driver library is only complicated once and the U-Boot user generally won't/shouldn't see that complexity.

Is there a compelling benefit associated with having EDK know how to plant driver source code into the U-Boot source tree automatically?

Quoted 5 lines

Is the complexity of such a driver library (which seems to be a good thing to have IMHO) an inherent issue that cannot be resolved, or is it a result of the current design that, assuming we had enough resources, could be resolved in a technically clean way?

I think it can be resolved. We simply need to agree on an approach. Wolfgang, in any case that driver library is going to be big if you use the Xilinx drivers as-is. That's what made my two BSPs so large.

Quoted 8 lines
Quoted 8 lines

That's correct. You can not change the license of drivers shipping in EDK to GPL. However, if you let me know what drivers you need to have licensed under GPL I can get this done.

Quoted 2 lines

Are you planning to add a complete set of drivers to U-Boot?

No, drivers will be added on a "as needed" basis. But in the first

place

Quoted 2 lines
Quoted 2 lines

stuff needs to make it into the source tree that we have submitted in the past before we can add new things.

OK, but I really think that we need to all agree on how the library will be
implemented. Let's get a framework in place and then adding new drivers as
necessary will be easy. It's the lack of such a framework that drove me to
use a local copy of the driver sources in my BSPs in the first place. I'd

like to get the BSPs incorporated in the official source tree, but that can't happen until the library issue gets resolved.

Quoted 14 lines

I'll be working on this ASAP.

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
: 1.  What is the possibility of this being added in the future?
In the near future, the probability is close to zero. In the  distant
future, I'll be dead, and posterity can do whatever they like... :-)
                                                              - lwall
#5 lore raw
Quoted 4 lines · In message <OF5E0E2CF7.16CDEDE0-ON0725717E.00778F50-0725717E.007955AC@mck.us.ra…

I think it can be resolved. We simply need to agree on an approach. Wolfgang, in any case that driver library is going to be big if you use the Xilinx drivers as-is. That's what made my two BSPs so large.

You know what Linux kernel maintainers usually say when they are confronted with similar mess^H^H^H^Hmass of code?

Guess what that means? The "as-is" is probably a no-go.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Open the pod bay doors, HAL."                    - Dave Bowman, 2001