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
toh:meraki:mr24 [2018/03/18 21:30] riptidewave93toh:meraki:mr24 [2020/12/20 09:24] – [Tags] danitool
Line 1: Line 1:
 ======Meraki MR24====== ======Meraki MR24======
  
-  * OpenWRT official support as of [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=a57d6e2d47688cfa392d6ea7f36ae6f9d84affc5]] 
  
-===== Hardware ===== +===== Supported Versions ===== 
-==== Info ==== +---- datatable ---
-| **Architecture:**     | PowerPC 44x                                                      | +cols    Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid 
-| **Vendor:**           | AppliedMicro                                                     | +headers Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data 
-| **Bootloader:**       | U-Boot                                                           | +align   : c,c,c,c,c,c,c 
-| **System-On-Chip:**   | AppliedMicro APM82181                                            | +filter  Model=MR24 
-| **CPU Speed:**        | 800MHz                                                           | +----
-| **Flash-Chip:**       | Hynix HY27US08561A                                               | +
-| **Flash size:**       | 32MiB                                                            | +
-| **RAM:**              | 2x Nanya NT5TU32M16D6-AC                                         | +
-| **RAM Size:**         | 128MiB                                                           | +
-| **Wireless:**         | Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz                    | +
-| **Switch:**           | No                                                               | +
-| **Ethernet ports:**   | 1x Gigabit Atheros AR8035                                        | +
-| **USB:**              | No                                                               | +
-| **Serial:**           | [[docs:hardware:port.serial.cables|Yes]], [[#serial|settings]]   | +
-| **JTAG:**             | [[docs:hardware:port.jtag.cables|Yes]]                           |+
  
-WikiDevi Page is at [[https://wikidevi.com/wiki/Cisco_Meraki_MR24]] 
  
-==== Serial ==== +===== Hardware Highlights ===== 
-Connect on UART (J2)P1 is closest to the NANDand P4 is closest to the SoC.+---- datatable ---- 
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ 
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB 
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,
 +filter  : Model=MR24 
 +----
  
-| **P1:** VCC   | 
-| **P2:** RX    | 
-| **P3:** TX    | 
-| **P4:** GND   | 
  
-==== Photos ==== +===== Installation ===== 
-{{:media:meraki:mr24-1.jpg?200|}} +---- datatable ---- 
-{{:media:meraki:mr24-2.jpg?200|}} +cols    Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url 
-{{:media:meraki:mr24-3.jpg?200|}} +headers Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock 
-{{:media:meraki:mr24-4.jpg?200|}} +align   : c,c,c 
-{{:media:meraki:mr24-5.jpg?200|}} +filter  Model=MR24 
- +----
-{{:media:meraki:mr24-6.jpg?200|}} +
-{{:media:meraki:mr24-7.jpg?200|}} +
-{{:media:meraki:mr24-8.jpg?200|}} +
-{{:media:meraki:mr24-9.jpg?200|}} +
-{{:media:meraki:mr24-10.jpg?200|}} +
-===== Flash Layout ===== +
-==== Stock ==== +
-<code> +
-dev:    size   erasesize  name +
-mtd000170000 00004000 "firmware" +
-mtd100010000 00004000 "oops" +
-mtd2: 01e80000 00004000 "ubi" +
-mtd3: 0087d800 0001f800 "part1" +
-mtd4: 0087d800 0001f800 "part2" +
-mtd5: 0001f800 0001f800 "board-config" +
-mtd6: 00080000 0001f800 "storage" +
-</code> +
- +
-Note that mtd3 through mtd6 are UBI partitions emulating mtd devices. UBI partitions part1 and part2 contain the kernel, and the rootfs as an initramfs image. +
- +
-==== OpenWRT ===+
-<code> +
-/ # cat /proc/mtd +
-dev:    size   erasesize  name +
-mtd0: 00170000 00004000 "u-boot" +
-mtd1: 00010000 00004000 "oops" +
-mtd2: 01e80000 00004000 "ubi" +
-</code> +
- +
-===== OpenWRT Installation =====+
  
 ==== Prerequisites ==== ==== Prerequisites ====
Line 90: Line 49:
 setenv owrt_boot run meraki_ubi owrt_bootargs\;run owrt_load meraki_checkpart owrt_bootkernel\;run owrt_recovery setenv owrt_boot run meraki_ubi owrt_bootargs\;run owrt_load meraki_checkpart owrt_bootkernel\;run owrt_recovery
 setenv bootcmd run owrt_boot setenv bootcmd run owrt_boot
 +setenv factory_boot_bak ${factory_boot}
 +setenv factory_boot run meraki_ubi\;run owrt_bootargs\;run owrt_recovery
 saveenv saveenv
 </code> </code>
Line 100: Line 61:
 </code> </code>
  
-4. Once OpenWRT boots and you are at a root prompt, find the UBI Volume ID of board-config. This is done with `ubinfo /dev/ubi0 -N board-config`. Remember the partition number. +4. Once OpenWrt boots and you are at a root prompt, you can Cleanup for maximum space. Find the UBI Volume ID of board-config. This is done with ''ubinfo /dev/ubi0 -N board-config''. Note that in this example, replace ''XX'' with the Volume ID for ''board-config'':
- +
-5. Cleanup and move around UBI partitions for maximum space. Note that in this example, replace `ubi0_XX` with the Volume for `board-config` from the last step: +
 <code> <code>
 ubirmvol /dev/ubi0 -N part1 ubirmvol /dev/ubi0 -N part1
Line 114: Line 72:
 </code> </code>
  
-6. Create a recovery UBI partition. This will host an initramfs build so our board can have a failback image in case of a bad flash, or sysupgrade issue. Note you will first want to upload a copy of the initramfs image to the board (which can be done with SCP/HTTP Server). In the below tutorial note that the new partition is made to be just a bit larger than the initramfs image. You will want to do this as well.+5. Create a recovery UBI partition. This will host an initramfs build so our board can have a failback image in case of a bad flash, or sysupgrade issue. You can also manually boot to recovery by holding the reset button while powering on the device. The recovery ip will always be 192.168.1.1, no matter the changes made in the 'real' system. Note you will first want to upload a copy of the initramfs image to the board (which can be done with SCP/HTTP Server). In the below tutorial note that the new partition is made to be just a bit larger than the initramfs image. You will want to do this as well.
  
 <code> <code>
Line 122: Line 80:
 </code> </code>
  
-7. Once done, you can now load up LuCI at 192.168.1.1, and use the sysupgrade option to flash the full image to the device using the sysupgrade file named openwrt-apm821xx-nand-meraki_mr24-squashfs-sysupgrade.tar. From this point on, any future updates/builds can just be flashed through LuCI.+6. Once done, you can now load up LuCI at 192.168.1.1, and use the sysupgrade option to flash the full image to the device using the sysupgrade file named ''openwrt-apm821xx-nand-meraki_mr24-squashfs-sysupgrade.tar''. From this point on, any future updates/builds can just be flashed through LuCI.
  
 === Previous Releases up to 17.01.4 === === Previous Releases up to 17.01.4 ===
-1. Start your TFTP server and rename the initramfs image to "mr24.bin".+1. Start your TFTP server and rename the initramfs image to ''mr24.bin''.
  
 2. Power on the MR24, and interrupt u-boot. At the prompt, enter the following commands to update your boot settings: 2. Power on the MR24, and interrupt u-boot. At the prompt, enter the following commands to update your boot settings:
Line 145: Line 103:
 </code> </code>
  
-4. Once OpenWRT boots and you are at a root prompt, find the UBI Volume ID of board-config. This is done with `ubinfo /dev/ubi0 -N board-config`. Remember the partition number. +4. Once OpenWrt boots and you are at a root prompt, you can Cleanup for maximum space.
- +
-5. Cleanup and move around UBI partitions for maximum space. Note that in this example, replace `ubi0_XX` with the Volume for `board-config` from the last step:+
  
 <code> <code>
Line 153: Line 109:
 ubirmvol /dev/ubi0 -N part2 ubirmvol /dev/ubi0 -N part2
 ubirmvol /dev/ubi0 -N storage ubirmvol /dev/ubi0 -N storage
-dd if=/dev/ubi0_XX of=/tmp/board-config.img 
-ubirmvol /dev/ubi0 -N board-config 
-ubimkvol /dev/ubi0 -s 24KiB -N board-config 
-ubiupdatevol /dev/ubi0_0 /tmp/board-config.img 
 </code> </code>
  
-6. Create a recovery UBI partition. This will host an initramfs build so our board can have a failback image in case of a bad flash, or sysupgrade issue. Note you will first want to upload a copy of the initramfs image to the board (which can be done with SCP/HTTP Server). In the below tutorial note that the new partition is made to be just a bit larger than the initramfs image. You will want to do this as well.+5. Create a recovery UBI partition. This will host an initramfs build so our board can have a failback image in case of a bad flash, or sysupgrade issue. Note you will first want to upload a copy of the initramfs image to the board (which can be done with SCP/HTTP Server). In the below tutorial note that the new partition is made to be just a bit larger than the initramfs image. You will want to do this as well.
  
 <code> <code>
Line 167: Line 119:
 </code> </code>
  
-7. Once done, you can now load up LuCI at 192.168.1.1, and use the sysupgrade option to flash the full image to the device using the sysupgrade file named `openwrt-apm821xx-generic-mr24-squashfs-sysupgrade.tar`. From this point on, any future updates/builds can just be flashed through LuCI.+6. Once done, you can now load up LuCI at 192.168.1.1, and use the sysupgrade option to flash the full image to the device using the sysupgrade file named openwrt-apm821xx-generic-mr24-squashfs-sysupgrade.tar. From this point on, any future updates/builds can just be flashed through LuCI. 
 + 
 +===== Hardware ===== 
 +==== Info ==== 
 +^ Architecture     | PowerPC 44x                                                      | 
 +^ Vendor           | AppliedMicro                                                     | 
 +^ Bootloader       | U-Boot                                                           | 
 +^ System-On-Chip   | AppliedMicro APM82181                                            | 
 +^ CPU Speed        | 800MHz                                                           | 
 +^ Flash-Chip       | Hynix HY27US08561A                                               | 
 +^ Flash size       | 32MiB                                                            | 
 +^ RAM              | 2x Nanya NT5TU32M16D6-AC                                         | 
 +^ RAM Size         | 128MiB                                                           | 
 +^ Wireless         | Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz                    | 
 +^ Switch           | No                                                               | 
 +^ Ethernet ports   | 1x Gigabit Atheros AR8035                                        | 
 +^ USB              | No                                                               | 
 +^ Serial           | [[docs:techref:hardware:port.serial.cables|Yes]], [[#serial|settings]]   | 
 +^ JTAG             | [[docs:techref:hardware:port.jtag.cables|Yes]]                           | 
 + 
 + 
 +==== Serial ==== 
 +Connect on UART (J2). P1 is closest to the NAND, and P4 is closest to the SoC. 
 + 
 +| **P1:** VCC   | 
 +| **P2:** RX    | 
 +| **P3:** TX    | 
 +| **P4:** GND   | 
 + 
 +==== Photos ==== 
 +{{:media:meraki:mr24-1.jpg?200|}} 
 +{{:media:meraki:mr24-2.jpg?200|}} 
 +{{:media:meraki:mr24-3.jpg?200|}} 
 +{{:media:meraki:mr24-4.jpg?200|}} 
 +{{:media:meraki:mr24-5.jpg?200|}} 
 + 
 +{{:media:meraki:mr24-6.jpg?200|}} 
 +{{:media:meraki:mr24-7.jpg?200|}} 
 +{{:media:meraki:mr24-8.jpg?200|}} 
 +{{:media:meraki:mr24-9.jpg?200|}} 
 +{{:media:meraki:mr24-10.jpg?200|}} 
 + 
 + 
 +===== Flash Layout ===== 
 +==== Stock ==== 
 +<code> 
 +dev:    size   erasesize  name 
 +mtd0: 00170000 00004000 "firmware" 
 +mtd1: 00010000 00004000 "oops" 
 +mtd2: 01e80000 00004000 "ubi" 
 +mtd3: 0087d800 0001f800 "part1" 
 +mtd4: 0087d800 0001f800 "part2" 
 +mtd5: 0001f800 0001f800 "board-config" 
 +mtd6: 00080000 0001f800 "storage" 
 +</code> 
 + 
 +Note that mtd3 through mtd6 are UBI partitions emulating mtd devices. UBI partitions part1 and part2 contain the kernel, and the rootfs as an initramfs image. 
 + 
 +==== OpenWrt ==== 
 +<code> 
 +/ # cat /proc/mtd 
 +dev:    size   erasesize  name 
 +mtd0: 00170000 00004000 "u-boot" 
 +mtd1: 00010000 00004000 "oops" 
 +mtd2: 01e80000 00004000 "ubi" 
 +</code> 
      
 ===== Bootlogs ===== ===== Bootlogs =====
Line 836: Line 854:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>128RAM 32flash 2WNIC ppc44x mod router powerpc meraki mr24}}+{{tag>apm821xx APM82181 32flash 128RAM2WNIC ppc44x mod powerpc}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1