QEMU 2.12 Released with Raspberry Pi 3, RISC-V Support

Tweet QEMU is open source machine emulator and virtualizer, which I used in the past at a time when Arm boards were more expensive or hard to get than today, and more recently I tested RISC-V Linux using QEMU (fork). QEMU 2.12 has now been released with some interesting new features including RISC-V support, and initial support for Raspberry Pi 3 machine model. The Changelog is rather long, but some other notable changes include: Cortex-M33 Armv8-M emulation, used by the new mps2-an505 board. Support for various AArch64 v8.1/v8.2/v8.3 extensions. Initial support for Raspberry Pi 3 machine model i.MX7 SoC and i.MX7 Sabre board emulation. Spectre/Meltdown mitigation support for x86/pseries/s390 guest Intel IOMMU support for 48-bit addresses Many SD card emulation cleanups and bugfixes. Etc.. You can get the source code and build instructions in the download page. If you are interested in running Debian on RPI 3 model, or/and want to find out more about RISC-V support, you may want …

How to Run Linux on RISC-V with QEMU Emulator

Tweet RISC-V open source architecture is starting to become more and more interesting thanks the growing RISC-V hardware & software ecosystem, and with the recent release of HiFive Unleashed, we even have a board capable of running Linux. The only problem: it costs $999. But luckily, it’s possible to experiment with Linux on RISC-V without extra hardware, just using your current PC. Imperas offers a commercial solution working on both Windows and Linux that relies on busybear-linux RISC-V Linux root filesystem comprised of busybox and dropbear SSH server. The rootfs also works with QEMU, so I tried it in Ubuntu 16.04. The instructions on Github are quite easy to follow. My computer is powered by an AMD FX8350 processor coupled with 16GB RAM, and the whole process took around 2 hours, so better use the fastest computer possible. It also requires around 26 GB of storage on your build machine. First, let’s create a working directory, and retrieve the RISC-V …

How to Run Ubuntu 16.04 Aarch64 (64-bit ARM) Cloud Images on Your Intel/AMD Linux Computer with QEMU

Tweet With the recent launch of several low cost Cortex A53 development boards, 64-bit ARM hardware is now pretty common and inexpensive, but if you want to run 64-bit ARM code on your x86 Linux computer, Riku Voipio, a software engineer working for Linaro, wrote some instructions to run Ubuntu 16.04 Aarch64 Cloud image in QEMU. Ubuntu cloud images are “the official Ubuntu images and are pre-installed disk images that have been customized by Ubuntu engineering to run on public clouds that provide Ubuntu Certified Images, Openstack, LXD, and more. ”  So the instructions are also useful if you want to easily try such packages on 64-bit ARM platform. I’ve tried those instructions myself on my Ubuntu 14.04 machine with and AMD FX8350 processor, and they worked pretty well, and the only things I had to find out by myself was to install a recent version of qemu. First, we’ll need to install qemu & cloud-utils, and download QEMU EFI …

Run x86 Linux and Windows Applications in Raspberry Pi and other ARM Linux Devices with Exagear

Tweet A few weeks ago, I finally decided to buy a Raspberry Pi 2 board as it could always be useful for some testing, at least for comparison purpose. I ended up buying it from Ebay for $40, as it’s more $3 to $5 more expensive locally. Nevertheless I was not sure what I’ll use it first for, but after seeing a tweet for Exagear Desktop software that allows ARM boards to run x86 Linux or Windows applications, the later through wine. The program is available for Raspberry Pi, Raspberry Pi 2, and ARMv7 devices for $19.95 to $29.95. I asked for version for testing purpose, and I was given a Google Drive link to download Exagear for Raspberry Pi 2, as well as a 3-month trial key. Installation is very easy. I started by downloading and installing Raspbian Jessie the usual way on a 32GB micro SD card. It went pretty smoothly, and after installation I had to run …

How to Build and Run Android L 64-bit ARM in QEMU

Tweet [Nov, 2014 Update: The method below does not seem to work anymore, but a 64-bit ARM emulator “emulator64-arm64” has now landed in AOSP, and updated instructions are available here]. Most people can’t afford Juno Cortex A57/A53 development board, and mobile processors based on the latest 64-bit ARM cores are only expected by early 2015. But thanks to a small team at Linaro, you can now build and run Android L 64-bit ARM in the latest version of QEMU that supports Aarch64. Alex Bennée, an engineer working for Linaro, wrote a blog post in Linaro’s Core Dump blog explaining the Android emulator is actually based on QEMU,  the differences compared to mainline QEMU, the work they’ve done on Android L at Linaro, and most importantly, provided the basic steps showing how to build and try Android L 64-bit ARM (ARMv8) in QEMU. I’ve just done that, but unfortunately, albeit the builds complete, I could not manage to start Android L …

PiCore 5.3 is a Lightweight Linux Distribution for the Raspberry Pi

Tweet My posts providing and give instructions to generate minimal, headless, images for the Raspberry Pi, such as “84 MB Minimal Raspbian ARMHF Image for Raspberry Pi” and “12MB Minimal Image for Raspberry Pi using the Yocto Project” have been relatively popular with people just wanting to have small base to start with the embedded projects. For desktop users, Slitaz for Raspeberry Pi (34MB) is one option, but I’ve just found out there’s also an other alternative with PiCore 5.3, a Linux distribution for the Raspberry Pi based on Tiny Core Linux that’s just 24.7 MB to download. With an image that size, there’s obviously basically no applications installed, you’ve got flwm window manager,  wbar launcher, a control panel, a terminal, a file editor, and that’s about it. There’s no web browser, nor file manager, and you’d have to install the applications you want by yourself using tce-load package manager. If you only need an headless OS, a base (14MB) …

Fedora 20 “Heisenbug” Release Makes ARM a Primary Architecture

Tweet Fedora has been supporting ARM architecture for a while now, but it was only as a secondary architecture without official support. With the recent Fedora 20 release, nicknamed “Heisenbug”, the ARM architecture, more exactly ARMv7 hard float and greater, is promoted to a primary architecture meaning ARMv7 will have the same status as x86 and x86_64 architectures with packages officially build and supported by the Fedora community. What it does not mean however, due to the nature of ARM architecture, is that you can simply download an ISO to install on any ARM platforms, like you would do on an Intel or AMD computer. It’s a little more complicated than that, as it is platform specific, but instructions are available for the Beaglebone Black, Compulab Trimslice, the Wandboard, Calxeda Energycore Midway and Highbank, and Versatile Express in QEMU. You can download images with MATE, KDE, XFCE, LXDE, SOAS desktops, as well as a minimal image without desktop environment @ …

Linaro 13.08 Release With Linux Kernel 3.11 and Android 4.3

Tweet Linaro 13.08 has been released with Linux Kernel 3.11-rc6 (stating), Kernel 3.10.9 (LSK – beta), and Android 4.3. This month is the first release based on Android 4.3, which was only pushed to AOSP at the end of last month. I can also see work on new SoCs/hardware this month with Texas Instruments Keystone II ARM Cortex A15+DSP SoC and Fujitsu AA9 board (Which processor?, I could not find out). A lot of work also appears to have gone in OpenEmbedded, further optimizations have gone into NEON optimized AES encryption in OpenSSL, and more. It’s also the first time I can see a Ubuntu Raring engineering build image for HighBank (Calxeda Energycore). Here are the highlights of this release: Android Engineering Android stack was tuned to achieve 100% CTS pass result on Android 4.3 Analyzing the UEFI EDK II boot loader for Android completed, implementation of fastboot application and USB drivers in progress. Builds and Baselines Linaro Stable Kernel …