Gutembert | 9 Oct 08:26 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
Hi j,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
G Nganpet
--
South Africa
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for j Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:25 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
G Nganpet
--
South Africa
Hi zoso1234,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for zoso1234 Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:26 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
G Nganpet
--
South Africa
Hi zoso1234,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for zoso1234 Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:26 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
G Nganpet
--
South Africa
Hi Alex,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for Alex Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:25 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
Hi Alex,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
G Nganpet
--
South Africa
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for Alex Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:25 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
G Nganpet
--
South Africa
Hi zoso1234,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for zoso1234 Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:26 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
G Nganpet would like to stay in touch on LinkedIn.
Hi zoso1234,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
G Nganpet
--
South Africa
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for zoso1234 Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:25 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
G Nganpet would like to stay in touch on LinkedIn.
G Nganpet
--
South Africa
Hi Dan,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for Dan Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Gutembert | 9 Oct 08:25 2014
Picon

I'd like to add you to my professional network on LinkedIn

 
Hi j,
I'd like to add you to my professional network on LinkedIn.
- G
Confirm that you know G
G Nganpet
--
South Africa
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe
This email was intended for j Gumstix]. Learn why we included this.
If you need assistance or have questions, please contact LinkedIn Customer Service.
© 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA

View this message in context: I'd like to add you to my professional network on LinkedIn
Sent from the Gumstix mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
GumStef | 8 Oct 22:30 2014
Picon

Serial communication and multi-threading issue

Hi,

I am facing a problem while communicating through serial protocol between a
Gumstix Overo and a microcontroller. The problem is similar to the one
published in the following post (in that case, it was for the SPI):
http://gumstix.8.x6.nabble.com/SPI-and-multi-threading-issue-td4969428.html

I use a Linux 3.5.7 distribution patch with PREEMPT-RT. I create threads
with
"pthread_create()" and choose a "SCHED_FIFO" scheduler policy. I also write
some functions to determine the execution time of some portions of code.

I want to read data from the serial device TTYO0 in a high-priority
(SIGRTMAX)
thread #1 running at 1kHz, while a low-priority (SIGRTMAX-1) thread #2 with
high CPU load is running at 100Hz. The thread #1 is woken up every 1ms using
a
POSIX interval timer (timer_settime) and this thread woke up the other
thread
(#2) by sending pthread_kill(th_id, SIGRTMAX-1) if needed.

The serial communication is opened and initialized with the following
commands:

[...]
struct termios wished_port_settings;
struct termios new_port_settings, old_port_settings[22];

FID = open(“\dev\TTYO0”, O_RDWR);
fcntl(FID, F_SETFL, O_NOCTTY | O_NDELAY | O_NONBLOCK | fcntl(FID, F_GETFL));
ioctl(FID, TIOCGSERIAL, &serial);
serial.flags |= ASYNC_LOW_LATENCY;
ioctl(FID, TIOCSSERIAL, &serial);

tcgetattr(FID, old_port_settings);
memset(&wished_port_settings, 0, sizeof(wished_port_settings)); /* clear the
wished struct */
memset(&new_port_settings, 0, sizeof(new_port_settings)); /* clear the new
struct */
wished_port_settings.c_cflag = baudr | CS8 | CLOCAL | CREAD;
wished_port_settings.c_iflag = IGNPAR;
wished_port_settings.c_oflag = 0;
wished_port_settings.c_lflag = 0;
wished_port_settings.c_cc[VMIN] = 0;
wished_port_settings.c_cc[VTIME] = 0;
tcsetattr(FID, TCSANOW, &wished_port_settings);
tcgetattr(FID, &new_port_settings);
[...]

Serial data is read by using the following commands:

THREAD #1:
[...]

tic("RS232_reception", Thread_ID);
fprintf(FID_debug, "First read() call...\n");
n_read = read(FID, index, NbByte));
fprintf(FID_debug, "First read() end...\n");
[...]
while(n_read>0) {
[...]
fprintf(FID_debug, "Second read() call...\n");
n_read = read(FID, index, NbByte));
fprintf(FID_debug, "Second read() end...\n");
[...]
}
toc(Thread_ID);
[...]

The second thread just consists of a long for loop (to simulate high CPU
load):

THREAD #2:
[...]
tic("Step_1", Thread_ID);
for (int i=0; i<NB_LOOP; i++){
temp++;
}
toc(Thread_ID);
[...]

When I run the code I obtained this:

BEGIN Tic(): RS232_reception
First read() call...
BEGIN Tic(): Step_1
END Toc(): Step_1. Elapsed time: 7.110000000 [ms]
TASK 1: Previous Loop execution time: 7.141/10.000 [ms]
First read() end...
Second read() call...
Second read() end...
END Toc(): RS232_reception. Elapsed time: 7.366000000 [ms]

It looks like the "read" function starts reading and, while is waiting for
the entire data, the other pending thread is woken up and do not free the
CPU when the reading is terminated. As a consequence, the thread #1 is
overrunnig.

My first question is: do you know why read() is blocking, even if I set the
flags "O_NDELAY" and "O_NONBLOCK" (when there are several threads)? I just
want to read data which are already available and stop reading immediately
if there are no more data to read.
My second question is: if it is not possible to do so, do you have an idea
how to make read() preempt the CPU just after the reading is finished?

As the problem is very similar to the one described for the SPI
(http://gumstix.8.x6.nabble.com/SPI-and-multi-threading-issue-td4969428.html),
I wanted to enable RT priority for the serial worker thread as suggested in
that post, but the problem is that I don’t know which is the serial driver
called by read().
Does anybody know how can I find it out?

Thanks in advance,
Stef

--
View this message in context: http://gumstix.8.x6.nabble.com/Serial-communication-and-multi-threading-issue-tp4969481.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
gumstix-users mailing list
gumstix-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Ash Charles | 8 Oct 06:43 2014
Picon

Re: Shellshock patch in Overo Angstrom image?

Hi,

The patches for shellshocked are available in openembedded upstrea so
they'll get pulled in automatically to our dev. branch images if they
are not already there.  At the next release, this would be pulled into
the stable image.

--Ash

On Tue, Oct 7, 2014 at 10:28 AM, Brian McKay <brian.mckay <at> mathworks.com> wrote:
> I have a project which uses an Overo COM with the Angstrom linux image
> available here  https://downloads.gumstix.com/feeds/
> <https://downloads.gumstix.com/feeds/>
>
> Can anyone tell me if this has been patched to address the Shellshock
> vulnerbility, or if there are plans to do so?
>
> Thanks,
> -Brian
>
>
>
>
>
> --
> View this message in context: http://gumstix.8.x6.nabble.com/Shellshock-patch-in-Overo-Angstrom-image-tp4969479.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> gumstix-users mailing list
> gumstix-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

Gmane