Showing Posts From

Tutorial

QEMU SPI NOR flash with SWUpdate recovery

In the QEMU Custom SPI peripheral post the support for SPI controller for Cubieboard was introduced. A custom SPI peripheral was developed to demonstrate basic functionality. QEMU comes with out-of-the-box support for several different SPI peripherals, one of which is the SPI NOR flash memory, modeled after M25P80 chip, but supports different variants, from various manufacturers and memory sizes. ...

Making initramfs image with Yocto

Embedded systems can have different types of persistent (non-volatile) storage, like eMMC, SD card, NOR or NAND flash memory. Each storage type has advantages and disadvantages with regards to the rea ...

Custom SPI peripheral in QEMU

In previous posts the process for creating a custom memory mapped and I2C peripheral in QEMU was shown. In this post we will go through the process of creating a new SPI peripheral, and userspace supp ...

SWUpdate for Cubieboard QEMU

Software update is an important part of design of modern embedded systems. It allows faster time to market, since fixes, security or stability updates or even new features can be pushed to the devices ...

Integrating support for custom QEMU peripherals in Yocto

In the previous posts a custom memory-mapped peripheral was introduced, together with the Linux device driver for it and a userspace application which can be used to interact with it. Besides the memo ...

Custom I2C peripheral in QEMU

QEMU supports creating various peripherals, not only the memory-mapped shown in previous posts. In this post we will go through the process of creating a new I2C peripheral, and userspace support for ...

Linux Device Driver for QEMU custom memory-mapped device

This is part 2 of the Linux device driver development post series. In the previous post the steps for creating a custom memory-mapped peripheral in QEMU were presented. In this post following items wi ...

Creating Custom QEMU Memory Mapped Device

This is part 1 of the Linux device driver development post series. In this post we will cover the following thingsDesigning custom memory-mapped device in QEMU Register map Fitting into Cubieboard mem ...

Yocto for Cubieboard in QEMU - Step-by-step

In the previous post Ubuntu was used as root filesystem. Using Ubuntu as root filesystem is simple and fast to use, but it also has a lot of packages which are not necessary. In this post I will cover ...

Preparing and running QEMU ARM for Cubieboard (Part 2)

This is part 2 of the QEMU Board Emulation post series. In the previous post the basic steps for obtaining and compiling QEMU, U-Boot and Linux were presented. The only part that was missing for the c ...

Preparing and running QEMU ARM for Cubieboard (Part 1)

This is part 1 of QEMU Board Emulation series In this post I will cover the following thingsBuilding QEMU Downloading QEMU source code Configuring and building QEMU Running QEMUGetting toolchain Build ...

Join the Newsletter!

Subscribe to get latest MistraSolutions content by email.