[okl4-developer] elfweaver with several IO regions per server

Oliver Mayer-Buschmann omb at opensynergy.com
Tue Jul 29 21:35:14 EST 2008


Hello Jonathan,

thank you very much for the fast delivery of your patch.
After modifying tools/pyelf/weaver/device.py,
the elfweaver error has disappeared and all images have been created
successfully!

Best regards,

Oliver

> Date: Tue, 29 Jul 2008 16:44:39 +1000
> From: Jonathan Sokolowski <jsok at ok-labs.com>
> Subject: Re: [okl4-developer] elfweaver with several IO regions per
> 	server
> To: developer at okl4.org
> Message-ID: <856AD81C-D934-4877-9009-3C229623F7F6 at ok-labs.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi Oliver,
> 
> Please try the attached patch. It should allow you to specify multiple  
> io regions per device.
> 
> For example:
>      memory_serial = [(0x40100000, 0x40101000), (0x40102000,  
> 0x40105000)]
> 
> What you do with that list is entirely up to the driver! To my  
> knowledge none of our drivers use multiple io regions, but it  
> shouldn't be too much of a stretch to get it working.
> 
> Thanks,
> Jonathan Sokolowski
> 
> On 29/07/2008, at 1:50 AM, Oliver Mayer-Buschmann wrote:
> 
> > Hi Geoffrey,
> >
> > what's the status of this issue?!!
> >
> > I've almost completed my migration of an Atmel NAND-FLASH driver to  
> > OKL
> > and now I'm getting this mysterious elfweaver "Object name "master"
> > already in use" error, after defining the 2 needed memsections in
> > machines.py. This can't be true!
> >
> > The OKL sample code implies, that the driver framework supports
> > multiple memsections and this is definitely needed to access  
> > hardware on
> > ARM-platforms! And why is the minimum size 4k?
> >
> > Oliver
> >
> > _______________________________________________
> > Developer mailing list
> > Developer at okl4.org
> > https://lists.okl4.org/mailman/listinfo/developer
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: regions.diff
> Type: application/octet-stream
> Size: 749 bytes
> Desc: not available
> Url : http://lists.okl4.org/pipermail/developer/attachments/20080729/10d33532/attachment-0001.obj 
> 
> ------------------------------




More information about the Developer mailing list