Show Posts
Pages: [1] 2 3 ... 9
1  Products / Arduino Yún / (gnu) stty limitation? on: September 26, 2014, 04:23:44 am
The (gnu) stty program is part of the official repository:

Code:
root@jwd2:~# opkg list | grep stty
coreutils-stty - 8.16-1 - Full version of standard GNU stty utility. Normally, you would not use this package, since the functionality in BusyBox is more than sufficient.

The comment is a bit misleading because the BusyBox implementation doesn't have an stty functionality (as far as I know); also, on boot time the uart is set to 250000 baud;

Code:
dmesg | grep ttyATH0
[    0.000000] Kernel command line:  board=Yun console=ttyATH0,250000 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd

Now run 'stty -F /dev/ttyATH0'; gnu stty reports a baudrate of 230400; even if you explicitly try to set it to 250000 baud (which is was already set to).

It isn't much of a problem because I want to run that serial bus as fast as possible (250000BD?) but it this a limitation of the gnu implementation of stty?

kind regards,

Jos
2  Products / Arduino Yún / Re: jamvm test package on: September 25, 2014, 09:35:47 am
Hi, I contacted the author of Jamvm for a bit of documentation (as of now, I don't even know which version, for what architecture, I have to download the OpenJDK classes). I'll let you know if I made (a bit of) progress.

kind regards,

Jos
3  Products / Arduino Yún / Re: jamvm test package on: September 24, 2014, 02:03:19 am
I've never seen it running; all I know is from the (terse) documentation. You should download an OpenJDK version (version 8 is the latest) and replace libjvm that comes with it (it's the hotspot Java machine) with the one you have built ...

kind regards,

Jos
4  Products / Arduino Yún / Re: After upgrading the Yun on: September 23, 2014, 11:55:54 am
That file can be safely removed (it is installed in your FLASH rom anyway); if you want to remove your entire SD card is completely up to you.

kind regards,

Jos
5  Products / Arduino Yún / Re: jamvm test package on: September 23, 2014, 10:42:09 am
I installed it and it ran the entire afternoon with the old gnu 'classpath' classes (that I had already installed); if you manage to build the configuration for the OpenJDK classes (implementing the latest JRE version) I'll buy you a beer ;-) b.t.w. good job!

kind regards,

Jos
6  Products / Arduino Yún / Re: Signature check failed? on: September 23, 2014, 03:01:01 am
ps.any news on the new jamvm version (yet)?

I should give it a spin later this week

Cool; my new laptop won't arrive until early 2015 (budget problems); lots of success with the port.

kind regards,

Jos
7  Products / Arduino Yún / Re: Signature check failed? on: September 23, 2014, 01:51:58 am
I did the upgrade (version 1.5.) and all went fine (I didn't copy back the old opkg.conf version ;-) I didn't notice any (speed) differences (yet). I certainly am going to try the native gcc version.

kind regards,

Jos

ps.any news on the new jamvm version (yet)?
8  Products / Arduino Yún / Re: Signature check failed? on: September 22, 2014, 10:51:12 am
I found what I did wrong: I changed my opkg.conf file and saved it before the upgrade; after upgrading I copied it back to /etc again ...  *sigh* I'l upgrade to 1.5. anyway ...

kind regards,

Jos
9  Products / Arduino Yún / Re: Signature check failed? on: September 22, 2014, 10:23:28 am
I don't know. But we've just released 1.5.0: it may be worth retrying

Ok. I'll do that later; I'll let you know how it went.

kind regards,

Jos
10  Products / Arduino Yún / Re: Signature check failed? on: September 22, 2014, 10:17:11 am
Since, you're downloading from linino.org, you're using the old image. Please upgrade your yun: see link in my signature

Strange, I upgraded my Yun yesterday (version 1.4.2.) and I received no complaints from the upgrade process; from my /etc/openwrt_release:

Code:
DISTRIB_ID="OpenWRTYun"
DISTRIB_RELEASE="1"
DISTRIB_REVISION="r42171"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWRTYun Attitude Adjustment 1"

I installed from the file mentioned in your link: openwrt-ar71xx-generic-yun-16M-squashfs-sysupgrade.bin

What did I do wrong?

kind regards,

Jos
11  Products / Arduino Yún / [solved] Signature check failed? on: September 22, 2014, 09:31:25 am
Greetings,

I upgraded my Yun yesterday and I want to (re)install some more packages; after running 'opkg update' I get this:

Code:
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker.
Downloading http://download.linino.org/dogstick/all-in-one/latest/packages//Packages.sig.
Signature check failed.
Remove wrong Signature file.

What signature and what is wrong with it? What needs to be thrown away to stop this message from appearing?

kind regards,

Jos
12  Products / Arduino Yún / Re: Arduino YUN custom openwrt C program communication with arduino on: September 07, 2014, 11:33:05 am
Did you read my reply in you other thread? http://forum.arduino.cc/index.php?topic=265486.0

kind regards,

Jos
13  Products / Arduino Yún / Re: How can C program running on YUN linux, can comminucate with Arduino? on: September 07, 2014, 08:17:21 am
Open a FILE* for /dev/ttyATH0; the 'other side' (the Arduino side) should read and write from/to the Serial stream. The Linux side should do the same with its FILE* pointer.

kind regards,

Jos
14  Products / Arduino Yún / Re: jamvm on: September 05, 2014, 11:26:01 pm
@Sonnyyu: classpath 0.99 is only Java 1.5 compliant (sort of) while classpath 0.98 is mostly Java 1.4 compliant; both versions of Java are long dead while OpenJDK supports even the latest Java 1.8 version. Jamvm 2.0 can run it, that's why I am so eager to have it available for the Yun.

kind regards,

Jos
15  Products / Arduino Yún / Re: jamvm on: September 05, 2014, 11:41:11 am
Ah, ok, thanks for the information; I'll keep an eye on that site and wait until my new laptop arrives (the old one is a goner). I would really like that new version of jamvm available for the Yun because that 'classpath' thing is full of bugs and quite outdated  ...

kind regards,

Jos
Pages: [1] 2 3 ... 9