On Tue, May 1, 2018 at 8:44 PM, Roman Yeryomin <ro...@advem.lv> wrote:
> Linus, if you have time, could you check if this helps to bring network up > on dir-685? > https://github.com/yeryomin/openwrt/commit/b0296b1f71bd3d677c931addd6de341203fbf18f Sadly not. At least not outofthebox. I do not know what other devices using the RTL8366RB is doing apart from this. I built the platform with this small-ish patch on top because I needed to extract the zImage: diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile index 25371f6f1358..3e122fc457ae 100644 --- a/target/linux/gemini/image/Makefile +++ b/target/linux/gemini/image/Makefile @@ -7,9 +7,12 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk -# Build the special D-Link DNS-313 header generator tool -# needed to generate the hard disk boot images then -# build D-Link DNS-313 images using the special header tool. +# Just copy the zImage for D-Link DIR-685 +define Build/dir685-images + cp $(IMAGE_KERNEL) $(BIN_DIR)/$(IMG_PREFIX)-dir685-zImage +endef + +# Build D-Link DNS-313 images using the special header tool. # rootfs.tgz and rd.tgz contains nothing, we only need them # to satisfy the boot loader on the device. The zImage is # the only real content. @@ -79,6 +82,8 @@ define Device/dlink-dir-685 DEVICE_TITLE := D-Link DIR-685 Xtreme N Storage Router DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES) \ kmod-switch-rtl8366rb swconfig + IMAGES += dir685-image + IMAGE/dir685-image := dir685-images endef TARGET_DEVICES += dlink-dir-685 But I guess I should work on getting some proper flash image support in place for this device. I plan to repost my mainline RTL8366RB DSA patches after some redesign,they are still not working for me, but at least getting better in all other aspects, except actually providing networking :( Yours, Linus Walleij _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev