Introduction and Practical Use of BusyBox

What is BusyBox? BusyBox is a single executable file that integrates over 400 commonly used Unix commands, known as “the Swiss Army Knife of Embedded Linux”. It compresses the complete Linux toolset into a very small size of only 1-5MB. Core Advantages • Extremely Small Size: The base image is only 1-5MB • Feature-Rich: 400+ … Read more

The Basics of Operating Alpine Linux

Light as a blade, controlling with precision In the previous article (“The Basics of Operating Alpine Linux (2): Installing a ‘Toy’”), we completed the installation of Alpine Linux, creating a minimal experimental environment. Today, we will delve deeper into this “small yet beautiful” world and explore its significant differences from the traditional RHEL series. If … Read more

Setting Up an Embedded HTTP Environment on QEMU-ARM with Access Examples

Those engaged in embedded development know that devices must interact with the outside world via HTTP, such as for data transmission and remote control. Recently, I set up a lightweight HTTP service on a QEMU-emulated ARM Linux system using the httpd included with BusyBox, and I also enabled access from the host. I encountered several … Read more

Mastering Docker End-to-End: Container Management, Nginx Homepage Customization, BusyBox Tool Practice, and Tencent Cloud Repository Deployment

Mastering Docker End-to-End: Container Management, Nginx Homepage Customization, BusyBox Tool Practice, and Tencent Cloud Repository Deployment

Abstract This article focuses on practical operations with Docker, introducing the usage of the docker ps container command, covering the acquisition, operation, and homepage modification of the Nginx image, explaining the features, installation, uninstallation, and operation of the BusyBox tool, and also involving the pulling and pushing of images to Hub and the creation and … Read more

Method for Graphical Configuration of BusyBox on M300

Method for Graphical Configuration of BusyBox on M300

The M300, like most embedded systems, uses BusyBox as an embedded toolbox, providing various basic functionalities ranging from shell to ifconfig. When preparing to add some commands to BusyBox, it is found that the BusyBox on the M300 is a deeply customized version based on version 1.36.1 by Junzheng, and it has been patched. The … Read more

Is TFTP Support in OpenWrt Really That Difficult?

Is TFTP Support in OpenWrt Really That Difficult?

TFTP (Trivial File Transfer Protocol) is a protocol in the TCP/IP protocol suite used for simple file transfers between clients and servers. It provides a straightforward and low-overhead file transfer service, operating on port 69. TFTP is a simple protocol for transferring files, implemented based on the UDP protocol. However, we cannot be certain that … Read more

Compiling the Linux Kernel from Source on Ubuntu 18.04 and Running a BusyBox Filesystem

Compiling the Linux Kernel from Source on Ubuntu 18.04 and Running a BusyBox Filesystem

I previously wrote an article titled: “Reading the Linux Kernel Source: Downloading the Source, Compiling the Kernel, and Running a Minimal System.” However, many fans reported encountering various issues, including but not limited to: Unable to create files, with a message indicating a read-only file system Configuration file errors Unable to mount the root filesystem, … Read more

Injecting Controllable Programs into a Camera via SD Card

Injecting Controllable Programs into a Camera via SD Card

0x01. Camera SD Card Flashing Experience Recently, I researched the SD card flashing function of a camera I have. This camera only supports SD cards formatted as FAT32, so the SD card needs to be formatted to FAT32 first. Additionally, Microsoft limits the maximum capacity of FAT32 to 32GB, so only SD cards not exceeding … Read more

Managing Embedded Linux Device Nodes with Mdev

Managing Embedded Linux Device Nodes with Mdev

Managing Embedded Linux Device Nodes with Mdev What is Mdev? Mdev is a lightweight device management tool provided by BusyBox, designed specifically for resource-constrained embedded systems. It combines the kernel’s devtmpfs functionality with user-space device management capabilities, offering features such as dynamic device node creation, hot-plug support, and device permission management. Compared to a full … Read more

Sharing a Lightweight Command System for Embedded Systems: BusyBox

Sharing a Lightweight Command System for Embedded Systems: BusyBox

As we all know, embedded devices generally have limited storage and resources, which is why a command system for embedded devices called BusyBox has emerged. The characteristic of BusyBox is its powerful functionality while occupying a small storage capacity. Below, I will introduce how to download and compile BusyBox for your embedded device. Introduction to … Read more