1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00
openwrt/package/utils
Zoltan HERPAI 8619d7af67 kirkwood: add D-Link DNS-320L support
Dual-slot NAS based on Marvell Kirkwood.

Specifications:
 - Marvell 88F6702 @1GHz
 - 256Mb RAM
 - 128Mb NAND
 - 1x GbE LAN (Marvell 88E1318R)
 - 1x USB 2.0
 - 2x SATA
 - Weltrend WT69P3 ("supervisor" MCU chip)
 - Serial on J2 (115200,8n1)
 - Newer bootROM so kwboot-ing via serial is possible

Notes:
 - The Weltrend MCU is controlled by the package added in utils/dns320l-mcu.
 - The original MAC address is stored in the "mini firmware" image's first
   17 bytes.
 - Compared to the original MTD layout, the uImage+rootfs are now stored in
   a common ubi partition.

Installation:
1. Serial console
 - Connect your levelshifter to the serial console
   on J2 (refer to the wiki page for pinout)
2. Update u-boot
 - Download the u-boot.kwb image for the device
 - Powercycle the NAS
 - Run "kwboot -b u-boot-dns320l/u-boot.kwb /dev/ttyUSB0 -p"
 - Connect to the serial console with minicom
 - tftp 0x0800000 u-boot-dns320l/u-boot.kwb
   (Please note that "PHY reset timed out" seems to be customary
    on kirkwood devices, the egiga0 interface works regardless.)
 - nand erase 0x0 100000
 - nand write 0x0800000 0x0 0x100000
 - reset
3. Install OpenWrt
 - Boot up the initramfs image
 - tftpboot 0x800000 openwrt-kirkwood-generic-dlink_dns320l-initramfs-uImage; bootm 0x800000
 - Download the sysupgrade image and perform sysupgrade

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Reviewed-by: Pawel Dembicki <paweldembicki@gmail.com>
2024-06-01 01:29:09 +02:00
..
adb packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
audit audit: fix compile error on some systems 2024-05-13 10:12:06 +02:00
bcm27xx-utils bcm27xx-utils: update to latest version 2024-05-10 09:17:52 +02:00
bcm4908img bcm4908img: detect Linksys images 2021-10-02 20:26:42 +02:00
bsdiff bsdiff: Add patches for CVEs 2023-10-09 23:42:37 +02:00
busybox busybox: switch to sha256 for passwd 2024-01-20 13:22:58 +00:00
bzip2 bzip2: add linker option LDFLAGS 2019-10-19 12:49:11 +02:00
checkpolicy checkpolicy: update to 3.5 2023-05-18 10:14:13 +02:00
ct-bugcheck ct-bugcheck: report to https://openwrt.org by default 2019-08-18 15:23:25 +00:00
debugcc treewide: package: update missed hashes after switch to ZSTD 2024-04-07 14:56:04 +02:00
dns320l-mcu kirkwood: add D-Link DNS-320L support 2024-06-01 01:29:09 +02:00
dtc dtc: fix compilation with both libraries 2024-03-29 23:42:22 +01:00
e2fsprogs e2fsprogs: add libe2p and development headers 2024-02-26 21:19:10 +01:00
f2fs-tools f2fs-tools: avoid dead symlinks in root 2023-11-25 17:55:03 +01:00
fbtest packages/utils: fbtest fix Makefile 2020-05-28 11:22:22 +02:00
firmware-utils treewide: package: update missed hashes after switch to ZSTD 2024-04-07 14:56:04 +02:00
fitblk fitblk: invert kernel version dependency 2024-03-11 20:17:26 +01:00
fritz-tools fritz-tools: fix segfault in caldata-extract 2023-03-02 17:04:28 +01:00
jboot-tools firmware: add JBOOT based devices config extractor 2018-03-18 22:22:38 +01:00
jsonfilter treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
lua lua: fix CVE-2014-5461 2024-02-17 01:55:21 +01:00
lua5.3 lua5.3: backport CVE fix 2024-02-17 01:55:49 +01:00
mdadm mdadm: fix compilation with musl 1.2.4 2023-05-16 22:54:29 +02:00
mtd-utils mtd-utils: nand-tuils: build and package 'nandbiterrs' 2024-05-08 22:26:02 +01:00
nvram bcm53xx: Linksys EA9200 nvram and 02_network fixes 2023-10-22 11:11:43 +02:00
osafeloader packages: mark packages depending on a target as nonshared 2017-01-24 09:45:05 +01:00
policycoreutils policycoreutils: update to 3.5 2023-05-18 10:14:13 +02:00
px5g-mbedtls px5g-mbedtls: Fix permission of private key 2023-11-07 21:55:55 +01:00
px5g-wolfssl px5g-wolfssl: Fix permission of private key 2023-11-07 21:55:55 +01:00
ravpower-mcu treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
secilc secilc: update to 3.5 2023-05-18 10:14:13 +02:00
spidev_test sdk: add spidev-test to the bundle of userspace sources 2022-07-17 14:19:21 +02:00
ucode ucode: update to Git HEAD (2024-05-09) 2024-05-09 00:56:56 +02:00
ucode-mod-bpf ucode-mod-bpf: add new package for a ucode libbpf binding 2023-01-09 11:35:20 +01:00
uencrypt uencrypt: Fix mbedtls 3.6 compatibility 2024-04-28 21:42:18 +02:00
ugps treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
usbgadget package: new package for usb gadget setup 2023-12-28 13:10:32 +08:00
usbmode usbmode: add Huawei E5785 2024-05-23 22:49:25 +02:00
util-linux util-linux: update to v2.39.3 2023-12-11 15:53:33 +01:00
yafut treewide: update PKG_MIRROR_HASH to zst 2024-04-06 11:24:18 +02:00
zyxel-bootconfig mediatek: add support for ZyXEL NWA50AX Pro 2023-07-21 20:28:13 +02:00