Creating Ubuntu 20.04 Root Filesystem on RK3399

Creating Ubuntu 20.04 Root Filesystem on RK3399

Click the above“Embedded and Linux Matters”, select“Pin/Star Public Account” Benefits and resources delivered immediately The file system that comes with Firefly lacks some basic functional modules, so we can manually create a Ubuntu 20.04 file system. Download Ubuntu Root Filesystem http://cdimage.ubuntu.com/ubuntu-base/releases/ Install Virtual Machine apt-get install qemu-user-static Extract mkdir ubuntu-rootfs tar -xpf ubuntu-base-20.04.5-base-arm64.tar.gz -C ubuntu-rootfs … Read more

Running VxWorks 7 on QEMU: A Beginner’s Guide

Running VxWorks 7 on QEMU: A Beginner's Guide

Running VxWorks on real hardware is not always convenient—development boards can be expensive, and setting up a debugging environment takes time. Fortunately, with QEMU (Quick EMUlator), you can simulate supported platforms on your laptop, allowing you to quickly experience VxWorks 7. This guide will walk you through the setup of running VxWorks on QEMU step … Read more

Setting Up a Debugging Environment for ThreadX RTOS

Setting Up a Debugging Environment for ThreadX RTOS

Setting up a software debugging environment for Cortex-M3 based on QEMU in VSCode.1. Obtain the ThreadX source code https://github.com/eclipse-threadx/threadx 2. Install the compiler and QEMU emulator in WSL sudo apt update sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi gdb-multiarch sudo apt install qemu qemu-system-arm 3. Compilethe ports/cortex_m3/gnu exampleWrite shell build scripts b0.sh and b1.sh for the WSL … Read more

Simplifying Embedded Linux Device Management with Devtmpfs

Simplifying Embedded Linux Device Management with Devtmpfs

Simplifying Embedded Linux Device Management with Devtmpfs What is Devtmpfs? Devtmpfs (Device Temporary File System) is a special file system provided by the Linux kernel that automatically creates device nodes early in the system boot process without user space intervention. This feature was introduced in Linux version 2.6.32 and has become the standard solution for … Read more

Deployment of KVM Virtualization Technology

Deployment of KVM Virtualization Technology

1. What is KVMKVM (Kernel-based Virtual Machine) is an open-source virtualization technology integrated into the Linux kernel. It allows you to transform the Linux kernel itself into a Type-1 (bare-metal) hypervisor, enabling multiple isolated virtual machines (VMs) to run on a single physical host.2. Key Features of KVMThe core of KVM is the Linux kernel … Read more

Debugging the Linux Kernel with QEMU and GDB

Debugging the Linux Kernel with QEMU and GDB

Environment Preparation Environment openEuler 24.03-LTS Installing QEMU yum install -y qemu-system-x86_64 qemu Creating the File System # Format the file system dd if=/dev/zero of=myrootfs.img bs=1M count=4096 mkfs.ext4 myrootfs.img # Install packages mkdir rootfs mount myrootfs.img rootfs/ dnf –installroot=$(pwd)/rootfs install systemd passwd Compiling the Kernel # Download the openEuler kernel source package yumdownloader –source kernel # … Read more

Setting Up a Simulation Environment for IoT Vulnerability Analysis

Setting Up a Simulation Environment for IoT Vulnerability Analysis

AuthorForum Account: A-newFirst of all, I declare that I am just starting to play with IoT, learning about router firmware simulation and vulnerability reproduction. I am a beginner, mainly recording the pitfalls I have encountered. Configuring the dependency environment for running simulated firmware There are also one-click tools like FirmAE, firmware-analysis-toolkit, and firmware-analysis-plus that can … Read more

Windows PCI Device Driver Development Guide: Installing Drivers on QEMU Simulated PCIe Devices

Windows PCI Device Driver Development Guide: Installing Drivers on QEMU Simulated PCIe Devices

To add more functionality to the PCI device driver we wrote, we simulated a test PCIe device on QEMU, allowing us to implement features we wanted, such as DMA and interrupts. For the specific implementation of this PCIe test device, please refer to How to Implement a PCIe Device in QEMU. The Vendor ID and … Read more

Compiling Linux 3.10 with QEMU Simulation and BusyBox

Compiling Linux 3.10 with QEMU Simulation and BusyBox

Since I couldn’t find a complete tutorial on compiling Linux version 3.10 with QEMU simulation, I decided to summarize the entire process myself. My goal is to simulate a router firmware with a Linux 3.10 kernel and a specific version of the cross-compiler. Prerequisites To perform QEMU system simulation, we need at least two files: … Read more

Building an ARM64 Environment Based on QEMU with Buildroot

Building an ARM64 Environment Based on QEMU with Buildroot

Introduction:In the process of IoT penetration testing, it is often necessary to work with various CPU architectures. Tools like FirmAE, firmware-analysis-toolkit, firmadyne, and firmware-analysis-plus are commonly used for one-click firmware emulation. However, in many cases, firmware cannot be emulated, necessitating the collection of various environments or the installation of systems corresponding to the CPU architecture … Read more