[PATCH v2] ramips: add support for D-Link DAP-X1860 A1
David Bauer
mail at david-bauer.net
Sat Jan 7 04:04:27 PST 2023
Hi Sebastian,
On 1/7/23 12:56, Sebastian Schaper wrote:
[...]
> +&state_default {
> + gpio {
> + groups = "uart2";
> + function = "gpio";
> + };
> +};
> diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
> index dd49583bf4..6492748aed 100644
> --- a/target/linux/ramips/image/mt7621.mk
> +++ b/target/linux/ramips/image/mt7621.mk
> @@ -479,6 +479,27 @@ define Device/cudy_x6
> endef
> TARGET_DEVICES += cudy_x6
>
> +define Device/dlink_dap-x1860-a1
> + $(Device/dsa-migration)
> + IMAGE_SIZE := 53248k
> + DEVICE_VENDOR := D-Link
> + DEVICE_MODEL := DAP-X1860
> + DEVICE_VARIANT := A1
> + UBINIZE_OPTS := -E 5
> + BLOCKSIZE := 128k
> + PAGESIZE := 2048
> + KERNEL_SIZE := 4096k
Considering we have 50 MB of firmware space available, enlarging the
space allocated for the kernel to 8M has the potential of avoiding pain
down the line if the kernel exceeds 4M in size.
Best
David
More information about the openwrt-devel
mailing list