Skip to contentSkip to conversation

API code - licensing

U-Boot Wolfgang Denk 2 participants 2 messages Jul 27, 2009

lore
Share & tools
lore
#0 lore raw

Dear Rafal,

I somehow had developed the impression thatthe API code was intended to be some "next generation" implementation for standalone programs, with one of the primary purposes being the implementation of (potentially closed source) bootstrap loader code for FreeBSD.

But now I realize that the API code is actually linking against parts of the U-Boot code, so any code based on the U-Bott API must in- herently be GPLed.

Please confirrm that this understanding is correct. Thanks in advance.

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
The only way to get rid of a temptation is to yield to it.
                                                        - Oscar Wilde
#1 lore raw

Dear Wolfgang,

Quoted 4 lines · Wolfgang Denk

I somehow had developed the impression thatthe API code was intended to be some "next generation" implementation for standalone programs, with one of the primary purposes being the implementation of (potentially closed source) bootstrap loader code for FreeBSD.

Yes, the API was meant to be generic and extensible mechanism for modern standalone applications, to replace the legacy jumptable mechanism at some point. The FreeBSD loader(8) was a successful test bed for it, so I surely recommend using the API :-)

Quoted 3 lines

But now I realize that the API code is actually linking against parts of the U-Boot code, so any code based on the U-Bott API must in- herently be GPLed.

The demo application provided in the U-Boot source tree (examples/api) indeed re-uses some parts of the U-Boot code (to avoid code duplication), but in general this is not a requirement. The FreeBSD loader(8) is self-contained and does not include any U-Boot code, it just calls the API.

kind regards,
Rafal