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/02/01 20:23] – Update flashing steps with snapshot download harm | inbox:toh:arcadyan:astoria:we420223-99 [2023/05/18 16:51] – [Flashing via the original web interface] Fix list harm | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | Unfortunately, | + | If you are running an old firmware |
| - | ==== Connecting the flash chip to a Raspberry Pi ==== | + | Otherwise, we need to directly write to the flash chip since the official firmware' |
| + | |||
| + | ==== Flashing via the original web interface ==== | ||
| + | |||
| + | The original firmware requires signed firmware. The code to do so is on GitHub: https:// | ||
| + | |||
| + | - 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 '' | 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 ''/ | ||
| Line 46: | Line 56: | ||
| 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. 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: | 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 70: | Line 80: | ||
| </ | </ | ||
| - | ==== Flashing OpenWRT | + | === Flashing OpenWRT === |
| First we make sure the u-boot bootpartition is set to 0: | First we make sure the u-boot bootpartition is set to 0: | ||
| < | < | ||
| Line 1516: | Line 1526: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | ||