Debugging Embedded Linux with GDBserver and Insight (gdb GUI)

Although it it sometimes possible to debug applications using GDB (The GNU Debugger) on the target boards, there is often not enough memory available to run GDB on embedded systems running Linux. To work around this issue, you can use gdbserver to perform remote debugging. Installing and running gdbserver on the target board First of all you need to install gdbserver on the target board. Assuming you use a Debian based distribution:

If you distribution, does not have binary repository, you can download gdb source code and cross-compile gdbserver. Once gdbserver is installed, (cross-)compile your application in debug mode and start gdbserver as follows:

Where target_ip and target_port are respectively the IP address of the board and the chosen TCP port, and prog_dbg, the program under test compile in debug mode (CFLAGS=-g). Remote Debugging with GDB If you are familiar with gdb and prefer to use the command […]

Java SE Server Compiler now Available on ARM

Hardware and software development is going full-steam ahead for ARM servers.  After Calxeda and AppliedMicro server SoCs – based respectively on Cortex A9 and ARMv8 architecture – have been announced and Ubuntu focusing further ARM development on Servers (Calxeda, Marvell and ARMv8), Oracle has released the Java SE server compiler – a throughput optimizing JIT compiler –  for ARMv7. The ARMv7 server compiler is part of Java SE for Embedded 7 Update 2. First, some quick explanations on the 2 JIT compilers available for Java SE: Client: The client compiler is a fast start-up, lightly optimizing compiler. It’s better suited for smaller footprint systems and those running applications that require fast start-up such as Android applications. Server:  The server compiler is optimizing code for throughput and produces highly-optimized code but incurs a start-up cost in achieving that. The server compiler only works on ARMv7 processors with hardfloat (VFPv3 FPU), and  initial […]

Spark: Linux Tablet with KDE based Plasma Active

This must be the very first Linux tablet available on the market. Spark sports an open Linux stack on unlocked hardware and comes with an open content and services market. The user interface is Plasma Active running on KDE. Here are the technical specifications: CPU: ARM AMLogic (Cortex-A9) @ 1 GHz Mali-400 GPU 512 Mo RAM 7″ multi-touch capacitive touchscreen 4 Go Flash SD card slot WiFi, 3G (GSM), HDMI (1080p), 2 mini-USB ports Battery: 3000 mAh at 7,4 volts or 6000 mAh at 4,7 volts Weight: 355 grams You can see Plasma Active interface in the video below: The tablet will cost 200 Euros (about 270 USD). They did not provide availability, but promised further information on Tuesday. You can learn more about the user interface, getting a binary image and/or getting info to development apps for the platform on Plasma Active website. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in […]

Archos Gen8 Firmware Version 2.4.82 Released

Archos has released a new firmware for Archos  28/32/35/43/70/101 internet tablets (Generation 8). This is a bug fix version, no Android 2.3 (Gingerbread) here. Here’s the changelog: Version 2.4.82 – January 25th, 2012 USB host: fix host not working anymore on some A101 units Archos 35 home connect: allow to change temperature unit in weather clock Video: improve playback of some FLV files The firmware can be downloaded at Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.

HUD (Head-Up Display) Comes to Ubuntu 12.04

Ubuntu has announced Head-Up Display (HUD) for Ubuntu 12.04 (Precise Pangolin) a contextual search interface that could, as Canonical expects, ultimately replace menus in Unity applications. So when Ubuntu 12.04 is released in April 2012, it will be the first LTS (Long Term Support) Ubuntu version with the Unity interface and the new HUD feature. I like HUD, as I find it similar to what is done in Windows 7 and what could be done with Google Desktop in Windows XP previously, although Ubuntu HUD goes further as it includes menus in the search. What I would NOT like however, is that they completely remove menus. I’d like to see it as a complement of menus (Which will be the case in 12.04), but this does not seem to be Canonical’s intention for future versions of Ubuntu (12.10 and beyond), as they want to replace menus with HUD. HUD will […]

SPDY Aims to Make the Web Faster and Replace HTTP

SPDY (pronounce “SPeeDY”) is a new protocol designed by Google that aims at making the web faster and eventually replace HTTP. This new protocol is not a new scheme, so it would be transparent to the user and there would not be a new spdy:// prefix and we would still be using http://. It will always be secure and use tcp port 443 instead of 80 (because of transparent proxies messing up with packets). Most of Google products such as Chrome, Android Honeycomb (They can’t say if ICS is using SPDY…) devices and Google’s servers have already using SPDY protocol for some time, and Google reports some encouraging results. The tested 300 sites from the top 1000 Alexa sites and found an average 40% page load improvement. They also reported some labs tests: *PLT stands for “Page Load Times” in the chart above. Google is not the only company using […]

Linaro 12.01 Release with Kernel 3.2 – Android 4.0.3

Linaro has just released version 12.01 based on Linux Kernel 3.2 and Android ICS upgraded to 4.0.3.  A lot of work has been done to have video hardware decoding on OMAP 4 (in GStreamer) enabling Pandaboard to run Ubuntu TV and XBMC with Video HW acceleration. Prebuilt binaries for Linaro GCC and Linaro GDBare now available which means you don’t need to use Ubuntu with Linaro Toolchain. It has been tested with Debian 6.0.2, Fedora 16, openSUSE 12.1 and Red Hat Enterprise Linux Workstation 5.7 and should run on any Linux Standard Base 3.0 compatible distribution. Windows binaries are also available and known to work on Windows XP Pro SP3, Windows Vista Business SP2 and Windows 7 Pro SP1. Here are the highlights of the release: Android Linaro’s ICS has been upgraded to 4.0.3. Linaro Android ICS builds are now optimized using -O3 with the Linaro Toolchain. Click through builds […]

How to Find IP Address Ranges Owned by a Company

If you have a firewall, you may want to whitelist and/or blacklist some IPs depending in the origin. Usually it’s easy to find the owner of an IP address, but how can you find the IP address(es) registered by one specific company ? Let’s say you want to whitelist Technorati bot. A simple way is to go to and enter the company name (e.g. technorati). It will return the IP list as follows: Result Description AS16936 Technorati, Inc. Technorati, Inc. Technorati, Inc. Technorati, Inc. Technorati, Inc. I understand the AS entries correspond to the Internet provider, and the IP address ranges can be added to your firewall (I use CloudFlare service)  whitelist. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in […]