[okl4-developer] Fast address-space switching on GUMSTIX?

Geoffrey Lee glee at ok-labs.com
Tue May 27 00:59:11 EST 2008


On Tue, May 27, 2008 at 12:36:42AM +1000, xi yang wrote:

Hi Xi

> >
> > The location of the stack and the heap are chosen by the build system
> > when the boot image is built.  In 2.1, the allocator for the stack
> > and heap locations do not take ARM domains into account, which leads
> > to the issue you are seeing.
> >
> > This has since been fixed in the latest version.
> The lastest version? you mean 2.1.
> I am using 1.5.2. I modify the build.py, now it works for me.

Unfortunately this issue is still present in 2.1.  We fixed this
in our development branch some time ago.

Just an aside, is there any reason why you cannot use 2.1?  
Do you have code or drivers which depend on 1.5.2?

> >
> >> 2)Are there some constrains of memsection_create_fixed() system call
> >> of iguana. I invoking this system call and always return NULL.
> >
> > Which platform are you running, and which address do you want to ask
> > Iguana to return to you?
> Gumstix, I want to get 6Mbytes map to 0xa5100000, it seems return NULL.
> Regards.

Just making sure, is 0xa5100000 a physical address or a virtual address?
More generally, can you let us know what are you trying to achieve 
by mapping 6M?  We may be able to propose alternative solutions
that better suit your needs.

	-gl

> >
> >        -gl
> >
> >> Regards!
> >> >>
> >> >> Regards
> >> >> Abi
> >> >>
> >> >
> >>
> >> _______________________________________________
> >> Developer mailing list
> >> Developer at okl4.org
> >> https://lists.okl4.org/mailman/listinfo/developer
> >>
> >
> > --
> >
> >
> 

-- 




More information about the Developer mailing list