[U-Boot] [U-boot] 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.

Dear "Nagesh.ML",
In message 20144414.post@talk.nabble.com you wrote:
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?
Is this initialization necessary for the network operation in U-Boot?
Best regards,
Wolfgang Denk

Hi,
Yes we require this initialization of the switch for network operation.
--Nagesh.
wd wrote:
Dear "Nagesh.ML",
In message 20144414.post@talk.nabble.com you wrote:
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?
Is this initialization necessary for the network operation in U-Boot?
Best regards,
Wolfgang Denk
-- 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@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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Dear "Nagesh.ML",
In message 20201180.post@talk.nabble.com you wrote:
Yes we require this initialization of the switch for network operation.
...
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

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
wd wrote:
Dear "Nagesh.ML",
In message 20201180.post@talk.nabble.com you wrote:
Yes we require this initialization of the switch for network operation.
...
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
-- 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@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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Dear Nagesh,
in message 20220629.post@talk.nabble.com 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.
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
participants (2)
-
Nagesh.ML
-
Wolfgang Denk