Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
fr:toh:mikrotik:common [2021/03/01 19:40] – Changed link from toh_available_864 to toh_available_16128 (8/64 is deprecated) tmomasfr:toh:mikrotik:common [2022/11/12 19:20] – [Downloading OpenWrt images for Mikrotik RouterBoards] remove outdated info f00b4r0
Line 47: Line 47:
  
 The latest OpenWrt images can be downloaded from [[https://downloads.openwrt.org/]]\\  The latest OpenWrt images can be downloaded from [[https://downloads.openwrt.org/]]\\ 
-Most OpenWrt supported RouterBoards are Atheros-based hardware: in that case, after selecting a release, go to the targets/ar71xx/mikrotik folder to see a list of all files available for that release.\\   
-For example, to download the 19.07.4 OpenWrt images for the (Atheros-based) RB450G, download from [[https://downloads.openwrt.org/releases/19.07.4/targets/ar71xx/mikrotik/]] 
-  
- 
-After the commit of [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=9db9072d6767e5910e01b8962171c89359ab7a14|Introduce sysupgrade + 64MB/Large NAND sysupgrade images]], there is no longer a tar.gz image, but instead there are multiple sysupgrade .bin images, only one of which will be used for any particular RouterBoard model.\\  
-This page has been updated to reflect this simplifying change used in OpenWrt Version 18 for the Mikrotik RouterBoards. 
- 
 There will be just two images needed to install OpenWrt for any particular Mikrotik RouterBoard hardware platform: There will be just two images needed to install OpenWrt for any particular Mikrotik RouterBoard hardware platform:
   - The specific initramfs image to be downloaded into RAM during an initial netboot of the RouterBoard.   - The specific initramfs image to be downloaded into RAM during an initial netboot of the RouterBoard.
-  - The specific sysupgrade .bin image to be flashed into the Mikrotik router using the LuCI web interface.  The correct sysupgrade .bin file must be selected for the: +  - The specific sysupgrade .bin image to be flashed into the Mikrotik router using the LuCI web interface or the sysupgrade command.
-    * Type of WiFi (AC vs. non-AC) installed on the RouterBoard. The 802.11 a/b/g/n WiFi products are 'non-AC': only the 802.11 AC WiFi products are type 'AC'+
-    * Size and type (NAND vs. NOR) of flash on the RouterBoard +
  
 <WRAP leftalign round info 60%> <WRAP leftalign round info 60%>
Line 66: Line 57:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
-  
-The following table explains the general convention of initramfs and sysupgrade file names, but does have exceptions. For example, for the nand-large images, it is quite model-specific whether you use the initramfs.elf or initramfs-lzma.elf image.\\  
-The above [[toh:views:toh_fwdownload?datasrt=model&dataflt%5BBrand%2A~%5D=mikrotik|link Table of Hardware - Firmware Downloads]], or the wiki for your specific RouterBoard, are the most accurate resources for the correct file names. 
  
-^   Flash Size            sysupgrade .bin File Naming Convention                       ^^^  File Names to Download from OpenWrt.org (Please Verify [[toh:views:toh_fwdownload?datasrt=model&dataflt%5BBrand%2A~%5D=mikrotik|At This Link]])  ^^   RouterBoard Type                 ^ 
-^     :::                ^  Image Name Prefix=>  ^  AC Wifi?=>  ^  Image Name Suffix=>     ^ sysupgrade .bin File Name                    initramfs File Name     :::                                                                ^ 
-| 16 MB NOR              | rb-nor-flash-16M      |  -ac-        | squashfs-sysupgrade.bin  | rb-nor-flash-16M-ac-squashfs-sysupgrade.bin | rb-nor-flash-16M-ac-initramfs-kernel.bin                               | RouterBoard with 16 MB NOR (includes AC WiFi)                    | 
-| :::                    | :::                    -           | :::                      | rb-nor-flash-16M-squashfs-sysupgrade.bin    | rb-nor-flash-16M-initramfs-kernel.bin                                  | RouterBoard with 16 MB NOR (includes a/b/g/n WiFi)               | 
-| 64 MB NAND             | nand-64m              |  -           | :::                      | nand-64m-squashfs-sysupgrade.bin            | vmlinux-initramfs.elf                                                  | RouterBoard with 64 MB NAND (includes a/b/g/n WiFi)              | 
-|128 MB NAND (or larger) | nand-large            |  -ac-        | :::                      | nand-large-ac-squashfs-sysupgrade.bin       | vmlinux-initramfs.elf                                                  | RouterBoard with 128 MB NAND (or larger) (includes AC WiFi)      | 
-|:::                     | :::                    -           | :::                      | nand-large-squashfs-sysupgrade.bin          | vmlinux-initramfs.elf or vmlinux-initramfs-lzma.elf (model-dependent)  | RouterBoard with 128 MB NAND (or larger) (includes a/b/g/n WiFi) | 
- 
-Refer to the OpenWrt [[toh:views:toh_available_16128|Table Of Hardware-Ideal]] to determine the type and size of flash for your particular RouterBoard.  The type of WiFi may depend on optional WiFi cards you may have installed in your RouterBoard. 
- 
-<WRAP leftalign round important 60%> 
-If you add packages to your installed version of OpenWrt (via opkg or LuCI), be careful to use the packages that are compiled specifically for the version of sysupgrade .bin you have running on your RouterBoard. 
-For example, if you decide to run nightly snapshots, be aware you'll want to also install and run the packages from that specific snapshot - each time you update the snapshot, you'll want to update both the sysupgrade .bin AND the packages you are using. 
-</WRAP> 
- 
-<WRAP leftalign round important 60%> 
-If you are using a snapshot (e.g. for the RB750Gr3), there is no LuCI contained. The flashing can still be done using SSH as outlined in [[docs:guide-user:installation:sysupgrade.cli|Upgrading OpenWrt firmware via CLI]]. 
-</WRAP> 
 ===== Netboot of OpenWrt Uses DHCP/BOOTP/TFTP ===== ===== Netboot of OpenWrt Uses DHCP/BOOTP/TFTP =====
  
Line 435: Line 405:
 If your model is not yet supported by trunk, you need to download compile and patch OpenWrt sources. Always check if the model specific wiki instructions could already be obsolete and the necessary patches have already been integrated before embarking into compilation. If your model is not yet supported by trunk, you need to download compile and patch OpenWrt sources. Always check if the model specific wiki instructions could already be obsolete and the necessary patches have already been integrated before embarking into compilation.
  
-Full instructions are at [[docs:guide-developer:build-system:install-buildsystem|Build system – Installation]]. The following is a mostly a cheat sheet specifically for routerboards.+Full instructions are at [[docs:guide-developer:toolchain:install-buildsystem|Build system – Installation]]. The following is a mostly a cheat sheet specifically for routerboards.
  
 OpenWrt sources are available via two release management systems, svn and git. If the model specific instructions specified one, use that, otherwise use git (faster). OpenWrt sources are available via two release management systems, svn and git. If the model specific instructions specified one, use that, otherwise use git (faster).
  • Last modified: 2023/06/15 15:38
  • by bikepunk