RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:09 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 73 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Romraider on Raspberry PI
PostPosted: Sat Nov 03, 2012 4:53 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
Any one here looked into running RR on a Raspberry PI? Just bought myself one and wondering if its possible?


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 03, 2012 10:24 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
A lot of the libs are x86 specific, some are win specific, not all are happy on mac, etc. If you can get lib versions for ARM for each, you're in business, otherwise no.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sun Nov 04, 2012 2:00 am 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
Well the raspberry pi runs Linux, will the Linux version not work? The only problem I see at the moment is limited java support on the Pi but its coming along slowly. If there was full java it should work in theory?


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sun Nov 04, 2012 9:10 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
RR uses a lot of binary extensions to Java, so no, Java is not enough. You need those binary components built for ARM.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 4:28 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
A follow up to this... I have managed to get java working fully on the pi. Romraider & logger launch and run fine.

However I need to work out how to get it to work with my cable (tactrix 1.3) any ideas? No ports are listed in the drop down menu of the logger


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 6:03 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
You need a version of the RXTX Java library and binary for your OS. That's how RR Logger interfaces with the serial ports. Then the kernel needs to have FTDI support. And on top of all that the USB must be able to run in host mode to recognize the USB cable and load the driver.


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 7:05 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
Ah ive just been working on getting rxtx sorted before I noticed your post, fingers crossed ive just sorted that.
Seems I have FTDT support and the cable is listed in lsusb... host mode hmmmm I will look into it.


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 7:09 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
discomfort wrote:
Seems I have FTDT support and the cable is listed in lsusb...
That's good.


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 7:37 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
I think I have a problem with my rxtx as no matter what I do I cannot get it to see the port in RR logger... is there a way to test that rxtx is correctly working?


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 8:07 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 8:21 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
There's two parts to RXTX. The Java library and the binary driver, which is OS dependent.
You probably need to build one for your OS from source. http://rxtx.qbang.org/


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 8:29 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
Fixed - the file was in the wrong place... followed by not an ARM version... logger now shows /dev/ttyUSB0 - Fingers crossed this is the correct USB port as its a little dark outside now to go playing (00:18)

Just for reference for others:

rxtx file for arm (must be renamed to librxtxSerial.so). https://blogs.oracle.com/jtc/entry/serial_port_communication_for_java

Placed in java/jdk<version>/jre/lib/ext

RXTXcomm.jar from the RR directory in

java/jdk<version>/jre/lib/ext


Java version: http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html

Linux ARM 65.04 MB jdk-7u6-linux-arm-sfp.tar.gz

Raspberry PI version: Soft-float Debian “wheezy”

*** This needs tidying up ***

Most of this still stands apart from an update Java version.

Launcing from the "start menu" shortcut has a problem accessing the def files, say they do not exist even tho you just selected them - Work around for this is to launch from terminal " java -jar RomRaider.jar -logger "

Raspberry Pi 3 v2, 32 & 64 bit
https://blogs.oracle.com/jtc/updates-to ... ry-pi-3-v2


Last edited by discomfort on Sun May 19, 2013 11:45 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 8:52 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
I love being wrong like this! :-)

Still: 3D view, will likely crash? And various other cross libs that have binary parts other than dirty old RXTX. I guess most don't matter much/at all. I managed to run RR without them all using Maven too. Expect some stuff to not work, though :-)

Fred.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sat Nov 17, 2012 9:04 pm 
Offline
Newbie

Joined: Fri Aug 10, 2012 4:44 pm
Posts: 54
Well ive not tried loading a rom yet... however ive just managed to brake xterm and cant log in atm GREAT! I when I get access again I will do some testing and report back, followed by a better review.

I think the bigger problem is going to be the lack of RAM and processing power. Its quite laggy while loading, and im not sure how well it will log, might have to turn fast polling off?

3D view button does nothing


Top
 Profile  
 
 Post subject: Re: Romraider on Raspberry PI
PostPosted: Sun Nov 18, 2012 1:39 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
discomfort wrote:
rxtx file for arm (must be renamed to librxtxSerial.so). https://blogs.oracle.com/jtc/entry/serial_port_communication_for_java

Placed in java/jdk<version>/jre/lib/ext

RXTXcomm.jar from the RR directory in

java/jdk<version>/jre/lib/ext
You shouldn't have to pollute the Java installation with the binary. RomRaider is setup to look in RomRaider/lib/linux/ for supporting libraries and their dependent binaries.
Great find! I've got an ARM5 and ARM6 device, I'll try these out.

I suspect you will find that you can't open a ROM with a full set of tables. Probably not enough memory for Java. If you can read data from the ECU with the Logger then I don't expect you'll have any other problems. Fast poll does use quite a bit of CPU though due to the high call rate to read bytes from the serial port. J2534 would be more efficient if there was a driver for a compatible device. I think Drew Tech has one for the CarDaq that work with the Mongoose, but I haven't tried it yet.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 73 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl