public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] redboot startup mode
@ 2005-05-24 18:26 yrodguez
  2005-05-24 22:27 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: yrodguez @ 2005-05-24 18:26 UTC (permalink / raw)
  To: ecos-discuss

hi,
i have a doubt/question?

i'm trying to compile a redboot in romram mode.


At http://sources.redhat.com/ecos/docs-latest/redboot/excaliburarm9.html

say that romram mode runs redboot from ram with redboot in flash. I supossed
that redboot is stored in flash memory and then it is copied from flash to ram.
But when i desassemble the file i get the code is mapped on ram (0x8000):

redboot.elf:     file format elf32-littlearm

Disassembly of section .rom_vectors:

00008000 <__exception_handlers>:
    8000:	ea00000e 	b	8040 <_stext>
    8004:	e59ff018 	ldr	pc, [pc, #24]	; 8024 <.undefined_instruction>
    8008:	e59ff018 	ldr	pc, [pc, #24]	; 8028 <.software_interrupt>
    800c:	e59ff018 	ldr	pc, [pc, #24]	; 802c <.abort_prefetch>
    8010:	e59ff018 	ldr	pc, [pc, #24]	; 8030 <.abort_data>
    8014:	00000000 	andeq	r0, r0, r0
    8018:	e59ff018 	ldr	pc, [pc, #24]	; 8038 <.IRQ>
    801c:	e59ff018 	ldr	pc, [pc, #24]	; 803c <.FIQ>

00008020 <vectors>:
    8020:	00000040 	andeq	r0, r0, r0, asr #32

00008024 <.undefined_instruction>:
    8024:	00008494 	muleq	r0, r4, r4

00008028 <.software_interrupt>:
    8028:	000084b8 	streqh	r8, [r0], -r8

etc....

Maybe i don`t  understand this mode at all.

thanks.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [ECOS] Clean room module loader + GPL module + Application
@ 2005-05-25 12:26 Retallack, Mark (Siemens)
  0 siblings, 0 replies; 8+ messages in thread
From: Retallack, Mark (Siemens) @ 2005-05-25 12:26 UTC (permalink / raw)
  To: C.J.; +Cc: ecos-discuss

Opps. Mised not the important bit.

If the Clean room module loader, is realy fully clean room (including
headers etc..), and the GPL module is loaded at runtime. And there are
no GPL sources in the eCos kernel and application, then this should be
ok. But then the question is: Where will the GPL module be stored before
loading? I don't think it could be staticly linked with the
eCos+application binary (like an image used in the HTTP server). It
would need to be stored on the filesystem. 

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of C.J.
Sent: 24 May 2005 18:47
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Clean room module loader + GPL module + Application


Hi,
I know eCos mod-GPL have been discussed several times.
I also understand that eCos is not GPL compatible --- 
Using GPL code in eCos kernel will force the license 
of eCos application GPL.

GNU GPL (http://www.gnu.org/copyleft/gpl.html) states:
   The source code for a work means the preferred form of the work for
making modifications to it. 
   For an executable work, complete source code means all the source
code for all modules it contains, 
   plus any associated interface definition files, plus the scripts used
to control compilation and 
   installation of the executable. 
   However, as a special exception, the source code distributed need 
   not include anything that is normally distributed (in either source
or binary form) with the major 
   components (compiler, kernel, and so on) of the operating system on
which the executable runs, 
   unless that component itself accompanies the executable. 

Considering only legal issues (just ignore any technical or code size
issue), 
If an eCos system is implemented like this:
(a) eCos kerenl (mod-GPL)
(b) Clean room module loader  (closed license)
(c) A GPL module registers itself as "/dev/storage" (GPL)
(d) Clean room application, mount  "/dev/storage" and use eCos POSIX
layer (via FAT filesystem) 
      to access the device (closed license).

Does the GPL "special exception" apply to this situation?
Is it legal If the provider do not release the source code of  (b) and
(d)?

Best Regards,
C.J.




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [ECOS] Clean room module loader + GPL module + Application
@ 2005-05-25 12:37 Retallack, Mark (Siemens)
  0 siblings, 0 replies; 8+ messages in thread
From: Retallack, Mark (Siemens) @ 2005-05-25 12:37 UTC (permalink / raw)
  To: C.J.; +Cc: ecos-discuss

I am sure others will be able to answer this in a better way, but: 

First off, eCos is (now) GPL compatible. It has an exception for static
linking against a closed source application.

If any GPL source is introduced into the eCos+Applicaion mix, and it
does not have a similar exception, then the whole
eCos+Application+OtherApp mix will become GPL. The only way to prevent
this is to not statically link the OtherApp. This would require runtime
dynamic linking and a very careful development process.   

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of C.J.
Sent: 24 May 2005 18:47
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Clean room module loader + GPL module + Application


Hi,
I know eCos mod-GPL have been discussed several times.
I also understand that eCos is not GPL compatible --- 
Using GPL code in eCos kernel will force the license 
of eCos application GPL.

GNU GPL (http://www.gnu.org/copyleft/gpl.html) states:
   The source code for a work means the preferred form of the work for
making modifications to it. 
   For an executable work, complete source code means all the source
code for all modules it contains, 
   plus any associated interface definition files, plus the scripts used
to control compilation and 
   installation of the executable. 
   However, as a special exception, the source code distributed need 
   not include anything that is normally distributed (in either source
or binary form) with the major 
   components (compiler, kernel, and so on) of the operating system on
which the executable runs, 
   unless that component itself accompanies the executable. 

Considering only legal issues (just ignore any technical or code size
issue), 
If an eCos system is implemented like this:
(a) eCos kerenl (mod-GPL)
(b) Clean room module loader  (closed license)
(c) A GPL module registers itself as "/dev/storage" (GPL)
(d) Clean room application, mount  "/dev/storage" and use eCos POSIX
layer (via FAT filesystem) 
      to access the device (closed license).

Does the GPL "special exception" apply to this situation?
Is it legal If the provider do not release the source code of  (b) and
(d)?

Best Regards,
C.J.




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2005-05-25 14:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-24 18:26 [ECOS] redboot startup mode yrodguez
2005-05-24 22:27 ` Gary Thomas
     [not found]   ` <20050524175806.gj72jy7dy8kw0ck4@webmail.iuma.ulpgc.es>
2005-05-25  2:37     ` Gary Thomas
2005-05-25  6:57       ` yrodguez
2005-05-25  7:50         ` [ECOS] Clean room module loader + GPL module + Application C.J.
2005-05-26 12:30           ` Bart Veer
2005-05-25 12:26 Retallack, Mark (Siemens)
2005-05-25 12:37 Retallack, Mark (Siemens)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).