Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:arcadyan:astoria:we420223-99 [2022/12/27 15:57] – [OpenWrt bootlog] Add nowiki tags harm | inbox:toh:arcadyan:astoria:we420223-99 [2023/05/18 16:51] – [Flashing via the original web interface] Fix list harm | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== OpenWrt support ===== | ===== OpenWrt support ===== | ||
| - | Official support | + | There is no stable release yet that supports this device, there are snapshot releases though. |
| - | * Patchwork patch: https:// | ||
| - | * GitHub fork: https:// | ||
| * OpenWrt forum thread: https:// | * OpenWrt forum thread: https:// | ||
| * Tweakers forum thread: https:// | * Tweakers forum thread: https:// | ||
| Line 25: | Line 23: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | This device | + | If you are running an old firmware version that is equipped with a firmware upload page, that is usable for upgrading to OpenWRT, |
| - | < | + | |
| - | Target System (MediaTek Ralink MIPS) | + | |
| - | Subtarget (MT7621 based boards) | + | |
| - | Target Profile (Arcadyan WE420223-99) | + | |
| - | </ | + | |
| - | Or ask for a build in the forum thread. | + | |
| - | Unfortunately, the official firmware' | + | Otherwise, we need to directly write to the flash chip since the official firmware' |
| - | ==== Connecting | + | ==== Flashing via the original web interface |
| - | A Raspberry Pi can be used to program the flash chip in-circuit (thanks FPSUsername for discovering). Connect the chip directly to the Raspberry Pi's SPI pins. You can solder wires to the flash chip but using a [[https:// | + | |
| - | On the Raspberry Pi, you can use a specially crafted overlay for accessing the chip: https://gist.github.com/ | + | The original firmware requires signed firmware. The code to do so is on GitHub: https:// |
| - | Download this file and install it with '' | + | - Flash the signed image via the web interface. OpenWRT should boot and start a DHCP server. |
| + | - Go to http:// | ||
| + | - Profit! You might still want to unlock the U-Boot password for recovery in the future (see below) | ||
| + | ==== Writing directly to the flash chip ==== | ||
| + | === Connecting the flash chip to a Raspberry Pi === | ||
| + | A Raspberry Pi can be used to program the flash chip in-circuit (thanks FPSUsername for discovering). On the Raspberry Pi, install '' | ||
| Enable it in ''/ | Enable it in ''/ | ||
| + | |||
| + | Connect the chip directly to the Raspberry Pi's SPI pins. Use the following connections: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ^ Flash Chip ^ Raspberry Pi ^ | ||
| + | | VCC | 3v3 | | ||
| + | | RESET | 3v3 | | ||
| + | | /CS | GPIO 8 (SPI0 CE0) | | ||
| + | | DO | GPIO 9 (SPI0 MISO) | | ||
| + | | CLK | GPIO11 (SPI0 SCLK) | | ||
| + | | DI | GPIO 10 (SPI0 MOSI) | | ||
| + | | GND | Ground | ||
| + | |||
| + | You can solder wires to the flash chip but using a [[https:// | ||
| After connecting the flash chip and rebooting, the ''/ | After connecting the flash chip and rebooting, the ''/ | ||
| - | ==== Creating a backup | + | === Creating a backup === |
| For recovery, creating a backup of the flash is recommended. Run '' | For recovery, creating a backup of the flash is recommended. Run '' | ||
| - | ==== Unlocking U-Boot | + | === Unlocking U-Boot === |
| - | The password of U-Boot can be removed, though this step is optional. The following script will unlock U-Boot: | + | The password of U-Boot can be removed, though this step is optional. It is particularly useful for recovering the device through the serial port (i.e. booting an OpenWrt initramfs). The following script will unlock U-Boot: |
| < | < | ||
| Line 69: | Line 80: | ||
| </ | </ | ||
| - | ==== Flashing OpenWRT | + | === Flashing OpenWRT === |
| - | After building OpenWRT, you should have a `.trx` file containing the kernel and ubifs. | + | First we make sure the u-boot |
| < | < | ||
| echo '/ | echo '/ | ||
| Line 76: | Line 87: | ||
| </ | </ | ||
| - | Now flash it with '' | + | Download the latest '' |
| + | Now flash it with '' | ||
| ===== Debricking ===== | ===== Debricking ===== | ||
| Line 153: | Line 164: | ||
| ^ Interface Name ^ Description | ^ Interface Name ^ Description | ||
| | br-lan | | br-lan | ||
| - | | lan0 | Left port (viewed from back) | Attached to br-lan | + | | swp0 | Left port (viewed from back) | Attached to br-lan |
| - | | lan1 | Right port (viewed from back)| Attached to br-lan | + | | swp1 | Right port (viewed from back)| Attached to br-lan |
| | wlan0 | 2.4GHz WiFi | Disabled | | wlan0 | 2.4GHz WiFi | Disabled | ||
| | wlan1 | 5GHz WiFi | Disabled | | wlan1 | 5GHz WiFi | Disabled | ||
| Line 1365: | Line 1376: | ||
| [ 1.287960] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20 | [ 1.287960] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20 | ||
| [ 1.304794] mtk_soc_eth 1e100000.ethernet: | [ 1.304794] mtk_soc_eth 1e100000.ethernet: | ||
| - | [ 1.321891] mtk_soc_eth 1e100000.ethernet | + | [ 1.321891] mtk_soc_eth 1e100000.ethernet |
| [ 1.339883] i2c /dev entries driver | [ 1.339883] i2c /dev entries driver | ||
| [ 1.349384] mt7621-pci 1e140000.pcie: | [ 1.349384] mt7621-pci 1e140000.pcie: | ||
| Line 1378: | Line 1389: | ||
| [ 1.479010] 8021q: 802.1Q VLAN Support v1.8 | [ 1.479010] 8021q: 802.1Q VLAN Support v1.8 | ||
| [ 1.490791] mt7530 mdio-bus: | [ 1.490791] mt7530 mdio-bus: | ||
| - | [ 1.523677] mt7530 mdio-bus: | + | [ 1.523677] mt7530 mdio-bus: |
| [ 1.547639] mt7530 mdio-bus: | [ 1.547639] mt7530 mdio-bus: | ||
| [ 1.564450] DSA: tree 0 setup | [ 1.564450] DSA: tree 0 setup | ||
| Line 1455: | Line 1466: | ||
| [ 5.360807] random: jshn: uninitialized urandom read (4 bytes read) | [ 5.360807] random: jshn: uninitialized urandom read (4 bytes read) | ||
| [ 5.474410] random: jshn: uninitialized urandom read (4 bytes read) | [ 5.474410] random: jshn: uninitialized urandom read (4 bytes read) | ||
| - | [ 6.144296] mtk_soc_eth 1e100000.ethernet | + | [ 6.144296] mtk_soc_eth 1e100000.ethernet |
| - | [ 6.166211] mtk_soc_eth 1e100000.ethernet | + | [ 6.166211] mtk_soc_eth 1e100000.ethernet |
| Press the [f] key and hit [enter] to enter failsafe mode | Press the [f] key and hit [enter] to enter failsafe mode | ||
| Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level | Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level | ||
| Line 1494: | Line 1505: | ||
| [ | [ | ||
| [ | [ | ||
| - | [ | + | [ |
| - | [ | + | [ |
| - | [ | + | [ |
| - | [ | + | [ |
| - | [ | + | [ |
| [ | [ | ||
| [ | [ | ||
| [ | [ | ||
| [ | [ | ||
| - | [ | + | [ |
| - | [ | + | [ |
| - | [ | + | [ |
| - | [ | + | [ |
| - | [ | + | [ |
| </ | </ | ||
| </ | </ | ||
| Line 1515: | Line 1526: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | ||