openwrt-mirror/package/boot/uboot-tools/uboot-envtools/files
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
..
apm821xx
ath79 ath79: add support for Dell SonicPoint ACi APL27-0B1 2025-07-13 01:03:36 +02:00
fw_defaults
fw_loadenv
fw_printsys
fw_setsys
imx_cortexa7
imx_cortexa9
imx_cortexa53 uboot-envtools: add support for Gateworks venice 2025-07-12 20:24:28 +02:00
ipq40xx ipq40xx: Add support for Linksys MR6350 2025-11-15 11:28:22 +01:00
ipq806x uboot-tools: envtools: ipq806x: add env for IgniteNet SS-W2-AC2600 2025-06-25 02:06:57 +01:00
kirkwood kirkwood: add support for D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq uboot-tools: use ubootenv_add_* functions 2025-06-26 23:12:20 +02:00
layerscape
mediatek_filogic mediatek: add support for Imou HX21 2025-11-21 01:43:09 +01:00
mediatek_mt7622 mediatek: add support for AsiaRF AP7622-WH1 2025-09-18 23:28:59 +02:00
mediatek_mt7623
mediatek_mt7629
mpc85xx
mvebu uboot-tools: use ubootenv_add_* functions 2025-06-26 23:12:20 +02:00
mxs
octeon
oxnas
pistachio
qoriq
qualcommax_ipq50xx qualcommax: ipq50xx: Add support for CMCC PZ-L8 2025-11-12 14:34:07 +01:00
qualcommax_ipq60xx uboot-tools: move ubootenv_add_* functions to common functions 2025-06-26 23:12:20 +02:00
qualcommax_ipq807x uboot-tools: update ubootenv_add_* functions 2025-06-26 23:12:20 +02:00
qualcommbe_ipq95xx uboot-tools: envtools: ipq95xx: use common function 2025-07-13 16:43:34 +02:00
ramips ramips: add support for ipTIME AX2002MESH 2025-11-21 01:49:58 +01:00
realtek uboot-tools: relabel Zyxel devices 2025-10-31 10:33:43 +01:00
rockchip_armv8
uboot-envtools.sh uboot-tools: move ubootenv_add_ubi_default to common functions 2025-06-26 23:12:20 +02:00