No.2476
That is a pretty neat project you are trying. I would find out what internal tech is actually in there. Verify if it is anything more than an AVR or SMT soykaf.
No.2481
Just a quick google and
https://github.com/ev3devI think the ev3 already uses linux, but I don't see any sourcefiles from a quick google search.