How to Transfer files between the Host and Qemu via SSH and NFS

Last week, I wrote a blog post explaining how to copy files to a qemu image by mounting the qemu image in the host. This is only useful if emulated platform does not support networking. If networking is enabled, using SSH (Secure Shell) or NFS (Network File System) is more convenient. Using SSH with Qemu To initiate the SSH connection from qemu, there is actually nothing extra to do as long as you have sshd installed and running on the host. If it is not installed simply run  sudo apt-get install openssh-shell on the host. This will install and automatically sshd. To initiate the SSH connection from the host, you’ll have to redirect the ssh port to an unknown port and start qemu as follow (for overo):

Please refer to Beagleboard Emulator in Ubuntu with Qemu for the detailed instructions on how to setup qemu to emulate beagleboard or […]

UEFI Secure Boot – Windows 8 vs Linux

Last week, Microsoft showcased Windows 8 PCs with super fast boot thanks to the Unified Extensible Firmware Interface (UEFI). The latest UEFI standard, released on April 8, includes a secure boot protocol which will be required for Windows 8 clients. Secure UEFI is intended to thwart rootkit infections by requiring keys before allowing executables or drivers to be loaded onto the device. Problem is, such keys can also be used to keep the PC’s owner from wiping out the current OS and installing another option such as Linux. It all started with slide 11 in one Powerpoint presentation entitled “Delivering a secure and fast boot experience with UEFI”  presented by Arie van der Hoeven, Principal Lead Program Manager Microsoft Corporation during Build conference: Secure boot Current issues with boot Growing class of malware targets the boot path Often the only fix is to reinstall the operating system UEFI and secure […]

Open a File Directly at the Requested Line with Vi

When you compile a program and an error occur, the compiler will report the file name and line number with the error. Usually, I use vi to access the file, then type “:line_num”, for example if I want to jump to line 123, I would type :123 after opening the file. But there is a way to do that directly with vi by using +line_num. For example:  vi +123 code.c To go to the last line, I would normally use the capital letter G when vi is started, but this can be done while opening the file as follows: vi +$ code.c One last tip: To go back at the top of the file in vi, simply use :0 or the capital letter H. 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 […]

99 USD OMAP3 Based Overo Computer On Module by Gumstix

Gumstix has manufactured its Overo COMS based on OMAP3503 and OMAP3530 since 2008. They have now announced a new low cost version named Overa Sand that sells for 115 USD per unit or less than 99 USD per unit for orders of  1,000 units or more. Overo Sand COM is Gumstix’s most basic computer-on-module with 256MB RAM and no on-board NAND. Here are the board specifications and features: Processor: Texas Instruments OMAP 3503 Applications Processor: – ARM Cortex-A8 CPU @ 600 Mhz Memory: 256MB RAM NO On-Board NAND Included Features: microSD card slot TPS65950 Power Management Expandability: via one 140-pin expansion board of Gumstix Overo series or custom, 140-pin expansion board via 27-pin camera board Connections: – (2) 70-pin connectors with 140 signals for: – I2C, PWM lines (6), A/D (6), 1-wire – UART, SPI, Extra MMC lines – Headset, Microphone – Backup battery – High Speed USB Host and […]

How-to Convert a Command Line Result into an Image in Linux

Here’s a technique to convert a command line result into an image in Linux using ImageMagick. You could also do a screenshot (with PrtSrc key) and use Gimp to trim the image, but this method is faster and does not require a graphical interface. The simplest command to convert the result of ifconfig into an image: ifconfig | convert label:@- cmd.png This will give an image with a white background and black text, but If you want to have a black background with white text you can use the following: ifconfig | convert -background black -fill white \ label:@- cmd.png If you want to change the font and the font size: ifconfig | convert -background black -fill white \ -font Helvetica -pointsize 14 \ label:@- cmd.png You can retrieve the list of fonts with this command: convert -list font | grep Font: Finally, use this command to add an extra […]

Texas Instruments AM387X Sitara ARM Cortex A8 Microprocessors

Texas Instruments (TI) has introduced three new AM387x ARM Cortex-A8 microprocessors (MPUs): AM3871, AM3872 and AM3874. TI says these MPUs offer integration of the ARM Cortex-A8 core, peripherals for high-bandwidth connectivity (SATA, D-CAN, PCI Express (PCIe), Gigabit Ethernet switch and more), 3D graphics for enhanced GUIs and display subsystems for camera connectivity and viewing. The AM387x ARM Cortex-A8 MPU can connect to and control IP and CAN networks, HD displays, keyboard, mouse, PC, SD card and various general purpose peripherals, all via one highly integrated processor in an industrial automation application controlling a production line and a high-speed, shared data bus allows for reduced communication overhead and quick access to shared data, which results in reduced chip count, discrete memory costs and printed circuit board (PCB) space compared to separate solutions. Those MPUs are targeted at a variety of fanless applications such as: single board computing, network and communications processing, […]

Chumby NeTV: Open Hardware and Software STB

Althought not officially announced, Chumby is currently developing a Linux-based IPTV media player that can be remotely controlled by a Wi-Fi connected Android device. It will be offered as an open development platform where both software and hardware will be made available to developers. NeTV is built around a Marvell Armada 166 processor clocked at 800 MHZ (88AP166 – Armada 100 Family) with 2GB RAM, a MicroSD slot and Wifi. The media player is powered via micro USB and comes with a 7-button IR remote, although you might prefer to use your Android device to control the device via a WiFi connection.  NeTV STB supports  HD resolution (480p, 720p & 1080p24 “True Cinema”). On the software side, NeTV provides what they call “Smart Event Display” that allows you to receive personalized internet news via Twitter, Facebook and other internet news source. Android users can also enjoy seamless SMS and email […]

Advantech PCM-C3500 Series OMAP35xx SBC

Advantech announced the PCM-C3500 Series single board computers (SBC) powered by TI OMAP3503 or OMAP3530 processors with 128 to 256 MB SDRAM and 1 to 2 GB Flash (optional) . These heatsink-free boards are targeted for various low-power applications in industrial control, HMI/kiosk, medical, and portable applications.The boards will run Windows CE 6.0 (default), Embedded Linux 2.6 and Android 2.2. Here are the specifications for PCM-C3500 SBC: CPU – PCM-C3530: TI OMAP3530 @ 600 MHz / PCM-C3503: TI OMAP3503 @ 600 MHz DSP – Built-in 430-MHz TMS320C64x+™ DSP Core (PCM-C3530 only) 2D/3D Accelerators – OpenGLES 1.1 and 2.0, OpenVG1.0 (PCM-C3530 only) OS – WinCE6.0 English professional version as default, and Linux DRAM – PCM-C3530: 256 MB, PCM-C3503: 128 MB (Optional: 256 MB) Onboard Flash – PCM-C3530: Default 2 GB, (Optional: 0 GB, 1 GB) /PCM-C3503: Default 0 GB, (Optional: 1 GB, 2 GB) RTC Watchdog Power Management – Standard, idle […]

UP 7000 x86 SBC