mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
8619d7af67
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>
36 lines
883 B
Diff
36 lines
883 B
Diff
--- a/arch/arm/boot/dts/Makefile
|
|
+++ b/arch/arm/boot/dts/Makefile
|
|
@@ -310,6 +310,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \
|
|
kirkwood-db-88f6282.dtb \
|
|
kirkwood-dir665.dtb \
|
|
kirkwood-dns320.dtb \
|
|
+ kirkwood-dns320l.dtb \
|
|
kirkwood-dns325.dtb \
|
|
kirkwood-dockstar.dtb \
|
|
kirkwood-dreamplug.dtb \
|
|
--- a/arch/arm/boot/dts/kirkwood-dns320l.dts
|
|
+++ b/arch/arm/boot/dts/kirkwood-dns320l.dts
|
|
@@ -32,6 +32,13 @@
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
+ aliases {
|
|
+ led-boot = &led_orange_usb;
|
|
+ led-failsafe = &led_orange_usb;
|
|
+ led-running = &led_orange_usb;
|
|
+ led-upgrade = &led_orange_usb;
|
|
+ };
|
|
+
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk";
|
|
stdout-path = &uart0;
|
|
@@ -68,7 +75,7 @@
|
|
linux,default-trigger = "usbport";
|
|
};
|
|
|
|
- orange-usb {
|
|
+ led_orange_usb: orange-usb {
|
|
label = "dns320l:usb:orange";
|
|
gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>;
|
|
};
|