Export functions using Jumptable in Standalone application
Hi,
In one of my standalone application used for initializing the hardware(Ethernet Switch) registers, I have exported two functions miiphy_read() and miiphy_write() of u-boot as per the procedure given in README.standalone document. By doing so, will my standalone application come under GPL? If yes, is there any other way to implement this?
--Nagesh.
Signature · 2 lines
View this message in context: http://www.nabble.com/-U-boot--Export-functions-using-Jumptable-in-Standalone-application-tp20144414p20144414.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Dear "Nagesh.ML",
Quoted 6 lines · In message <[email protected]> you wrote:
In one of my standalone application used for initializing the hardware(Ethernet Switch) registers, I have exported two functions
miiphy_read()andmiiphy_write()of u-boot as per the procedure given in README.standalone document. By doing so, will my standalone application come under GPL? If yes, is there any other way to implement this?
Is this initialization necessary for the network operation in U-Boot?
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 If you believe that feeling bad or worrying long enough will change a past or future event, then you are residing on another planet with a different reality system.
Hi,
Yes we require this initialization of the switch for network operation.
--Nagesh.
Quoted 31 lines · wd
Dear "Nagesh.ML",
Quoted 7 lines · In message <[email protected]> you wrote:
In one of my standalone application used for initializing the hardware(Ethernet Switch) registers, I have exported two functions
miiphy_read()andmiiphy_write()of u-boot as per the procedure given in README.standalone document. By doing so, will my standalone application come
under GPL? If yes, is there any other way to implement this?Is this initialization necessary for the network operation in U-Boot?
Best regards,
Wolfgang Denk
Signature · 10 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 If you believe that feeling bad or worrying long enough will change a past or future event, then you are residing on another planet with a different reality system. _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Signature · 2 lines
View this message in context: http://www.nabble.com/-U-boot--Export-functions-using-Jumptable-in-Standalone-application-tp20144414p20201180.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Dear "Nagesh.ML",
Quoted 2 lines · In message <[email protected]> you wrote:
Yes we require this initialization of the switch for network operation.
...
Quoted 1 line
Quoted 1 line
Is this initialization necessary for the network operation in U-Boot?
If the initialization is needed to run Ethernet, and if you ant to use network functions in U-Boot, then you should link the code to initialize the Ethernet hardware with the U-Boot image.
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 I really hate this damned machine It never does quite what I want I wish that they would sell it. But only what I tell it.
Hi,
Thanks for your responses Wolfgang!
-
I think in that case if I link the initialization code with the u-boot image, then my standalone application will come under GPL conditions, right?
If I dont do any network operations in U-boot(dont link the code
with u-boot image), just do the hardware initialization of the switch registers only, then will my standalone application have any sort of issues with respect to the GPL?
--Nagesh
Quoted 29 lines · wd
Dear "Nagesh.ML",
Quoted 2 lines · In message <[email protected]> you wrote:
Yes we require this initialization of the switch for network operation.
...
Quoted 1 line
Quoted 1 line
Is this initialization necessary for the network operation in U-Boot?
If the initialization is needed to run Ethernet, and if you ant to use network functions in U-Boot, then you should link the code to initialize the Ethernet hardware with the U-Boot image.
Best regards,
Wolfgang Denk
Signature · 9 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 I really hate this damned machine It never does quite what I want I wish that they would sell it. But only what I tell it. _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Signature · 2 lines
View this message in context: http://www.nabble.com/-U-boot--Export-functions-using-Jumptable-in-Standalone-application-tp20144414p20220629.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Dear Nagesh,
Quoted 3 lines · in message <[email protected]> you wrote:
I think in that case if I link the initialization code with the u-boot image, then my standalone application will come under GPL conditions, right?
Yes, of course.
Quoted 4 lines
If I dont do any network operations in U-boot(dont link the code
with u-boot image), just do the hardware initialization of the switch registers only, then will my standalone application have any sort of issues with respect to the GPL?
If you do not want to use the network interface then there is no reason to initialize the switch in U-Boot. Design rules say that only such devices shall be initialized that are used by U-Boot itself, see bullet 2 at
http://www.denx.de/wiki/view/U-Boot/DesignPrinciples#2_Keep_it_Fast
I am not a lawyer, but my general feeling is that you should accept the fact that U-Boot is under GPL.
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
"If that makes any sense to you, you have a big problem."
-- C. Durance, Computer Science 234