Scott Ellis | 10 Jun 21:50 2014

Re: Ethernet DMA on Tobi Board

You didn't say where your data was coming from or how often 
you need to transmit those 100K doubles over the network.

I'm working on a system right now where we transmit roughly 
93K  samples per second from an Overo over ethernet. 

It's 8 x 4-bytes of data per sample. It works out to 3 MB/s or 
24 Mb/s. 

We run continuously with less then 10% load on the system. 
There are plenty of cycles left to monitor and control a number
of  other components connected to this same Overo.

Assuming you need to transmit your 100K x 8 byte array every
second,  that's only 800 kB/s = 6.4 Mb/s. 

Considerably less then what we are doing. Maybe your problem
is not the ethernet, but in the way you are collecting or generating
your data?

If you are trying to transmit data continuously and not just once
a second then yes it's still a problem and this doesn't apply.

Have you considered using single-point floats instead of doubles?

The OMAP cpus handle single-point floats more efficiently.

https://wiki.debian.org/ArmHardFloatPort/VfpComparison
https://pixhawk.ethz.ch/omap/optimization/arm_cortex_a8

(Continue reading)

Larry Martin | 7 Jun 19:09 2014

Re: Need help with Blue LED D3 on Air Storm

For the record, it looks like D3 is associated with system calls and/or 
kernel mode exceptions.  I have a gagdet driver that is doing this 3 or 
4 times per second when not connected to a USB host, as evidenced by 
dmesg entries:

DBG(dev, "rx submit --> %d\n", error);

That about matches the blink rate of D3.  When I plug in the host, the 
messages stop and the blink goes to one every few seconds.  The original 
problem was associated with a software bug that tried to open a 
nonexistent file in /dev often enough that it hogged the CPU.

Larry

Hi, everybody -

I have an application on AirStorm that uses wifi, bluetooth and a gadget 
driver.  I started out last year wih Tobi boards and have since designed 
a custom daughterboard.

The main problem is that the gadget driver cuts out and back in, but 
only with some combinations of AirStorm and daughterboard.  By cutting 
out and back in, I mean the device file disappears and reappears on 
Linux, repeatedly every few seconds.

The best clue I have is the inner blue LED D3 on the AirStorms.  On 
boards that work, D3 blinks on very shortly, every few seconds, and is 
mostly off.  On boards that fail, D3 is on most of the time and seems 
almost random in its pattern.

(Continue reading)

roquelora | 6 Jun 19:31 2014
Picon

Yocto Project - Installing pyserial

Hi everyone,

Right now I want to start using Yocto Project since it looks like it is very
customizable. 

I already installed it in an overo fire following the steps outlined here:
http://www.gumstix.org/create-a-bootable-microsd-card.html

Using the files located here:
https://www.gumstix.com/software/software-downloads/?selection=eyJzb2Z0d2FyZSI6InlvY3RvLXByb2plY3QiLCJidWlsZCI6ImZhY3RvcnkiLCJoYXJkd2FyZSI6Im92ZXJvIn0=

My problem is that I am trying to run a python program that uses pyserial
but I can't install pyserial using smart. I tried smart install py-serial,
python-serial, python-pyserial and always got the same response:
error: 'python-serial/py-serial ...' matches no packages

Is there something that I am doing wrong?
Any help would be appreciated.

Best Regards
Roque

--
View this message in context: http://gumstix.8.x6.nabble.com/Yocto-Project-Installing-pyserial-tp4969238.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
(Continue reading)

Scott Ellis | 6 Jun 15:59 2014

Re: Ethernet DMA on Tobi Board

I'm using my own O/S image built with Yocto. I  added the iperf
package to my  build.

I took  a look and you are right about DMA not being used.

There is no DMA code at all in the smsc911x.c driver, so it's  not
something you can simply enable. 

Maybe it was a design decision since socket packet sizes can vary so
much. Setting up DMA for small transfers might be more expensive
then an assembler 'memcpy' which is effectively how it's done now.

Big block transfers would probably benefit from DMA.

--
View this message in context: http://gumstix.8.x6.nabble.com/Ethernet-DMA-on-Tobi-Board-tp4969215p4969236.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
Michael Bittle | 5 Jun 20:09 2014
Picon
Picon

Errors building gstreamer-ti - do_package_qa Files/Directories were installed but not shipped

Hi everyone. I am having some issues building gstreamer-ti.

I successfully built gumstix-console-image and I grabbed the updated meta-ti
from Scott Ellis's link in this mailing list archive. I am running into the
following issue(s) with ti-dspbios, ti-xdctools and all of the other ti
recipes I assume since it doesn't get past these. This is what is contained
in the error log for ti-xdctools:

ERROR: QA Issue: ti-xdctools: Files/directories were installed but not
shipped
...
... hundreds of folders/filenames
...
DEBUG: Python function populate_packages finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
NOTE: Checking Package: ti-xdctools-dbg
NOTE: Checking Package: ti-xdctools-staticdev
NOTE: Checking Package: ti-xdctools-dev
NOTE: Checking Package: ti-xdctools-doc
NOTE: Checking Package: ti-xdctools-locale
NOTE: Checking Package: ti-xdctools
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
DEBUG: Python function do_package finished
ERROR: Function failed: do_package_qa

