|
|
@@ -88,6 +88,12 @@ define Build/luxul-lxl
|
|
|
mv [email protected] $@
|
|
|
endef
|
|
|
|
|
|
+# Outputs a lzma compressed U-Boot that start at 0x00008000
|
|
|
+# just like the D-Link boot loaders expect
|
|
|
+define Build/dlink-uboot-bin
|
|
|
+ $(STAGING_DIR_HOST)/bin/lzma e $(STAGING_DIR_IMAGE)/$(DEVICE_NAME)-u-boot.bin -d16 $@
|
|
|
+endef
|
|
|
+
|
|
|
define Build/seama-nand
|
|
|
# Seama entity
|
|
|
$(STAGING_DIR_HOST)/bin/oseama \
|
|
|
@@ -274,6 +280,21 @@ define Device/dlink_dir-885l
|
|
|
endef
|
|
|
TARGET_DEVICES += dlink_dir-885l
|
|
|
|
|
|
+define Device/dlink_dir-890l
|
|
|
+ DEVICE_VENDOR := D-Link
|
|
|
+ DEVICE_MODEL := DIR-890L
|
|
|
+ DEVICE_PACKAGES := $(BRCMFMAC_43602A1) $(USB2_PACKAGES) $(USB3_PACKAGES)
|
|
|
+ # Layout: U-boot (128kb max) followed by kernel and appended DTB.
|
|
|
+ # This is done because the boot loader will only read the first 2 MB
|
|
|
+ # from the flash and decompress the LZMA it finds there after the
|
|
|
+ # SEAMA header. Since the compressed kernel will not fit in 2 MB,
|
|
|
+ # we put U-Boot there and let U-Boot read and execute the kernel.
|
|
|
+ KERNEL := dlink-uboot-bin | pad-to 128k | append-kernel | append-dtb
|
|
|
+ $(Device/dlink)
|
|
|
+ SIGNATURE := wrgac36_dlink.2013gui_dir890
|
|
|
+endef
|
|
|
+TARGET_DEVICES += dlink_dir-890l
|
|
|
+
|
|
|
define Device/dlink_dwl-8610ap
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
DEVICE_MODEL := DWL-8610AP
|