mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
d74324e407
This patch improves ath79 support for Netgear WNR612v2. Router functionality becomes identical to ar71xx version. Changes include: * software control over LAN LEDs via sysfs * correct MAC addresses for network interfaces * correct image size in device definition * dts: 'keys' renamed to 'ath9k-keys' * dts: 'label-mac-device' set to eth1 (LAN) * dts: formatting adjustments Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
30 lines
810 B
Makefile
30 lines
810 B
Makefile
include ./common-netgear.mk
|
|
|
|
define Device/netgear_ar7240
|
|
ATH_SOC := ar7240
|
|
NETGEAR_KERNEL_MAGIC := 0x32303631
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
|
|
IMAGE_SIZE := 3712k
|
|
IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
|
|
$(Device/netgear_ath79)
|
|
endef
|
|
|
|
define Device/netgear_wnr612-v2
|
|
$(Device/netgear_ar7240)
|
|
DEVICE_MODEL := WNR612
|
|
DEVICE_VARIANT := v2
|
|
DEVICE_DTS := ar7240_netgear_wnr612-v2
|
|
NETGEAR_BOARD_ID := REALWNR612V2
|
|
SUPPORTED_DEVICES += wnr612-v2
|
|
endef
|
|
TARGET_DEVICES += netgear_wnr612-v2
|
|
|
|
define Device/on_n150r
|
|
$(Device/netgear_ar7240)
|
|
DEVICE_VENDOR := On Networks
|
|
DEVICE_MODEL := N150R
|
|
NETGEAR_BOARD_ID := N150R
|
|
SUPPORTED_DEVICES += n150r
|
|
endef
|
|
TARGET_DEVICES += on_n150r
|