This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] sim: bfin: new port


On Monday, February 14, 2011 16:44:37 Pedro Alves wrote:
> On Monday 14 February 2011 20:49:50, Mike Frysinger wrote:
> > On Monday, February 14, 2011 15:40:18 Pedro Alves wrote:
> > > On Monday 14 February 2011 20:14:32, Mike Frysinger wrote:
> > > >+++ b/sim/bfin/bfroms/bf59x_l1-0.1.h
> > > >
> > > > @@ -0,0 +1,8195 @@
> > > > +/* DO NOT EDIT: Autogenerated.  */
> > > > +static const char bfrom_bf59x_l1_0_1[] = {
> > > 
> > > What are these generated from?
> > 
> > memory dumps of the rom from actual hardware
> 
> What kind of rom, and what kind of hardware?

it's the on-chip rom that exists on all Blackfin parts.  usually it's used for 
bootstrapping a part, but it also has helper functions which are sometimes 
used at runtime by the boot loader (i.e. u-boot).

> What tool does one use to extract this rom?

it's memory mapped, so any code that runs on the processor can read it.  which 
is fairly trivial when the part can boot linux.

> What's the copyright and license for this?

ADI releases the source code to these roms for anyone to view/play with, but 
they hold the copyrights.  i'm not sure there is any license mention in the 
source files, but they arent terribly useful for anything else considering 
they're written in pure assembly, assume rom locations in the processor, 
generally require proprietary ADI tools to compile/link, and no one else can 
make a Blackfin processor.

but that is the source code, not the final binary which is what we're talking 
about here: gcc foo.c -o foo; objcopy -O binary foo foo.bin; <convert foo.bin 
into a header>.  what license would be necessary for inclusion ?  i'm fairly 
certain a redistributable license (if not already in place) would be trivial 
to get seeing as i am an ADI employee.  i dont think copyright makes much 
sense with these things.
-mike


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]