| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| toh:linksys:mr8300 [2024/12/03 19:57] – [Upgrading OpenWrt] badulesia | toh:linksys:mr8300 [2024/12/04 11:26] – [Installation of 23.05/24.10 or snapshot] typo badulesia |
|---|
| |
| The MR8300 is a dual partition device. Each time you install/upgrade the system (from OEM or OpenWrt), it overwrites the //other// partition, not the active one. You may want to keep the OEM firmware in one partition, as a secure fallback. But you may also consider installing OpenWrt on both partitions, it works flawlessly. Since 22.03.3, OpenWrt has the ability to flash an OEM firmware image, that would restore the router to its original state. | The MR8300 is a dual partition device. Each time you install/upgrade the system (from OEM or OpenWrt), it overwrites the //other// partition, not the active one. You may want to keep the OEM firmware in one partition, as a secure fallback. But you may also consider installing OpenWrt on both partitions, it works flawlessly. Since 22.03.3, OpenWrt has the ability to flash an OEM firmware image, that would restore the router to its original state. |
| | [[http://example.com|External Link]] |
| <WRAP center alert> | <WRAP center alert> |
| **Installation of 23.05/24.10 (also main snapshot) requires a two steps installation.** First you'll need to install 22.03 for changing a boot variable. Than you can install 23.05/24.10 (or main). **Don't try to install or upgrade to 23.05/24.10 directly, it will soft-brick your device!** Procedure is easy and described below. | **Installation of 23.05/24.10 (also main snapshot) requires a two steps installation.** First you'll need to install 22.03 for changing a boot variable. Than you can install 23.05/24.10 (or main). **Don't try to install or upgrade to 23.05/24.10 directly, it will soft-brick your device!** Procedure is easy and described below. |
| </WRAP> | </WRAP> |
| |
| :!: **KNOWN ISSUES** (all solved). | :!: **KNOWN ISSUES SOLVED** |
| * The USB port seems to be incorrectly managed due to a faulty hardware design. This issue is solved since 21.02.7, 22.03.5, 23.05.0 and main snapshot, and should be of no concern anymore. You can read about in this thread [[https://forum.openwrt.org/t/linksys-mr8300-openwrt-22-03-0-rc4-usb-port-powered-storage-devices-not-working/131391]]. | * **USB port** seems to be incorrectly managed due to a faulty hardware design. Solved since 21.02.7, 22.03.5 and later. [[https://forum.openwrt.org/t/linksys-mr8300-openwrt-22-03-0-rc4-usb-port-powered-storage-devices-not-working/131391]]. |
| * **DO NOT install or upgrade to 21.02.6 or 22.03.4**. Early march 2023, a kernel change introduced a regression causing mtd detection to fail: hence the device stops after a couple of seconds. It took several weeks to fix the issue. Unfortunately, in the meantime were released 21.02.6 and 22.03.4 stables. Shorly after were released 21.02.7 and 22.03.5 to address the issue. Any further releases are also safe to install. Forum threads about the issue [[https://forum.openwrt.org/t/openwrt-snapshot-r22302-on-mr8300/154878]] and [[https://forum.openwrt.org/t/mr8300-doesnt-boot-22-03-4-as-expected/157126/2]]. Commit to kernel [[https://github.com/openwrt/openwrt/commit/aad34818b50029e07ed9221ae46f9770d6e29785]]. | * **21.02.6 and 22.03.4** faulty mtd detection. **DO NOT** install these versions, they won't boot. Forum threads about the issue [[https://forum.openwrt.org/t/openwrt-snapshot-r22302-on-mr8300/154878]] and [[https://forum.openwrt.org/t/mr8300-doesnt-boot-22-03-4-as-expected/157126/2]]. Commit to kernel [[https://github.com/openwrt/openwrt/commit/aad34818b50029e07ed9221ae46f9770d6e29785]]. |
| |
| | :!: **KNOWN ISSUES with 24.10** |
| | * **LAN to LAN performance**. While running 24.10 and main, LAN to LAN transfer suffer from low performance and high CPU usage. This may possibly affect other ipq40xx devices. [[https://forum.openwrt.org/t/lan-issue-with-ipq40xx-24-10-and-main/215252]] |
| |
| ==== Flash Layout ==== | ==== Flash Layout ==== |
| |
| Installation can be done from OEM GUI as described previously. Install at least 22.03.3 (**NOT** 22.03.4) for its ability to flash everything (Linksys OEM, OpenWrt factory of sysupgrade). Latest 22.03.7 is recommanded. [[https://downloads.openwrt.org/releases/22.03.7/targets/ipq40xx/generic/openwrt-22.03.7-ipq40xx-generic-linksys_mr8300-squashfs-factory.bin]] | Installation can be done from OEM GUI as described previously. Install at least 22.03.3 (**NOT** 22.03.4) for its ability to flash everything (Linksys OEM, OpenWrt factory of sysupgrade). Latest 22.03.7 is recommanded. [[https://downloads.openwrt.org/releases/22.03.7/targets/ipq40xx/generic/openwrt-22.03.7-ipq40xx-generic-linksys_mr8300-squashfs-factory.bin]] |
| ==== Installation of 23.05 or snapshot ==== | ==== Installation of 23.05/24.10 or snapshot ==== |
| |
| <WRAP important> | <WRAP important> |
| - a previous working OpenWrt 22.03 to run several commands to change a bootloader variable. This is only needed once in the lifetime of the device. | - a previous working OpenWrt 22.03 to run several commands to change a bootloader variable. This is only needed once in the lifetime of the device. |
| - flashing 23.05/24.10 or snapshot. | - flashing 23.05/24.10 or snapshot. |
| **Don't try to flash directly 23.05 or snapshot, it won't work.** | **Don't try to flash directly 23.05/24.10, it won't work.** |
| | |
| Upgrading from 22.03 to 24.10 is not officialy supported. Meanwhile considering that upgrading to 24.10 requires to be done without keeping settings, it is assumed that it can be done confidently. | |
| </WRAP> | </WRAP> |
| |
| === First step: install 22.03 to run commands from SSH === | === First step: install 22.03 to run commands from SSH === |
| |
| You need to have 22.03.0 (or above but not 22.03.4) already installed. If you haven't, than install the latest stable 22.03 as described previously. Open a [[docs:guide-quick-start:sshadministration|SSH command]] console. | You need to have any 22.03 (**not** 22.03.4) already installed. If you haven't, than install the latest stable 22.03 as described previously. Once done, open a [[docs:guide-quick-start:sshadministration|SSH command]] console. |
| |
| - Check your previous bootloader variables. Enter:<code>fw_printenv</code>Look for output similar to ''kernsize=300000''. This is the default 3 MB size of kernel. | - Check your previous bootloader variables. Enter:<code>fw_printenv</code>Look for output similar to ''kernsize=300000''. This is the default 3 MB size of kernel. |
| |
| If you want to keep OEM GUI, than return back to it (''luci-app-advanced-reboot'' or button method) and flash a 23.05/24.10 (or snapshot) ''factory'' image. | If you want to keep OEM GUI, than return back to it (''luci-app-advanced-reboot'' or button method) and flash a 23.05/24.10 (or snapshot) ''factory'' image. |
| From OpenWrt flash a 23.05/24.10 (or snapshot) ''sysupgrade'' image. If you are running 22.03.3 or above, you can either flash a ''factory'' image. | From OpenWrt 22.03 flash a 23.05/24.10 (or snapshot) ''sysupgrade'' image. If you are running 22.03.3 or above, you can either flash a ''factory'' image. |
| |
| In any case, **DO NOT keep settings** while flashing. The device will use DSA and need to be configured from scratch. | In any case, **DO NOT keep settings** while flashing. The device will use DSA and need to be configured from scratch. |
| | Upgrading from 22.03 to 24.10 is not officialy supported. Meanwhile considering that the upgrade is done without keeping settings, it is assumed that it can be done confidently. |
| |
| Once in 23.05/24.10, to get rid of OEM GUI (if still present), just flash again with the same image you have just used. You will have both partitions running with 23.05/24.10. You can always return to OEM GUI by flashing it from OpenWrt in the same way as any upgrade. | Once in 23.05/24.10, to get rid of OEM GUI (if still present), just flash again with the same image you have just used. You will have both partitions running with 23.05/24.10. You can always reinstall OEM GUI by flashing it from OpenWrt in the same way as any upgrade. |
| |
| **DO NOT** try to restore any previous 22.03 config file, it isn't compatible due to DSA. Advanced users may know how to manually restore some settings. Backup your settings. | **DO NOT** try to restore any previous 22.03 config file, it isn't compatible due to DSA. Advanced users may know how to manually restore some settings. Backup your settings. |