M2M: Low Power Remote Sensing Whitepaper

powerpole

Collect data, video, and audio anywhere with a powerful, low-power miniature Single Board Computer (SBC) made by Gateworks. This white paper discusses the use of a miniature, powerful, low-power single board computer (SBC) with multiple networking interfaces to collect data from a variety of sensors (such as temperature and voltage) and video images from a camera. Specific topics discussed include power management, network connectivity, and sensor interfacing. An example application is provided using batteries for power and a camera to take periodic snapshots which are uploaded using the FTP protocol to a website for monitoring. Gateworks has published a variety of whitepapers, all of which can be seen at the below link: http://www.gateworks.com/whitepapers

 

OpenWrt Laguna Ethernet Latency Bug Fix

Under certain high load conditions in OpenWrt, using dual-core Laguna products, Ethernet ping latencies could grow to an unacceptable value. After investigation, Gateworks found an SMP race condition as the cause in the CNS3xxx Ethernet driver in Gateworks’ 13-06 and trunk OpenWrt BSPs. Note that the 12-10 OpenWrt BSP is not affected. Gateworks has resolved the issue with upstream patches to OpenWrt:
https://dev.openwrt.org/changeset/39761/trunk/target/linux/cns3xxx
https://dev.openwrt.org/changeset/39762/trunk/target/linux/cns3xxx

These fixes have been committed in both the Gateworks 13-06 branch and trunk. Additionally, the prebuilt 13-06 binary firmware images have been updated and they are located here: Laguna Binary Images.

Gateworks recommends all customers using dual-core Laguna products update their firmware.

Floating Point Math on ARM CPUs

From time to time we get questions about floating point math on ARM
CPU’s. As it turns out this is a rather advanced topic that deserves
some discussion, so we recently put all of our notes and experiences into
a Wiki article that we felt was worth blogging about.

To make a long story short, many users get confused about the various
GNU Compiler (gcc) options for floating point. The most common
misconception is that ‘-mfloat-abi=softfp’ means that you are using
software floatingpoint math when in fact that produces binaries that
use hard float acceleration (as specified by the -mfp) agument but
with a function calling convention compatible with software floating
point. This allows the mixing of binaries and libraries that were
built for soft float vs hard float and is very useful if you are
trying to build a OS distribution that runs on a wide variety of
CPU’s. However, if you really want to squeeze the most out of your
ARM CPU that has hardware floating point support you can
achieve performance boosts (under most circumstances) by compiling
with -‘mfloat-abi=hard’ (which also means you will not be compatible
with binaries built with soft float). Also, keep in mind that your
Linux kernel must have VFP support if using hard float.

To see all the intricate details please visit our floating point wiki page
here:http://trac.gateworks.com/wiki/floatingpoint