G+_Jason Perry Posted July 23, 2015 Share Posted July 23, 2015 Anyone here with experience putting xen on a Pi? Will it work? I am chasing this idea for a carputer. I don't want the networking portion to have access to the CAN bus portion. Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted July 23, 2015 Share Posted July 23, 2015 Whats the advantage of xen on the Pi? (as far as CAN goes, that's a software and hardware implementation. The HW is akin to RS-485; differential com lines & multi drop bus. So don't plug into it, and its not on it.) But if you want to play with CAN: http://tinyurl.com/q2sk687 Link to comment Share on other sites More sharing options...
G+_Travis Hershberger Posted July 23, 2015 Share Posted July 23, 2015 You'd probably have to compile Xen from source. Link to comment Share on other sites More sharing options...
G+_610GARAGE Posted July 23, 2015 Share Posted July 23, 2015 I would say it can't be done. XEN is a full fledge hypervisor that can run windows on linux which requires a cpu with a certain thing that I can't remember. But the pi uses arm. Completely different from intel/amd cpus. However, KVM may work. No, not a kvm switch, but a Kernel Virtual Machine. This allows multiple linux kernels to run at once. This would be perfect because It seems like you only want silowing, not to run multiple os'. This would also decrease overhead. However, I don't know if it is possible to run KVM on pi. But it would be worth a google. My suggestion is to use an arduino as a CAN to serial adapter. That way, the arduino can only issue the commands that you want it to issue. Or if that is infeasible, maybe two PI? Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted July 23, 2015 Author Share Posted July 23, 2015 Eddie Foy the only point of xen is for security. I want a segment to just read the data and post it somewhere else and nothing else. Call mr paranoid I love tech but dont trust it. Oh to outline my distrust of giving too much access to the can bus check out the latest security now. Link to comment Share on other sites More sharing options...
G+_Eddie Foy Posted July 23, 2015 Share Posted July 23, 2015 but you trust xen? why? Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted July 23, 2015 Author Share Posted July 23, 2015 610bob thanks for the input ill look at kvm. I havent looked at it yet because a lack of knowledge of its pros and cons. The more I think of it the more I may use an arduino for that section to lock down access to the can bus. I only want read only access. Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted July 23, 2015 Author Share Posted July 23, 2015 Eddie Foy Good point I am now starting to lean towards an arduino for the actual interaction with the car then silo all the other systems on the carputer. Link to comment Share on other sites More sharing options...
Recommended Posts