Show Posts
Pages: 1 2 [3] 4 5 ... 14
31  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 08, 2014, 01:31:55 am
Thanks for the reply:
Code:
simon@ubuntu:/usr/lib/jvm/java-7-oracle/jre/lib/amd64$ file librxtxSerial-2.2.so
librxtxSerial-2.2.so: ELF 32-bit MSB  shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, not stripped
32  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 01:58:48 pm
Thank you, "make install" did the trick, files installed in:
Code:
/usr/lib/jvm/java-7-oracle/jre/lib/amd64

Although, I'm not sure why amd64, could be because I'm running Ubuntu 14.04LTS in Oracle VirtualBox, my system is an i7.
33  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 01:35:07 pm
I'll re-run and capture the output.

http://justpaste.it/fdf0
34  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 10:34:36 am
Haven't been home to test the libs yet, but there is one possible issue to resolve.  The built libraries are only found in:

/home/simon/RXTX/mips-openwrt-linux-uclibc/.libs

Not sure if this is an issue or not, I would have expected the build to put them some place not hidden.

Code:
-rw-rw-r-- 1 simon simon 10000 May  7 16:30 fuserImp.o
-rw-rw-r-- 1 simon simon 28208 May  7 16:30 I2CImp.o
-rwxrwxr-x 1 simon simon 29561 May  7 16:30 librxtxI2C-2.2.so
lrwxrwxrwx 1 simon simon    16 May  7 16:30 librxtxI2C.la -> ../librxtxI2C.la
-rw-rw-r-- 1 simon simon   962 May  7 16:30 librxtxI2C.lai
lrwxrwxrwx 1 simon simon    17 May  7 16:30 librxtxI2C.so -> librxtxI2C-2.2.so
-rwxrwxr-x 1 simon simon 17913 May  7 16:30 librxtxParallel-2.2.so
lrwxrwxrwx 1 simon simon    21 May  7 16:30 librxtxParallel.la -> ../librxtxParallel.la
-rw-rw-r-- 1 simon simon   992 May  7 16:30 librxtxParallel.lai
lrwxrwxrwx 1 simon simon    22 May  7 16:30 librxtxParallel.so -> librxtxParallel-2.2.so
-rwxrwxr-x 1 simon simon 30618 May  7 16:30 librxtxRaw-2.2.so
lrwxrwxrwx 1 simon simon    16 May  7 16:30 librxtxRaw.la -> ../librxtxRaw.la
-rw-rw-r-- 1 simon simon   962 May  7 16:30 librxtxRaw.lai
lrwxrwxrwx 1 simon simon    17 May  7 16:30 librxtxRaw.so -> librxtxRaw-2.2.so
-rwxrwxr-x 1 simon simon 30627 May  7 16:30 librxtxRS485-2.2.so
lrwxrwxrwx 1 simon simon    18 May  7 16:30 librxtxRS485.la -> ../librxtxRS485.la
-rw-rw-r-- 1 simon simon   974 May  7 16:30 librxtxRS485.lai
lrwxrwxrwx 1 simon simon    19 May  7 16:30 librxtxRS485.so -> librxtxRS485-2.2.so
-rwxrwxr-x 1 simon simon 91186 May  7 16:30 librxtxSerial-2.2.so
lrwxrwxrwx 1 simon simon    19 May  7 16:30 librxtxSerial.la -> ../librxtxSerial.la
-rw-rw-r-- 1 simon simon   980 May  7 16:30 librxtxSerial.lai
lrwxrwxrwx 1 simon simon    20 May  7 16:30 librxtxSerial.so -> librxtxSerial-2.2.so
-rw-rw-r-- 1 simon simon 14608 May  7 16:30 ParallelImp.o
-rw-rw-r-- 1 simon simon 29040 May  7 16:30 RawImp.o
-rw-rw-r-- 1 simon simon 29444 May  7 16:30 RS485Imp.o
-rw-rw-r-- 1 simon simon 87320 May  7 16:30 SerialImp.o
35  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 03:24:14 am
Thank you,

Build script made:
Code:
STAGING_DIR=/home/simon/openwrt/staging_dir
CFLAGS=-I$STAGING_DIR/target-mips_r2_uClibc-0.9.33.2/usr/include
export CFLAGS
LDFLAGS=-L$STAGING_DIR/target-mips_r2_uClibc-0.9.33.2/usr/lib
export LDFLAGs
CC=/yun_toolchain/mips-openwrt-linux-uclibc-gcc
export CC
./configure --host=mips-openwrt-linux-uclibc
mkdir $STAGING_DIR/usr/include/linux
make

I now have a set of libraries, that I will try out tonight.

/yun_toolchain is a symbolic link I created to the actual location of the compiler:
/home/simon/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin
36  Products / Arduino Yún / Re: Anyone built RXTX for Yun? on: May 07, 2014, 01:37:44 am
Thank you, will give it a try tonight after work.
37  Products / Arduino Yún / Anyone built RXTX for Yun? on: May 06, 2014, 03:23:48 pm
I've downloaded the source for RXTX and have been trying to compile it for the Yun.

I have the toolchain installed, and have made some progress, haven't finished yet.

Does anyone know the correct settings for --build, --target, --host on configure?
38  Products / Arduino Yún / Re: node.js on: May 06, 2014, 03:21:57 pm
Thank you, I will have a look.
39  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 01:12:34 pm
Just ordered one of these.
http://www.amazon.co.uk/exec/obidos/ASIN/B00B5T1P54/ref=ox_ya_os_product_refresh_C
40  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 12:37:49 pm
Is it possible to connect a D-type to the USB Com port?  If yes, what do I need to buy?

How about this?

http://www.amazon.co.uk/Serial-Converter-Interface-Module-Indicator/dp/B00E9QXRKQ/ref=sr_1_4?ie=UTF8&qid=1399312915&sr=8-4&keywords=ttl+rs232+convertor
41  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 12:21:50 pm
Thank you, I'll have to look into it.
42  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 12:14:33 pm
Oh....I was rather hoping that there were already other UART's availble on I/O pins.
43  Products / Arduino Yún / Re: Connecting female 9 pin D-type on: May 05, 2014, 10:11:14 am
Its just standard RS232.
44  Products / Arduino Yún / Connecting female 9 pin D-type on: May 05, 2014, 09:47:19 am
I have a 9 pin D-type female, with wires soldered to pins 2, 3 and 5. 

What is the simplest way of hooking this up to the Yun so I can address serial data received through it?

Thank you,

45  Products / Arduino Yún / Re: gcc on linino? on: May 05, 2014, 09:31:40 am
Development environment working on Laptop, configured remote debugging and it works well.

On my main development system I have tried today to get this set-up, I've got as far as remote debugging, but for some reason I get:
Code:
Can't bind address: Address already in use.
Killing inferior

Nevermind, rebooted Yun and restarted eclipse, problem has gone.
Pages: 1 2 [3] 4 5 ... 14