Porting OpenWrt to TP-Link Deco M9 Plus v2: A Comprehensive Guide
Introduction
This guide documents the process of adapting OpenWrt firmware for the TP-Link Deco M9 Plus version 2.0 router, which is based on the Qualcomm IPQ4019 chipset. While OpenWrt already supports the IPQ4019 platform, addding support for a specific device requires careful configuraton of device-specific parameters including memory layout ...
Posted on Sun, 17 May 2026 00:00:51 +0000 by mr.echo
Linux GPIO Subsystem: Legacy vs. Descriptor-Based APIs
Legacy GPIO Interface
Kernel API
/* Device-tree helper */
int of_get_gpio(struct device_node *np, int idx);
/* Pin life-cycle */
int gpio_request(unsigned gpio, const char *label);
void gpio_free(unsigned gpio);
/* Direction */
int gpio_direction_input(unsigned gpio);
int gpio_direction_output(unsigned gpio, int value);
/* Value access */ ...
Posted on Thu, 07 May 2026 08:47:11 +0000 by cdorob