Page 1 of 1
example: small Kernel for XScale processor
Posted: Tue May 12, 2009 1:50 pm
by romandy
Hi,
I want to develop a small rtos on XScale arm processor.
I search some examples on Google, but i not find an intersesting sample code.
Anybody can help me ? Could you give me an example, in C or pascal?
Thanx
(P.S.: I develop with FreePascal....)
Re: example: small Kernel for XScale processor
Posted: Tue May 12, 2009 2:25 pm
by Laksen
What kind of code are you looking for? I have a pascal kernel that I intend to port to ARM at some point, but I don't have the hardware to test it on. Developing for ARM with FPC isn't that much different than developing for any other platform with FPC, I think
I would be glad to help with questions or anything, although I can't help you with any examples specifically for ARM
Re: example: small Kernel for XScale processor
Posted: Tue May 12, 2009 3:16 pm
by romandy
Thanx for your reply.
"Developing for ARM with FPC isn't that much different than developing for any other platform with FPC "
Are you sure?
I think Xscale is very different than x86...
I have seen a lot of pascal based OS, but it's very hard to port them....
Regards
Re: example: small Kernel for XScale processor
Posted: Tue May 12, 2009 3:28 pm
by Laksen
You could try and take a look at the LPC2124.pas units in the source tree. They have the -Tembedded option which allows you to select which processor you are using, using -Wp or something like that. You can easily add support for more processors by modifying the compiler source. Embedded development isn't very well supported for any platform yet, but it's pretty easy to get around by just telling it to use linux as a target.