openwrt/target/linux/ramips/image/mt7620.mk

1284 lines
33 KiB
Makefile
Raw Normal View History

#
# MT7620A Profiles
#
include ./common-tp-link.mk
DEVICE_VARS += DLINK_ROM_ID DLINK_FAMILY_MEMBER DLINK_FIRMWARE_SIZE DLINK_IMAGE_OFFSET
define Build/elecom-header
cp $@ $(KDIR)/v_0.0.0.bin
( \
$(MKHASH) md5 $(KDIR)/v_0.0.0.bin && \
echo 458 \
) | $(MKHASH) md5 > $(KDIR)/v_0.0.0.md5
$(STAGING_DIR_HOST)/bin/tar -c \
$(if $(SOURCE_DATE_EPOCH),--mtime=@$(SOURCE_DATE_EPOCH)) \
--owner=0 --group=0 -f $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5
endef
define Device/aigale_ai-br100
SOC := mt7620a
IMAGE_SIZE := 7936k
DEVICE_VENDOR := Aigale
DEVICE_MODEL := Ai-BR100
DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += ai-br100
endef
TARGET_DEVICES += aigale_ai-br100
define Device/alfa-network_ac1200rm
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := AC1200RM
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci uboot-envtools
endef
TARGET_DEVICES += alfa-network_ac1200rm
ramips: add support for ALFA Network R36M-E4G ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform based on MediaTek MT7620A WiSoC. This product is designed for operation with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06) but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses). Specification: - MT7620A (580 MHz) - 64/128/256 MB of RAM (DDR2) - 16/32+ MB of FLASH (SPI NOR) - 2x 10/100 Mbps Ethernet, with passive PoE support (24 V) - 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227) - 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V) - 2x SIM slot (mini, micro) with detect and switch driven by GPIO - 2x u.fl antenna connectors (for Wi-Fi) - 8x LED (7 driven by GPIO) - 2x button (reset, wifi) - 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB - 1x I2C (4-pin, 1.27 mm pitch) header on PCB - 1x LED (8-pin, 1.27 mm pitch) header on PCB - 1x DC jack with lock (12 V) Other: - there is a dedicated, 4-pin connector for optional RTC module (Holtek HT138x) with 'enable' input, not available at the time of preparing support for this board - miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a jumper resistor (R174) is not installed by default - U-Boot selects default SIM slot, based on value of 'default_sim' env variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will work only if both slots are occupied, otherwise U-Boot will always select slot with SIM card inside (user can override it later, in user-space) - U-Boot resets the modem, using PERSTn signal, before starting kernel - this board supports 'dual image' feature (controlled by 'dual_image' U-Boot environment variable) Flash instruction: You can use the 'sysupgrade' image directly in vendor firmware which is based on OpenWrt (make sure to not preserve settings - use 'sysupgrade -n -F ...' command). Alternatively, use web recovery mode in U-Boot: 1. Power the device with reset button pressed, the modem LED will start blinking slowly and after ~3 seconds, when it starts blinking faster, you can release the button. 2. Setup static IP 192.168.1.2/24 on your PC. 3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-10-30 00:10:40 +01:00
define Device/alfa-network_r36m-e4g
SOC := mt7620a
ramips: add support for ALFA Network R36M-E4G ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform based on MediaTek MT7620A WiSoC. This product is designed for operation with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06) but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses). Specification: - MT7620A (580 MHz) - 64/128/256 MB of RAM (DDR2) - 16/32+ MB of FLASH (SPI NOR) - 2x 10/100 Mbps Ethernet, with passive PoE support (24 V) - 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227) - 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V) - 2x SIM slot (mini, micro) with detect and switch driven by GPIO - 2x u.fl antenna connectors (for Wi-Fi) - 8x LED (7 driven by GPIO) - 2x button (reset, wifi) - 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB - 1x I2C (4-pin, 1.27 mm pitch) header on PCB - 1x LED (8-pin, 1.27 mm pitch) header on PCB - 1x DC jack with lock (12 V) Other: - there is a dedicated, 4-pin connector for optional RTC module (Holtek HT138x) with 'enable' input, not available at the time of preparing support for this board - miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a jumper resistor (R174) is not installed by default - U-Boot selects default SIM slot, based on value of 'default_sim' env variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will work only if both slots are occupied, otherwise U-Boot will always select slot with SIM card inside (user can override it later, in user-space) - U-Boot resets the modem, using PERSTn signal, before starting kernel - this board supports 'dual image' feature (controlled by 'dual_image' U-Boot environment variable) Flash instruction: You can use the 'sysupgrade' image directly in vendor firmware which is based on OpenWrt (make sure to not preserve settings - use 'sysupgrade -n -F ...' command). Alternatively, use web recovery mode in U-Boot: 1. Power the device with reset button pressed, the modem LED will start blinking slowly and after ~3 seconds, when it starts blinking faster, you can release the button. 2. Setup static IP 192.168.1.2/24 on your PC. 3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-10-30 00:10:40 +01:00
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := R36M-E4G
DEVICE_PACKAGES := kmod-i2c-ralink kmod-usb2 kmod-usb-ohci uboot-envtools \
uqmi
ramips: add support for ALFA Network R36M-E4G ALFA Network R36M-E4G is a dual-SIM, N300 Wi-Fi, compact size platform based on MediaTek MT7620A WiSoC. This product is designed for operation with 4G modem (can be bought in bundle with Quectel EC25, EG25 or EP06) but supports also Wi-Fi modules (miniPCIe slot has USB and PCIe buses). Specification: - MT7620A (580 MHz) - 64/128/256 MB of RAM (DDR2) - 16/32+ MB of FLASH (SPI NOR) - 2x 10/100 Mbps Ethernet, with passive PoE support (24 V) - 2T2R 2.4 GHz (MT7620A), with ext. LNA (RFFM4227) - 1x miniPCIe slot (with PCIe and USB 2.0 buses and optional 5 V) - 2x SIM slot (mini, micro) with detect and switch driven by GPIO - 2x u.fl antenna connectors (for Wi-Fi) - 8x LED (7 driven by GPIO) - 2x button (reset, wifi) - 2x UART (4-pin/2.54 mm pitch, 10-pin/1.27 mm pitch) headers on PCB - 1x I2C (4-pin, 1.27 mm pitch) header on PCB - 1x LED (8-pin, 1.27 mm pitch) header on PCB - 1x DC jack with lock (12 V) Other: - there is a dedicated, 4-pin connector for optional RTC module (Holtek HT138x) with 'enable' input, not available at the time of preparing support for this board - miniPCIe slot supports additional 5 V supply on pins 47 and 49 but a jumper resistor (R174) is not installed by default - U-Boot selects default SIM slot, based on value of 'default_sim' env variable: '1' or unset -> SIM1 (mini), '2' -> SIM2 (micro). This will work only if both slots are occupied, otherwise U-Boot will always select slot with SIM card inside (user can override it later, in user-space) - U-Boot resets the modem, using PERSTn signal, before starting kernel - this board supports 'dual image' feature (controlled by 'dual_image' U-Boot environment variable) Flash instruction: You can use the 'sysupgrade' image directly in vendor firmware which is based on OpenWrt (make sure to not preserve settings - use 'sysupgrade -n -F ...' command). Alternatively, use web recovery mode in U-Boot: 1. Power the device with reset button pressed, the modem LED will start blinking slowly and after ~3 seconds, when it starts blinking faster, you can release the button. 2. Setup static IP 192.168.1.2/24 on your PC. 3. Go to 192.168.1.1 in browser and upload 'sysupgrade' image. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2019-10-30 00:10:40 +01:00
endef
TARGET_DEVICES += alfa-network_r36m-e4g
define Device/alfa-network_tube-e4g
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := Tube-E4G
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools uqmi -iwinfo \
-kmod-rt2800-soc -wpad-basic-wolfssl
endef
TARGET_DEVICES += alfa-network_tube-e4g
define Device/amit_jboot
DLINK_IMAGE_OFFSET := 0x10000
KERNEL := $(KERNEL_DTB)
IMAGES += factory.bin
IMAGE/sysupgrade.bin := mkdlinkfw | pad-rootfs | append-metadata
IMAGE/factory.bin := mkdlinkfw | pad-rootfs | mkdlinkfw-factory
DEVICE_PACKAGES := jboot-tools kmod-usb2 kmod-usb-ohci
endef
define Device/asus_rp-n53
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Asus
DEVICE_MODEL := RP-N53
DEVICE_PACKAGES := kmod-rt2800-pci
SUPPORTED_DEVICES += rp-n53
endef
TARGET_DEVICES += asus_rp-n53
define Device/asus_rt-ac51u
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Asus
DEVICE_MODEL := RT-AC51U
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += rt-ac51u
endef
TARGET_DEVICES += asus_rt-ac51u
ramips: add support for ASUS RT-AC54U Specification: - CPU: MTK MT7620A - RAM: 64MB - ROM: 16MB SPI Flash Macronix MX25L12835E - WiFi1: MediaTek MT7620A - WiFi2: MediaTek MT7612E - Button: reset, wps - LED: 9 LEDs:Power, WiFi 2.4G,WiFi 5G, USB, LAN1, LAN2, LAN3, LAN4, WAN - Ethernet: 5 ports, 4 LAN + 1 WAN - Other: 1x UART 1x USB2.0 Installation: Update using ASUS Firmware Restoration Tool: 1. Download the ASUS Firmware Restoration Tool but don't open it yet 2. Unplug your computer from the router 3. Put the router into Rescue Mode by: turning the power off, using a pin to press and hold the reset button, then turning the router back on while keeping the reset button pressed for ~5 secs until the power LED starts flashing slowly (which indicates the router has entered Rescue Mode) 4. Important (if you don't do this next step the Asus Firmware Restoration Tool will wrongly assume that the router is not in Rescue Mode and will refuse to flash it): go to the Windows Control Panel and temporarily disable ALL other network adapters except the one you will use to connect your computer to the router 5. For the single adapter you left enabled, temporarily give it the static IP 192.168.1.10 and the subnet mask 255.255.255.0 6. Connect a LAN cable between your computer (make sure to use the Ethernet port of the adapter you've just set up) and port 1 of the router (not the router's WAN port) 7. Rename sysupgrade.bin to factory.trx 8. Open the Asus Firmware Restoration Tool, locate factory.trx and click upload (if Windows shows a compatibility prompt, confirm that the tool worked fine) 9. Flashing and reboot is finished when the power LED stops blinking and stays on MAC assignment based on vendor firmware: 2g 0x4 label 5g 0x8004 label +4 lan 0x22 label +4 wan 0x28 label Signed-off-by: Zhijun You <hujy652@gmail.com> [rebased due to DTSI patch, minor commit message adjustments, fix label MAC address (lan->wan), do spi frequency increase separately] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-14 13:37:40 +02:00
define Device/asus_rt-ac54u
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Asus
DEVICE_MODEL := RT-AC54U
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += asus_rt-ac54u
define Device/asus_rt-n12p
SOC := mt7620n
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Asus
DEVICE_MODEL := RT-N11P/RT-N12+/RT-N12Eb1
SUPPORTED_DEVICES += rt-n12p
endef
TARGET_DEVICES += asus_rt-n12p
define Device/asus_rt-n14u
SOC := mt7620n
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Asus
DEVICE_MODEL := RT-N14u
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += rt-n14u
endef
TARGET_DEVICES += asus_rt-n14u
define Device/bdcom_wap2100-sk
SOC := mt7620a
IMAGE_SIZE := 15808k
DEVICE_VENDOR := BDCOM
DEVICE_MODEL := WAP2100-SK (ZTE ZXECS EBG3130)
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76x2 kmod-mt76x0e \
kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
ramips: Add support for ZTE ZXECS EBG3130 aka BDCOM WAP2100-SK On the bottom sticker it's branded as ZTE ZXECS EBG3130 device, but in factory OpenWrt image it's referenced as BDCOM WAP2100-SK device. Specifications: - SoC: MediaTek MT7620A - RAM: 128 MB - Flash: 16 MB - Ethernet: 5 FE ports - Wireless radio: 2T2R 2.4 GHz and 1T1R 5 GHz (MT7610EN, unsupported) - UART: 1 x UART on PCB marked as J2 (R=RX, T=TX, G=GND) with 115200 8N1 config - LEDs: Power, FE ports 1-5, WPS, USB, RF 2.4G, RF 5G - Other: USB port, SD card slot and 2x external antennas (non-detachable) Flashing instructions: A) The U-Boot has HTTP based firmware upgrade A1) Flashing notes We've identified so far two different batches of units, unfortunately each batch has different U-Boot bootloader flashed with different default environment variables, thus each batch has different IP address for accessing web based firmware updater. * First batch has web based bootloader IP address 1.1.1.1 * Second batch has web based bootloader IP address 192.168.1.250 In case you can't connect to either of those IPs, you can try to get the default IP address via two methods: A1.1) Serial console, then the IP address is visible during the boot ... HTTP server is starting at IP: 1.1.1.1 raspi_read: from:40004 len:6 HTTP server is ready! ... A1.2) Over telnet/SSH using this command: root@bdcom:/# grep ipaddr= /dev/mtd0 ipaddr=1.1.1.1 A2) Flashing with browser * Change IP address of PC to 1.1.1.2 with 255.255.255.0 netmask * Reboot the device and try to reach web based bootloader in the browser with the following URL http://1.1.1.1 * Quickly select the firmware sysupgrade file and click on the `Update firmware` button, this all has to be done within 10 seconds, bootloader doesn't wait any longer If done correctly, the web page should show UPDATE IN PROGRESS page with progress indicator. Once the flashing completes (it takes roughly around 1 minute), the device will reboot to the OpenWrt firmware A3) Flashing with curl sudo ip addr add 1.1.1.2/24 dev eth0 curl \ --verbose \ --retry 3 \ --retry-delay 1 \ --retry-max-time 30 \ --connect-timeout 30 \ --form "firmware=@openwrt-ramips-mt7620-BDCOM-WAP2100-SK-squashfs-sysupgrade.bin" \ http://1.1.1.1 Now power on the router. B) The U-boot is based on Ralink SDK so we can flash the firmware using UART. 1. Configure PC with a static IP address and setup an TFTP server. 2. Put the firmware into the tftp directory. 3. Connect the UART line as described on the PCB (G=GND, R=RX, T=TX) 4. Power up the device and press 2, follow the instruction to set device and tftp server IP address and input the firmware file name. U-boot will then load the firmware and write it into the flash. Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-13 13:10:40 +01:00
endef
TARGET_DEVICES += bdcom_wap2100-sk
ramips: Add support for ZTE ZXECS EBG3130 aka BDCOM WAP2100-SK On the bottom sticker it's branded as ZTE ZXECS EBG3130 device, but in factory OpenWrt image it's referenced as BDCOM WAP2100-SK device. Specifications: - SoC: MediaTek MT7620A - RAM: 128 MB - Flash: 16 MB - Ethernet: 5 FE ports - Wireless radio: 2T2R 2.4 GHz and 1T1R 5 GHz (MT7610EN, unsupported) - UART: 1 x UART on PCB marked as J2 (R=RX, T=TX, G=GND) with 115200 8N1 config - LEDs: Power, FE ports 1-5, WPS, USB, RF 2.4G, RF 5G - Other: USB port, SD card slot and 2x external antennas (non-detachable) Flashing instructions: A) The U-Boot has HTTP based firmware upgrade A1) Flashing notes We've identified so far two different batches of units, unfortunately each batch has different U-Boot bootloader flashed with different default environment variables, thus each batch has different IP address for accessing web based firmware updater. * First batch has web based bootloader IP address 1.1.1.1 * Second batch has web based bootloader IP address 192.168.1.250 In case you can't connect to either of those IPs, you can try to get the default IP address via two methods: A1.1) Serial console, then the IP address is visible during the boot ... HTTP server is starting at IP: 1.1.1.1 raspi_read: from:40004 len:6 HTTP server is ready! ... A1.2) Over telnet/SSH using this command: root@bdcom:/# grep ipaddr= /dev/mtd0 ipaddr=1.1.1.1 A2) Flashing with browser * Change IP address of PC to 1.1.1.2 with 255.255.255.0 netmask * Reboot the device and try to reach web based bootloader in the browser with the following URL http://1.1.1.1 * Quickly select the firmware sysupgrade file and click on the `Update firmware` button, this all has to be done within 10 seconds, bootloader doesn't wait any longer If done correctly, the web page should show UPDATE IN PROGRESS page with progress indicator. Once the flashing completes (it takes roughly around 1 minute), the device will reboot to the OpenWrt firmware A3) Flashing with curl sudo ip addr add 1.1.1.2/24 dev eth0 curl \ --verbose \ --retry 3 \ --retry-delay 1 \ --retry-max-time 30 \ --connect-timeout 30 \ --form "firmware=@openwrt-ramips-mt7620-BDCOM-WAP2100-SK-squashfs-sysupgrade.bin" \ http://1.1.1.1 Now power on the router. B) The U-boot is based on Ralink SDK so we can flash the firmware using UART. 1. Configure PC with a static IP address and setup an TFTP server. 2. Put the firmware into the tftp directory. 3. Connect the UART line as described on the PCB (G=GND, R=RX, T=TX) 4. Power up the device and press 2, follow the instruction to set device and tftp server IP address and input the firmware file name. U-boot will then load the firmware and write it into the flash. Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-13 13:10:40 +01:00
define Device/buffalo_whr-1166d
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WHR-1166D
DEVICE_PACKAGES := kmod-mt76x2
SUPPORTED_DEVICES += whr-1166d
endef
TARGET_DEVICES += buffalo_whr-1166d
define Device/buffalo_whr-300hp2
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WHR-300HP2
SUPPORTED_DEVICES += whr-300hp2
ramips: add support for the HNET C108 The HNET C108 (http://www.szhwtech88.com/Product-product-cid-100-id-4374.html) is a mifi based on MT7602A, which has the following specifications: * CPU: MT7620A * 1x 10/100Mbps Ethernet. * 16 MB Flash. * 64 MB RAM. * 1x USB 2.0 port. Only power is connected, this port is meant for charging other devices. * 1x mini-PCIe slots. * 1x SIM slots. * 1x 2.4Ghz WIFI. * 1x button. * 6000 mAh battery. * 5x controllable LEDs. Works: * Wifi. * Switch. * mini-PCIe slot. Only tested with a USB device (a modem). * SIM slot. * Sysupgrade. * Button (reset). Not working (also applies to the factory firmware): * Wifi LED. It is always switched on, there is no relation to the up/down state or activity of the wireless interface. Not tested: * SD card reader. Notes: * The C108 has no dedicated status LED. I therefore set the LAN LED as status LED. Installation: The router comes pre-installed with OpenWRT, including a variant of Luci. The initial firmware install can be done through this UI, following normal procedure. I.e., access the UI and update the firmware using the sysupgrade-image. Remember to select that you do not want to keep existing settings. Recovery: If you brick the device, the C108 supports recovery using TFTP. Keep the reset button pressed for ~5sec when booting to trigger TFTP. Set the address of the network interface on your machine to 10.10.10.3/24, and rename your image file to Kernal.bin. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-09-06 11:14:16 +02:00
endef
TARGET_DEVICES += buffalo_whr-300hp2
define Device/buffalo_whr-600d
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WHR-600D
DEVICE_PACKAGES := kmod-rt2800-pci
SUPPORTED_DEVICES += whr-600d
endef
TARGET_DEVICES += buffalo_whr-600d
define Device/buffalo_wmr-300
SOC := mt7620n
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Buffalo
DEVICE_MODEL := WMR-300
SUPPORTED_DEVICES += wmr-300
endef
TARGET_DEVICES += buffalo_wmr-300
ramips: add support for the HNET C108 The HNET C108 (http://www.szhwtech88.com/Product-product-cid-100-id-4374.html) is a mifi based on MT7602A, which has the following specifications: * CPU: MT7620A * 1x 10/100Mbps Ethernet. * 16 MB Flash. * 64 MB RAM. * 1x USB 2.0 port. Only power is connected, this port is meant for charging other devices. * 1x mini-PCIe slots. * 1x SIM slots. * 1x 2.4Ghz WIFI. * 1x button. * 6000 mAh battery. * 5x controllable LEDs. Works: * Wifi. * Switch. * mini-PCIe slot. Only tested with a USB device (a modem). * SIM slot. * Sysupgrade. * Button (reset). Not working (also applies to the factory firmware): * Wifi LED. It is always switched on, there is no relation to the up/down state or activity of the wireless interface. Not tested: * SD card reader. Notes: * The C108 has no dedicated status LED. I therefore set the LAN LED as status LED. Installation: The router comes pre-installed with OpenWRT, including a variant of Luci. The initial firmware install can be done through this UI, following normal procedure. I.e., access the UI and update the firmware using the sysupgrade-image. Remember to select that you do not want to keep existing settings. Recovery: If you brick the device, the C108 supports recovery using TFTP. Keep the reset button pressed for ~5sec when booting to trigger TFTP. Set the address of the network interface on your machine to 10.10.10.3/24, and rename your image file to Kernal.bin. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2017-09-06 11:14:16 +02:00
define Device/comfast_cf-wr800n
SOC := mt7620n
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Comfast
DEVICE_MODEL := CF-WR800N
SUPPORTED_DEVICES += cf-wr800n
endef
TARGET_DEVICES += comfast_cf-wr800n
define Device/dlink_dch-m225
$(Device/seama)
SOC := mt7620a
BLOCKSIZE := 4k
SEAMA_SIGNATURE := wapn22_dlink.2013gui_dap1320b
IMAGE_SIZE := 6848k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DCH-M225
DEVICE_PACKAGES := kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink
SUPPORTED_DEVICES += dch-m225
endef
TARGET_DEVICES += dlink_dch-m225
define Device/dlink_dir-510l
$(Device/amit_jboot)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 14208k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DIR-510L
DEVICE_PACKAGES += kmod-mt76x0e
DLINK_ROM_ID := DLK6E3805001
DLINK_FAMILY_MEMBER := 0x6E38
DLINK_FIRMWARE_SIZE := 0xDE0000
DLINK_IMAGE_OFFSET := 0x210000
endef
TARGET_DEVICES += dlink_dir-510l
define Device/dlink_dir-810l
SOC := mt7620a
DEVICE_PACKAGES := kmod-mt76x0e
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DIR-810L
IMAGE_SIZE := 6720k
SUPPORTED_DEVICES += dir-810l
endef
TARGET_DEVICES += dlink_dir-810l
define Device/dlink_dwr-116-a1
$(Device/amit_jboot)
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 8064k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-116
DEVICE_VARIANT := A1/A2
DLINK_ROM_ID := DLK6E3803001
DLINK_FAMILY_MEMBER := 0x6E38
DLINK_FIRMWARE_SIZE := 0x7E0000
endef
TARGET_DEVICES += dlink_dwr-116-a1
define Device/dlink_dwr-118-a1
$(Device/amit_jboot)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 16256k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-118
DEVICE_VARIANT := A1
DEVICE_PACKAGES += kmod-mt76x0e
DLINK_ROM_ID := DLK6E3811001
DLINK_FAMILY_MEMBER := 0x6E38
DLINK_FIRMWARE_SIZE := 0xFE0000
endef
TARGET_DEVICES += dlink_dwr-118-a1
define Device/dlink_dwr-118-a2
$(Device/amit_jboot)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 16256k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-118
DEVICE_VARIANT := A2
DEVICE_PACKAGES += kmod-mt76x2
DLINK_ROM_ID := DLK6E3814001
DLINK_FAMILY_MEMBER := 0x6E38
DLINK_FIRMWARE_SIZE := 0xFE0000
endef
TARGET_DEVICES += dlink_dwr-118-a2
define Device/dlink_dwr-921-c1
$(Device/amit_jboot)
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 16256k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-921
DEVICE_VARIANT := C1
DLINK_ROM_ID := DLK6E2414001
DLINK_FAMILY_MEMBER := 0x6E24
DLINK_FIRMWARE_SIZE := 0xFE0000
DEVICE_PACKAGES += kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
endef
TARGET_DEVICES += dlink_dwr-921-c1
define Device/dlink_dwr-921-c3
$(Device/dlink_dwr-921-c1)
DEVICE_DTS := mt7620n_dlink_dwr-921-c1
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-921
DEVICE_VARIANT := C3
DLINK_ROM_ID := DLK6E2414009
SUPPORTED_DEVICES := dlink,dwr-921-c1
endef
TARGET_DEVICES += dlink_dwr-921-c3
ramips: add support for DLINK DWR-922-E2 Very similar to the DWR-921-C1, except has a telephony/RJ11 port (not sure if supported, I didn't try), wireless router with QMI LTE embedded modem is based on the MT7620N SoC. Specification: * MediaTek MT7620N (580 Mhz) * 64 MB of RAM * 16 MB of FLASH * 802.11bgn radio * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) * 2x external, detachable (LTE) antennas * UART header on PCB (57600 8n1) * 6x LED (GPIO-controlled) * 1x bi-color Signal Strength LED (GPIO-controlled) * 2x button * JBOOT bootloader The status led has been assigned to the dwr-922-e2:green:signalstrength (lte signal strength) led. At the end of the boot it is switched off and is available for lte operation. Works correctly also during sysupgrade operation. Installation: Apply factory image via d-link http web-gui, or via recovery interface: How to recover/revert to OEM firmware: 1.) Push and hold the reset button and turn on the power. Wait until all LEDs start rapidly blinking (~10sec.) 2.) DHCP should give you an IP in the 192.168.123.0/24 subnet, or set one manually 3.) Upload original factory image via JBOOT http interface at IP 192.168.123.254 4.) If http doesn't work, it can be done with curl command: curl -F FN=@XXXXX.bin http://192.168.123.254/upg where XXXXX.bin is name of firmware file. 5.) You can optionally telnet to 192.168.123.254 before or during the upload and it will report the flashing status, memory address etc. 6.) Once web UI and/or telnet says "Success", power cycle the router, or type "reboot" into the telnet session. Signed-off-by: Simon Quigley <squigley@squigley.net> [squashed commits, word wrap commit message, rename signal strenght led name to match what is used for the DWR-921-C1 since they share the led configuration, add label referenced in the aliases node] Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-20 17:47:52 +01:00
define Device/dlink_dwr-922-e2
$(Device/amit_jboot)
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 16256k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-922
DEVICE_VARIANT := E2
ramips: add support for DLINK DWR-922-E2 Very similar to the DWR-921-C1, except has a telephony/RJ11 port (not sure if supported, I didn't try), wireless router with QMI LTE embedded modem is based on the MT7620N SoC. Specification: * MediaTek MT7620N (580 Mhz) * 64 MB of RAM * 16 MB of FLASH * 802.11bgn radio * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) * 2x external, detachable (LTE) antennas * UART header on PCB (57600 8n1) * 6x LED (GPIO-controlled) * 1x bi-color Signal Strength LED (GPIO-controlled) * 2x button * JBOOT bootloader The status led has been assigned to the dwr-922-e2:green:signalstrength (lte signal strength) led. At the end of the boot it is switched off and is available for lte operation. Works correctly also during sysupgrade operation. Installation: Apply factory image via d-link http web-gui, or via recovery interface: How to recover/revert to OEM firmware: 1.) Push and hold the reset button and turn on the power. Wait until all LEDs start rapidly blinking (~10sec.) 2.) DHCP should give you an IP in the 192.168.123.0/24 subnet, or set one manually 3.) Upload original factory image via JBOOT http interface at IP 192.168.123.254 4.) If http doesn't work, it can be done with curl command: curl -F FN=@XXXXX.bin http://192.168.123.254/upg where XXXXX.bin is name of firmware file. 5.) You can optionally telnet to 192.168.123.254 before or during the upload and it will report the flashing status, memory address etc. 6.) Once web UI and/or telnet says "Success", power cycle the router, or type "reboot" into the telnet session. Signed-off-by: Simon Quigley <squigley@squigley.net> [squashed commits, word wrap commit message, rename signal strenght led name to match what is used for the DWR-921-C1 since they share the led configuration, add label referenced in the aliases node] Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-20 17:47:52 +01:00
DLINK_ROM_ID := DLK6E2414005
DLINK_FAMILY_MEMBER := 0x6E24
DLINK_FIRMWARE_SIZE := 0xFE0000
DEVICE_PACKAGES += kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
ramips: add support for DLINK DWR-922-E2 Very similar to the DWR-921-C1, except has a telephony/RJ11 port (not sure if supported, I didn't try), wireless router with QMI LTE embedded modem is based on the MT7620N SoC. Specification: * MediaTek MT7620N (580 Mhz) * 64 MB of RAM * 16 MB of FLASH * 802.11bgn radio * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) * 2x external, detachable (LTE) antennas * UART header on PCB (57600 8n1) * 6x LED (GPIO-controlled) * 1x bi-color Signal Strength LED (GPIO-controlled) * 2x button * JBOOT bootloader The status led has been assigned to the dwr-922-e2:green:signalstrength (lte signal strength) led. At the end of the boot it is switched off and is available for lte operation. Works correctly also during sysupgrade operation. Installation: Apply factory image via d-link http web-gui, or via recovery interface: How to recover/revert to OEM firmware: 1.) Push and hold the reset button and turn on the power. Wait until all LEDs start rapidly blinking (~10sec.) 2.) DHCP should give you an IP in the 192.168.123.0/24 subnet, or set one manually 3.) Upload original factory image via JBOOT http interface at IP 192.168.123.254 4.) If http doesn't work, it can be done with curl command: curl -F FN=@XXXXX.bin http://192.168.123.254/upg where XXXXX.bin is name of firmware file. 5.) You can optionally telnet to 192.168.123.254 before or during the upload and it will report the flashing status, memory address etc. 6.) Once web UI and/or telnet says "Success", power cycle the router, or type "reboot" into the telnet session. Signed-off-by: Simon Quigley <squigley@squigley.net> [squashed commits, word wrap commit message, rename signal strenght led name to match what is used for the DWR-921-C1 since they share the led configuration, add label referenced in the aliases node] Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-12-20 17:47:52 +01:00
endef
TARGET_DEVICES += dlink_dwr-922-e2
define Device/dlink_dwr-960
$(Device/amit_jboot)
SOC := mt7620a
IMAGE_SIZE := 16256k
DEVICE_VENDOR := D-Link
DEVICE_MODEL := DWR-960
DLINK_ROM_ID := DLK6E2429001
DLINK_FAMILY_MEMBER := 0x6E24
DLINK_FIRMWARE_SIZE := 0xFE0000
DEVICE_PACKAGES += kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi \
kmod-mt76x0e
endef
TARGET_DEVICES += dlink_dwr-960
define Device/dovado_tiny-ac
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Dovado
DEVICE_MODEL := Tiny AC
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += tiny-ac
endef
TARGET_DEVICES += dovado_tiny-ac
define Device/edimax_br-6478ac-v2
SOC := mt7620a
DEVICE_VENDOR := Edimax
DEVICE_MODEL := BR-6478AC
DEVICE_VARIANT := V2
BLOCKSIZE := 64k
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7744k
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
edimax-header -s CSYS -m RN68 -f 0x70000 -S 0x01100000 | pad-rootfs | \
append-metadata | check-size
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += edimax_br-6478ac-v2
define Device/edimax_ew-7476rpc
SOC := mt7620a
DEVICE_VENDOR := Edimax
DEVICE_MODEL := EW-7476RPC
BLOCKSIZE := 4k
IMAGE_SIZE := 7744k
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
edimax-header -s CSYS -m RN79 -f 0x70000 -S 0x01100000 | pad-rootfs | \
append-metadata | check-size
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
endef
TARGET_DEVICES += edimax_ew-7476rpc
define Device/edimax_ew-7478ac
SOC := mt7620a
DEVICE_VENDOR := Edimax
DEVICE_MODEL := EW-7478AC
BLOCKSIZE := 4k
IMAGE_SIZE := 7744k
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
edimax-header -s CSYS -m RN70 -f 0x70000 -S 0x01100000 | pad-rootfs | \
append-metadata | check-size
DEVICE_PACKAGES := kmod-mt76x2 kmod-phy-realtek
endef
TARGET_DEVICES += edimax_ew-7478ac
define Device/edimax_ew-7478apc
SOC := mt7620a
DEVICE_VENDOR := Edimax
DEVICE_MODEL := EW-7478APC
BLOCKSIZE := 4k
IMAGE_SIZE := 7744k
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
edimax-header -s CSYS -m RN75 -f 0x70000 -S 0x01100000 | pad-rootfs | \
append-metadata | check-size
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += edimax_ew-7478apc
define Device/elecom_wrh-300cr
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 14272k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | elecom-header
DEVICE_VENDOR := Elecom
DEVICE_MODEL := WRH-300CR
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += wrh-300cr
endef
TARGET_DEVICES += elecom_wrh-300cr
ramips: add support for EnGenius ESR600 The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit Ethernet switch, a gigabit Ethernet WAN port and a USB port. Specification: - Bootloader: U-Boot - SoC: MediaTek MT7620A (600 MHz) - Flash: 16MB, Macronix MX25L12845E - RAM: 64MB, Nanya NT5TU32M16DG-AC - Serial: 115200 baud, no header, 3.3V J2: Vcc (arrow), Gnd, Tx, Rx - USB: USB 2, 5V - Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327 - WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N 300 Mb/s, 2T2R - WiFi1: 2.4 GHz 802.11 b/g/n integrated 300 Mb/s, 2T2R - Antennas: 2 per radio, internal - LEDs: 1 programmable power (amber) 2 programable radio (blue) 1 programable WPS-5G (blue) 1 non-programable WAN activity (blue) 1 unconfigured WPS-2.4G (amber) - Buttons: GPIO: Reset, WPS Installation: Use the OEM web interface to install the ...-factory.dlf image. Use the OpenWRT ...-sysupgrade.bin image for future upgrades. The J2 serial port can be accessed either by soldering in a header, standard 0.1" spacing, or by using pogo-pins against the back side. As configured by the OEM, the U-Boot boot delay is short, however quickly typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP" prompt. The TFTP client is configured by default with client: 192.168.99.9 server: 192.168.99.8 filename: uImageESR600 It will load an OpenWRT initramfs kernel with this method. Known issues: 1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational. LAN1 and LAN2 do not appear to power up. This issue is also present in the Lava LR25G001. 2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED, is not configured in the Device Tree specification. 3) The blue WAN activity LED is not configured in the Device Tree specification as this causes the AR8327 switch to fail to initialize. Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com> [merge conflict in 02_network] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 05:01:29 +02:00
define Device/engenius_esr600
SOC := mt7620a
ramips: add support for EnGenius ESR600 The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit Ethernet switch, a gigabit Ethernet WAN port and a USB port. Specification: - Bootloader: U-Boot - SoC: MediaTek MT7620A (600 MHz) - Flash: 16MB, Macronix MX25L12845E - RAM: 64MB, Nanya NT5TU32M16DG-AC - Serial: 115200 baud, no header, 3.3V J2: Vcc (arrow), Gnd, Tx, Rx - USB: USB 2, 5V - Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327 - WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N 300 Mb/s, 2T2R - WiFi1: 2.4 GHz 802.11 b/g/n integrated 300 Mb/s, 2T2R - Antennas: 2 per radio, internal - LEDs: 1 programmable power (amber) 2 programable radio (blue) 1 programable WPS-5G (blue) 1 non-programable WAN activity (blue) 1 unconfigured WPS-2.4G (amber) - Buttons: GPIO: Reset, WPS Installation: Use the OEM web interface to install the ...-factory.dlf image. Use the OpenWRT ...-sysupgrade.bin image for future upgrades. The J2 serial port can be accessed either by soldering in a header, standard 0.1" spacing, or by using pogo-pins against the back side. As configured by the OEM, the U-Boot boot delay is short, however quickly typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP" prompt. The TFTP client is configured by default with client: 192.168.99.9 server: 192.168.99.8 filename: uImageESR600 It will load an OpenWRT initramfs kernel with this method. Known issues: 1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational. LAN1 and LAN2 do not appear to power up. This issue is also present in the Lava LR25G001. 2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED, is not configured in the Device Tree specification. 3) The blue WAN activity LED is not configured in the Device Tree specification as this causes the AR8327 switch to fail to initialize. Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com> [merge conflict in 02_network] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 05:01:29 +02:00
BLOCKSIZE := 64k
IMAGE_SIZE := 15616k
IMAGES += factory.dlf
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size | \
senao-header -r 0x101 -p 0x57 -t 2
ramips: add support for EnGenius ESR600 The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit Ethernet switch, a gigabit Ethernet WAN port and a USB port. Specification: - Bootloader: U-Boot - SoC: MediaTek MT7620A (600 MHz) - Flash: 16MB, Macronix MX25L12845E - RAM: 64MB, Nanya NT5TU32M16DG-AC - Serial: 115200 baud, no header, 3.3V J2: Vcc (arrow), Gnd, Tx, Rx - USB: USB 2, 5V - Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327 - WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N 300 Mb/s, 2T2R - WiFi1: 2.4 GHz 802.11 b/g/n integrated 300 Mb/s, 2T2R - Antennas: 2 per radio, internal - LEDs: 1 programmable power (amber) 2 programable radio (blue) 1 programable WPS-5G (blue) 1 non-programable WAN activity (blue) 1 unconfigured WPS-2.4G (amber) - Buttons: GPIO: Reset, WPS Installation: Use the OEM web interface to install the ...-factory.dlf image. Use the OpenWRT ...-sysupgrade.bin image for future upgrades. The J2 serial port can be accessed either by soldering in a header, standard 0.1" spacing, or by using pogo-pins against the back side. As configured by the OEM, the U-Boot boot delay is short, however quickly typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP" prompt. The TFTP client is configured by default with client: 192.168.99.9 server: 192.168.99.8 filename: uImageESR600 It will load an OpenWRT initramfs kernel with this method. Known issues: 1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational. LAN1 and LAN2 do not appear to power up. This issue is also present in the Lava LR25G001. 2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED, is not configured in the Device Tree specification. 3) The blue WAN activity LED is not configured in the Device Tree specification as this causes the AR8327 switch to fail to initialize. Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com> [merge conflict in 02_network] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 05:01:29 +02:00
DEVICE_VENDOR := EnGenius
DEVICE_MODEL := ESR600
DEVICE_PACKAGES += kmod-rt2800-pci kmod-usb-storage kmod-usb-ohci \
kmod-usb-ehci
ramips: add support for EnGenius ESR600 The EnGenius ESR600 is a dual band wireless router with a 4-port gigabit Ethernet switch, a gigabit Ethernet WAN port and a USB port. Specification: - Bootloader: U-Boot - SoC: MediaTek MT7620A (600 MHz) - Flash: 16MB, Macronix MX25L12845E - RAM: 64MB, Nanya NT5TU32M16DG-AC - Serial: 115200 baud, no header, 3.3V J2: Vcc (arrow), Gnd, Tx, Rx - USB: USB 2, 5V - Ethernet: 5 x 1 Gb/s 4 LAN 1 WAN, Atheros AR8327 - WiFi0: 5 GHz 802.11 b/g/n Ralink RT5592N 300 Mb/s, 2T2R - WiFi1: 2.4 GHz 802.11 b/g/n integrated 300 Mb/s, 2T2R - Antennas: 2 per radio, internal - LEDs: 1 programmable power (amber) 2 programable radio (blue) 1 programable WPS-5G (blue) 1 non-programable WAN activity (blue) 1 unconfigured WPS-2.4G (amber) - Buttons: GPIO: Reset, WPS Installation: Use the OEM web interface to install the ...-factory.dlf image. Use the OpenWRT ...-sysupgrade.bin image for future upgrades. The J2 serial port can be accessed either by soldering in a header, standard 0.1" spacing, or by using pogo-pins against the back side. As configured by the OEM, the U-Boot boot delay is short, however quickly typing "1" leads to the U-Boot "System load Linux to SDRAM via TFTP" prompt. The TFTP client is configured by default with client: 192.168.99.9 server: 192.168.99.8 filename: uImageESR600 It will load an OpenWRT initramfs kernel with this method. Known issues: 1) Only the ports externally labeled WAN, LAN3 and LAN4 are operational. LAN1 and LAN2 do not appear to power up. This issue is also present in the Lava LR25G001. 2) The amber WPS-2.4G LED, in the same lightguide as the blue WPS-5G LED, is not configured in the Device Tree specification. 3) The blue WAN activity LED is not configured in the Device Tree specification as this causes the AR8327 switch to fail to initialize. Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com> [merge conflict in 02_network] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-20 05:01:29 +02:00
endef
TARGET_DEVICES += engenius_esr600
define Device/fon_fon2601
SOC := mt7620a
IMAGE_SIZE := 15936k
DEVICE_VENDOR := Fon
DEVICE_MODEL := FON2601
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
KERNEL_INITRAMFS := $$(KERNEL) | uimage-padhdr
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | uimage-padhdr | \
pad-rootfs | append-metadata | check-size
endef
TARGET_DEVICES += fon_fon2601
define Device/glinet_gl-mt300a
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 15872k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-MT300A
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += gl-mt300a
endef
TARGET_DEVICES += glinet_gl-mt300a
define Device/glinet_gl-mt300n
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 15872k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-MT300N
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += gl-mt300n
endef
TARGET_DEVICES += glinet_gl-mt300n
define Device/glinet_gl-mt750
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 15872k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-MT750
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += gl-mt750
endef
TARGET_DEVICES += glinet_gl-mt750
define Device/head-weblink_hdrm200
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Head Weblink
DEVICE_MODEL := HDRM2000
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
uqmi kmod-usb-serial-option
endef
TARGET_DEVICES += head-weblink_hdrm200
define Device/hiwifi_hc5661
SOC := mt7620a
IMAGE_SIZE := 15808k
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5661
DEVICE_PACKAGES := kmod-sdhci-mt7620
SUPPORTED_DEVICES += hc5661
endef
TARGET_DEVICES += hiwifi_hc5661
define Device/hiwifi_hc5761
SOC := mt7620a
IMAGE_SIZE := 15808k
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5761
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += hc5761
endef
TARGET_DEVICES += hiwifi_hc5761
define Device/hiwifi_hc5861
SOC := mt7620a
IMAGE_SIZE := 15808k
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5861
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += hc5861
endef
TARGET_DEVICES += hiwifi_hc5861
define Device/hnet_c108
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := HNET
DEVICE_MODEL := C108
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
SUPPORTED_DEVICES += c108
ramips: Add support for Head Weblink HDRM200 Head Weblink HDRM200 is a dual-sim router based on MT7620A. The detailed specifications are: - MT7620A (580MHz) - 64MB RAM - 16MB of flash (SPI NOR) - 6x 10/100Mbps Ethernet (MT7620A built-in switch) - 1x microSD slot - 1x miniPCIe slot (only USB2.0 bus). Device is shipped with a SIMCOM SIM7100E LTE modem. - 2x SIM slots (standard size) - 1x USB2.0 port - 1x 2.4GHz wifi (rt2800) - 1x 5GHz wifi (mt7612) - 1x reset button - 1x WPS button - 3x GPIO-controllable LEDs - 1x 10 pin terminal block (RS232, RS485, 4 x GPIO) Tested: - Ethernet switch - Wifi - USB slot - SD card slot - miniPCIe-slot - sysupgrade - reset button Installation instructions: Installing OpenWRT for the first time requires a bit of work, as the board does not ship with OpenWRT. In addition, the bootloader automatically reboots when installing an image over tftp. In order to install OpenWRT on the HDRM200, you need to do the following: * Copy the initramfs-image to your tftp-root (default filename is test.bin) and configure networking accordingly (default server IP is 10.10.10.3, client 10.10.10.123). Start your tftp server. * Open the board and connect to UART. The pins are exposed and clearly marked. * Boot the board and press 1. * Either use the default filename and client/server IP-addresses, or specify your own. The image should now be loaded to memory and board boot. If the router reboots while the image is loading, you need to try again. Once the board has booted, copy the sysupgrade-image to the router and run sysupgrade in order to install OpenWRT to the flash. Notes: - You control which SIM slot to use by writing 0/1 to /sys/class/gpio/gpio0/value. In order for the change to take effect, you can either use AT-commands (AT+CFUN) or power-cycle the modem (write 0/1 to /sys/class/gpio/gpio21/value). - RS485 is available on /dev/ttyS0. - RS232 is available on /dev/ttyS1. - The name of the ioX-gpios map to the labels on the casing. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> [fixed whitespace issue and merge conflict in target.mk] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-05-15 20:50:45 +02:00
endef
TARGET_DEVICES += hnet_c108
ramips: Add support for Head Weblink HDRM200 Head Weblink HDRM200 is a dual-sim router based on MT7620A. The detailed specifications are: - MT7620A (580MHz) - 64MB RAM - 16MB of flash (SPI NOR) - 6x 10/100Mbps Ethernet (MT7620A built-in switch) - 1x microSD slot - 1x miniPCIe slot (only USB2.0 bus). Device is shipped with a SIMCOM SIM7100E LTE modem. - 2x SIM slots (standard size) - 1x USB2.0 port - 1x 2.4GHz wifi (rt2800) - 1x 5GHz wifi (mt7612) - 1x reset button - 1x WPS button - 3x GPIO-controllable LEDs - 1x 10 pin terminal block (RS232, RS485, 4 x GPIO) Tested: - Ethernet switch - Wifi - USB slot - SD card slot - miniPCIe-slot - sysupgrade - reset button Installation instructions: Installing OpenWRT for the first time requires a bit of work, as the board does not ship with OpenWRT. In addition, the bootloader automatically reboots when installing an image over tftp. In order to install OpenWRT on the HDRM200, you need to do the following: * Copy the initramfs-image to your tftp-root (default filename is test.bin) and configure networking accordingly (default server IP is 10.10.10.3, client 10.10.10.123). Start your tftp server. * Open the board and connect to UART. The pins are exposed and clearly marked. * Boot the board and press 1. * Either use the default filename and client/server IP-addresses, or specify your own. The image should now be loaded to memory and board boot. If the router reboots while the image is loading, you need to try again. Once the board has booted, copy the sysupgrade-image to the router and run sysupgrade in order to install OpenWRT to the flash. Notes: - You control which SIM slot to use by writing 0/1 to /sys/class/gpio/gpio0/value. In order for the change to take effect, you can either use AT-commands (AT+CFUN) or power-cycle the modem (write 0/1 to /sys/class/gpio/gpio21/value). - RS485 is available on /dev/ttyS0. - RS232 is available on /dev/ttyS1. - The name of the ioX-gpios map to the labels on the casing. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> [fixed whitespace issue and merge conflict in target.mk] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-05-15 20:50:45 +02:00
ramips: fix partitions and boot for RAVPower RP-WD03 The RAVPower RP-WD03 is a battery powered router, with an Ethernet and USB port. Due due a limitation in the vendor supplied U-Boot bootloader, we cannot exceed a 1.5 MB kernel size, as is the case with recent builds (i.e. post v19.07). This breaks both factory and sysupgrade images. To address this, use the lzma loader (loader-okli) to work around this limitation. The improvements here also address the "misplaced" U-Boot environment partition, which is located between the kernel and rootfs in the stock image / implementation. This is addressed by making use of mtd-concat, maximizing space available in the booted image. This will make sysupgrade from earlier versions impossible. Changes are based on the recently supported HooToo HT-TM05, as the hardware is almost identical (except for RAM size) and is from the same vendor (SunValley). While at it, also change the SPI frequency accordingly. Installation: - Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer. Rename the files as, - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs - Plug the router into your computer via Ethernet - Set your computer to use 10.10.10.254 as its IP address - With your router shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt. - Set your computer to use DHCP for its IP address Notes: - U-Boot environment can be modified, u-boot-env is preserved on initial install or sysupgrade - mtd-concat functionality is included, to leave a "hole" for u-boot-env, combining the OEM kernel and rootfs partitions Most of the changes in this commit are the work of Russell Morris (as credited below), I only wrapped them up and added compat-version. Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader to work! Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03") Suggested-by: Russell Morris <rmorris@rkmorris.us> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 17:40:46 +02:00
define Device/sunvalley_filehub_common
ramips: add support for HooToo HT-TM05 The HooToo HT-TM05 is a battery powered router, with an Ethernet and USB port. Vendor U-Boot limited to 1.5 MB kernel size, so use lzma loader (loader-okli). Specifications: SOC: MediaTek MT7620N BATTERY: 10400mAh WLAN: 802.11bgn LAN: 1x 10/100 Mbps Ethernet USB: 1x USB 2.0 (Type-A) RAM: 64 MB FLASH: GigaDevice GD25Q64, Serial 8 MB Flash, clocked at 50 MHz Flash itself specified to 80 MHz, but speed limited by mt7620 SPI fast-read enabled (m25p) LED: Status LED (blue after boot, green with WiFi traffic 4 leds to indicate power level of the battery (unable to control) INPUT: Power, reset button MAC assignment based on vendor firmware: 2.4 GHz *:b4 (factory 0x04) LAN/label *:b4 (factory 0x28) WAN *:b5 (factory 0x2e) Tested and working: - Ethernet - 2.4 GHz WiFi (Correct MAC-address) - Installation from TFTP (recovery) - OpenWRT sysupgrade (Preserving and non-preserving), through the usual ways: command line and LuCI - LEDs (except as noted above) - Button (reset) - I2C, which is needed for reading battery charge status and level - U-Boot environment / variables (from U-Boot, and OpenWrt) Installation: - Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer. Rename the files as, - ramips-mt7620-hootoo_tm05-squashfs-kernel.bin => kernel - ramips-mt7620-hootoo_tm05-squashfs-rootfs.bin => rootfs - Plug the router into your computer via Ethernet - Set your computer to use 10.10.10.254 as its IP address - With your router shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt. - Set your computer to use DHCP for its IP address Notes: - U-Boot environment can be modified, u-boot-env is preserved on initial install or sysupgrade - mtd-concat functionality is included, to leave a "hole" for u-boot-env, combining the OEM kernel and rootfs partitions I would like to thank @mpratt14 and @xabolcs for their help getting the lzma loader to work! Signed-off-by: Russell Morris <rmorris@rkmorris.us> [drop changes in image/Makefile, fix indent and PKG_RELEASE in uboot-envtools, fix LOADER_FLASH_OFFS, minor commit message facelift, add COMPILE to Device/Default] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-25 01:38:36 +01:00
SOC := mt7620n
IMAGE_SIZE := 6144k
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-i2c-ralink
LOADER_TYPE := bin
LOADER_FLASH_OFFS := 0x200000
COMPILE := loader-$(1).bin
COMPILE/loader-$(1).bin := loader-okli-compile | pad-to 64k | lzma | \
uImage lzma
KERNEL := $(KERNEL_DTB) | uImage lzma -M 0x4f4b4c49
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma
IMAGES += kernel.bin rootfs.bin
IMAGE/kernel.bin := append-loader-okli $(1) | check-size 64k
IMAGE/rootfs.bin := $$(sysupgrade_bin) | check-size
endef
ramips: fix partitions and boot for RAVPower RP-WD03 The RAVPower RP-WD03 is a battery powered router, with an Ethernet and USB port. Due due a limitation in the vendor supplied U-Boot bootloader, we cannot exceed a 1.5 MB kernel size, as is the case with recent builds (i.e. post v19.07). This breaks both factory and sysupgrade images. To address this, use the lzma loader (loader-okli) to work around this limitation. The improvements here also address the "misplaced" U-Boot environment partition, which is located between the kernel and rootfs in the stock image / implementation. This is addressed by making use of mtd-concat, maximizing space available in the booted image. This will make sysupgrade from earlier versions impossible. Changes are based on the recently supported HooToo HT-TM05, as the hardware is almost identical (except for RAM size) and is from the same vendor (SunValley). While at it, also change the SPI frequency accordingly. Installation: - Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer. Rename the files as, - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs - Plug the router into your computer via Ethernet - Set your computer to use 10.10.10.254 as its IP address - With your router shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt. - Set your computer to use DHCP for its IP address Notes: - U-Boot environment can be modified, u-boot-env is preserved on initial install or sysupgrade - mtd-concat functionality is included, to leave a "hole" for u-boot-env, combining the OEM kernel and rootfs partitions Most of the changes in this commit are the work of Russell Morris (as credited below), I only wrapped them up and added compat-version. Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader to work! Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03") Suggested-by: Russell Morris <rmorris@rkmorris.us> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 17:40:46 +02:00
define Device/hootoo_ht-tm05
$(Device/sunvalley_filehub_common)
DEVICE_VENDOR := HooToo
DEVICE_MODEL := HT-TM05
endef
ramips: add support for HooToo HT-TM05 The HooToo HT-TM05 is a battery powered router, with an Ethernet and USB port. Vendor U-Boot limited to 1.5 MB kernel size, so use lzma loader (loader-okli). Specifications: SOC: MediaTek MT7620N BATTERY: 10400mAh WLAN: 802.11bgn LAN: 1x 10/100 Mbps Ethernet USB: 1x USB 2.0 (Type-A) RAM: 64 MB FLASH: GigaDevice GD25Q64, Serial 8 MB Flash, clocked at 50 MHz Flash itself specified to 80 MHz, but speed limited by mt7620 SPI fast-read enabled (m25p) LED: Status LED (blue after boot, green with WiFi traffic 4 leds to indicate power level of the battery (unable to control) INPUT: Power, reset button MAC assignment based on vendor firmware: 2.4 GHz *:b4 (factory 0x04) LAN/label *:b4 (factory 0x28) WAN *:b5 (factory 0x2e) Tested and working: - Ethernet - 2.4 GHz WiFi (Correct MAC-address) - Installation from TFTP (recovery) - OpenWRT sysupgrade (Preserving and non-preserving), through the usual ways: command line and LuCI - LEDs (except as noted above) - Button (reset) - I2C, which is needed for reading battery charge status and level - U-Boot environment / variables (from U-Boot, and OpenWrt) Installation: - Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer. Rename the files as, - ramips-mt7620-hootoo_tm05-squashfs-kernel.bin => kernel - ramips-mt7620-hootoo_tm05-squashfs-rootfs.bin => rootfs - Plug the router into your computer via Ethernet - Set your computer to use 10.10.10.254 as its IP address - With your router shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt. - Set your computer to use DHCP for its IP address Notes: - U-Boot environment can be modified, u-boot-env is preserved on initial install or sysupgrade - mtd-concat functionality is included, to leave a "hole" for u-boot-env, combining the OEM kernel and rootfs partitions I would like to thank @mpratt14 and @xabolcs for their help getting the lzma loader to work! Signed-off-by: Russell Morris <rmorris@rkmorris.us> [drop changes in image/Makefile, fix indent and PKG_RELEASE in uboot-envtools, fix LOADER_FLASH_OFFS, minor commit message facelift, add COMPILE to Device/Default] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-12-25 01:38:36 +01:00
TARGET_DEVICES += hootoo_ht-tm05
define Device/iodata_wn-ac1167gr
SOC := mt7620a
DEVICE_VENDOR := I-O DATA
DEVICE_MODEL := WN-AC1167GR
IMAGE_SIZE := 6864k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 01040016 8844A2D168B45A2D
DEVICE_PACKAGES := kmod-mt76x2
endef
TARGET_DEVICES += iodata_wn-ac1167gr
define Device/iodata_wn-ac733gr3
SOC := mt7620a
DEVICE_VENDOR := I-O DATA
DEVICE_MODEL := WN-AC733GR3
IMAGE_SIZE := 6992k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
elx-header 01040006 8844A2D168B45A2D
DEVICE_PACKAGES := kmod-mt76x0e kmod-switch-rtl8367b
endef
TARGET_DEVICES += iodata_wn-ac733gr3
define Device/iptime_a1004ns
SOC := mt7620a
IMAGE_SIZE := 16192k
UIMAGE_NAME := a1004ns
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A1004ns
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += iptime_a1004ns
define Device/iptime_a104ns
SOC := mt7620a
IMAGE_SIZE := 8000k
UIMAGE_NAME := a104ns
DEVICE_VENDOR := ipTIME
DEVICE_MODEL := A104ns
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += iptime_a104ns
define Device/kimax_u25awf-h1
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Kimax
DEVICE_MODEL := U25AWF
DEVICE_VARIANT := H1
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-storage kmod-scsi-core \
kmod-fs-ext4 kmod-fs-vfat block-mount
SUPPORTED_DEVICES += u25awf-h1
endef
TARGET_DEVICES += kimax_u25awf-h1
define Device/kimax_u35wf
SOC := mt7620n
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Kimax
DEVICE_MODEL := U35WF
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-storage kmod-scsi-core \
kmod-fs-ext4 kmod-fs-vfat block-mount
endef
TARGET_DEVICES += kimax_u35wf
define Device/kingston_mlw221
SOC := mt7620n
IMAGE_SIZE := 15744k
DEVICE_VENDOR := Kingston
DEVICE_MODEL := MLW221
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += mlw221
endef
TARGET_DEVICES += kingston_mlw221
define Device/kingston_mlwg2
SOC := mt7620n
IMAGE_SIZE := 15744k
DEVICE_VENDOR := Kingston
DEVICE_MODEL := MLWG2
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += mlwg2
endef
TARGET_DEVICES += kingston_mlwg2
define Device/lava_lr-25g001
$(Device/amit_jboot)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 16256k
DEVICE_VENDOR := LAVA
DEVICE_MODEL := LR-25G001
DLINK_ROM_ID := LVA6E3804001
DLINK_FAMILY_MEMBER := 0x6E38
DLINK_FIRMWARE_SIZE := 0xFE0000
DEVICE_PACKAGES += kmod-mt76x0e
endef
TARGET_DEVICES += lava_lr-25g001
define Device/lb-link_bl-w1200
SOC := mt7620a
DEVICE_VENDOR := LB-Link
DEVICE_MODEL := BL-W1200
IMAGE_SIZE := 7872k
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76x2
endef
TARGET_DEVICES += lb-link_bl-w1200
define Device/lenovo_newifi-y1
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Lenovo
DEVICE_MODEL := Y1
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += y1
endef
TARGET_DEVICES += lenovo_newifi-y1
define Device/lenovo_newifi-y1s
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Lenovo
DEVICE_MODEL := Y1S
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += y1s
endef
TARGET_DEVICES += lenovo_newifi-y1s
define Device/linksys_e1700
SOC := mt7620a
IMAGE_SIZE := 7872k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | umedia-header 0x013326
DEVICE_VENDOR := Linksys
DEVICE_MODEL := E1700
SUPPORTED_DEVICES += e1700
endef
TARGET_DEVICES += linksys_e1700
define Device/microduino_microwrt
SOC := mt7620a
IMAGE_SIZE := 16128k
DEVICE_VENDOR := Microduino
DEVICE_MODEL := MicroWRT
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += microwrt
endef
TARGET_DEVICES += microduino_microwrt
define Device/netgear_ex2700
SOC := mt7620a
NETGEAR_HW_ID := 29764623+4+0+32+2x2+0
NETGEAR_BOARD_ID := EX2700
BLOCKSIZE := 4k
IMAGE_SIZE := 3776k
IMAGES += factory.bin
KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | \
append-uImage-fakehdr filesystem
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | netgear-dni
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX2700
SUPPORTED_DEVICES += ex2700
DEFAULT := n
endef
TARGET_DEVICES += netgear_ex2700
define Device/netgear_ex3700
SOC := mt7620a
NETGEAR_BOARD_ID := U12H319T00_NETGEAR
BLOCKSIZE := 4k
IMAGE_SIZE := 7744k
IMAGES += factory.chk
IMAGE/factory.chk := $$(sysupgrade_bin) | check-size | netgear-chk
DEVICE_PACKAGES := kmod-mt76x2
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX3700/EX3800
SUPPORTED_DEVICES += ex3700
endef
TARGET_DEVICES += netgear_ex3700
define Device/netgear_ex6120
SOC := mt7620a
NETGEAR_BOARD_ID := U12H319T30_NETGEAR
BLOCKSIZE := 4k
IMAGE_SIZE := 7744k
IMAGES += factory.chk
IMAGE/factory.chk := $$(sysupgrade_bin) | check-size | netgear-chk
DEVICE_PACKAGES := kmod-mt76x2
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX6120
endef
TARGET_DEVICES += netgear_ex6120
define Device/netgear_ex6130
SOC := mt7620a
NETGEAR_BOARD_ID := U12H319T50_NETGEAR
BLOCKSIZE := 4k
IMAGE_SIZE := 7744k
IMAGES += factory.chk
IMAGE/factory.chk := $$(sysupgrade_bin) | check-size | netgear-chk
DEVICE_PACKAGES := kmod-mt76x2
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := EX6130
endef
TARGET_DEVICES += netgear_ex6130
ramips: add support for Netgear JWNR2010 v5 Specification: - CPU: MediaTek MT7620N (580 MHz) - Flash size: 4 MB NOR SPI - RAM size: 32 MB DDR1 - Bootloader: U-Boot - Wireless: MT7620N 2x2 MIMO 802.11b/g/n (2.4 GHz) - Switch: MT7620 built-in 10/100 switch with vlan support - Ports: 4x LAN, 1x WAN - Others: 7x LED, Reset button, UART header on PCB (57600 8N1) Flash instructions: 1. Use ethernet cable to connect router with PC/Laptop, any router LAN port will work. 2. To flash openwrt we are using nmrpflash[1]. 3. Flash commands: First we need to identify the correct Ethernet id. nmrpflash -L nmrpflash -i net* -f openwrt-ramips-mt7620-netgear_jwnr2010-v5-squashfs-factory.img This will show something like "Advertising NMRP server on net*..." (net*, *=1,2,3... etc.) 4. Now remove the power cable from router back side and immediately connect it again. You will see flash notification in CMD window, once it says reboot the device just plug off the router and plug in again. Revert to stock: 1. Download the stock firmware from official netgear support[2]. 2. Follow the same nmrpflash procedure like above, this time just use the stock firmware. nmrpflash -i net* -f N300-V1.1.0.54_1.0.1.img MAC addresses on stock firmware: LAN = *:28 (label) WAN = *:29 WLAN = *:28 On flash, the only valid MAC address is found in factory 0x4. Special Note: This openwrt firmware will also support other netgear N300 routers like below as they share same stock firmware[3]. JNR1010v2 / WNR614 / WNR618 / JWNR2000v5 / WNR2020 / WNR1000v4 / WNR2020v2 / WNR2050 [1] https://github.com/jclehner/nmrpflash [2] https://www.netgear.com/support/product/JWNR2010v5.aspx [3] http://kb.netgear.com/000059663 Signed-off-by: Shibajee Roy <ador250@protonmail.com> [create DTSI, use netgear_sercomm_nor, disable by default, add MAC addresses to commit message, add label MAC address] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-02 17:19:52 +02:00
define Device/netgear_jwnr2010-v5
$(Device/netgear_sercomm_nor)
SOC := mt7620n
BLOCKSIZE := 4k
IMAGE_SIZE := 3840k
DEVICE_MODEL := JWNR2010
DEVICE_VARIANT := v5
SERCOMM_HWNAME := N300
SERCOMM_HWID := ASW
SERCOMM_HWVER := A001
SERCOMM_SWVER := 0x0040
SERCOMM_PAD := 128k
DEFAULT := n
endef
TARGET_DEVICES += netgear_jwnr2010-v5
define Device/netgear_wn3000rp-v3
SOC := mt7620a
IMAGE_SIZE := 7872k
NETGEAR_HW_ID := 29764836+8+0+32+2x2+0
NETGEAR_BOARD_ID := WN3000RPv3
BLOCKSIZE := 4k
IMAGES += factory.bin
KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | \
append-uImage-fakehdr filesystem
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | netgear-dni
DEVICE_VENDOR := NETGEAR
DEVICE_MODEL := WN3000RP
DEVICE_VARIANT := v3
SUPPORTED_DEVICES += wn3000rpv3
endef
TARGET_DEVICES += netgear_wn3000rp-v3
define Device/netis_wf2770
SOC := mt7620a
IMAGE_SIZE := 16064k
UIMAGE_NAME := WF2770_0.0.00
DEVICE_VENDOR := NETIS
DEVICE_MODEL := WF2770
DEVICE_PACKAGES := kmod-mt76x0e
KERNEL_INITRAMFS := $(KERNEL_DTB) | netis-tail WF2770 | uImage lzma
endef
TARGET_DEVICES += netis_wf2770
define Device/nexx_wt3020-4m
SOC := mt7620n
BLOCKSIZE := 4k
IMAGE_SIZE := 3776k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
poray-header -B WT3020 -F 4M
DEVICE_VENDOR := Nexx
DEVICE_MODEL := WT3020
DEVICE_VARIANT := 4M
SUPPORTED_DEVICES += wt3020 wt3020-4M
DEFAULT := n
endef
TARGET_DEVICES += nexx_wt3020-4m
define Device/nexx_wt3020-8m
SOC := mt7620n
IMAGE_SIZE := 7872k
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
poray-header -B WT3020 -F 8M
DEVICE_VENDOR := Nexx
DEVICE_MODEL := WT3020
DEVICE_VARIANT := 8M
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += wt3020 wt3020-8M
endef
TARGET_DEVICES += nexx_wt3020-8m
define Device/ohyeah_oy-0001
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Oh Yeah
DEVICE_MODEL := OY-0001
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += oy-0001
endef
TARGET_DEVICES += ohyeah_oy-0001
define Device/phicomm_k2g
SOC := mt7620a
IMAGE_SIZE := 7552k
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := K2G
DEVICE_PACKAGES := kmod-mt76x2
endef
TARGET_DEVICES += phicomm_k2g
define Device/phicomm_psg1208
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := PSG1208
DEVICE_PACKAGES := kmod-mt76x2
SUPPORTED_DEVICES += psg1208
endef
TARGET_DEVICES += phicomm_psg1208
define Device/phicomm_psg1218a
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := PSG1218
DEVICE_VARIANT:= Ax
DEVICE_PACKAGES := kmod-mt76x2
SUPPORTED_DEVICES += psg1218 psg1218a
endef
TARGET_DEVICES += phicomm_psg1218a
define Device/phicomm_psg1218b
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := PSG1218
DEVICE_VARIANT := Bx
DEVICE_PACKAGES := kmod-mt76x2
SUPPORTED_DEVICES += psg1218 psg1218b
endef
TARGET_DEVICES += phicomm_psg1218b
define Device/planex_cs-qr10
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Planex
DEVICE_MODEL := CS-QR10
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sound-core \
kmod-sound-mt7620 kmod-i2c-ralink kmod-sdhci-mt7620
SUPPORTED_DEVICES += cs-qr10
endef
TARGET_DEVICES += planex_cs-qr10
define Device/planex_db-wrt01
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Planex
DEVICE_MODEL := DB-WRT01
SUPPORTED_DEVICES += db-wrt01
endef
TARGET_DEVICES += planex_db-wrt01
define Device/planex_mzk-750dhp
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Planex
DEVICE_MODEL := MZK-750DHP
DEVICE_PACKAGES := kmod-mt76x0e
SUPPORTED_DEVICES += mzk-750dhp
endef
TARGET_DEVICES += planex_mzk-750dhp
define Device/planex_mzk-ex300np
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7360k
DEVICE_VENDOR := Planex
DEVICE_MODEL := MZK-EX300NP
SUPPORTED_DEVICES += mzk-ex300np
endef
TARGET_DEVICES += planex_mzk-ex300np
define Device/planex_mzk-ex750np
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7360k
DEVICE_VENDOR := Planex
DEVICE_MODEL := MZK-EX750NP
DEVICE_PACKAGES := kmod-mt76x2
SUPPORTED_DEVICES += mzk-ex750np
endef
TARGET_DEVICES += planex_mzk-ex750np
define Device/ralink_mt7620a-evb
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a EVB
endef
TARGET_DEVICES += ralink_mt7620a-evb
define Device/ralink_mt7620a-mt7530-evb
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a + MT7530 EVB
SUPPORTED_DEVICES += mt7620a_mt7530
endef
TARGET_DEVICES += ralink_mt7620a-mt7530-evb
define Device/ralink_mt7620a-mt7610e-evb
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a + MT7610e EVB
DEVICE_PACKAGES := kmod-mt76x0e
SUPPORTED_DEVICES += mt7620a_mt7610e
ramips: add support for Edimax EW-7476RPC / EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: 192.168.9.2/24). http://192.168.9.2/index.asp ramips: add Edimax EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: http://edimaxext.setup) Or push wpa button on power on and send firmware via tftp to 192.168.1.6 The EW-7478AC is identical to the EW-7476RPC, except instead of 2 internal antennas it has 2 external ones. Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> [merge conflict in 01_leds] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-06-03 22:04:12 +02:00
endef
TARGET_DEVICES += ralink_mt7620a-mt7610e-evb
define Device/ralink_mt7620a-v22sg-evb
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 130560k
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7620a V22SG
SUPPORTED_DEVICES += mt7620a_v22sg
endef
TARGET_DEVICES += ralink_mt7620a-v22sg-evb
define Device/ravpower_rp-wd03
ramips: fix partitions and boot for RAVPower RP-WD03 The RAVPower RP-WD03 is a battery powered router, with an Ethernet and USB port. Due due a limitation in the vendor supplied U-Boot bootloader, we cannot exceed a 1.5 MB kernel size, as is the case with recent builds (i.e. post v19.07). This breaks both factory and sysupgrade images. To address this, use the lzma loader (loader-okli) to work around this limitation. The improvements here also address the "misplaced" U-Boot environment partition, which is located between the kernel and rootfs in the stock image / implementation. This is addressed by making use of mtd-concat, maximizing space available in the booted image. This will make sysupgrade from earlier versions impossible. Changes are based on the recently supported HooToo HT-TM05, as the hardware is almost identical (except for RAM size) and is from the same vendor (SunValley). While at it, also change the SPI frequency accordingly. Installation: - Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer. Rename the files as, - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs - Plug the router into your computer via Ethernet - Set your computer to use 10.10.10.254 as its IP address - With your router shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt. - Set your computer to use DHCP for its IP address Notes: - U-Boot environment can be modified, u-boot-env is preserved on initial install or sysupgrade - mtd-concat functionality is included, to leave a "hole" for u-boot-env, combining the OEM kernel and rootfs partitions Most of the changes in this commit are the work of Russell Morris (as credited below), I only wrapped them up and added compat-version. Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader to work! Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03") Suggested-by: Russell Morris <rmorris@rkmorris.us> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 17:40:46 +02:00
$(Device/sunvalley_filehub_common)
DEVICE_VENDOR := RAVPower
DEVICE_MODEL := RP-WD03
SUPPORTED_DEVICES += ravpower,wd03
ramips: fix partitions and boot for RAVPower RP-WD03 The RAVPower RP-WD03 is a battery powered router, with an Ethernet and USB port. Due due a limitation in the vendor supplied U-Boot bootloader, we cannot exceed a 1.5 MB kernel size, as is the case with recent builds (i.e. post v19.07). This breaks both factory and sysupgrade images. To address this, use the lzma loader (loader-okli) to work around this limitation. The improvements here also address the "misplaced" U-Boot environment partition, which is located between the kernel and rootfs in the stock image / implementation. This is addressed by making use of mtd-concat, maximizing space available in the booted image. This will make sysupgrade from earlier versions impossible. Changes are based on the recently supported HooToo HT-TM05, as the hardware is almost identical (except for RAM size) and is from the same vendor (SunValley). While at it, also change the SPI frequency accordingly. Installation: - Download the needed OpenWrt install files, place them in the root of a clean TFTP server running on your computer. Rename the files as, - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-kernel.bin => kernel - openwrt-ramips-mt7620-ravpower_rp-wd03-squashfs-rootfs.bin => rootfs - Plug the router into your computer via Ethernet - Set your computer to use 10.10.10.254 as its IP address - With your router shut down, hold down the power button until the first white LED lights up. - Push and hold the reset button and release the power button. Continue holding the reset button for 30 seconds or until it begins searching for files on your TFTP server, whichever comes first. - The router (10.10.10.128) will look for your computer at 10.10.10.254 and install the two files. Once it has finished installation, it will automatically reboot and start up OpenWrt. - Set your computer to use DHCP for its IP address Notes: - U-Boot environment can be modified, u-boot-env is preserved on initial install or sysupgrade - mtd-concat functionality is included, to leave a "hole" for u-boot-env, combining the OEM kernel and rootfs partitions Most of the changes in this commit are the work of Russell Morris (as credited below), I only wrapped them up and added compat-version. Thanks to @mpratt14 and @xabolcs for their help getting the lzma loader to work! Fixes: 5ef79af4f80f ("ramips: add support for Ravpower WD03") Suggested-by: Russell Morris <rmorris@rkmorris.us> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-11 17:40:46 +02:00
DEVICE_COMPAT_VERSION := 2.0
DEVICE_COMPAT_MESSAGE := Partition design has changed compared to older versions (up to 19.07) due to kernel size restrictions. \
Upgrade via sysupgrade mechanism is not possible, so new installation via TFTP is required.
endef
TARGET_DEVICES += ravpower_rp-wd03
ramips: add support for Edimax EW-7476RPC / EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: 192.168.9.2/24). http://192.168.9.2/index.asp ramips: add Edimax EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: http://edimaxext.setup) Or push wpa button on power on and send firmware via tftp to 192.168.1.6 The EW-7478AC is identical to the EW-7476RPC, except instead of 2 internal antennas it has 2 external ones. Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> [merge conflict in 01_leds] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-06-03 22:04:12 +02:00
define Device/sanlinking_d240
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Sanlinking Technologies
DEVICE_MODEL := D240
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
SUPPORTED_DEVICES += d240
ramips: add support for Edimax EW-7476RPC / EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: 192.168.9.2/24). http://192.168.9.2/index.asp ramips: add Edimax EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: http://edimaxext.setup) Or push wpa button on power on and send firmware via tftp to 192.168.1.6 The EW-7478AC is identical to the EW-7476RPC, except instead of 2 internal antennas it has 2 external ones. Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> [merge conflict in 01_leds] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-06-03 22:04:12 +02:00
endef
TARGET_DEVICES += sanlinking_d240
ramips: add support for Edimax EW-7476RPC / EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: 192.168.9.2/24). http://192.168.9.2/index.asp ramips: add Edimax EW-7478AC SoC: MediaTek MT7620a @ 580MHz RAM: 64M (Winbond W9751G6KB-25) FLASH: 8MB (Macronix) WiFi: SoC-integrated: MediaTek MT7620a bgn WiFi: MediaTek MT7612EN nac GbE: 1x (RTL8211E) BTN: WPS - RFKILL/RF 50%/RF 100% toggle LED: - Wifi 5g (blue) - Wifi 2g (blue) - Crossband (green) - Power (green) - WPS (green) - LAN (Green) UART: UART is present as Pads with throughholes on the PCB. They are located next to the switch for the wifi configuration 3.3V - RX - GND - TX / 57600-8N1 3.3V is the square pad Installation ------------ Update the factory image via the web-interfaces (by default: http://edimaxext.setup) Or push wpa button on power on and send firmware via tftp to 192.168.1.6 The EW-7478AC is identical to the EW-7476RPC, except instead of 2 internal antennas it has 2 external ones. Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> [merge conflict in 01_leds] Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-06-03 22:04:12 +02:00
define Device/sercomm_na930
SOC := mt7620a
IMAGE_SIZE := 20480k
DEVICE_VENDOR := Sercomm
DEVICE_MODEL := NA930
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += na930
endef
TARGET_DEVICES += sercomm_na930
define Device/tplink_archer-c20i
$(Device/tplink-v2)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7808k
ramips: add support for TP-Link Archer C2 Specification: - System-On-Chip: MT7620A - CPU/Speed: 580 MHz - Flash-Chip: Winbond 25Q64BVSIG - Flash size: 8192 KiB - RAM: 64 MiB - Wireless No1: SoC-integrated: MT7620A 2.4GHz 802.11bgn - Wireless No2: On-board chip: MT7610EN 5GHz 802.11ac - Switch: RTL8367RB Gigabit Switch - USB: Yes 1 x 2.0 Preparing a TFTP recovery image for initial flashing: Currently the only method to install openwrt for the first time is via TFTP download in u-boot. After first install you can use regular updates. WARNING: This method also overwrites the bootloader partition! Create a TFTP recovery image: 1) Download a stock TP-Link Firmware file here: https://www.tp-link.com/en/download/Archer-C2_V1.html#Firmware 2) Extract u-boot from the binary file: #> dd if=c2v1_stock_firmware.bin of=c2v1_uboot.bin bs=1 skip=512 count=131072 3) Now merge the sysupgrade image and the u-boot into one binary: #> cat c2v1_uboot.bin openwrt-squashfs-sysupgrade.bin > ArcherC2V1_tp_recovery.bin The resulting image can be flashed via TFTP recovery mode. Flash instructions: 1) To flash the recovery image, start a TFTP server from IP address 192.168.0.66 and serve the recovery image named ArcherC2V1_tp_recovery.bin. 2) Connect your device to the LAN port, then press the WPS/Reset button and power it up. Keep pressing the WPS/Reset button for 10 seconds. It will try to download the recovery image and flash it. It can take up to 20-25 minutes to finish. When it reaches 100%, the router will reboot itself. Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> Signed-off-by: Franz Flasch <franz.flasch@gmx.at>
2018-05-17 11:57:00 +02:00
TPLINK_FLASHLAYOUT := 8Mmtk
TPLINK_HWID := 0xc2000001
TPLINK_HWREV := 58
DEVICE_MODEL := Archer C20i
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += c20i
ramips: add support for TP-Link Archer C2 Specification: - System-On-Chip: MT7620A - CPU/Speed: 580 MHz - Flash-Chip: Winbond 25Q64BVSIG - Flash size: 8192 KiB - RAM: 64 MiB - Wireless No1: SoC-integrated: MT7620A 2.4GHz 802.11bgn - Wireless No2: On-board chip: MT7610EN 5GHz 802.11ac - Switch: RTL8367RB Gigabit Switch - USB: Yes 1 x 2.0 Preparing a TFTP recovery image for initial flashing: Currently the only method to install openwrt for the first time is via TFTP download in u-boot. After first install you can use regular updates. WARNING: This method also overwrites the bootloader partition! Create a TFTP recovery image: 1) Download a stock TP-Link Firmware file here: https://www.tp-link.com/en/download/Archer-C2_V1.html#Firmware 2) Extract u-boot from the binary file: #> dd if=c2v1_stock_firmware.bin of=c2v1_uboot.bin bs=1 skip=512 count=131072 3) Now merge the sysupgrade image and the u-boot into one binary: #> cat c2v1_uboot.bin openwrt-squashfs-sysupgrade.bin > ArcherC2V1_tp_recovery.bin The resulting image can be flashed via TFTP recovery mode. Flash instructions: 1) To flash the recovery image, start a TFTP server from IP address 192.168.0.66 and serve the recovery image named ArcherC2V1_tp_recovery.bin. 2) Connect your device to the LAN port, then press the WPS/Reset button and power it up. Keep pressing the WPS/Reset button for 10 seconds. It will try to download the recovery image and flash it. It can take up to 20-25 minutes to finish. When it reaches 100%, the router will reboot itself. Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> Signed-off-by: Franz Flasch <franz.flasch@gmx.at>
2018-05-17 11:57:00 +02:00
endef
TARGET_DEVICES += tplink_archer-c20i
ramips: add support for TP-Link Archer C2 Specification: - System-On-Chip: MT7620A - CPU/Speed: 580 MHz - Flash-Chip: Winbond 25Q64BVSIG - Flash size: 8192 KiB - RAM: 64 MiB - Wireless No1: SoC-integrated: MT7620A 2.4GHz 802.11bgn - Wireless No2: On-board chip: MT7610EN 5GHz 802.11ac - Switch: RTL8367RB Gigabit Switch - USB: Yes 1 x 2.0 Preparing a TFTP recovery image for initial flashing: Currently the only method to install openwrt for the first time is via TFTP download in u-boot. After first install you can use regular updates. WARNING: This method also overwrites the bootloader partition! Create a TFTP recovery image: 1) Download a stock TP-Link Firmware file here: https://www.tp-link.com/en/download/Archer-C2_V1.html#Firmware 2) Extract u-boot from the binary file: #> dd if=c2v1_stock_firmware.bin of=c2v1_uboot.bin bs=1 skip=512 count=131072 3) Now merge the sysupgrade image and the u-boot into one binary: #> cat c2v1_uboot.bin openwrt-squashfs-sysupgrade.bin > ArcherC2V1_tp_recovery.bin The resulting image can be flashed via TFTP recovery mode. Flash instructions: 1) To flash the recovery image, start a TFTP server from IP address 192.168.0.66 and serve the recovery image named ArcherC2V1_tp_recovery.bin. 2) Connect your device to the LAN port, then press the WPS/Reset button and power it up. Keep pressing the WPS/Reset button for 10 seconds. It will try to download the recovery image and flash it. It can take up to 20-25 minutes to finish. When it reaches 100%, the router will reboot itself. Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> Signed-off-by: Franz Flasch <franz.flasch@gmx.at>
2018-05-17 11:57:00 +02:00
define Device/tplink_archer-c20-v1
$(Device/tplink-v2)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7808k
SUPPORTED_DEVICES += tplink,c20-v1
TPLINK_FLASHLAYOUT := 8Mmtk
TPLINK_HWID := 0xc2000001
TPLINK_HWREV := 0x44
TPLINK_HWREVADD := 0x1
IMAGES := sysupgrade.bin
DEVICE_MODEL := Archer C20
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport
endef
TARGET_DEVICES += tplink_archer-c20-v1
define Device/tplink_archer-c2-v1
$(Device/tplink-v2)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7808k
SUPPORTED_DEVICES += tplink,c2-v1
TPLINK_FLASHLAYOUT := 8Mmtk
TPLINK_HWID := 0xc7500001
TPLINK_HWREV := 50
IMAGES := sysupgrade.bin
DEVICE_MODEL := Archer C2
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b
endef
TARGET_DEVICES += tplink_archer-c2-v1
define Device/tplink_archer-c50-v1
$(Device/tplink-v2)
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7808k
TPLINK_FLASHLAYOUT := 8Mmtk
TPLINK_HWID := 0xc7500001
TPLINK_HWREV := 69
IMAGES := sysupgrade.bin factory-us.bin factory-eu.bin
IMAGE/factory-us.bin := tplink-v2-image -e -w 0
IMAGE/factory-eu.bin := tplink-v2-image -e -w 2
DEVICE_MODEL := Archer C50
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += c50
endef
TARGET_DEVICES += tplink_archer-c50-v1
define Device/tplink_archer-mr200
$(Device/tplink-v2)
SOC := mt7620a
IMAGE_SIZE := 7872k
TPLINK_FLASHLAYOUT := 8MLmtk
TPLINK_HWID := 0xd7500001
TPLINK_HWREV := 0x4a
IMAGES := sysupgrade.bin
DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-net-rndis \
kmod-usb-serial-option adb-enablemodem
DEVICE_MODEL := Archer MR200
SUPPORTED_DEVICES += mr200
endef
TARGET_DEVICES += tplink_archer-mr200
ramips: add support for TP-Link RE200 v1 TP-Link RE200 v1 is a wireless range extender with Ethernet and 2.4G and 5G WiFi with internal antennas. It's based on MediaTek MT7620A+MT7610EN. Specifications -------------- - MediaTek MT7620A (580 Mhz) - 64 MB of RAM - 8 MB of FLASH - 2T2R 2.4 GHz and 1T1R 5 GHz - 1x 10/100 Mbps Ethernet - UART header on PCB (57600 8n1) - 8x LED (GPIO-controlled; only 6 supported), 2x button There are 2.4G and 5G LEDs in red and green which are controlled separately. The 5G LED is currently not supported, since the GPIOs couldn't be determined. Installation ------------ Web Interface ------------- It is possible to upgrade to OpenWrt via the web interface. However, the OEM firmware upgrade file is required and a tool to fix the MD5 sum of the header. This procedure overwrites U-Boot and there is not failsafe / recovery mode present! To prepare an image, you need to take the header and U-Boot (i.e. 0x200 + 0x20000 bytes) from an OEM firmware file and attach the factory image to it. Then fix the header MD5Sum1. Serial console -------------- Opening the case is quite hard, since it is welded together. Rename the OpenWrt factory image to "test.bin", then plug in the device and quickly press "2" to enter flash mode (no line feed). Follow the prompts until OpenWrt is installed. Unfortunately, this devices does not offer a recovery mode or a tftp installation method. If the web interface upgrade fails, you have to open your device and attach serial console. Since the web upgrade overwrites the boot loader, you might also brick your device. Additional notes ---------------- MAC address assignment is based on stock-firmware. For me, the device assigns the MAC on the label to Ethernet and the 2.4G WiFi, while the 5G WiFi has a separate MAC with +2. *:88 Ethernet/2.4G label, uboot 0x1fc00, userconfig 0x0158 *:89 unused userconfig 0x0160 *:8A 5G not present in flash This seems to be the first ramips device with a TP-Link v1 header. The original firmware has the string "EU" embedded, there might be some region- checking going on during the firmware upgrade process. The original firmware also contains U-Boot and thus overwrites the boot loader during upgrade. In order to flash back to stock, the first header and U-Boot need to be stripped from the original firmware. Signed-off-by: Andreas Böhler <dev@aboehler.at>
2019-12-19 10:29:14 +01:00
define Device/tplink_re200-v1
$(Device/tplink-v1)
ramips: add support for TP-Link RE200 v1 TP-Link RE200 v1 is a wireless range extender with Ethernet and 2.4G and 5G WiFi with internal antennas. It's based on MediaTek MT7620A+MT7610EN. Specifications -------------- - MediaTek MT7620A (580 Mhz) - 64 MB of RAM - 8 MB of FLASH - 2T2R 2.4 GHz and 1T1R 5 GHz - 1x 10/100 Mbps Ethernet - UART header on PCB (57600 8n1) - 8x LED (GPIO-controlled; only 6 supported), 2x button There are 2.4G and 5G LEDs in red and green which are controlled separately. The 5G LED is currently not supported, since the GPIOs couldn't be determined. Installation ------------ Web Interface ------------- It is possible to upgrade to OpenWrt via the web interface. However, the OEM firmware upgrade file is required and a tool to fix the MD5 sum of the header. This procedure overwrites U-Boot and there is not failsafe / recovery mode present! To prepare an image, you need to take the header and U-Boot (i.e. 0x200 + 0x20000 bytes) from an OEM firmware file and attach the factory image to it. Then fix the header MD5Sum1. Serial console -------------- Opening the case is quite hard, since it is welded together. Rename the OpenWrt factory image to "test.bin", then plug in the device and quickly press "2" to enter flash mode (no line feed). Follow the prompts until OpenWrt is installed. Unfortunately, this devices does not offer a recovery mode or a tftp installation method. If the web interface upgrade fails, you have to open your device and attach serial console. Since the web upgrade overwrites the boot loader, you might also brick your device. Additional notes ---------------- MAC address assignment is based on stock-firmware. For me, the device assigns the MAC on the label to Ethernet and the 2.4G WiFi, while the 5G WiFi has a separate MAC with +2. *:88 Ethernet/2.4G label, uboot 0x1fc00, userconfig 0x0158 *:89 unused userconfig 0x0160 *:8A 5G not present in flash This seems to be the first ramips device with a TP-Link v1 header. The original firmware has the string "EU" embedded, there might be some region- checking going on during the firmware upgrade process. The original firmware also contains U-Boot and thus overwrites the boot loader during upgrade. In order to flash back to stock, the first header and U-Boot need to be stripped from the original firmware. Signed-off-by: Andreas Böhler <dev@aboehler.at>
2019-12-19 10:29:14 +01:00
SOC := mt7620a
DEVICE_MODEL := RE200
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt76x0e
IMAGE_SIZE := 7936k
TPLINK_HWID := 0x02000001
TPLINK_FLASHLAYOUT := 8Mmtk
endef
TARGET_DEVICES += tplink_re200-v1
2020-03-02 22:24:19 +01:00
define Device/tplink_re210-v1
$(Device/tplink-v1)
SOC := mt7620a
DEVICE_MODEL := RE210
DEVICE_VARIANT := v1
DEVICE_PACKAGES := kmod-mt76x0e
IMAGE_SIZE := 7936k
TPLINK_HWID := 0x02100001
TPLINK_FLASHLAYOUT := 8Mmtk
endef
TARGET_DEVICES += tplink_re210-v1
ramips: add support for TRENDnet TEW-810DR Specifications: * MediaTek MT7620A (580 Mhz) * 8 MB of FLASH * 64 MB of RAM * 2.4Ghz and 5.0Ghz radios * 5x 10/100 Mbps Ethernet (1 WAN and 4 LAN) * UART header on PCB (57600 8n1) * Green/Orange Power LEDs illuminating a Power-Button Lens * Green/Orange Internet LEDs GPIO controlled illuminating a Globe/Internet Lens * 3x button - wps, power and reset * U-boot bootloader Installation: The sysupgrade.bin image is reported to be OEM web flashed with an ncc_att_hwid appended. ncc_att_hwid is a 32bit binary in the GPL Source download for either the TEW-810DR or DIR-810L and is located at source/user/wolf/cameo/ncc/hostTools. The invocation is: ncc_att_hwid -f tew-810dr-squashfs-factory.bin -a -m "TEW-810DR" -H "1.0R" -r "WW" -c "1.0" This may need to be altered if your hardware version is "1.1R". The image can also be directly flashed via serial tftp: 1. Load *.sysupgrade.bin to your tftp server directory and rename for convenience. 2. Set a static ip 192.168.10.100. 3. NIC cable to a lan port. 4. Serial connection parameters 57600,8N1 5. Power on the TEW-810 and press 4 for a u-boot command line prompt. 6. Verify IP's with U-Boot command "printenv". 7. Adjust tftp settings if needed per the tftp documentation 8. Boot the tftp image to test the build. 9. If the image loads, reset your server ip to 192.168.1.10 and restart network. 10. Log in to Luci, 192.168.1.1, and flash the *sysupgrade.bin image. Notes: The only valid MAC address is found in 0x28 of the factory partition. Other typical offsets/caldata only contain example data: 00:11:22:00:0f:xx Signed-off-by: J. Scott Heppler <shep971@centurylink.net> [remove "link rx tx" in 01_leds, format and extend commit message, fix DTS led node names] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-26 03:24:40 +02:00
define Device/trendnet_tew-810dr
SOC := mt7620a
DEVICE_PACKAGES := kmod-mt76x0e
DEVICE_VENDOR := TRENDnet
DEVICE_MODEL := TEW-810DR
IMAGE_SIZE := 6720k
endef
TARGET_DEVICES += trendnet_tew-810dr
define Device/vonets_var11n-300
SOC := mt7620n
IMAGE_SIZE := 3776k
BLOCKSIZE := 4k
DEVICE_VENDOR := Vonets
DEVICE_MODEL := VAR11N-300
DEFAULT := n
endef
TARGET_DEVICES += vonets_var11n-300
define Device/wavlink_wl-wn530hg4
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Wavlink
DEVICE_MODEL := WL-WN530HG4
DEVICE_PACKAGES := kmod-mt76x2
endef
TARGET_DEVICES += wavlink_wl-wn530hg4
define Device/wrtnode_wrtnode
SOC := mt7620n
IMAGE_SIZE := 16064k
DEVICE_VENDOR := WRTNode
DEVICE_MODEL := WRTNode
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += wrtnode
endef
TARGET_DEVICES += wrtnode_wrtnode
define Device/xiaomi_miwifi-mini
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 15872k
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := MiWiFi Mini
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += miwifi-mini
endef
TARGET_DEVICES += xiaomi_miwifi-mini
define Device/youku_yk1
SOC := mt7620a
IMAGE_SIZE := 32448k
DEVICE_VENDOR := YOUKU
DEVICE_MODEL := YK1
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 \
kmod-usb-ledtrig-usbport
SUPPORTED_DEVICES += youku-yk1
endef
TARGET_DEVICES += youku_yk1
define Device/yukai_bocco
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := YUKAI Engineering
DEVICE_MODEL := BOCCO
DEVICE_PACKAGES := kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink
SUPPORTED_DEVICES += bocco
endef
TARGET_DEVICES += yukai_bocco
define Device/zbtlink_zbt-ape522ii
SOC := mt7620a
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 15872k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-APE522II
DEVICE_PACKAGES := kmod-mt76x2
SUPPORTED_DEVICES += zbt-ape522ii
endef
TARGET_DEVICES += zbtlink_zbt-ape522ii
define Device/zbtlink_zbt-cpe102
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7552k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-CPE102
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += zbt-cpe102
endef
TARGET_DEVICES += zbtlink_zbt-cpe102
define Device/zbtlink_zbt-wa05
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7552k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WA05
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += zbt-wa05
endef
TARGET_DEVICES += zbtlink_zbt-wa05
define Device/zbtlink_zbt-we1026-5g-16m
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE1026-5G
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
SUPPORTED_DEVICES += we1026-5g-16m zbtlink,we1026-5g-16m
endef
TARGET_DEVICES += zbtlink_zbt-we1026-5g-16m
ramips: add support for ZBT WE1026-H This commit adds support for the ZBT WE1026-H, an outdoor AP with support for adding an internal LTE modem. The detailed specs are: * CPU: MT7620A * 2x 10/100Mbps Ethernet (LAN port has passive PoE support). * 16/32 MB Flash. * 128/256 MB RAM. * 1x USB 2.0 port. * 1x mini-PCIe slot (only USB2.0 bus). * 1x SIM slot (standard size). * 1x 2.4Ghz WIFI (rt2800). * 1x button. * 6x LEDS (4 GPIO-controlled). * 1x micro-SD reader. The following have been tested and working: - Ethernet switch - Wifi - Mini-PCIe slot + SIM slot - USB port - microSD slot - sysupgrade - reset button Installation and recovery: In order to install OpenWRT the first time or ito recover the router, you can use the web-based recovery system. Keep the reset button pressed during boot and access 192.168.1.1 in your browser when your machine obtains an IP address. Upload the firmware to start the recovery process. Notes: * When binding the USB LED to a usbport, the LED is switched on all the time due to the presence of an internal hub. Thus, it does not really signal any USB-information. * I only have the 32MB version and have only added support for this device. However, the files are structured so that adding support for the 16MB version should be easy. * Only the LAN port is accessible from the outside of the casing and LEDs are not visible. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> [rebased onto base-files split, minor style fixes, removed use of USB led as power LED] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-02 15:18:55 +01:00
define Device/zbtlink_zbt-we1026-h-32m
SOC := mt7620a
ramips: add support for ZBT WE1026-H This commit adds support for the ZBT WE1026-H, an outdoor AP with support for adding an internal LTE modem. The detailed specs are: * CPU: MT7620A * 2x 10/100Mbps Ethernet (LAN port has passive PoE support). * 16/32 MB Flash. * 128/256 MB RAM. * 1x USB 2.0 port. * 1x mini-PCIe slot (only USB2.0 bus). * 1x SIM slot (standard size). * 1x 2.4Ghz WIFI (rt2800). * 1x button. * 6x LEDS (4 GPIO-controlled). * 1x micro-SD reader. The following have been tested and working: - Ethernet switch - Wifi - Mini-PCIe slot + SIM slot - USB port - microSD slot - sysupgrade - reset button Installation and recovery: In order to install OpenWRT the first time or ito recover the router, you can use the web-based recovery system. Keep the reset button pressed during boot and access 192.168.1.1 in your browser when your machine obtains an IP address. Upload the firmware to start the recovery process. Notes: * When binding the USB LED to a usbport, the LED is switched on all the time due to the presence of an internal hub. Thus, it does not really signal any USB-information. * I only have the 32MB version and have only added support for this device. However, the files are structured so that adding support for the 16MB version should be easy. * Only the LAN port is accessible from the outside of the casing and LEDs are not visible. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> [rebased onto base-files split, minor style fixes, removed use of USB led as power LED] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-02 15:18:55 +01:00
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE1026-H
DEVICE_VARIANT := 32M
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
ramips: add support for ZBT WE1026-H This commit adds support for the ZBT WE1026-H, an outdoor AP with support for adding an internal LTE modem. The detailed specs are: * CPU: MT7620A * 2x 10/100Mbps Ethernet (LAN port has passive PoE support). * 16/32 MB Flash. * 128/256 MB RAM. * 1x USB 2.0 port. * 1x mini-PCIe slot (only USB2.0 bus). * 1x SIM slot (standard size). * 1x 2.4Ghz WIFI (rt2800). * 1x button. * 6x LEDS (4 GPIO-controlled). * 1x micro-SD reader. The following have been tested and working: - Ethernet switch - Wifi - Mini-PCIe slot + SIM slot - USB port - microSD slot - sysupgrade - reset button Installation and recovery: In order to install OpenWRT the first time or ito recover the router, you can use the web-based recovery system. Keep the reset button pressed during boot and access 192.168.1.1 in your browser when your machine obtains an IP address. Upload the firmware to start the recovery process. Notes: * When binding the USB LED to a usbport, the LED is switched on all the time due to the presence of an internal hub. Thus, it does not really signal any USB-information. * I only have the 32MB version and have only added support for this device. However, the files are structured so that adding support for the 16MB version should be easy. * Only the LAN port is accessible from the outside of the casing and LEDs are not visible. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> [rebased onto base-files split, minor style fixes, removed use of USB led as power LED] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-02 15:18:55 +01:00
endef
TARGET_DEVICES += zbtlink_zbt-we1026-h-32m
define Device/zbtlink_zbt-we2026
SOC := mt7620n
ramips/mt7620: fix IMAGE_SIZE for all devices This fixes IMAGE_SIZE for all devices based on the partition size given in DTS: DEVICE *.MK *.DTS VERDICT aigale_ai-br100 7936k 0x7c0000 alfa-network_ac1200rm 16064k 0xfb0000 alfa-network_tube-e4g 16064k 0xfb0000 asus_rp-n53 - 0x7b0000 default asus_rt-ac51u (16M) 0xfb0000 asus_rt-n12p - 0xfb0000 wrong asus_rt-n14u - 0xfb0000 wrong bdcom_wap2100-sk 15808k 0xf70000 buffalo_whr-1166d 15040k 0xfb0000 wrong buffalo_whr-300hp2 6848k 0x7b0000 wrong buffalo_whr-600d 6848k 0x7b0000 wrong buffalo_wmr-300 - 0x7b0000 default comfast_cf-wr800n - 0x7b0000 default dlink_dch-m225 6848k 0x6b0000 dlink_dir-510l - 0xde0000 wrong dlink_dir-810l 6720k 0x690000 dlink_dwr-116-a1 - 0x7e0000 wrong dlink_dwr-118-a1 - 0xfe0000 wrong dlink_dwr-118-a2 - 0xfe0000 wrong dlink_dwr-921-c1 (16M) 0xfe0000 wrong dlink_dwr-921-c3 [(16M)] 0xfe0000 wrong dlink_dwr-922-e2 (16M) 0xfe0000 wrong dovado_tiny-ac - 0x7b0000 default edimax_br-6478ac-v2 7616k 0x00790000 wrong edimax_ew-7476rpc 7744k 0x00790000 edimax_ew-7478ac 7744k 0x00790000 edimax_ew-7478apc 7744k 0x00790000 elecom_wrh-300cr (16M) 0xdf0000 wrong glinet_gl-mt300a (16M) 0xf80000 wrong glinet_gl-mt300n (16M) 0xf80000 wrong glinet_gl-mt750 (16M) 0xf80000 wrong head-weblink_hdrm200 16064k 0xfb0000 hiwifi_hc5661 15872k 0xf80000 hiwifi_hc5761 15872k 0xf80000 hiwifi_hc5861 15872k 0xf80000 hnet_c108 16777216 0xfb0000 wrong iodata_wn-ac1167gr 6864k 0x6b4000 iodata_wn-ac733gr3 6992k 0x6d4000 kimax_u25awf-h1 16064k 0xfb0000 kimax_u35wf 16064k 0xfb0000 kingston_mlw221 15744k 0xf60000 kingston_mlwg2 15744k 0xf60000 lava_lr-25g001 - 0xfe0000 wrong lenovo_newifi-y1 (16M) 0xfb0000 lenovo_newifi-y1s (16M) 0xfb0000 linksys_e1700 - 0x7b0000 default microduino_microwrt 16128k 0xfc0000 netgear_ex2700 (4M) 0x3b0000 netgear_ex3700 7744k 0x790000 netgear_wn3000rp-v3 - 0x7b0000 default nexx_wt3020-4m (4M) 0x3b0000 nexx_wt3020-8m - 0x7b0000 default ohyeah_oy-0001 (16M) 0xfb0000 phicomm_k2g 7552k 0x760000 phicomm_psg1208 - 0x7b0000 default phicomm_psg1218a - 0x7b0000 default phicomm_psg1218b - 0x7b0000 default planex_cs-qr10 - 0x7b0000 default planex_db-wrt01 - 0x7b0000 default planex_mzk-750dhp - 0x7b0000 default planex_mzk-ex300np - 0x730000 wrong planex_mzk-ex750np - 0x730000 wrong ralink_mt7620a-evb - 0x7b0000 default ralink_mt7620a-mt7530-evb - 0x7b0000 default ralink_mt7620a-mt7610e-evb - 0x7b0000 default ralink_mt7620a-v22sg-evb - 0x7f80000 wrong ravpower_wd03 (8M) 0x7b0000 sanlinking_d240 (16M) 0xfb0000 sercomm_na930 20m 0x1400000 tplink_archer-c20i - 0x7a0000 wrong tplink_archer-c20-v1 - 0x7a0000 wrong tplink_archer-c2-v1 - 0x7a0000 wrong tplink_archer-c50-v1 - 0x7a0000 wrong tplink_archer-mr200 - 0x7b0000 default vonets_var11n-300 (4M) 0x3b0000 wrtnode_wrtnode (16M) 0xfb0000 xiaomi_miwifi-mini (16M) 0xf80000 wrong youku_yk1 (32M) 0x1fb0000 yukai_bocco - 0x7b0000 default zbtlink_we1026-5g-16m 16777216 0xfb0000 wrong zbtlink_zbt-ape522ii - 0xf80000 wrong zbtlink_zbt-cpe102 - 0x760000 wrong zbtlink_zbt-wa05 - 0x760000 wrong zbtlink_zbt-we2026 - 0x760000 wrong zbtlink_zbt-we826-16m (16M) 0xfb0000 zbtlink_zbt-we826-32m (32M) 0x1fb0000 zbtlink_zbt-we826-e 32448k 0x1fb0000 zbtlink_zbt-wr8305rt - 0x7b0000 default zte_q7 - 0x7b0000 default zyxel_keenetic-omni - 0x7b0000 default zyxel_keenetic-omni-ii - 0x7b0000 default zyxel_keenetic-viva 16064k 0xfb0000 No verdict means that the device is correctly set. Legend: ( ): Value is set via ralink_default_fw_size_xxM [ ]: Value is derived from parent definition - : Value is not set and derived from default definition Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-07-15 14:55:19 +02:00
IMAGE_SIZE := 7552k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE2026
SUPPORTED_DEVICES += zbt-we2026
endef
TARGET_DEVICES += zbtlink_zbt-we2026
define Device/zbtlink_zbt-we826-16m
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE826
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
SUPPORTED_DEVICES += zbt-we826 zbt-we826-16M
endef
TARGET_DEVICES += zbtlink_zbt-we826-16m
define Device/zbtlink_zbt-we826-32m
SOC := mt7620a
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE826
DEVICE_VARIANT := 32M
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
SUPPORTED_DEVICES += zbt-we826-32M
endef
TARGET_DEVICES += zbtlink_zbt-we826-32m
define Device/zbtlink_zbt-we826-e
SOC := mt7620a
IMAGE_SIZE := 32448k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WE826-E
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 uqmi \
kmod-usb-serial-option
endef
TARGET_DEVICES += zbtlink_zbt-we826-e
define Device/zbtlink_zbt-wr8305rt
SOC := mt7620n
IMAGE_SIZE := 7872k
DEVICE_VENDOR := Zbtlink
DEVICE_MODEL := ZBT-WR8305RT
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += zbt-wr8305rt
endef
TARGET_DEVICES += zbtlink_zbt-wr8305rt
define Device/zte_q7
SOC := mt7620a
IMAGE_SIZE := 7872k
DEVICE_VENDOR := ZTE
DEVICE_MODEL := Q7
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
SUPPORTED_DEVICES += zte-q7
endef
TARGET_DEVICES += zte_q7
define Device/zyxel_keenetic-omni
SOC := mt7620n
IMAGE_SIZE := 7872k
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic Omni
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
zyimage -d 4882 -v "ZyXEL Keenetic Omni"
SUPPORTED_DEVICES += kn_rc
endef
TARGET_DEVICES += zyxel_keenetic-omni
define Device/zyxel_keenetic-omni-ii
SOC := mt7620n
IMAGE_SIZE := 7872k
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic Omni II
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
zyimage -d 2102034 -v "ZyXEL Keenetic Omni II"
SUPPORTED_DEVICES += kn_rf
endef
TARGET_DEVICES += zyxel_keenetic-omni-ii
define Device/zyxel_keenetic-viva
SOC := mt7620a
IMAGE_SIZE := 16064k
DEVICE_VENDOR := ZyXEL
DEVICE_MODEL := Keenetic Viva
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
kmod-switch-rtl8366-smi kmod-switch-rtl8367b
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size | \
zyimage -d 8997 -v "ZyXEL Keenetic Viva"
SUPPORTED_DEVICES += kng_rc
endef
TARGET_DEVICES += zyxel_keenetic-viva