Преглед на файлове

ixp4xx: Add back support for D-Link DSM G600 A

OpenWrt supported the D-Link DSM G600 A in the past. It has
64 MB of RAM and 16 MB of flash so it will run just fine,
and should be quite usable with a rootfs on an external
harddrive.

Signed-off-by: Linus Walleij <[email protected]>
Linus Walleij преди 1 година
родител
ревизия
e7661a808e
променени са 2 файла, в които са добавени 13 реда и са изтрити 0 реда
  1. 1 0
      target/linux/ixp4xx/base-files/etc/board.d/02_network
  2. 12 0
      target/linux/ixp4xx/image/Makefile

+ 1 - 0
target/linux/ixp4xx/base-files/etc/board.d/02_network

@@ -9,6 +9,7 @@ gateworks,gw2348|\
 gateworks,gw2358)
 	ucidef_set_interfaces_lan_wan "eth0" "eth1"
 	;;
+dlink,dsm-g600-a|\
 iom,nas-100d|\
 linksys,nslu2)
 	ucidef_set_interface_lan "eth0" "dhcp"

+ 12 - 0
target/linux/ixp4xx/image/Makefile

@@ -46,6 +46,18 @@ define Device/Default
 	BLOCKSIZE := 128k
 endef
 
+define Device/dlink_dsm_g600_a
+	DEVICE_VENDOR := D-Link
+	DEVICE_MODEL := DSM G600 A
+	DEVICE_PACKAGES := ixp4xx-microcode-ethernet kmod-rtc-pcf8563 kmod-via-velocity kmod-ata-artop kmod-ath5k wpad-basic-mbedtls
+	DEVICE_DTS := intel-ixp42x-dlink-dsm-g600
+	KERNEL := kernel-bin | append-dtb
+	IMAGES := kernel.bin rootfs.bin
+	IMAGE/kernel.bin := append-kernel
+	IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to 128k
+endef
+TARGET_DEVICES += dlink_dsm_g600_a
+
 define Device/freecom_fsg_3
 	DEVICE_VENDOR := Freecom
 	DEVICE_MODEL := FSG-3