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 23:47] – OpenWrt spelling; datatables added tmomastoh:meraki:mr24 [2020/12/20 09:24] – [Tags] danitool
Line 4: Line 4:
 ===== Supported Versions ===== ===== Supported Versions =====
 ---- datatable ---- ---- datatable ----
-cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Topic URL_url, Device Techdata_pageid+cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid
 headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data
 align   : c,c,c,c,c,c,c align   : c,c,c,c,c,c,c
Line 10: Line 10:
 ---- ----
  
-===== 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: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]]+===== Hardware Highlights ===== 
 +---- 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 
 +----
  
-==== 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> 
- 
-===== OpenWrt Installation ===== 
  
 +===== Installation =====
 ---- datatable ---- ---- datatable ----
 cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url
 headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock
-align   : l,c,c+align   : c,c,c
 filter  : Model=MR24 filter  : Model=MR24
 ---- ----
Line 104: 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 114: 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 128: 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 136: 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 159: 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 167: 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 181: 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 850: 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