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

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)

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

OpenWrt Compilation Command Record

cp ipq60xx-all.config .config make defconfig make menuconfig # Enter the graphical configuration interface Save and exit: After configuration is complete, press <Esc> until you exit the configuration interface. The system will prompt to save the configuration, choose to save. make oldconfig # Generate configuration based on existing configuration # This method updates and applies your … Read more

Adapting OpenWrt Parental Control Plugin for JD Taiyi Router

Hello everyone, I wonder how many of you are using JD series routers, such as Arthur, Athena, Taiyi, and Luban. The Wireless Treasure routers are characterized by large storage capacity and powerful main chip performance, making them particularly suitable for enthusiasts who enjoy installing a large number of plugins.At the request of fans, today I … Read more

Configuring AP and STA in OpenWrt

To configure a device in OpenWrt to function simultaneously as an AP (Access Point) and STA (Client) for network bridging, the following steps must be completed. This configuration allows the device to connect to an upstream WiFi (STA mode) while providing wireless access to downstream devices (AP mode), enabling network extension or use when a … Read more

The Battle Between ARM and RISC-V

Since the summer of 2010, the Berkeley research team has spent about four years designing and developing a complete new instruction set. This new instruction set is called RISC-V. From its official release in 2014, RISC-V has faced various doubts, but by 2017, the Indian government announced significant funding for RISC-V-based processor projects, making RISC-V … Read more

Practical Implementation of RISC-V Vector Technology in Embedded Systems

In the design of CPU cores, SIMD (Single Instruction Multiple Data) is a commonly used data parallel processing method that operates on multiple data elements simultaneously through a single instruction to enhance the computational efficiency and speed of the processor. SIMD has a wide range of applications, such as image processing, scientific computing, encryption and … Read more

RISC-V: Unstoppable After Fifteen Years

May. Click the blue text to follow us 2025.05 In May 2010, Andrew Waterman, a student at the University of California, Berkeley, sent an email to his professors. After experimenting with various teaching methods for a three-month project, he concluded: They should revive the dying microprocessor architecture DEC Alpha. “I don’t see what new things … Read more