I am at a bit of a loss as to what to do now. From what I can gather, the
error 'Files/directories were installed but not shipped' means that a bunch
of files were created but bitbake doesn't know what to do with them because
(Continue reading)

Mel | 5 Jun 13:49 2014
Picon

Bluetooth duovero

Hello, 

I'm working on a project where I want to send music via Bluetooth from one
phone to duovero. 
But actually I can not connect my phone to duovero: the scan from the overo
detect my phone, but my phone doesn't detect the overo and i can't appair
the two devices. 

Console: 
root <at> duovero:~$  hcitool scan 
Scanning ... 
        4C:21:D0:E9:27:63       Xperia SP 
root <at> duovero:~$  hcitool cc 4C:21:D0:E9:27:63 
root <at> duovero:~$  hcitool auth  4C:21:D0:E9:27:63 
Not connected. 

This is my first embedded Linux project so this is fairly new to me, so I'm
just trying to figure this all out. 

Thank you, 

Mélanie.

--
View this message in context: http://gumstix.8.x6.nabble.com/Bluetooth-duovero-tp4969232.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
(Continue reading)

Michael Heidingsfeld | 4 Jun 21:40 2014
Picon

Slow code generation from Simulink

Hi everybody,

I am generating code from Matlab/Simulink for the Gumstix 
Overo AirSTORM using the Simulink support package for 
Gumstix Overo hardware. Even though its working, the whole 
download and build procedure takes an unreasonable long 
time (up to several minutes). As soon as I can start the 
model, everything is working just fine. From your 
experience, is this normal or is there a problem with my 
setup?

Some additional information that might be useful:
- I am connecting to the Gumstix via wifi, since my 
expansion board (Robovero) does not have an Ethernet 
adapter. However, in my opinion the wifi connection 
shouldn't be the bottleneck.
- I do not use the linux version provided by the Simulink 
support package because I have a customized linux running 
on the Overo. Do I need any special settings or packages 
to make it work smoothly?

Thankful for any sort of advice!

Michael

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
(Continue reading)

Scott Ellis | 4 Jun 17:20 2014

Re: Ethernet DMA on Tobi Board

Just checked with iperf, AirStorm COM, 3.2 kernel (because that's
what I'm sitting in front of)

The load shown by top/htop stayed around 35% for the 
entire 5 minutes.

root <at> overo:~# iperf -c 192.168.10.8 -t300
------------------------------------------------------------
Client connecting to 192.168.10.8, TCP port 5001
TCP window size: 19.6 KByte (default)
------------------------------------------------------------
[  3] local 192.168.10.111 port 40817 connected with 192.168.10.8 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-300.0 sec  3.27 GBytes  93.7 Mbits/sec

An 80% load sounds like it might have something to do with how you
are sending the data. You aren't likely to beat iperf, but it's provides a
benchmark for what the system is capable of.

If I'm calculating correctly, 100,000 8-byte points of data should transfer
in about 70 msec at 93.7 Mbits/sec. 

(64 * 100000) / 93,700,000 = 0.068 sec

Is that what you see?

--
View this message in context: http://gumstix.8.x6.nabble.com/Ethernet-DMA-on-Tobi-Board-tp4969215p4969221.html
Sent from the Gumstix mailing list archive at Nabble.com.

(Continue reading)

Tomas Targownik | 4 Jun 03:46 2014

(no subject)

ubsubscribe ttargownik <at> geicp.com

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
krishna | 4 Jun 02:40 2014
Picon

Angstrom build for overo gumstix

Hello,

I am looking for some instructions as to how I can build a Angstrom build
for the overo gumstix board ? 
Can anyone point me to any working set ? 

Thanks,
Krishna

--
View this message in context: http://gumstix.8.x6.nabble.com/Angstrom-build-for-overo-gumstix-tp4969217.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
Niek Kooij | 3 Jun 11:49 2014

touchscreen VS usb OTG port

Hello,

 

I have a weird problem when using the the OTG usb port on a Palo43 board in combination with an Ironstorm and kernel 3.5. When we use the OTG usb port (either a SD card or a wifi module which both seem to work) the touchscreen becomes much less responsive (it is not as fluid). Has anybody experienced this problem? We use the OTG because we were out of USB slots and we forced the OTG port to host mode using this patch I found on this forum:

 

diff --git git/arch/arm/mach-omap2/board-overo.c.orig git/arch/arm/mach-omap2/board-overo.c

index 055e59e..2951be2 100644

--- git/arch/arm/mach-omap2/board-overo.c.orig

+++ git/arch/arm/mach-omap2/board-overo.c

<at> <at> -688,9 +688,14 <at> <at> static void __init overo_opp_init(void)

 

#if defined(CONFIG_USB_MUSB_HDRC) || \

    defined (CONFIG_USB_MUSB_HDRC_MODULE)

+static struct omap_musb_board_data musb_board_data = {

+       .interface_type         = MUSB_INTERFACE_ULPI,

+       .mode                   = MUSB_HOST,

+       .power                  = 500,

+};

static inline void __init overo_init_musb(void)

{

-   usb_musb_init(NULL);

+   usb_musb_init(&musb_board_data);

}

#else

static inline void __init overo_init_musb(void) { return; }

 

We do this because otherwise we need the special OTG mini A connector or we have to do some soldering, now we can just use the mini B connector which is more common. This problem occurs even when you are not using the device connected to the OTG….

 

Greetings Niek

 

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Gmane