eactor Posted June 19, 2013 Report Share Posted June 19, 2013 Hello as apfitch did on his blog Half Fact http://apfitch.wordpress.com/2012/08/30/systemc-on-a-raspberry-pi/, I tried SystemC on an ARM platform. It works reasonably based on pthreads making it somewhat slow. So I thought about porting the QT (QuickThreads) for ARM? 1- Did anybody do that before? I already read the original Technical Report of 93-05-06 of David Keppel describing QT and had a look into the QT source folder. Now I’m kind of stuck where to start at. It seems relevant to know the ABI (Application Binary Interface) of the target. 2-Would that be depended on which Linux Kernel is running on the target or maybe if the ARM platform is armv7 or armv6 based? 3- I’m also happy about every hint which would get me started on the issue. maehne 1 Quote Link to comment Share on other sites More sharing options...
apfitch Posted June 19, 2013 Report Share Posted June 19, 2013 Hi, I've never tried to compile QT on ARM. I had a look on google, and much to my shock, my blog came up as the first hit! Which of course didn't help much... regards Alan Quote Link to comment Share on other sites More sharing options...
eactor Posted June 19, 2013 Author Report Share Posted June 19, 2013 I'm not quite sure about the QT implementation. For some architectures it looks like it just extending a simple thread implementation with the QT abilities, instead of doing a thread implementation from scratch. So I’m not sure if just asking for QT on ARM is enough or if I actually would do a QT for ARM only working with a specific OS on it e.g. Linux. Quote Link to comment Share on other sites More sharing options...
Philipp A Hartmann Posted June 19, 2013 Report Share Posted June 19, 2013 If this is related to your "bare metal" question elsethread, you definitely ask for QT on ARM, not for a specific OS. The closest thing related to "QT on ARM" implementation, I'm aware of, is included in the "old stable" version of Guile (http://www.gnu.org/software/guile/). In http://git.savannah.gnu.org/gitweb/?p=guile.git;a=tree;f=qt;h=c98346f9299df235964738dbf4b87da9806c9f52;hb=72e4a3b1df86fdfca752221716c3e3f5573ff6a5, there is "md/arm.{h,s}", which may be a good starting point. When I had a closer look several years back, I think this has not been fully integrated in the QT package there. So there is probably still some work left, especially for including it in the build system and the architecture detection, etc. Maybe you can contact the original author to learn something about the status of the port. hth, Philipp eactor and maehne 2 Quote Link to comment Share on other sites More sharing options...
eactor Posted June 19, 2013 Author Report Share Posted June 19, 2013 Thanks a lot. I will let you know if it worked out. QT will probably increase the speed compared to pthreads. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.