I was bored this afternoon so i decided to port Linux to the XMOS arch.
I found a way to squeeze it in.
Results:
Linux on XMOS!
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
-
- XCore Expert
- Posts: 546
- Joined: Thu Dec 10, 2009 10:41 pm
- Location: St. Leonards-on-Sea, E. Sussex, UK.
uClinux, presumably? Quite an achievement!
Leon
Leon
-
- Member
- Posts: 10
- Joined: Mon Dec 14, 2009 7:06 pm
Hey! Looks impressive and that really took you an afternoon? I just took a look (when I say look, I mean ~2hrs) at the uClinux code and it doesn't look particularly trivial to port (i was thinking in the order of man week(s))...
Couple of questions:
1) Are you going to be posting the patch against the uClinux tree for this so that other people can give it a go? (or just upload a zip of your source)
2) Did you create a custom driver for the display? If so what was your implementation method? Simple driver to external i/o or did you use a driver that outputs to a separate thread that handles buffering etc?
3) How are you typing in commands?
4) What did you do about the timers & interrupts that are required?
5) Do you have a realtime clock on there? I noticed you have a somewhat plausible time in 'uptime'
6) What did you do about bootstrapping?
I hope I don't sound too sceptical - I am just incredibly intrigued as to how you did it so quickly!
Couple of questions:
1) Are you going to be posting the patch against the uClinux tree for this so that other people can give it a go? (or just upload a zip of your source)
2) Did you create a custom driver for the display? If so what was your implementation method? Simple driver to external i/o or did you use a driver that outputs to a separate thread that handles buffering etc?
3) How are you typing in commands?
4) What did you do about the timers & interrupts that are required?
5) Do you have a realtime clock on there? I noticed you have a somewhat plausible time in 'uptime'
6) What did you do about bootstrapping?
I hope I don't sound too sceptical - I am just incredibly intrigued as to how you did it so quickly!
-
- XCore Addict
- Posts: 234
- Joined: Thu Dec 10, 2009 11:11 pm
- Location: Newcastle, UK
Awesome.
I hope you find time to post it as a project.
edit:
I get it now :D
¡Inocente!
I hope you find time to post it as a project.
edit:
I get it now :D
¡Inocente!
Last edited by TonyD on Wed Dec 30, 2009 9:57 pm, edited 1 time in total.
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
*grin*
I have to disappoint you guys!
This was just a string output test for my new LCD driver!
(There is a reason this was posted in off topic...)
;-)
I have to disappoint you guys!
This was just a string output test for my new LCD driver!
(There is a reason this was posted in off topic...)
;-)
-
- Active Member
- Posts: 50
- Joined: Wed Dec 16, 2009 6:04 pm
- Location: London
Ok, so that was a joke?
well .. could be nice to have it actually ..
can we run linux on one core somehow?
i doubt, but is there an ancester architecture that xcore is some how based on?
may be linux was already ported to that ..:)
well .. could be nice to have it actually ..
can we run linux on one core somehow?
i doubt, but is there an ancester architecture that xcore is some how based on?
may be linux was already ported to that ..:)
-
- Respected Member
- Posts: 363
- Joined: Thu Dec 10, 2009 10:17 pm
Well its sort of based on transputers and porting linux to this would be a huge problem as there is way too little RAM.
-
- Respected Member
- Posts: 296
- Joined: Thu Dec 10, 2009 10:33 pm
I think the way to do it is to write a MIPs emulator for the xcore. Assuming it can be fit into 64K.
Then use the MIPs emulator to run uClinux from external RAM.
Perhaps there is an even an architecture simpler than the MIPS that could be used.
Then use the MIPs emulator to run uClinux from external RAM.
Perhaps there is an even an architecture simpler than the MIPS that could be used.
-
- Active Member
- Posts: 50
- Joined: Wed Dec 16, 2009 6:04 pm
- Location: London
well ..i am not too sure, may be we can add external ram? may be even like battery-backed ram
could be fun :)
making a board with a decent aount of ram and flash could be the right thing to port linux to xcore!
there is AVR32 port ..
nothing is imposible i'd say ;')
could be fun :)
making a board with a decent aount of ram and flash could be the right thing to port linux to xcore!
there is AVR32 port ..
nothing is imposible i'd say ;')
-
- XCore Expert
- Posts: 577
- Joined: Tue Sep 08, 2009 5:15 pm
lol I feel a group project coming on.