openwrt/target/linux
Konstantin Meshkov 7e829b8209
kirkwood: add support for D-Link DNS-325 A1
The D-Link DNS-325 A1 is NAS with 2x HDD (3.5 inch) bays, 1x 10/100/1000Base-T port and 1x USB 2.0 port

Device specification:

    SoC: Marvell 88F6281-A1 1.2 GHz
    RAM: 256 MB (2xSEC K4T1G084QF-HCF7:128Mx8 @400 CL6)
    Flash: 128 MB (SAMSUNG 946 K9F1G08U0B PCB0)
    SATA: 2x internal SATA II drives
    Ethernet: 1x Gigabit (Marvell 88E1116R-NNC1)
    LED: 7x (white: Power, white/red: Right SATA Activity, USB Activity, Left SATA Activity)
    Key: 3x (Power, Reset, USB Copy/Unmount)
    Serial: 5 pin header (RXD,GAP,3.3V,GND,TXD), (115200,8,N,1), 3.3V TTL
    USB ports: 1x USB 2.0

Flash instruction:

NOTE: this process uses a serial connection. It will upgrade the bootloader and reset the bootloader environment variables

USB flash stick setup

    Format to FAT32 without mbr
    Copy these files to USB flash stick: dlink_dns-325-a1-initramfs-uImage dlink_dns-325-a1-squashfs-factory.bin dlink_dns-325-a1-squashfs-sysupgrade.bin u-boot.kwb (from u-boot-dns325 directory)

NAS setup

    Connect LAN cable between router and NAS device
    Connetc USB flash stick to NAS device
    Connect serial to NAS device

Boot from new u-boot and install it

    $ kwboot -p -b u-boot.kwb -B115200 -t /dev/ttyUSB0
    Power on NAS
    After download copleted and booted NAS device with new u-boot stop in bootloader by pressing any key
    => usb start
    => fatload usb 0 0x1000000 /u-boot.kwb
    => nand erase.part u-boot
    => nand write 0x1000000 u-boot ${filesize}
    => reset

Update MAC address in u-boot env

    Stop in bootloader by pressing any key
    Get your MAC address from label on chassis
    => setenv ethaddr XX:XX:XX:XX:XX:XX
    => saveenv

Install OpenWrt by flashing factory image from u-boot

    => usb start
    => fatload usb 0 0x1000000 /dlink_dns-325-a1-squashfs-factory.bin
    => nand erase.part ubi
    => nand write 0x1000000 ubi ${filesize}
    => reset

Based-on: #9296
Signed-off-by: Konstantin Meshkov <skyline@mail.ru>
[ refresh uboot patches ]
Link: https://github.com/openwrt/openwrt/pull/17924
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-25 15:41:38 +01:00
..
airoha airoha: spi: update en7523 airoha snfi patches & dts 2025-11-20 23:08:39 +01:00
apm821xx apm821xx: drop support for kernel 6.6 2025-11-22 10:11:18 +01:00
armsr armsr: Make kernel modules depend on target 2025-07-26 01:11:21 +02:00
at91 at91: refresh kernel-config sama7 2025-11-22 16:09:31 +01:00
ath79 ath79: re-enable build of TP-Link RE355 v1, RE450 v1 and RE450 v2 2025-11-21 00:03:24 +01:00
bcm27xx kernel: bump 6.12 to 6.12.59 2025-11-25 00:01:11 +01:00
bcm47xx bcm47xx: 6:12: refresh patches 2025-11-17 21:48:55 +01:00
bcm53xx bcm53xx: add 6.12 testing kernel 2025-11-18 12:49:25 +01:00
bcm4908 bcm4908: add 6.12 testing kernel 2025-11-17 21:50:53 +01:00
bmips generic: 6.12: add pending b53 fixes for BCM5325 2025-11-25 13:24:32 +01:00
d1 kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
econet econet: New device: Zyxel PMG5617GA 2025-11-25 00:50:54 +01:00
gemini gemini: Add module for VSC73xx switches 2025-09-15 23:12:56 +02:00
generic generic: 6.12: add pending b53 fixes for BCM5325 2025-11-25 13:24:32 +01:00
imx imx: drop support for kernel 6.6 2025-11-22 10:11:52 +01:00
ipq40xx kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
ipq806x ipq806x: drop support for kernel 6.6 2025-11-04 19:31:07 +01:00
ixp4xx ixp4xx: Add back Actiontec MI424WR A/C/D 2025-09-26 23:40:40 +02:00
kirkwood kirkwood: add support for D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
layerscape layerscape: remove 6.6 kernel files 2025-11-04 23:19:28 +01:00
loongarch64 loongarch64: switch to Linux 6.12 by default 2025-09-09 00:10:31 +02:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: filogic: increase flash speed on ASUS TUF AX6000 2025-11-24 01:09:13 +01:00
mpc85xx mpc85xx: refresh kernel patch 2025-11-20 10:26:07 +01:00
mvebu kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: drop support for kernel 6.6 2025-11-22 10:16:35 +01:00
pistachio treewide: reset-gpio to reset-gpios 2025-10-08 14:26:24 +02:00
qoriq qoriq: enable 6.12 testing kernel 2025-11-18 19:29:27 +02:00
qualcommax kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
qualcommbe qualcommbe: support 10g-qxgmii in QCA8084 PHY driver 2025-11-11 17:21:54 +01:00
ramips ramips: add support for ipTIME AX2002MESH 2025-11-21 01:49:58 +01:00
realtek realtek: Fix alignment of parameters 2025-11-25 00:28:51 +01:00
rockchip rockchip: LinkEase EasePi R1 use dedicated uboot 2025-11-20 22:24:11 +01:00
sifiveu kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
siflower siflower: add support for Linux 6.12 2025-11-19 20:57:33 +01:00
starfive kernel: bump 6.12 to 6.12.58 2025-11-20 21:30:26 +01:00
stm32 stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00
sunxi sunxi: cortexa53: refresh kernel config 2025-10-20 00:48:11 +02:00
tegra tegra: promote kernel 6.12 as default 2025-11-11 21:23:14 +01:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 x86/64: enable 8250_DW 2025-10-10 10:32:20 +02:00
zynq zynq: add 6.12 testing kernel 2025-11-18 12:47:54 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00