diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-28 11:26:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-28 11:26:29 +0000 |
commit | 6d6296e214b052a6a2b5678dcb35669763b4e74f (patch) | |
tree | a92a62cc2bda736b8f48698c4cc8adc81642d0b9 /target/linux/orion | |
parent | 77b9fd52a62f42ce2388a502e795291ae0b18dd5 (diff) | |
download | mtk-20170518-6d6296e214b052a6a2b5678dcb35669763b4e74f.zip mtk-20170518-6d6296e214b052a6a2b5678dcb35669763b4e74f.tar.gz mtk-20170518-6d6296e214b052a6a2b5678dcb35669763b4e74f.tar.bz2 |
orion: add support for the lacie 2big network device
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37059
Diffstat (limited to 'target/linux/orion')
-rw-r--r-- | target/linux/orion/config-default | 6 | ||||
-rw-r--r-- | target/linux/orion/harddisk/config-default | 5 | ||||
-rw-r--r-- | target/linux/orion/image/harddisk.mk | 7 |
3 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/orion/config-default b/target/linux/orion/config-default index 9418e00..cb1d848 100644 --- a/target/linux/orion/config-default +++ b/target/linux/orion/config-default @@ -14,6 +14,7 @@ CONFIG_ARM_NR_BANKS=8 CONFIG_ARM_PATCH_PHYS_VIRT=y # CONFIG_ARM_THUMB is not set # CONFIG_ARPD is not set +CONFIG_AUTO_ZRELADDR=y # CONFIG_CACHE_L2X0 is not set CONFIG_CLKSRC_MMIO=y CONFIG_CMDLINE="rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200" @@ -84,12 +85,12 @@ CONFIG_HAVE_PROC_CPU=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_SCHED_CLOCK=y CONFIG_HAVE_SPARSE_IRQ=y -# CONFIG_HWMON is not set -# CONFIG_I2C_BOARDINFO is not set CONFIG_INET_LRO=y CONFIG_INITRAMFS_SOURCE="" CONFIG_KTIME_SCALAR=y CONFIG_LEDS_GPIO=y +# CONFIG_LZO_COMPRESS is not set +# CONFIG_LZO_DECOMPRESS is not set # CONFIG_MACH_BIGDISK is not set # CONFIG_MACH_D2NET is not set # CONFIG_MACH_DB88F5281 is not set @@ -135,7 +136,6 @@ CONFIG_PERF_USE_VMALLOC=y CONFIG_PHYLIB=y CONFIG_PLAT_ORION=y # CONFIG_PREEMPT_RCU is not set -# CONFIG_RTC_CLASS is not set # CONFIG_SCSI_DMA is not set CONFIG_SPLIT_PTLOCK_CPUS=999999 CONFIG_SYS_SUPPORTS_APM_EMULATION=y diff --git a/target/linux/orion/harddisk/config-default b/target/linux/orion/harddisk/config-default index 73bf55c..a702683 100644 --- a/target/linux/orion/harddisk/config-default +++ b/target/linux/orion/harddisk/config-default @@ -12,6 +12,7 @@ CONFIG_HWMON=y CONFIG_I2C_BOARDINFO=y CONFIG_JBD2=y CONFIG_MACH_DT2=y +CONFIG_MACH_NET2BIG=y CONFIG_MD=y CONFIG_MD_AUTODETECT=y CONFIG_MD_LINEAR=y @@ -24,9 +25,9 @@ CONFIG_NLS=y CONFIG_RTC_CLASS=y CONFIG_SATA_MV=y CONFIG_SCSI=y -CONFIG_SCSI_MOD=y +CONFIG_SCSI_DMA=y CONFIG_USB=y CONFIG_USB_COMMON=y CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_STORAGE=y +# CONFIG_USB_UHCI_HCD is not set diff --git a/target/linux/orion/image/harddisk.mk b/target/linux/orion/image/harddisk.mk index 9f2efad..c74c6b3 100644 --- a/target/linux/orion/image/harddisk.mk +++ b/target/linux/orion/image/harddisk.mk @@ -18,6 +18,13 @@ define Image/BuildKernel -C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \ -d $(KDIR)/dt2-zImage $(KDIR)/dt2-uImage cp $(KDIR)/dt2-uImage $(BIN_DIR)/openwrt-dt2-uImage + # LaCie 2big Network: mach id 2342 (0x926) + echo -en "\x09\x1c\xa0\xe3\x26\x10\x81\xe3" > $(KDIR)/net2big-zImage + cat $(LINUX_DIR)/arch/arm/boot/zImage >> $(KDIR)/net2big-zImage + $(STAGING_DIR_HOST)/bin/mkimage -A arm -O linux -T kernel \ + -C none -a 0x00008000 -e 0x00008000 -n 'Linux-$(LINUX_VERSION)' \ + -d $(KDIR)/net2big-zImage $(KDIR)/net2big-uImage + cp $(KDIR)/net2big-uImage $(BIN_DIR)/openwrt-net2big-uImage endef define Image/Build/Freecom |