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 [2023/01/02 17:14] – Rename lan0 and lan1 to swp0 and swp1 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 1515: | Line 1526: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | ||