public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [U-boot] Export functions using Jumptable in Standalone application
@ 2008-10-24  5:21 Nagesh.ML
  2008-10-24  6:23 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Nagesh.ML @ 2008-10-24  5:21 UTC (permalink / raw)
  To: u-boot


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.
-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-boot] Export functions using Jumptable in Standalone application
  2008-10-24  5:21 [U-Boot] [U-boot] Export functions using Jumptable in Standalone application Nagesh.ML
@ 2008-10-24  6:23 ` Wolfgang Denk
  2008-10-28  4:20   ` Nagesh.ML
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2008-10-24  6:23 UTC (permalink / raw)
  To: u-boot

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 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-boot] Export functions using Jumptable in Standalone application
  2008-10-24  6:23 ` Wolfgang Denk
@ 2008-10-28  4:20   ` Nagesh.ML
  2008-10-28  7:23     ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Nagesh.ML @ 2008-10-28  4:20 UTC (permalink / raw)
  To: u-boot


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 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
> 
> 

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-boot] Export functions using Jumptable in Standalone application
  2008-10-28  4:20   ` Nagesh.ML
@ 2008-10-28  7:23     ` Wolfgang Denk
  2008-10-29  4:06       ` Nagesh.ML
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2008-10-28  7:23 UTC (permalink / raw)
  To: 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

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-boot] Export functions using Jumptable in Standalone application
  2008-10-28  7:23     ` Wolfgang Denk
@ 2008-10-29  4:06       ` Nagesh.ML
  2008-11-18 23:41         ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Nagesh.ML @ 2008-10-29  4:06 UTC (permalink / raw)
  To: u-boot


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 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
> 
> 

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] [U-boot] Export functions using Jumptable in Standalone application
  2008-10-29  4:06       ` Nagesh.ML
@ 2008-11-18 23:41         ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2008-11-18 23:41 UTC (permalink / raw)
  To: 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

-- 
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-18 23:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24  5:21 [U-Boot] [U-boot] Export functions using Jumptable in Standalone application Nagesh.ML
2008-10-24  6:23 ` Wolfgang Denk
2008-10-28  4:20   ` Nagesh.ML
2008-10-28  7:23     ` Wolfgang Denk
2008-10-29  4:06       ` Nagesh.ML
2008-11-18 23:41         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox