Cross compiling SQLite for ARM and MIPS

Following my blog entry about Databases for Linux Embedded Systems, here are the instructions to cross-compile SQlite. First download the latest version of SQLite amalgamation with autoconf script (version 3.75): wget http://www.sqlite.org/sqlite-autoconf-3070500.tar.gz Extract the source code: tar xzvf sqlite-autoconf-3070500.tar.gz Configure and build the source code. I’ll use mipsel-linux-gcc, but any other cross-compiler could be used. cd sqlite-autoconf-3070500 ./configure –host=mipsel-linux –target=mipsel-linux –prefix=/home/jaufranc/edev/sqlite-mips make make install At this point the library is correctly configured and installed, so you’d just need to copy the relevant files to your target board (skip include and share directories and  libsqlite3.a) . Let’s check the size of the required files: ls -l ../sqlite-mips/bin/ -rwxr-xr-x 1 jaufranc jaufranc 125513 2011-03-14 14:21 sqlite ls -l ../sqlite-mips/lib/libsqlite3.so.0.8.6 -rwxr-xr-x 1 jaufranc jaufranc 2087584 2011-03-14 14:21 ../sqlite-mips/lib/libsqlite3.so.0.8.6 sqlite binary is 122.57KB and the dynamic library 2038.65KB. Let’s see if we can optimize the binary size with compilation flags and by disabling some […]

Video Wall with Beagleboards and ffmpeg

There was a 6-Screen Video Wall at Embedded World 2011, powered by 6 Beagleboard xM (based on Texas Instruments OMAP 3 running @ 1Ghz – Cost: 149 USD / piece), connected vi Ethernet. In the video they explain that the system is running Linux Ångström and the video is played and synchronized over Ethernet with ffmpeg. After doing some research on how to do this, they are probably using omapfbplay with netsync enabled which you can compile as follows: NETSYNC=y OMAPFB=y make However, if you are using Linux Ångström, omapfbplay with netsync is enabled by default. This can also be done with the first version of Beagleboard (without Ethernet) via USB. They can also control each display independently and synchronize the mouse and keyboard thanks to Synergy. 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 […]

Toshiba Resistive Multi-touch Screen

Toshiba developed a proprietary algorithm for multi-touch resistive touchscreen and they exhibited a demo at Embedded World 2011. The hardware is based around Toshiba TMPA900 (ARM926EJ-S core running at 200 Mhz) and runs embedded Linux. This type of system is aimed at home appliances (washing machine, refrigerator…), industrial and medical applications and can be used with a pen, stylus or gloved hand. For example, a doctor wearing gloves would be able to use multi-touch gestures on such screens whereas it would not be possible on capacitive touchscreens or standard resistive touchscreens. It was not specified but I suppose that technology would only support 2 points since they only showed two fingers gesture in the demo. This should not be a problem for the type of application. An another advantage of this solutions is that it brings multi-touch technology to cost sensitive industrial applications. The technology is still under development and […]

Amahi 6 (Home Digital Assistant) and Amahi Sync Released Today.

Amahi is an open source home digital assistant (HDA) running on Fedora. It is basically a server to manage all your media files (like a NAS), backup your PC’s data and host some private web applications (calendar, wiki, …) with people on your LAN. Amahi is available on several platforms such as Intel and AMD x86 processors and embedded platforms such as Intel Atom (ECOPC N.1)  and Marvell Sheeva ARM processor (Sheevaplug). They’ve released their latest version Amahi 6 today. Here’s what they say about it: Amahi 6.0: Reliability, Reliability, Reliability! Amahi 6.0 brings a plethora of upgrades, reliability fixes and features, and better hardware support, courtesy of Fedora 14. Here are some of the highlights in this release (see the Amahi 6.0 release notes for all the details as well as the upgrade guide from Amahi 5/Fedora 12). Online Synchronization, Server Alerts and Premium Plans! The Amahi Sync and […]

Low Cost Freescale i.MX53 (Cortex A8) Development Board

Possibly inspired by Texas Instruments low cost Beagleboard (OMAP 3 – 129 USD) and Pandaboard (OMAP4 – 179 USD) and the large following in the development community, Freescale announced its own “Quick Start Development Board” based on i.MX53 for a cost of 149 USD. i.MX53 QSD Board Hardware Description Listed Hardware Features of the i.MX53 Quick Start Development Board: Processor i.MX53 1 GHz ARM Cortex-A8 Processor Power management IC 1 GB DDR3 memory Display LVDS connector VGA connector Parallel LCD add-on card (via expansion connector) HDMI add-on card (via expansion connector) Audio SPDIF output via HDMI add-on card Freescale SGTL5000 audio codec Microphone jack Headphone jack Expansion Connector Enables parallel LCD or HDMI output Camera CSI port signals I2C, SSI, SPI signals Connectivity Full-size SD/MMC card slot microSD card slot 7-pin SATA data connector 10/100 Base-T Ethernet port Two High-Speed USB host ports Micro USB device port Debug JTAG connector […]

Databases for Linux Embedded Systems: Berkeley DB and SQLite

Embedded systems often need to use database to store contact information, EPG data and more. Many Linux systems use MySQL, however such a large database management system may not always be appropriate for embedded systems. Hence, there are lightweight database management systems  implementation that are especially suited to embedded systems by their binary footprint, memory footprint and CPU requirements. If you want to develop in C in Linux and your requirement is to have no (or little) license to pay in your application, you could consider Oracle Berkeley DB or SQLite among others. Oracle Berkeley DB (previously Sleepycat Berkeley DB)  is described as follows: Berkeley DB enables the development of custom data management solutions, without the overhead traditionally associated with such custom projects. Berkeley DB provides a collection of well-proven building-block technologies that can be configured to address any application need from the hand-held device to the datacenter, from a […]

Linaro Development Board “Snowball” by ST Ericsson

ST Ericsson unveiled a development board based on Nova A9500 (dual ARM Cortex A9 processor and MALI 400 GPU) at MWC 2011 called Snowball (or SKY-S9500-ULP-CXX) for the embedded Linux community and professional developers. This board was designed by CALAO Systems and can be pre-ordered on their website for 200 USD (SKY-S9500-ULP-C11 / Software Development Kit – SDK) or 300 USD (SKY-S9500-ULP-C01 / Production development Kit – PDK). The difference between the SDK and PDK is that the former has no expansion connectors, no battery backup for RTC and only support serial over USB port (for Linux console). First, some pictures with description of the snowball development board. The full documentations for Snowball development board can be found in Calao Systems File Repository, where you’ll get the bottom and top assembly diagrams for both C01 and C11, the major components datasheet, documentation and some photos. The specifications of the boards: – […]

AMD Embedded G-Series mini-PC, motherboard and thin client

AMD announced its embedded processor G-Series at CES 2011. Here are some products that will be soon available based on this platform. Futjisu Mini-ITX mainboards – models D3003-S1 and D3003-S2 The D3003-S1 motherboard will feature an AMD Single-Core T44R (1.2GHz/9W) and the D3003-S2 an AMD Dual-Core T56N (1.6GHz/18W). Both models will have an onboard ATI graphics card with VGA, DVI, LVDS (D3003-S1 only) and diplayport  (D3003-S2 only) outputs, HD Audio,  dual GbE LAN, serial ATA III RAID, mSATA socket support, USB 2.0, 8 Bit GPIO connector and be designed for fanless operation. Mass production of the boards will start in April 2011. Check the preliminary specifications for details. CompuLab’s fit-PC3 mini-PC Compulab already manufactures the fit-PC2 and fit-PC2i based on the Intel Atom platforms running Linux, Windows XP and Windows 7. The Israel-based company  will embed AMD Embedded G-Series processor in its latest fit-PC3 mini-PC. This “miniature fanless industrial PC” […]

Exit mobile version