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

Jonathan Sokolowski jsok at ok-labs.com
Tue Jul 29 16:44:39 EST 2008


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


More information about the Developer mailing list