| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
This adds an easy-installation factory image for the NETGEAR R6220
router. The factory image can either be flashed via the vendor Web-UI or
the bootloader using nmrpflash.
Tested with NETGEAR V1.1.0.86 firmware.
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MediaTek MT7621 NAND driver currently intransparently shifts NAND
pages when a block is marked as bad. Because of this, offsets for e.g.
caldata and MAC-addresses seem to be off.
This is, howeer, not a task for the mtd NAND driver, as the flash
translation layer is tasked with this.
This patch disables this badblock shifting. This fix was originally
proposed by Jo-Philipp Wich at
https://bugs.openwrt.org/index.php?do=details&task_id=1926
Fixes FS#1926 ("MTD partition offset not correctly mapped when bad
eraseblocks present")
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
|
|
|
|
|
|
|
| |
These devices are sold as a "NAS HDD Enclousure"
and have a "NAS Media Streaming & File Server & AP" on
the box. That's why I think they should have some support
for the HDD right out-of-the-box.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SoC: MT7621AT
RAM: 256MB
Flash: 16M SPI
Ethernet: 5x GE ports
WiFi: 2.4G: MT7615N
5G: MT7615N
Flash instruction:
1.Modify the file to linux.bin
2.Set up FTP service
3.Computer settings fixed IP: 192.168.179.50 255.255.255.0
4.Turn on the power and press and hold the reset button until the indicator light is on for about 5 seconds.
Signed-off-by: Zhenjian Zhang <itdesk.zhang@gmail.com>
[fix mac location]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
|
|
| |
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
|
|
|
|
| |
DEVICE_VENDOR is missing for this device.
Signed-off-by: Paul Spooren <mail@aparcar.org>
|
|
|
|
|
|
|
|
| |
Compile & run tested on MT7620, MT7621
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
[Tested on Phicomm PSG1218 rev.A, MediaTek MT7620A ver:2 eco:6]
Tested-by: MingHao Chen <cmheia@email.com>
|
|
|
|
|
|
|
|
| |
This change the switch settings for:
HC5661: 4 lan ports + 1 wan port
Y1S: 2 lan ports(G port) + 2 lan ports(E port) + 1 wan port
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
netdev on eth0.2 can't show link status of wan port because eth0 is
connected to builtin switch and is always link up. Use swconfig
trigger instead.
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
[redo commit message]
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ipTIME A604M is a 2.4/5GHz band AC1200 router, based on MediaTek
MT7628AN.
Specifications:
- SoC: MT7628AN
- RAM: DDR2 64MB
- Flash: SPI NOR 8MB
- WiFi:
- 2.4GHz: SoC internal
- 5GHz: MT7612EN
- Ethernet: 5x 10/100Mbps
- Switch: SoC internal
- UART:
- J1: 3.3V, TX, RX, GND (3.3V is the square pad) / 57600 8N1
Installation via web interface:
1. Flash **initramfs** image through the stock web interface.
2. Boot into OpenWrt and perform sysupgrade with sysupgrade image.
Revert to stock firmware:
1. Perform sysupgrade with stock image.
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit made the following changes to sync all bootcount scripts:
1. use boot() instead of start()
This script only needs to be executed once when boot is complete.
use boot() to make this explicit.
2. drop sourcing of /lib/functions.sh
This is aready done in /etc/rc.common.
3. ramips: replace board name checking with a case
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes size and offset set for WiFi caldata extraction and
MAC address adjustment to hexadecimal notation.
This will be much clearer for the reader when numbers are big, and
will also match the style used for mtd-cal-data in DTS files.
Since dd cannot deal with hexadecimal notation, one has to convert
back to decimal by simple $(($hexnum)).
Acked-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the offsets for the MAC address location in
mtd_get_mac_binary* and mtd_get_mac_text to hexadecimal notation.
This will be much clearer for the reader when numbers are big, and
will also match the style used for mtd-mac-address in DTS files.
(e.g. 0x1006 and 0x5006 are much more useful than 4102 and 20486)
Acked-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "mac80211: add new minstrel_ht patches to improve probing on mt76x2" (9861050b85e5381c93d73ffdbc24c130400e0fb8)
Revert "kernel: use bulk free in kfree_skb_list to improve performance" (98b654de2e7502507b31f0fb82befbb48f9c8542)
Revert "ramips: add preliminary support for WIO ONE" (085141dc5ba5e763e1bf4c1a2fd6957160810ccc)
Revert "ramips: add preliminary support for SGE AP-MTKH7-0006 developer board" (b1db6d0539511f60bf65fbde28b16afa31180e34)
Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles" (363ce4329d4f6c00b4a7cb83dd1821fafc0d40ad)
Revert "toolchain: add autoconf-lean" (fdb30eed03ae56cd87078b64d9b2fac00799e783)
Revert "build: allow overriding the filename on the remote server when downloading" (6fa0e07758524eddf20c9b66dfcb55c490e1961e)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
| |
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
|
|
|
| |
Lan and Wan addresses are swapped compared to the original firmware.
This patch fixes this problem
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In commit d93969a13a5b ("ramips: Improve compatible for TP-Link
Archer devices") and subsequent ones, names of several devices
in ramips have been changed.
Since LED names are frequently invoked by $boardname, this has
broken LED setup in 01_leds, as $boardname and prefix in DTS
do not match anymore.
This patch updates device name prefixes for LEDs in DTS files,
and provides a migration script.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
| |
Now that the mt76/mt7615e driver is in Openwrt, might as well use it.
Signed-off-by: Ozgur Can Leonard <ozgurcan@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HiWiFi HC5761A is an "MT7628AN variant" of HC5761
Specifications:
- MediaTek MT7628AN 580MHz
- 128 MB DDR2 RAM
- 16 MB SPI Flash
- 2.4G MT7628AN 802.11bgn 2T2R 300Mbps
- 5G MT7610EN 802.11ac 433Mbps
- 3x 10/100 Mbps Ethernet
Flash instruction:
1. Get SSH access to the router
2. SSH to router with `ssh -p 1022 root@192.168.199.1`, The SSH password is the same as the webconfig one
3. Upload OpenWrt sysupgrade firmware into the router's `/tmp` folder with SCP
4. Run `mtd write /tmp/<filename> firmware`
5. reboot
Known bug:
- SD slot does not work (See PR 1500)
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HC5661A:
- Fix pinctrl
- Fix image size (15808k)
- Use switch trigger for WAN LED
Both:
- Use tpt LED trigger for wireless
- Explicitly disable USB nodes
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
|
|
|
|
|
|
|
| |
HiWiFi has several MT7628AN routers which have similar specs
Add HC5X61A.dtsi to include them, like HC5X61.dtsi (for MT7620A)
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FON2601 is a wireless router.
Specification:
- SoC: Mediatek MT7620A (580MHz)
- RAM: 128 MiB
- ROM: 16 MiB SPI Flash
- Wireless:
for 11b/g/n (upto 300 Mbps): MT7620A built-in WMAC
for 11a/n/ac (upto 867 Mbps): MT7662E
- Ethernet LAN: 1 port, upto 100 Mbps
- Ethernet WAN: 1 port, upto 1000 Mbps
- USB: 1 port (USB 2.0 host)
- LEDs: 4 (all can be controlled by SoC's GPIO)
- buttons: 1 (Displayed as "WPS" on enclosure)
- serial port: 57600n8
pins: Vcc(3.3V), Rx, Tx, GND
(left to right, viewed from outside of board)
Installation (only available via UART):
1. download sysupgrade binary image by wget command
2. write sysupgrade binary image to Flash
command is:
mtd write sysupgrade.bin firmware
3. reboot
Important Notice:
Only one button is displayed as "WPS" on enclosure.
However, it is configured as "reset" (factory resetting feature).
Signed-off-by: NOGUCHI Hiroshi <drvlabo@gmail.com>
[removed unrelated openwrt-keyring revert, missing -Wall for uimage_padhdr]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
|
|
|
|
|
|
|
| |
There's an empty case in 02_network introduced by last commit. Drop it.
Fixes: ee650ba46c ("ramips: remove needless setting of lan_mac to eth0 in 02_network")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This removes superfluous lines like
lan_mac=$(cat /sys/class/net/eth0/address)
Since lan_mac only sets the MAC address for eth0.1, these lines
can be safely removed as the address will be inherited from eth0
anyway.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
| |
The vast majority of devices labels "factory" partition with lower
case. Convert the small fraction with capital letter to that and
merge another case in 02_network.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
| |
This just merges some duplicate definitions and consolidates lines.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com> [merge duplicated
cases for phicomm k2p]
|
|
|
|
|
|
|
| |
This cosmetical patch is just meant to make comparing/checking
IMAGE_SIZE values easier.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
| |
There are frequent examples of the ralink_default_fw_size_xxx
variables being used to "roughly" set flash size without caring
about the actual size of the firmware partition.
To discourage this behavior, this patch removes the variables and
just sets IMAGE_SIZE by its numeric value for each target.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, ramips target defines 0x7b0000 as default IMAGE_SIZE
for all devices in ramips target, i.e. this will be set if a
device does not specify IMAGE_SIZE itself.
From 92 devices using that default due to a "missing" IMAGE_SIZE,
14 were incorrect by a small amount (i.e. still "8M" flash) and
12 were completely off ("16M", "4M", ...).
This patch thus removes the _default_ IMAGE_SIZE and defines
IMAGE_SIZE for each device individually. This should indicate to
people supporting new devices that this parameter has to be cared
about.
For the present code, this patch is cosmetical.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes IMAGE_SIZE for all devices based on the partition size
given in DTS:
DEVICE *.MK *.DTS VERDICT
7links_px-4885-4m (4M) 0x3b0000
7links_px-4885-8m - 0x7b0000 default
8devices_carambola - 0x7b0000 default
accton_wr6202 - 0x7b0000 default
airlive_air3gii (4M) 0x3b0000
alfa-network_w502u - 0x7b0000 default
allnet_all0256n-4m (4M) 0x3b0000
allnet_all0256n-8m - 0x7b0000 default
allnet_all5002 32448k 0x1fb0000
allnet_all5003 32448k 0x1fb0000
alphanetworks_asl26555-16m 15872k 0xf80000
alphanetworks_asl26555-8m 7744k 0x790000
arcwireless_freestation5 - 0x7b0000 default
argus_atp-52b 7808k 0x7a0000
asiarf_awapn2403 (4M) 0x3b0000
asiarf_awm002-evb-4m (4M) 0x3b0000
asiarf_awm002-evb-8m - 0x7b0000 default
asus_rt-g32-b1 (4M) 0x3b0000
asus_rt-n10-plus (4M) 0x3b0000
asus_rt-n13u - 0x7b0000 default
asus_wl-330n (4M) 0x3b0000
asus_wl-330n3g (4M) 0x3b0000
aximcom_mr-102n - 0x790000 wrong
aztech_hw550-3g - 0x7b0000 default
belkin_f5d8235-v2 7744k 0x790000
belkin_f7c027 7616k 0x770000
buffalo_whr-g300n 3801088 0x3a0000
dlink_dap-1350 7488k 0x750000
dlink_dcs-930 (4M) 0x3b0000
dlink_dcs-930l-b1 (4M) 0x3b0000
dlink_dir-300-b1 (4M) 0x3b0000
dlink_dir-300-b7 (4M) 0x7b0000 wrong
dlink_dir-320-b1 - 0x7b0000 default
dlink_dir-600-b1 (4M) 0x3b0000
dlink_dir-610-a1 (4M) 0x3b0000
dlink_dir-615-d (4M) 0x3b0000
dlink_dir-615-h1 (4M) 0x3b0000
dlink_dir-620-a1 - 0x7b0000 default
dlink_dir-620-d1 - 0x7b0000 default
dlink_dwr-512-b 7800k 0x7e0000 wrong
easyacc_wizard-8800 - 0x7b0000 default
edimax_3g-6200n 3648k 0x390000
edimax_3g-6200nl 3648k 0x390000
engenius_esr-9753 (4M) 0x3b0000
fon_fonera-20n - 0x7b0000 default
hame_mpr-a1 (4M) 0x3b0000
hame_mpr-a2 - 0x7b0000 default
hauppauge_broadway 7744k 0x790000
hilink_hlk-rm04 - 0x3b0000 wrong
hootoo_ht-tm02 - 0x7b0000 default
huawei_d105 (4M) 0x3b0000
huawei_hg255d 15744k 0xf60000
intenso_memory2move - 0x7b0000 default
jcg_jhr-n805r (4M) 0x3b0000
jcg_jhr-n825r (4M) 0x3b0000
jcg_jhr-n926r (4M) 0x3b0000
mofinetwork_mofi3500-3gn - 0x7b0000 default
netcore_nw718 3712k 0x3a0000
netgear_wnce2001 (4M) 0x350000 wrong
nexaira_bc2 - 0x7b0000 default
nexx_wt1520-4m (4M) 0x3b0000
nexx_wt1520-8m - 0x7b0000 default
nixcore_x1-16m 16064k 0xfb0000
nixcore_x1-8m 7872k 0x7b0000
olimex_rt5350f-olinuxino - 0x7b0000 default
olimex_rt5350f-olinuxino-evb - 0x7b0000 default
omnima_miniembplug - 0x7b0000 default
omnima_miniembwifi - 0x7b0000 default
petatel_psr-680w (4M) 0x3b0000
planex_mzk-dp150n (4M) 0x3b0000
planex_mzk-w300nh2 3648k 0x390000
planex_mzk-wdpr - 0x680000 wrong
poray_ip2202 - 0x7b0000 default
poray_m3 (4M) 0x3b0000
poray_m4-4m (4M) 0x3b0000
poray_m4-8m - 0x7b0000 default
poray_x5 - 0x7b0000 default
poray_x8 - 0x7b0000 default
prolink_pwh2004 - 0x7b0000 default
ralink_v22rw-2x2 (4M) 0x3b0000
sitecom_wl-351 (4M) 0x3b0000
skyline_sl-r7205 (4M) 0x3b0000
sparklan_wcr-150gn (4M) 0x3b0000
teltonika_rut5xx - 0xfb0000 wrong
tenda_3g150b (4M) 0x3b0000
tenda_3g300m (4M) 0x3b0000
tenda_w150m (4M) 0x3b0000
tenda_w306r-v2 (4M) 0x3b0000
trendnet_tew-638apb-v2 (4M) 0x3b0000
trendnet_tew-714tru - 0x7b0000 default
unbranded_a5-v11 (4M) 0x3b0000
unbranded_wr512-3gn-4m (4M) 0x3b0000
unbranded_wr512-3gn-8m - 0x7b0000 default
unbranded_xdx-rn502j (4M) 0x3b0000
upvel_ur-326n4g (4M) 0x3b0000
upvel_ur-336un - 0x7b0000 default
vocore_vocore-16m 16064k 0xfb0000
vocore_vocore-8m 7872k 0x7b0000
wansview_ncs601w - 0x7b0000 default
wiznet_wizfi630a (16M) 0xfb0000
zorlik_zl5900v2 - 0x7b0000 default
zyxel_keenetic (4M) 0x3b0000
zyxel_keenetic-start (4M) 0x3b0000
zyxel_nbg-419n (4M) 0x3b0000
zyxel_nbg-419n-v2 (8M) 0x7b0000
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes IMAGE_SIZE for all devices based on the partition size
given in DTS:
DEVICE *.MK *.DTS VERDICT
airlink101_ar670w (4M) 0x3c0000 wrong
airlink101_ar725w - 0x3B0000 wrong
asus_rt-n15 (4M) 0x3b0000
belkin_f5d8235-v1 7744k 0x7b0000 wrong
buffalo_wli-tx4-ag300n (4M) 0x3b0000
buffalo_wzr-agl300nh (4M) 0x3b0000
dlink_dap-1522-a1 3801088 0x3a0000
ralink_v11st-fe (4M) 0x003b0000
asus_rt-n56u - 0x007b0000 default
belkin_f9k1109v1 7224k 0x7a0000 wrong
dlink_dir-645 - 0x7b0000 default
edimax_br-6475nd 7744k 0x00790000
loewe_wmdr-143n - 0x7b0000 default
omnima_hpm 16064k 0x00fb0000
samsung_cy-swr1100 - 0x7b0000 default
sitecom_wlr-6000 7244k 0x713000
trendnet_tew-691gr - 0x007b0000 default
trendnet_tew-692gr - 0x007b0000 default
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes IMAGE_SIZE for all devices based on the partition size
given in DTS:
DEVICE *.MK *.DTS VERDICT
alfa-network_awusfree1 (8M) 0x7b0000
buffalo_wcr-1166ds - 0x7c0000 wrong
cudy_wr1000 (8M) 0x7b0000
d-team_pbr-d1 (16M) 0x0fb0000
duzun_dm06 - 0x7b0000 default
glinet_gl-mt300n-v2 16064k 0xfb0000
glinet_vixmini 7872k 0x7b0000
hilink_hlk-7628n (32M) 0x1fb0000
hiwifi_hc5661a (16M) 0xf70000 wrong
hiwifi_hc5861b 15808k 0xf70000
mediatek_linkit-smart-7688 (32M) 0x1fb0000
mediatek_mt7628an-eval-board (4M) 0x7b0000 wrong
mercury_mac1200r-v2 - 0x7c0000 wrong
netgear_r6120 15744k 0xf60000
onion_omega2 (16M) 0xfb0000
onion_omega2p (32M) 0x1fb0000
rakwireless_rak633 - 0x7b0000 default
skylab_skw92a 16064k 0xfb0000
tama_w06 15040k 0xeb0000
totolink_lr1200 7872k 0x7b0000
tplink_archer-c20-v4 7808k 0x7a0000
tplink_archer-c50-v3 7808k 0x7a0000
tplink_archer-c50-v4 7616k 0x770000
tplink_tl-mr3020-v3 7808k 0x7a0000
tplink_tl-mr3420-v5 7808k 0x7a0000
tplink_tl-wa801nd-v5 7808k 0x7a0000
tplink_tl-wr802n-v4 7808k 0x7a0000
tplink_tl-wr840n-v4 7808k 0x7a0000
tplink_tl-wr840n-v5 3904k 0x3d0000
tplink_tl-wr841n-v13 7808k 0x7a0000
tplink_tl-wr841n-v14 3968k 0x3e0000
tplink_tl-wr842n-v5 7808k 0x7a0000
tplink_tl-wr902ac-v3 7808k 0x7a0000
unielec_u7628-01-128m-16m 16064k 0xfb0000
vocore_vocore2 (16M) 0xfb0000
vocore_vocore2-lite (16M) 0x7b0000 wrong
wavlink_wl-wn570ha1 (8M) 0x7b0000
wavlink_wl-wn575a3 (8M) 0x7b0000
widora_neo-16m (16M) 0x0fb0000
widora_neo-32m (32M) 0x1fb0000
wiznet_wizfi630s (32M) 0x1fb0000
wrtnode_wrtnode2p (16M) 0x1fb0000 wrong
wrtnode_wrtnode2r (16M) 0x1fb0000 wrong
xiaomi_mir4a-100m 14976k 0xea0000
xiaomi_miwifi-nano (16M) 0xfb0000
zbtlink_zbt-we1226 (8M) 0x7b0000
zyxel_keenetic-extra-ii 14912k 0xe90000
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes IMAGE_SIZE for all devices based on the partition size
given in DTS:
DEVICE *.MK *.DTS VERDICT
afoundry_ew1200 (16M) 0xfb0000
asiarf_ap7621-001 (16M) 0xfa0000 wrong
buffalo_wsr-1166dhp (16M) 0xf90000 wrong
buffalo_wsr-600dhp (16M) 0xfb0000
dlink_dir-860l-b1 (16M) 0xfb0000
d-team_newifi-d2 (32M) 0x1fb0000
d-team_pbr-m1 (16M) 0xfb0000
elecom_wrc-1167ghbk2-s 15488k 0xf20000
elecom_wrc-1900gst 11264k 0xb00000
elecom_wrc-2533gst 11264k 0xb00000
firefly_firewrt (16M) 0xfb0000
gehua_ghl-r-001 (32M) 0x1fb0000
gnubee_gb-pc1 (32M) 0x1fb0000
gnubee_gb-pc2 (32M) 0x1fb0000
hiwifi_hc5962 (32M) 0x2000000 wrong (kernel + ubi)
iodata_wn-ax1167gr 15552k 0xf30000
iodata_wn-gx300gr 7798784 0x770000
lenovo_newifi-d1 (32M) 0x1fb0000
linksys_re6500 - 0x7b0000 default
mediatek_ap-mt7621a-v60 (8M) 0x7b0000
mediatek_mt7621-eval-board (4M) 0xec0000 wrong (rootfs)
mikrotik_rb750gr3 [16128k] 0xfc0000
mikrotik_rbm11g [16128k] 0xFC0000
mikrotik_rbm33g [16128k] 0xFC0000
mqmaker_witi-256m (16M) 0xfb0000
mqmaker_witi-512m (16M) 0xfb0000
mtc_wr1201 16000k 0xfa0000
netgear_ex6150 14848k 0xe80000
netgear_r6220 28672k 0x1c00000
netgear_r6350 40960k 0x2800000
netgear_wndr3700-v5 15232k 0xee0000
netis_wf-2881 129280k 0x7E40000
phicomm_k2p 15744k 0xf60000
planex_vr500 66453504 0x3fb0000 wrong
samknows_whitebox-v8 (16M) 0xfb0000
storylink_sap-g3200u3 - 0x7b0000 default
telco-electronics_x1 16064k 0xfb0000
thunder_timecloud - 0xfb0000 wrong
totolink_a7000r 16064k 0xfb0000
tplink_re350-v1 6016k 0x5e0000
ubiquiti_edgerouterx - 0xfa00000 wrong (kernel1 + ubi)
ubiquiti_edgerouterx-sfp - 0xfa00000 wrong (kernel1 + ubi)
unielec_u7621-06-256m-16m 16064k 0xfb0000
unielec_u7621-06-512m-64m 65216k 0x3fb0000
wevo_11acnas (16M) 0xfb0000
wevo_w2914ns-v2 (16M) 0xfb0000
xiaomi_mir3g 32768k 0x7980000 wrong (kernel + ubi)
xiaomi_mir3p (32M) 0xf980000 wrong (kernel + ubi)
xzwifi_creativebox-v1 (32M) 0x1fb0000
youhua_wr1200js 16064k 0xfb0000
youku_yk-l2 (16M) 0xfb0000
zbtlink_zbt-we1326 (16M) 0xfb0000
zbtlink_zbt-we3526 (16M) 0xfb0000
zbtlink_zbt-wg2626 (16M) 0xfb0000
zbtlink_zbt-wg3526-16m (16M) 0xfb0000
zbtlink_zbt-wg3526-32m (32M) 0x1fb0000
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In ramips, there are the following predefined values for IMAGE_SIZE
ralink_default_fw_size_4M 3866624 3776k 0x3B0000
ralink_default_fw_size_8M 8060928 7872k 0x7B0000
ralink_default_fw_size_16M 16121856 15744k 0xF60000
ralink_default_fw_size_32M 33226752 32448k 0x1FB0000
Out of those, the "16M" value is obviously odd, as it provides more
room for the remaining partitions than the tree others.
Of the devices in all subtargets, there are actually > 50 that have
a firmware partition with 0xFB0000 size, while only 5 (!) have
0xF60000. From the former, many are set to
ralink_default_fw_size_16M anyway, although it is wrong at the
present point.
Consequently, it makes sense to change ralink_default_fw_size_16M
to 0xFB0000, and to update IMAGE_SIZE for the 5 devices with
0xF60000.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allnet_all0256n-4m, tenda_w150m and unbranded_wr512-3gn-4m have
their firmware partition set to reg = <0x50000 0x3c8000>.
However, based on the 4MB flash, the size should be 0x3b0000.
After some research in the target's history, it looks like the
changed size has been a mistake when transferring device
partitions from Makefile to DTS in 770b28f146f.
This patch changes the named three devices back to 0x3b0000.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Like most mt7621 boards, Phicomm K2P stores LAN/WAN mac addresses
at 0xe000/0xe006 of factory partition.
Phicomm uses lan_mac-1 as wan_mac, while our default case in 02_network
uses lan_mac+1.
Add a special case reading lan/wan mac address for Phicomm K2P.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the mt76 driver supports the MT7615D chip found on these
devices, use it.
Also add the wpad-basic package.
Note: the driver supports operation on both the 2.4 GHz and the
5 GHz bands, but not yet concurrently.
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
|
|
|
|
|
|
|
| |
Newifi D1 is shipped with an 8GB microSD card in its SD slot
Without SD driver users would not be able to use it unless manually installed
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
|
|
|
|
|
|
|
|
|
|
|
| |
1) nand_do_upgrade() is always called by a target code
2) nand_do_upgrade() starts with calling platform_nand_pre_upgrade()
It means there is no need for the platform_nand_pre_upgrade() callback
at all. All code that was present there could bo moved & simplly called
by a target right before the nand_do_upgrade().
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TP-Link RE650 v1 is a dual-band AC2600 range extender,
based on MediaTek MT7621A and MT7615E. According to the
wikidevi entry for RE650 this device is identical with
TP-Link RE500 as hardware. This patch supports only RE650.
Hardware specification:
- SoC 880 MHz - MediaTek MT7621AT
- 128 MB of DDR3 RAM
- 16 MB - Winbond 25Q128FVSG
- 4T4R 2.4 GHz - MediaTek MT7615E
- 4T4R 5 GHz - MediaTek MT7615E
- 1x 1 Gbps Ethernet - MT7621AT integrated
- 7x LEDs (Power, 2G, 5G, WPS(x2), Lan(x2))
- 4x buttons (Reset, Power, WPS, LED)
- UART header (J1) - 2:GND, 3:RX, 4:TX
Serial console @ 57600,8n1
Flash instructions:
Upload
openwrt-ramips-mt7621-tplink_re650-v1-squashfs-factory.bin
from the RE650 web interface.
TFTP recovery to stock firmware:
Unfortunately, I can't find an easy way to recover the RE
without opening the device and using modified binaries. The
TFTP upload will only work if selected from u-boot, which
means you have to open the device and attach to the serial
console. The TFTP update procedure does *not* accept the
published vendor firmware binaries. However, it allows to
flash kernel + rootfs binaries, and this works if you have
a backup of the original contents of the flash. It's probably
possible to create special image out of the vendor binaries
and use that as recovery image.
Signed-off-by: Georgi Vlaev <georgi.vlaev@gmail.com>
[re-added variables for kernel header]
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ELECOM WRC-1167GHBK2-S has a MediaTek MT7615D chip for 2.4/5 GHz
wireless.
A driver package for MT7615 chip is added to OpenWrt in
a0e5ca4f3523b9eef96bff32e45f6fa8275b982f,
so add preliminary MT7615 chip support for WRC-1167GHBK2-S.
Note: Currently, DBDC mode for MT7615 is not supported in mt76 driver.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
|
|
|
|
|
| |
stage2 passes image path to platform_do_upgrade() as an argument so it
can be simply accessed using $1
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
|
|
|
|
|
|
|
| |
The only step between platform_pre_upgrade() and platform_do_upgrade()
is switching to ramdisk. It should be fine to "mtd erase firmware" from
the later callback and get rid of the first one.
This change wasn't tested on affected target but identical code logic
was verified to work as expected on brcm47xx with initramfs firmware.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
|
|
|
|
|
|
|
| |
In 2011 (!), network setup for nexaira,bc2 was moved to network
defaults script with a typo so it became b2c:
295e04084c ("ramips: setup bc2 mac addresses from the generic network script")
This patch just removes the useless entry without replacement,
since it seems to have worked for 8 years anyway.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since mt76x8an ver1 eco2, SDXC pins can be switched to the
following pinmap:
sd_d1 -> PAD_I2S_SDI
sd_d0 -> PAD_I2S_WS
sd_cmd -> PAD_I2S_CLK
sd_d3 -> PAD_I2C_SCLK
sd_d2 -> PAD_I2C_SD
sd_clk -> PAD_GPIO0
sd_wp -> PAD_TXD1
sd_cd -> PAD_RXD1
To use this pinmap, one would need to set ESD_MODE bit (bit 15)
to 1 in GPIO1_MODE and switch other used pads into GPIO mode.
In this mode, we don't need to switch ethernet pins to digital
pad.
Check ESD_MODE bit before applying AGPIO_CFG and use rt_sysc_m32
to set it.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SoC: MediaTek MT7621AT
RAM: 128M (Winbond W631GG6KB-15)
FLASH: 16MB (Spansion S25FL128SA)
WiFi: MediaTek MT7603EN bgn 2SS
WiFi: MediaTek MT7612EN nac 2SS
BTN: Reset - WPS
LED: - Power
- LAN {1-4}
- WAN
- WiFi 2.4 GHz
- WiFi 5 GHz
- USB
UART: UART is present next to the Power LED.
TX - RX - GND - 3V3 / 57600-8N1
3V3 is the nearest one to the Power LED.
Installation
------------
Via TFTP:
1. Set your computers IP-Address to 192.168.1.75.
2. Power up the Router with the Reset button pressed.
3. Release the Reset button after 5 seconds.
4. Upload OpenWRT sysupgrade image via TFTP:
> tftp -4 -v -m binary 192.168.1.1 -c put <IMAGE>
Via SSH:
Note: User/password for SSH is identical with the one used in the
Web-interface.
1. Complete the initial setup wizard.
2. Activate SSH under "Administration" -> "System".
3. Transfer the OpenWrt sysupgrade image via scp:
> scp owrt.bin admin@192.168.1.1:/tmp
4. Connect via SSH to the router.
> ssh admin@192.168.1.1
5. Write the OpenWrt image to flash.
> mtd-write -i /tmp/owrt.bin -d linux
6. Reboot the router
> reboot
Signed-off-by: David Bauer <mail@david-bauer.net>
|
|
|
|
|
|
|
| |
This commit fixes a forgotten case in previous commit.
Fixes: 087e14ab59 ("ramips: mt7621: merge two variants of MQmaker WiTi together")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|