2016-04-01 07:11:48 +00:00
|
|
|
#
|
|
|
|
# RT3662/RT3883 Profiles
|
|
|
|
#
|
2016-11-21 07:46:48 +00:00
|
|
|
define Build/mkrtn56uimg
|
|
|
|
$(STAGING_DIR_HOST)/bin/mkrtn56uimg $(1) $@
|
|
|
|
endef
|
2016-04-01 07:11:48 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/asus_rt-n56u
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3662
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE/sysupgrade.bin += | mkrtn56uimg -s
|
2022-11-15 18:20:30 +00:00
|
|
|
DEVICE_VENDOR := ASUS
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_MODEL := RT-N56U
|
2020-04-27 21:04:55 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += rt-n56u
|
2016-10-02 19:00:22 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += asus_rt-n56u
|
2016-10-02 19:00:22 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/belkin_f9k1109v1
|
2022-10-17 19:15:35 +00:00
|
|
|
$(Device/uimage-lzma-loader)
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3883
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Belkin
|
|
|
|
DEVICE_MODEL := F9K1109
|
|
|
|
DEVICE_VARIANT := Version 1.0
|
2020-04-27 21:04:55 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
|
2019-07-15 12:55:31 +00:00
|
|
|
IMAGE_SIZE := 7808k
|
2019-07-07 14:27:51 +00:00
|
|
|
# Stock firmware checks for this uImage image name during upload.
|
|
|
|
UIMAGE_NAME := N750F9K1103VB
|
2016-09-03 08:18:31 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += belkin_f9k1109v1
|
2016-09-03 08:18:31 +00:00
|
|
|
|
2019-07-03 21:22:16 +00:00
|
|
|
define Device/dlink_dir-645
|
ramips: rt3883: use seama-lzma-loader for D-Link DIR-645
In the support topic [0] of the GitHub issue #10634 it was found out
(based on boot logs) that the uimage-lzma-loader (commit 09faa73c53bd)
never worked, as an earlier workaround (commit 6fba88de1913) negated
the recipe:
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.raspi_read: from:50000 len:c
.raspi_read: from:50000 len:1fa000
................................We have SEAMA, Image Size = 2072512
Verifying Checksum ...
Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 5.4.188 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)) #0 Sat Apr 16 12:59:34 2022
[ 0.000000] SoC Type: Ralink RT3883 ver:1 eco:5
[ 0.000000] printk: bootconsolde [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is D-Link DIR-645
[ 0.000000] Initrd not found or empty - disabling initrd
Using the new seama-lzma-loader it's able to boot OpenWrt 22.03
and OpenWrt SNAPSHOT too:
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.raspi_read: from:50000 len:c
.raspi_read: from:50000 len:48b004
.........................................................................We have SEAMA, Image Size = 4763588
Verifying Checksum ...
Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80000000...
[ 0.000000] Linux version 5.10.144 (xabolcs@ut2004) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20774+2-b71affaf8b) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 Tue Sep 27 23:02:30 2022
[ 0.000000] SoC Type: Ralink RT3883 ver:1 eco:5
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] MIPS: machine is D-Link DIR-645
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
The OKLI Loader is unable to read the flash on this SoC:
Looking for OpenWrt image... not found! ('0xddbaddba' at 0xbc051000)
0: https://forum.openwrt.org/t/136435
Fixes: GitHub issue #10634 ("V22.03.0 release currently does not work on D-Link DIR-645")
Fixes: 09faa73c53bd ("ramips: rt3883: use lzma-loader for DIR-645")
Tested-by: Glenn Fowler <gfowler1@outlook.com>
Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
2022-09-27 22:54:36 +00:00
|
|
|
$(Device/seama-lzma-loader)
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3662
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2018-12-29 18:25:00 +00:00
|
|
|
SEAMA_SIGNATURE := wrgn39_dlob.hans_dir645
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := D-Link
|
|
|
|
DEVICE_MODEL := DIR-645
|
2020-04-27 21:04:55 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2
|
2019-07-03 21:22:16 +00:00
|
|
|
SUPPORTED_DEVICES += dir-645
|
2016-09-03 08:18:31 +00:00
|
|
|
endef
|
2019-07-03 21:22:16 +00:00
|
|
|
TARGET_DEVICES += dlink_dir-645
|
2016-09-03 08:18:31 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/edimax_br-6475nd
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3662
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7744k
|
|
|
|
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
|
|
|
|
edimax-header -s CSYS -m RN54 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Edimax
|
|
|
|
DEVICE_MODEL := BR-6475nD
|
|
|
|
SUPPORTED_DEVICES += br-6475nd
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += edimax_br-6475nd
|
2016-09-03 08:18:31 +00:00
|
|
|
|
ramips: add support for Senao Engenius ESR600H
FCC ID: A8J-ESR750H
Engenius ESR600H is an indoor wireless router with a gigabit switch,
2.4 GHz and 5 GHz wireless, internal and external antennas, and a USB port.
**Specification:**
- RT3662F MIPS SOC, 5 GHz WMAC (2x2)
- RT5392L PCI on-board, 2.4 GHz (2x2)
- AR8327 RGMII, 7-port GbE, 25 MHz clock
- 40 MHz reference clock
- 8 MB FLASH 25L6406EM2I-12G
- 64 MB RAM
- UART at J12 (unpopulated)
- 2 internal antennas (5 GHz)
- 2 external antennas (2.4 GHz)
- 9 LEDs, 1 button (power, wps, wifi2g, wifi5g, 5 LAN/WAN)
- USB 2 port (GPIO controlled power)
**MAC addresses:**
MAC Addresses are labeled as WAN and WLAN
U-boot environment has the the vendor MAC address for ethernet
MAC addresses in "factory" are part of wifi calibration data
eth0.2 WAN *:13:e7 u-boot-env wanaddr
eth0.1 ---- *:13:e8 u-boot-env wanaddr + 1
phy0 WLAN *:14:b8 factory 0x8004
phy1 ---- *:14:bc factory 0x4
**Installation:**
Method 1: Firmware upgrade page
OEM webpage at 192.168.0.1
username and password "admin"
Navigate to Network Setting --> Tools --> Firmware
Click Browse and select the factory.dlf image
Click Continue to confirm and wait 6 minutes or more...
Method 2: Serial console to load TFTP image:
(see TFTP recovery)
**Return to OEM:**
Unlike most Engenius boards, this does not have a 'failsafe' image
the only way to return to OEM is serial access to uboot
Unlike most Engenius boards, public images are not available...
so the only way to return to OEM is to have a copy
of the MTD partition "firmware" BEFORE flashing openwrt.
**TFTP recovery:**
Unlike most Engenius boards, TFTP is reliable here
however it requires serial console access
(soldering pins to the UART pinouts)
build your own image...
with 'ramdisk' selected under 'Target Images'
rename initramfs-kernel.bin to 'uImageESR-600H'
make the file available on a TFTP server at 192.168.99.8
interrupt boot by holding or pressing '4' in serial console
as soon as board is powered on
`tftpboot 0x81000000`
`bootm 0x81000000`
perform a sysupgrade
**Format of OEM firmware image:**
This Engenius board uses the Senao proprietary header
with a unique Product ID. The header for factory.bin is
generated by the mksenaofw program included in openwrt.
.dlf file extension is also required for OEM software to accept it
**Note on using OKLI:**
the kernel is now too large for the bootloader to handle
so OKLI is used via the `kernel-loader` image command
recently in master several other ramips boards have the same problem
'Kernel panic - not syncing: Failed to find ralink,rt3883-sysc node'
see commit ad19751edc21ae713bd95df6b93be64bd1e0c612
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2020-11-26 08:33:40 +00:00
|
|
|
define Device/engenius_esr600h
|
|
|
|
$(Device/uimage-lzma-loader)
|
|
|
|
SOC := rt3662
|
|
|
|
IMAGE_SIZE := 7872k
|
|
|
|
IMAGES += factory.dlf
|
|
|
|
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size | \
|
|
|
|
senao-header -r 0x101 -p 0x44 -t 2
|
|
|
|
DEVICE_VENDOR := EnGenius
|
|
|
|
DEVICE_MODEL := ESR600H
|
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 uboot-envtools
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += engenius_esr600h
|
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/loewe_wmdr-143n
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3662
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
DEVICE_VENDOR := Loewe
|
|
|
|
DEVICE_MODEL := WMDR-143N
|
|
|
|
SUPPORTED_DEVICES += wmdr-143n
|
2023-05-20 06:37:45 +00:00
|
|
|
DEFAULT := n
|
ramips: add support for Belkin F9K1109v1
Device specification:
- SoC: Ralink RT3883 (MIPS 74Kc) 500Mhz
- RAM: 64Mb
- Flash: 8MB (SPI-NOR)
- Ethernet: 10/100/1000 Mbps
- WLAN
Wireless 1: SoC-integrated : 2.4/5 GHz
Wireless 2: 2.4 GHz RT3092L
- LED: 2x USB, WAN, LAN
- Key: WPS, reset
- Serial: 4-pin header, (57600,8,N,1), 3.3V TTL,
GND, RX, TX, V - J12 marking on board
- USB ports: 2 x USB 2.0
Flashing instructions:
Option 1 (from bootloader web)
- Hold reset button on the back of router when plugging
in power (for at-least 10 seconds after plugged in)
- Connect to a Lan port
- Set computer IP to 10.10.10.3
- Go to http://10.10.10.123 in a web browser
- Click the Browse... Button and select the
*squashfs.sysupgrade.bin file then click APPLY
Option 2 (from the stock admin web)
- Go to firmware upgrade
- Upload the **factory** image *initramfs.bin first
- Boot into openwrt
- From Luci web in openwrt upload the *squashfs.sysupgrade.bin
Signed-off-by: Kip Porterfield <kip.porterfield@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[added v1 to the compatible identifier, added pciid for
the RT3092L, fixed pci unit-address, split out the F9K110X.dtsi
to prepare for a possible F9K1103 patch]
2019-02-03 18:54:18 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += loewe_wmdr-143n
|
ramips: add support for Belkin F9K1109v1
Device specification:
- SoC: Ralink RT3883 (MIPS 74Kc) 500Mhz
- RAM: 64Mb
- Flash: 8MB (SPI-NOR)
- Ethernet: 10/100/1000 Mbps
- WLAN
Wireless 1: SoC-integrated : 2.4/5 GHz
Wireless 2: 2.4 GHz RT3092L
- LED: 2x USB, WAN, LAN
- Key: WPS, reset
- Serial: 4-pin header, (57600,8,N,1), 3.3V TTL,
GND, RX, TX, V - J12 marking on board
- USB ports: 2 x USB 2.0
Flashing instructions:
Option 1 (from bootloader web)
- Hold reset button on the back of router when plugging
in power (for at-least 10 seconds after plugged in)
- Connect to a Lan port
- Set computer IP to 10.10.10.3
- Go to http://10.10.10.123 in a web browser
- Click the Browse... Button and select the
*squashfs.sysupgrade.bin file then click APPLY
Option 2 (from the stock admin web)
- Go to firmware upgrade
- Upload the **factory** image *initramfs.bin first
- Boot into openwrt
- From Luci web in openwrt upload the *squashfs.sysupgrade.bin
Signed-off-by: Kip Porterfield <kip.porterfield@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[added v1 to the compatible identifier, added pciid for
the RT3092L, fixed pci unit-address, split out the F9K110X.dtsi
to prepare for a possible F9K1103 patch]
2019-02-03 18:54:18 +00:00
|
|
|
|
2019-07-03 21:22:16 +00:00
|
|
|
define Device/omnima_hpm
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3662
|
2016-09-03 08:18:31 +00:00
|
|
|
IMAGE_SIZE := 16064k
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := Omnima
|
|
|
|
DEVICE_MODEL := HPM
|
2019-09-22 10:06:25 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2
|
2019-07-03 21:22:16 +00:00
|
|
|
SUPPORTED_DEVICES += hpm
|
2016-09-03 08:18:31 +00:00
|
|
|
endef
|
2019-07-03 21:22:16 +00:00
|
|
|
TARGET_DEVICES += omnima_hpm
|
2016-09-03 08:18:31 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/samsung_cy-swr1100
|
|
|
|
$(Device/seama)
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3662
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2019-07-07 14:27:51 +00:00
|
|
|
KERNEL := $(KERNEL_DTB)
|
|
|
|
SEAMA_SIGNATURE := wrgnd10_samsung_ss815
|
|
|
|
DEVICE_VENDOR := Samsung
|
|
|
|
DEVICE_MODEL := CY-SWR1100
|
2020-04-27 21:04:55 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += cy-swr1100
|
2016-11-21 07:46:48 +00:00
|
|
|
endef
|
2019-07-07 14:27:51 +00:00
|
|
|
TARGET_DEVICES += samsung_cy-swr1100
|
2016-11-21 07:46:48 +00:00
|
|
|
|
2019-07-07 14:27:51 +00:00
|
|
|
define Device/sitecom_wlr-6000
|
2022-08-17 19:30:04 +00:00
|
|
|
$(Device/uimage-lzma-loader)
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3883
|
2019-07-07 14:27:51 +00:00
|
|
|
IMAGE_SIZE := 7244k
|
|
|
|
IMAGES += factory.dlf
|
2020-03-10 13:58:27 +00:00
|
|
|
IMAGE/factory.dlf := $$(sysupgrade_bin) | check-size | \
|
2019-07-07 14:27:51 +00:00
|
|
|
senao-header -r 0x0202 -p 0x41 -t 2
|
|
|
|
DEVICE_VENDOR := Sitecom
|
|
|
|
DEVICE_MODEL := WLR-6000
|
2020-04-27 21:04:55 +00:00
|
|
|
DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2
|
2019-07-07 14:27:51 +00:00
|
|
|
SUPPORTED_DEVICES += wlr-6000
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += sitecom_wlr-6000
|
2016-11-21 07:46:48 +00:00
|
|
|
|
2019-07-03 21:22:16 +00:00
|
|
|
define Device/trendnet_tew-691gr
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3883
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2016-08-19 23:18:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | umedia-header 0x026910
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := TRENDnet
|
|
|
|
DEVICE_MODEL := TEW-691GR
|
2019-07-03 21:22:16 +00:00
|
|
|
SUPPORTED_DEVICES += tew-691gr
|
2016-08-19 23:18:51 +00:00
|
|
|
endef
|
2019-07-03 21:22:16 +00:00
|
|
|
TARGET_DEVICES += trendnet_tew-691gr
|
2016-08-19 23:18:51 +00:00
|
|
|
|
2019-07-03 21:22:16 +00:00
|
|
|
define Device/trendnet_tew-692gr
|
2019-12-20 00:15:57 +00:00
|
|
|
SOC := rt3883
|
2019-07-22 16:09:57 +00:00
|
|
|
IMAGE_SIZE := 7872k
|
2016-08-19 23:18:51 +00:00
|
|
|
IMAGES += factory.bin
|
2020-05-08 16:21:06 +00:00
|
|
|
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | umedia-header 0x026920
|
2019-07-06 12:51:09 +00:00
|
|
|
DEVICE_VENDOR := TRENDnet
|
|
|
|
DEVICE_MODEL := TEW-692GR
|
2019-07-03 21:22:16 +00:00
|
|
|
SUPPORTED_DEVICES += tew-692gr
|
2016-08-19 23:18:51 +00:00
|
|
|
endef
|
2019-07-03 21:22:16 +00:00
|
|
|
TARGET_DEVICES += trendnet_tew-692gr
|