aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/dns323
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-04 15:53:55 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-04 15:53:55 +0000
commitb47fc0f936c0a49c4dc88621d3f48a62c82fb98a (patch)
tree87b04ae84b14f22b3eae5375d597e5aa79af9375 /target/linux/orion/dns323
parent90e89bf4a9161a157b880f6b5f562b6568f28ee3 (diff)
downloadupstream-b47fc0f936c0a49c4dc88621d3f48a62c82fb98a.tar.gz
upstream-b47fc0f936c0a49c4dc88621d3f48a62c82fb98a.tar.bz2
upstream-b47fc0f936c0a49c4dc88621d3f48a62c82fb98a.zip
add support for D-Link DNS-323
this patch adds support for D-Link DNS323 storage device. You can find more info here: http://dns323.lukaperkov.net/ Currently you need serial cable to flash OpenWrt on DNS-323. Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net > SVN-Revision: 31198
Diffstat (limited to 'target/linux/orion/dns323')
-rw-r--r--target/linux/orion/dns323/base-files/etc/config/network12
-rw-r--r--target/linux/orion/dns323/config-default54
-rw-r--r--target/linux/orion/dns323/target.mk6
3 files changed, 72 insertions, 0 deletions
diff --git a/target/linux/orion/dns323/base-files/etc/config/network b/target/linux/orion/dns323/base-files/etc/config/network
new file mode 100644
index 0000000000..8bdd3b060b
--- /dev/null
+++ b/target/linux/orion/dns323/base-files/etc/config/network
@@ -0,0 +1,12 @@
+# Copyright (C) 2010 OpenWrt.org
+
+config interface loopback
+ option ifname lo
+ option proto static
+ option ipaddr 127.0.0.1
+ option netmask 255.0.0.0
+
+config interface eth0
+ option ifname eth0
+ option proto dhcp
+ option hostname dns323
diff --git a/target/linux/orion/dns323/config-default b/target/linux/orion/dns323/config-default
new file mode 100644
index 0000000000..c5ec9592bb
--- /dev/null
+++ b/target/linux/orion/dns323/config-default
@@ -0,0 +1,54 @@
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_ATA=y
+CONFIG_ATAGS_PROC=y
+CONFIG_BLK_DEV_DM=y
+CONFIG_BLK_DEV_MD=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_CMDLINE="root=/dev/mtdblock3 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"
+CONFIG_CPU_PABRT_LEGACY=y
+CONFIG_CPU_TLB_FEROCEON=y
+CONFIG_CRC16=y
+CONFIG_CRYPTO_AEAD2=y
+CONFIG_CRYPTO_AES=y
+CONFIG_CRYPTO_BLKCIPHER=y
+CONFIG_CRYPTO_BLKCIPHER2=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_HASH2=y
+CONFIG_CRYPTO_MANAGER=y
+CONFIG_CRYPTO_MANAGER2=y
+CONFIG_CRYPTO_RNG2=y
+CONFIG_CRYPTO_WORKQUEUE=y
+CONFIG_DM_CRYPT=y
+CONFIG_DM_MIRROR=y
+CONFIG_DM_SNAPSHOT=y
+CONFIG_EXPORTFS=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS=y
+CONFIG_GPIO_DEVICE=y
+CONFIG_HAVE_PERF_EVENTS=y
+CONFIG_HAVE_PROC_CPU=y
+CONFIG_INET_LRO=y
+CONFIG_INPUT=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_GPIO_BUTTONS=y
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_JBD=y
+CONFIG_JBD2=y
+CONFIG_KEXEC=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_MD=y
+CONFIG_MD_AUTODETECT=y
+CONFIG_MD_LINEAR=y
+CONFIG_MD_RAID0=y
+CONFIG_MD_RAID1=y
+CONFIG_NLS=y
+CONFIG_RTC_DRV_M41T80=y
+CONFIG_RTC_DRV_M41T80_WDT=y
+CONFIG_SATA_MV=y
+CONFIG_SCSI=y
+CONFIG_SCSI_MOD=y
+CONFIG_SENSORS_G760A=y
+CONFIG_SENSORS_LM75=y
+# CONFIG_USB_SUPPORT is not set
+CONFIG_XFS_FS=y
diff --git a/target/linux/orion/dns323/target.mk b/target/linux/orion/dns323/target.mk
new file mode 100644
index 0000000000..25523aee91
--- /dev/null
+++ b/target/linux/orion/dns323/target.mk
@@ -0,0 +1,6 @@
+BOARDNAME:=D-Link DNS-323
+DEFAULT_PACKAGES += -kmod-ath9k -wpad-mini -dnsmasq
+
+define Target/Description
+ Build OpenWrt image for D-Link DNS-323
+endef