Full-Scale OTA Upgrade for Allwinner MR536 with OpenWRT

Full-Scale OTA Upgrade for Allwinner MR536 with OpenWRT

The Allwinner MR536 Tina 5.0 OpenWRT OTA upgrade can be achieved through two methods: AB backup and Recovery system. The AB backup method involves burning two copies of uboot, kernel, and rootfs into Flash, and then using uboot environment variables to decide which set to switch between. This method consumes too much Flash space and … Read more

OpenWrt Core Component: libubox (4) – ulog

OpenWrt Core Component: libubox (4) - ulog

This is the fourth article introducing the core component of OpenWrt, libubox. Here, we will discuss the ulog module, which is widely used in the OpenWrt software ecosystem. Almost all core modules in the system utilize it to save logs, so let’s get started.The ulog module is a wrapper for the syslog programming interface. If … Read more

OpenWrt DNS Optimization and Traffic Splitting: An Analysis of DNS Principles

OpenWrt DNS Optimization and Traffic Splitting: An Analysis of DNS Principles

The full name of DNS is “Domain Name System,” which is a fundamental service of the Internet that maps domain names to IP addresses, making it easier for people to access the Internet. However, sometimes custom DNS operations are needed to resolve certain network issues. This article demonstrates how to set up DNS optimization and … Read more

OpenWrt Soft Router: Transforming Ordinary Routers into ‘Smart Brains’ for a Leap in Home Networking!

OpenWrt Soft Router: Transforming Ordinary Routers into 'Smart Brains' for a Leap in Home Networking!

“Why can other people’s networks access the internet scientifically, filter ads, and control devices globally?” The answer may not lie in the speed of the internet itself, but in whether your router is smart enough. This article will guide you step by step on how to upgrade an ordinary home router into a smart soft … Read more

Buildroot Compilation and Porting Practices Based on the Rockchip RK3568 Platform

Buildroot Compilation and Porting Practices Based on the Rockchip RK3568 Platform

Follow our official account for discussions on Buildroot-related technical issues on the RK3568 platform.。 Porting OpenWRT RootFS on RK3568 Buildroot: Basic Network Function Verification Case This article mainly discusses compatibility issues encountered when using Buildroot kernel + OpenWRT rootfs, focusing on network functionalities such as VLAN, bridging, NAT, etc., and introduces how to perform basic … Read more

Mastering OpenWrt: Transform Your Router from a ‘Dumb Box’ to a High-Performance Network Hub!

Mastering OpenWrt: Transform Your Router from a 'Dumb Box' to a High-Performance Network Hub!

Hello everyone! Today, we won’t talk about anything else but a magical tool that can completely transform your router – OpenWrt! Some of you might find the name daunting, thinking it sounds like some high-tech jargon, but simply put, it is an operating system that makes your router incredibly powerful! 1. What is OpenWrt? What … Read more

Modifying/Compiling Kernel and Logging into LuCI on OpenWrt

Modifying/Compiling Kernel and Logging into LuCI on OpenWrt

1. Modify the kernel. In the directory openwrt/imx_openwrt/target/linux/imx/patches-5.15/, there are numerous patch files used to apply patches to the target image. Here, modify the kernel patch. Modify the device tree patch file 0002-add-dts-files.patch +&pcie0{+ pinctrl-names = "default";+ pinctrl-0 = <&pcie0_pinctrl>;+ disable-gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;+ reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;+ clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>,+ <&clk … Read more

Core Components of OpenWrt: libubox (2): Utils

Core Components of OpenWrt: libubox (2): Utils

The utils module in libubox is difficult to categorize because its functions resemble a mixed bag, so I refer to it as miscellaneous tools. It provides some simple utility functions, such as endianness conversion, bit field operations, compiler attribute wrappers, sequential memory allocation functions (calloc_a), static array size macros, assertion/error utility functions, clock time retrieval … Read more

Introduction to the Core Component of OpenWrt: libubox (1)

Introduction to the Core Component of OpenWrt: libubox (1)

During the project development process, many applications require common I/O operations, data structures, and algorithms. If each application needs to rewrite these functionalities, it will inevitably reduce development efficiency and increase the possibility of code instability. Therefore, many large projects develop basic libraries or services for other applications to use. These components are referred to … Read more