User Tools

Site Tools


toh:meraki:mr24

Meraki MR24

Note that this board currently runs under a custom device target named apm821xx, and until a path forward is found for merging into mainline expect unofficial releases only!

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: Yes, settings
JTAG: Yes

WikiDevi Page is at https://wikidevi.com/wiki/Cisco_Meraki_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

Flash Layout

Stock

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"

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

/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00170000 00004000 "u-boot"
mtd1: 00010000 00004000 "oops"
mtd2: 01e80000 00004000 "ubi"

OpenWRT Installation

Prerequisites

  • 1x Meraki MR24
  • 1x UART adapter wired to the MR24 (speed is 115200).
  • Local computer (Static IP of 192.168.1.101) directly wired to the LAN port.
  • A local TFTP server.

Flashing

Flashing instructions can be found in the Repo Readme at https://github.com/riptidewave93/Openwrt-MR24/blob/master/README.md#flashing

Bootlogs

Stock Bootlog

U-Boot 2010.06-00036-g4e1a276 Meraki MR24 (May 11 2012 - 16:57:49) CPU: AMCC PowerPC UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200 OPB=100 EBC=100) Bootstrap Option H - Boot ROM Location I2C (Addr 0x52), booting from NAND 32 kB I-Cache 32 kB D-Cache Board: MR24 - Meraki MR24 Cloud Managed Access Point ============================ BoardID: 0 0 POE-PWR_DET Status: 0 ADAPTER_DET Status: 1 Reset Button Status: 1 ============================ SDR0_PERCLK=0x40000300 I2C: ready DRAM: 128 MiB I2C write: failed 4 NAND: 32 MiB *** Warning - bad CRC or NAND, using default environment Configure Max Payload 256B PCIE0: successfully set as root-complex 03 00 168c 0030 0280 ff 02 02 111d 8039 0604 00 04 00 168c 0030 0280 ff 02 03 111d 8039 0604 00 01 00 111d 8039 0604 00 I2C read: failed 4 I2C write: failed 4 I2C read: failed 4 I2C read: failed 4 I2C write: failed 4 Net: ppc_4xx_eth0 RESET is un-pushed Set serverpath and run meraki_netboot to netboot Hit any key to stop autoboot: 0 Creating 1 MTD partitions on "nand0": 0x000000180000-0x000002000000 : "mtd=2" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 16384 bytes (16 KiB) UBI: logical eraseblock size: 15872 bytes UBI: smallest flash I/O unit: 512 UBI: sub-page size: 256 UBI: VID header offset: 256 (aligned 256) UBI: data offset: 512 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=2" UBI: MTD device size: 30 MiB UBI: number of good PEBs: 1952 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 92 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 4 UBI: available PEBs: 266 UBI: total number of reserved PEBs: 1686 UBI: number of PEBs reserved for bad PEB handling: 19 UBI: max/mean erase counter: 344/276 Volume part1 found at volume id 0 read 0 bytes from volume 0 to c00000(buf address) Read [8983552] bytes ## Booting kernel from Legacy Image at 00c10000 ... Image Name: Linux-3.4.106+ Created: 2015-09-21 21:46:57 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1550370 Bytes = 1.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 00e00000 ... Image Name: Simple Ramdisk Image Created: 2015-09-21 21:47:12 UTC Image Type: PowerPC Linux RAMDisk Image (lzma compressed) Data Size: 5205373 Bytes = 5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00c00400 Booting using the fdt blob at 0xc00400 Uncompressing Kernel Image ... OK Loading Ramdisk to 07677000, end 07b6dd7d ... OK [ 0.000000] Using PowerPC 44x Platform machine description [ 0.000000] Linux version 3.4.106+ (meraki@buildbot104.meraki.com) (gcc version 4.8.3 (GCC) ) #4 Mon Sep 21 14:46:48 PDT 2015 [ 0.000000] Found initrd at 0xc7677000:0xc7b6dd7d [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00002000 [ 0.000000] Normal empty [ 0.000000] Movable zone start PFN for each node [ 0.000000] Early memory PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00002000 [ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8176 [ 0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200 ubi.mtd=ubi MERAKI_BOARD=mr24 mtdoops.mtddev=oops [ 0.000000] PID hash table entries: 512 (order: -3, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 2, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 1, 32768 bytes) [ 0.000000] Memory: 122208k/131072k available (2960k kernel code, 8864k reserved, 176k data, 91k bss, 160k init) [ 0.000000] Kernel virtual memory layout: [ 0.000000] * 0xfffdc000..0xffffc000 : fixmap [ 0.000000] * 0xfd600000..0xfe000000 : consistent mem [ 0.000000] * 0xfd600000..0xfd600000 : early ioremap [ 0.000000] * 0xd1000000..0xfd600000 : vmalloc & ioremap [ 0.000000] SLUB: Genslabs=15, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:512 nr_irqs:512 16 [ 0.000000] UIC0 (32 IRQ sources) at DCR 0xc0 [ 0.000000] UIC1 (32 IRQ sources) at DCR 0xd0 [ 0.000000] UIC2 (32 IRQ sources) at DCR 0xe0 [ 0.000000] UIC3 (32 IRQ sources) at DCR 0xf0 [ 0.000000] clocksource: timebase mult[1400000] shift[24] registered [ 0.000067] pid_max: default: 32768 minimum: 301 [ 0.000241] Mount-cache hash table entries: 2048 [ 0.003010] devtmpfs: initialized [ 0.003533] NET: Registered protocol family 16 [ 0.005720] 256k L2-cache enabled [ 0.005808] PCIE0: Checking link... [ 0.005815] PCIE0: Device detected, waiting for link... [ 0.005824] PCIE0: link is up ! [ 0.110621] PCI host bridge /plb/pciex@d00000000 (primary) ranges: [ 0.110647] MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000 [ 0.110662] MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000 [ 0.110676] IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000 [ 0.110690] Removing ISA hole at 0x0000000f00000000 [ 0.110704] 4xx PCI DMA offset set to 0x00000000 [ 0.110712] 4xx PCI DMA window base to 0x0000000000000000 [ 0.110720] DMA window size 0x0000000080000000 [ 0.110737] /plb/pciex@d00000000: Legacy ISA memory support enabled [ 0.110756] PCIE0: successfully set as root-complex [ 0.111148] gpiochip_add: registered GPIOs 224 to 255 on device: /plb/opb/gpio@ef600b00 [ 0.111400] PCI: Probing PCI hardware [ 0.111563] PCI host bridge to bus 0000:40 [ 0.111580] pci_bus 0000:40: root bus resource [io 0x0000-0xffff] [ 0.111596] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff]) [ 0.111709] PCI: Hiding 4xx host bridge resources 0000:40:00.0 [ 0.111949] pci 0000:40:00.0: PCI bridge to [bus 41-7f] [ 0.111988] pci 0000:41:00.0: bridge configuration invalid ([bus 02-04]), reconfiguring [ 0.112363] pci 0000:41:00.0: PCI bridge to [bus 42-ff] [ 0.112410] pci 0000:42:02.0: bridge configuration invalid ([bus 03-03]), reconfiguring [ 0.112428] pci 0000:42:03.0: bridge configuration invalid ([bus 04-04]), reconfiguring [ 0.112725] pci 0000:42:02.0: PCI bridge to [bus 43-ff] [ 0.113122] pci 0000:42:03.0: PCI bridge to [bus 44-ff] [ 0.114685] pci 0000:40:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff] [ 0.114702] pci 0000:40:00.0: BAR 9: assigned [mem 0xe00200000-0xe003fffff pref] [ 0.114719] pci 0000:41:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff] [ 0.114733] pci 0000:41:00.0: BAR 9: assigned [mem 0xe00200000-0xe003fffff pref] [ 0.114749] pci 0000:42:02.0: BAR 8: assigned [mem 0xe00000000-0xe000fffff] [ 0.114763] pci 0000:42:02.0: BAR 9: assigned [mem 0xe00200000-0xe002fffff pref] [ 0.114777] pci 0000:42:03.0: BAR 8: assigned [mem 0xe00100000-0xe001fffff] [ 0.114791] pci 0000:42:03.0: BAR 9: assigned [mem 0xe00300000-0xe003fffff pref] [ 0.114807] pci 0000:43:00.0: BAR 0: assigned [mem 0xe00000000-0xe0001ffff 64bit] [ 0.114829] pci 0000:43:00.0: BAR 6: assigned [mem 0xe00200000-0xe0020ffff pref] [ 0.114843] pci 0000:42:02.0: PCI bridge to [bus 43-43] [ 0.114857] pci 0000:42:02.0: bridge window [mem 0xe00000000-0xe000fffff] [ 0.114871] pci 0000:42:02.0: bridge window [mem 0xe00200000-0xe002fffff pref] [ 0.114889] pci 0000:44:00.0: BAR 0: assigned [mem 0xe00100000-0xe0011ffff 64bit] [ 0.114910] pci 0000:44:00.0: BAR 6: assigned [mem 0xe00300000-0xe0030ffff pref] [ 0.114922] pci 0000:42:03.0: PCI bridge to [bus 44-44] [ 0.114936] pci 0000:42:03.0: bridge window [mem 0xe00100000-0xe001fffff] [ 0.114949] pci 0000:42:03.0: bridge window [mem 0xe00300000-0xe003fffff pref] [ 0.114964] pci 0000:41:00.0: PCI bridge to [bus 42-44] [ 0.114977] pci 0000:41:00.0: bridge window [mem 0xe00000000-0xe001fffff] [ 0.114991] pci 0000:41:00.0: bridge window [mem 0xe00200000-0xe003fffff pref] [ 0.115006] pci 0000:40:00.0: PCI bridge to [bus 41-7f] [ 0.115018] pci 0000:40:00.0: bridge window [mem 0xe00000000-0xe001fffff] [ 0.115032] pci 0000:40:00.0: bridge window [mem 0xe00200000-0xe003fffff pref] [ 0.119737] bio: create slab <bio-0> at 0 [ 0.121062] Switching to clocksource timebase [ 0.122976] NET: Registered protocol family 2 [ 0.129839] IP route cache hash table entries: 4096 (order: 0, 16384 bytes) [ 0.130118] TCP established hash table entries: 4096 (order: 1, 32768 bytes) [ 0.130245] TCP bind hash table entries: 4096 (order: 0, 16384 bytes) [ 0.130310] TCP: Hash tables configured (established 4096 bind 4096) [ 0.130320] TCP: reno registered [ 0.130332] UDP hash table entries: 1024 (order: 0, 16384 bytes) [ 0.130389] UDP-Lite hash table entries: 1024 (order: 0, 16384 bytes) [ 0.130592] NET: Registered protocol family 1 [ 0.130808] Unpacking initramfs... [ 4.734697] Freeing initrd memory: 5104k freed [ 5.085330] msgmni has been set to 248 [ 5.095778] io scheduler noop registered [ 5.095793] io scheduler deadline registered (default) [ 5.118529] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 5.150727] serial8250.0: ttyS0 at MMIO 0x4ef600400 (irq = 21) is a U6_16550A [ 5.738621] console [ttyS0] enabled [ 5.754225] 4ef600400.serial: ttyS0 at MMIO 0x4ef600400 (irq = 21) is a 16550 [ 5.769439] Trying to register dev faulty etc [ 5.802074] NAND device: Manufacturer ID: 0xad, Chip ID: 0x75 (Hynix NAND 32MiB 3,3V 8-bit) [ 5.810413] Scanning device for bad blocks [ 5.920759] 4 ofpart partitions found on MTD device 4e4000000.ndfc.nand [ 5.927395] Creating 4 MTD partitions on "4e4000000.ndfc.nand": [ 5.933302] 0x000000000000-0x000000170000 : "firmware" [ 5.949329] 0x000000170000-0x000000180000 : "oops" [ 5.963656] mtdoops: Attached to MTD device 1 [ 5.978216] 0x000000180000-0x000002000000 : "ubi" [ 5.999544] 0x000000000000-0x000002000000 : "all" [ 6.033127] UBI: attaching mtd2 to ubi0 [ 6.036965] UBI: physical eraseblock size: 16384 bytes (16 KiB) [ 6.043070] UBI: logical eraseblock size: 15872 bytes [ 6.048355] UBI: smallest flash I/O unit: 512 [ 6.052957] UBI: sub-page size: 256 [ 6.057558] UBI: VID header offset: 256 (aligned 256) [ 6.063375] UBI: data offset: 512 [ 6.237779] UBI: max. sequence number: 539115 [ 6.268811] UBI: attached mtd2 to ubi0 [ 6.272599] UBI: MTD device name: "ubi" [ 6.277367] UBI: MTD device size: 30 MiB [ 6.282228] UBI: number of good PEBs: 1952 [ 6.286914] UBI: number of bad PEBs: 0 [ 6.291343] UBI: number of corrupted PEBs: 0 [ 6.295770] UBI: max. allowed volumes: 92 [ 6.300280] UBI: wear-leveling threshold: 4096 [ 6.304968] UBI: number of internal volumes: 1 [ 6.309395] UBI: number of user volumes: 4 [ 6.313825] UBI: available PEBs: 247 [ 6.318424] UBI: total number of reserved PEBs: 1705 [ 6.323372] UBI: number of PEBs reserved for bad PEB handling: 38 [ 6.329441] UBI: max/mean erase counter: 344/276 [ 6.334043] UBI: image sequence number: 1992864020 [ 6.338998] UBI: background thread "ubi_bgt0d" started, PID 386 [ 6.407247] PPC 4xx OCP EMAC driver, version 3.54 [ 6.412345] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels [ 6.427522] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support [ 6.434989] TAH /plb/opb/emac-tah@ef601350 initialized [ 6.444130] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode [ 6.459289] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:01:73:01:23:41 [ 6.466187] eth0: found Atheros 8305 Gigabit Ethernet PHY (0x01) [ 6.480232] input: gpio_keys_polled.6 as /devices/plb.0/opb.3/gpio_keys_polled.6/input/input0 [ 6.502956] i2c /dev entries driver [ 6.518655] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode [ 6.530865] rtc-m41t80 0-0068: chip found, driver version 0.05 [ 6.538552] rtc-m41t80 0-0068: read error [ 6.545047] rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0 [ 6.553019] rtc-m41t80 0-0068: Can't clear HT bit [ 6.560046] rtc-m41t80: probe of 0-0068 failed with error -5 [ 6.576204] ibm-iic 4ef600800.i2c: using standard (100 kHz) mode [ 6.589979] lm90 0-004c: Register 0x4 read failed (-121) [ 6.595319] lm90 0-004c: Failed to read convrate register! [ 6.602760] lm90 0-004c: Register 0x3 read failed (-121) [ 6.608057] lm90 0-004c: Initialization failed! [ 7.451090] booke_wdt: powerpc book-e watchdog driver loaded [ 7.487620] oprofile: using timer interrupt. [ 7.492112] TCP: bic registered [ 7.495245] TCP: cubic registered [ 7.498545] TCP: westwood registered [ 7.502113] TCP: htcp registered [ 7.505332] NET: Registered protocol family 17 [ 7.530545] /disk/instance1/meraki/buildslave/build_powerpc-upload-r23/build/linux-3.4/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 7.543347] ### of_selftest(): No testcase data in device tree; not running tests [ 7.550937] devtmpfs: mounted [ 7.556752] Freeing unused kernel memory: 160k freed [ 7.564662] Made it into bootsh: Sep 21 2015 14:37:58 [ 7.569859] bootsh build 23-177858 [ 7.586087] UBIFS: recovery needed [ 7.608687] UBIFS: recovery completed [ 7.612363] UBIFS: mounted UBI device 0, volume 3, name "storage" [ 7.618438] UBIFS: file system size: 8237568 bytes (8044 KiB, 7 MiB, 519 LEBs) [ 7.625812] UBIFS: journal size: 412672 bytes (403 KiB, 0 MiB, 26 LEBs) [ 7.632922] UBIFS: media format: w4/r0 (latest is w4/r0) [ 7.638729] UBIFS: default compressor: lzo [ 7.642813] UBIFS: reserved for root: 389080 bytes (379 KiB) init started: BusyBox v1.20.2 (2015-09-21 13:46:14 PDT) [ 7.775551] Sat Jan 1 00:00:00 UTC 2000 WARNING! THIS CONSOLE IS LOGGED! UNAUTHORIZED ACCESS FORBIDDEN! <Meraki> [ 7.869954] sh: write error: Device or resource busy [ 7.875034] /etc/init.d/S10boot: line 201: can't create /sys/class/gpio/gpio240/direction: nonexistent directory [ 7.976531] sysctl: error: 'vm.extfrag_threshold' is an unknown key [ 8.063560] wired0: link is down [ 8.216085] sysctl -w vm.panic_on_oom=2 [ 8.226773] vm.panic_on_oom = 2 [ 8.438708] click: starting router thread pid 689 (c6172200) [ 8.512634] elts_meraki: module license 'unspecified' taints kernel. [ 8.749820] Single synchronous check for reset [ 8.772413] [ 8.780298] boot 38 build 23-177858 board powerpc mac 00:18:0A:XX:XX:XX [ 8.791316] Module: dummy .text=0xd1120000 .data=0xd1120540 .bss= [ 8.791329] Module: proclikefs .text=0xd1138000 .data= .bss=0xd1138d40 [ 8.791335] Module: merakiclick .text=0xd5b40000 .data=0xd5c4611c .bss=0xd5c465a0 [ 8.791341] Module: elts_meraki .text=0xd6034000 .data=0xd62324a4 .bss=0xd6232c0c [ 20.056828] adf: module license 'Proprietary' taints kernel. [ 20.068457] asf: module license 'Proprietary' taints kernel. [ 20.100276] ath_hal: module license 'Proprietary' taints kernel. [ 20.128504] ath_hal: 0.9.17.1 (AR5416, AR9380, DEBUG, REGOPS_FUNC, WRITE_EEPROM, 11D) [ 20.147048] ath_dfs: module license 'Proprietary' taints kernel. [ 20.155833] ath_dfs: Version 2.0.0 [ 20.155840] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved [ 20.177669] ath_rate_atheros: module license 'Proprietary' taints kernel. [ 20.186694] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved [ 20.209137] ath_dev: module license 'Proprietary' taints kernel. [ 20.229447] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved [ 20.247984] ath_pktlog: module license 'unspecified' taints kernel. [ 20.314162] ath_pci: 9.5.5.36 (Atheros/multi-bss) [ 20.318999] __ath_attach: Set global_scn[0] [ 20.323218] ACBKMinfree = 48 [ 20.326085] ACBEMinfree = 32 [ 20.328954] ACVIMinfree = 16 [ 20.331827] ACVOMinfree = 0 [ 20.334613] CABMinfree = 48 [ 20.337395] UAPSDMinfree = 0 [ 20.537255] ath_get_caps[6084] rx chainmask mismatch actual 7 sc_chainmak 0 [ 20.544218] ath_get_caps[6058] tx chainmask mismatch actual 7 sc_chainmak 0 [ 20.577076] wifi0: Atheros 9380: mem=0xe00000000, irq=19 hw_base=0xd6780000 [ 20.584194] __ath_attach: Set global_scn[1] [ 20.588362] ACBKMinfree = 48 [ 20.591244] ACBEMinfree = 32 [ 20.594115] ACVIMinfree = 16 [ 20.596983] ACVOMinfree = 0 [ 20.599766] CABMinfree = 48 [ 20.602553] UAPSDMinfree = 0 [ 20.789803] ath_get_caps[6084] rx chainmask mismatch actual 7 sc_chainmak 0 [ 20.796772] ath_get_caps[6058] tx chainmask mismatch actual 7 sc_chainmak 0 [ 20.817332] wifi1: Atheros 9380: mem=0xe00100000, irq=20 hw_base=0xd67c0000 [ 20.901522] brain: unloading click config [ 20.905717] brain: spring cleaning pages [ 20.946464] wlan_vap_create : enter. devhandle=0xc60343a0, opmode=IEEE80211_M_HOSTAP, flags=0x0 [ 20.955555] wlan_vap_create : exit. devhandle=0xc60343a0, opmode=IEEE80211_M_HOSTAP, flags=0x0. [ 21.395069] wlan_vap_create : enter. devhandle=0xc603c3a0, opmode=IEEE80211_M_HOSTAP, flags=0x0 [ 21.404156] wlan_vap_create : exit. devhandle=0xc603c3a0, opmode=IEEE80211_M_HOSTAP, flags=0x0.


OpenWrt Bootlog

U-Boot 2010.06-00036-g4e1a276 Meraki MR24 (May 11 2012 - 16:57:49) CPU: AMCC PowerPC UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200 OPB=100 EBC=100) Bootstrap Option H - Boot ROM Location I2C (Addr 0x52), booting from NAND 32 kB I-Cache 32 kB D-Cache Board: MR24 - Meraki MR24 Cloud Managed Access Point ============================ BoardID: 0 0 POE-PWR_DET Status: 0 ADAPTER_DET Status: 1 Reset Button Status: 1 ============================ SDR0_PERCLK=0x40000300 I2C: ready DRAM: 128 MiB I2C write: failed 4 NAND: 32 MiB Configure Max Payload 256B PCIE0: successfully set as root-complex 03 00 168c 0030 0280 ff 02 02 111d 8039 0604 00 04 00 168c 0030 0280 ff 02 03 111d 8039 0604 00 01 00 111d 8039 0604 00 I2C read: failed 4 I2C write: failed 4 I2C read: failed 4 I2C read: failed 4 I2C write: failed 4 Net: ppc_4xx_eth0 RESET is un-pushed Set serverpath and run meraki_netboot to netboot Hit any key to stop autoboot: 0 Creating 1 MTD partitions on "nand0": 0x000000180000-0x000002000000 : "mtd=2" UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 16384 bytes (16 KiB) UBI: logical eraseblock size: 15872 bytes UBI: smallest flash I/O unit: 512 UBI: sub-page size: 256 UBI: VID header offset: 256 (aligned 256) UBI: data offset: 512 UBI: attached mtd1 to ubi0 UBI: MTD device name: "mtd=2" UBI: MTD device size: 30 MiB UBI: number of good PEBs: 1952 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 92 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 4 UBI: available PEBs: 266 UBI: total number of reserved PEBs: 1686 UBI: number of PEBs reserved for bad PEB handling: 19 UBI: max/mean erase counter: 344/276 Volume kernel found at volume id 1 read 0 bytes from volume 1 to c00000(buf address) Read [8983552] bytes ## Booting kernel from Legacy Image at 00c10000 ... Image Name: Linux-4.4.6 Created: 2016-03-20 18:48:59 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2025907 Bytes = 1.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00c00400 Booting using the fdt blob at 0xc00400 Uncompressing Kernel Image ... OK [ 0.000000] Using PowerPC 44x Platform machine description [ 0.000000] Linux version 4.4.6 (riptide_wave@build01.chrisrblake.com) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r49088) ) #1 Sat Mar 26 01:00:40 UTC 2016 [ 0.000000] Found legacy serial port 0 for /plb/opb/serial@ef600400 [ 0.000000] mem=4ef600400, taddr=4ef600400, irq=0, clk=7407407, speed=0 [ 0.000000] bootconsole [udbg0] enabled [ 0.000000] Top of RAM: 0x8000000, Total RAM: 0x8000000 [ 0.000000] Memory hole size: 0MB [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c03f1408, node_mem_map c7eee000 [ 0.000000] DMA zone: 256 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 32768 pages, LIFO batch:7 [ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: board=MR24 console=ttyS0,115200 rootfstype=squashfs mtdoops.mtddev=oops [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Sorting __ex_table... [ 0.000000] Memory: 125544K/131072K available (2996K kernel code, 132K rwdata, 788K rodata, 156K init, 203K bss, 5528K reserved, 0K cma-reserved) [ 0.000000] Kernel virtual memory layout: [ 0.000000] * 0xfffdf000..0xfffff000 : fixmap [ 0.000000] * 0xfde00000..0xfe000000 : consistent mem [ 0.000000] * 0xfddfe000..0xfde00000 : early ioremap [ 0.000000] * 0xd1000000..0xfddfe000 : vmalloc & ioremap [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:512 nr_irqs:512 16 [ 0.000000] UIC0 (32 IRQ sources) at DCR 0xc0 [ 0.000000] UIC1 (32 IRQ sources) at DCR 0xd0 [ 0.000000] UIC2 (32 IRQ sources) at DCR 0xe0 [ 0.000000] UIC3 (32 IRQ sources) at DCR 0xf0 [ 0.000000] time_init: decrementer frequency = 800.000008 MHz [ 0.000000] time_init: processor frequency = 800.000008 MHz [ 0.000019] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns [ 0.010242] clocksource: timebase mult[1400000] shift[24] registered [ 0.016550] clockevent: decrementer mult[ccccccef] shift[32] cpu[0] [ 0.016600] pid_max: default: 32768 minimum: 301 [ 0.021248] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.027766] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.038031] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.048158] NET: Registered protocol family 16 [ 0.054495] PPC4XX OCM1: 32768 Bytes (enabled) [ 0.058856] PPC4XX OCM1: 32768 Bytes (non-cached) [ 0.063515] PPC4XX OCM1: 0 Bytes (cached) [ 0.067551] debugfs ppc4xx ocm: failed to create file [ 0.072632] 256k L2-cache enabled [ 0.136076] PCIE0: Checking link... [ 0.139470] PCIE0: Device detected, waiting for link... [ 0.144653] PCIE0: link is up ! [ 0.251125] PCI host bridge /plb/pciex@d00000000 (primary) ranges: [ 0.257225] MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000 [ 0.264386] MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000 [ 0.271554] IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000 [ 0.278649] 4xx PCI DMA offset set to 0x00000000 [ 0.283214] 4xx PCI DMA window base to 0x0000000000000000 [ 0.288570] DMA window size 0x0000000080000000 [ 0.292998] PCIE0: successfully set as root-complex [ 0.298213] PCI: Probing PCI hardware [ 0.301896] PCI host bridge to bus 0000:40 [ 0.305912] pci_bus 0000:40: root bus resource [io 0x0000-0xffff] [ 0.312037] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff]) [ 0.322318] pci_bus 0000:40: root bus resource [mem 0xf00000000-0xf000fffff] (bus address [0x00000000-0x000fffff]) [ 0.332598] pci_bus 0000:40: root bus resource [bus 40-ff] [ 0.338043] pci_bus 0000:40: busn_res: [bus 40-ff] end is updated to ff [ 0.338085] pci 0000:40:00.0: [aaa0:bed0] type 01 class 0x060400 [ 0.338124] pci 0000:40:00.0: reg 0x10: [mem 0x00000000-0x7fffffff pref] [ 0.338156] PCI: Hiding 4xx host bridge resources 0000:40:00.0 [ 0.344174] pci 0000:41:00.0: [111d:8039] type 01 class 0x060400 [ 0.344283] pci 0000:41:00.0: PME# supported from D0 D3hot D3cold [ 0.344408] pci 0000:40:00.0: PCI bridge to [bus 41-7f] [ 0.349553] pci 0000:40:00.0: bridge window [io 0x0000-0x0fff] [ 0.349568] pci 0000:40:00.0: bridge window [mem 0xf00000000-0xf000fffff] [ 0.349584] pci 0000:40:00.0: bridge window [mem 0xf00000000-0xf000fffff 64bit pref] [ 0.349602] pci 0000:41:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.357590] pci_bus 0000:42: busn_res: can not insert [bus 42-ff] under [bus 41-7f] (conflicts with (null) [bus 41-7f]) [ 0.357633] pci 0000:42:02.0: [111d:8039] type 01 class 0x060400 [ 0.357747] pci 0000:42:02.0: PME# supported from D0 D3hot D3cold [ 0.357907] pci 0000:42:03.0: [111d:8039] type 01 class 0x060400 [ 0.358023] pci 0000:42:03.0: PME# supported from D0 D3hot D3cold [ 0.358201] pci 0000:41:00.0: PCI bridge to [bus 42-ff] [ 0.363361] pci 0000:42:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.371283] pci 0000:42:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.379362] pci 0000:43:00.0: [168c:abcd] type 00 class 0x020000 [ 0.379424] pci 0000:43:00.0: reg 0x10: [mem 0xf00000000-0xf0001ffff 64bit] [ 0.379476] pci 0000:43:00.0: reg 0x30: [mem 0xf00000000-0xf0000ffff pref] [ 0.379559] pci 0000:43:00.0: supports D1 [ 0.379570] pci 0000:43:00.0: PME# supported from D0 D1 D3hot [ 0.379712] pci 0000:42:02.0: PCI bridge to [bus 43-ff] [ 0.384925] pci_bus 0000:43: busn_res: [bus 43-ff] end is updated to 43 [ 0.385073] pci 0000:44:00.0: [168c:abcd] type 00 class 0x020000 [ 0.385134] pci 0000:44:00.0: reg 0x10: [mem 0xf00000000-0xf0001ffff 64bit] [ 0.385186] pci 0000:44:00.0: reg 0x30: [mem 0xf00000000-0xf0000ffff pref] [ 0.385268] pci 0000:44:00.0: supports D1 [ 0.385279] pci 0000:44:00.0: PME# supported from D0 D1 D3hot [ 0.385412] pci 0000:42:03.0: PCI bridge to [bus 44-ff] [ 0.390601] pci_bus 0000:44: busn_res: [bus 44-ff] end is updated to 44 [ 0.390618] pci_bus 0000:42: busn_res: [bus 42-ff] end is updated to 44 [ 0.390644] pci_bus 0000:40: busn_res: [bus 40-ff] end is updated to 7f [ 0.390766] pci 0000:40:00.0: disabling bridge window [io 0x0000-0xffffffffffffffff] to [bus 41-7f] (unused) [ 0.400570] pci 0000:40:00.0: disabling bridge window [mem 0x00000000-0xffffffffffffffff 64bit pref] to [bus 41-7f] (unused) [ 0.411718] pci 0000:40:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff] [ 0.418620] pci 0000:41:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff] [ 0.425531] pci 0000:42:02.0: BAR 8: assigned [mem 0xe00000000-0xe000fffff] [ 0.432442] pci 0000:42:03.0: BAR 8: assigned [mem 0xe00100000-0xe001fffff] [ 0.439357] pci 0000:43:00.0: BAR 0: assigned [mem 0xe00000000-0xe0001ffff 64bit] [ 0.446796] pci 0000:43:00.0: BAR 6: assigned [mem 0xe00020000-0xe0002ffff pref] [ 0.454126] pci 0000:42:02.0: PCI bridge to [bus 43] [ 0.459054] pci 0000:42:02.0: bridge window [mem 0xe00000000-0xe000fffff] [ 0.465972] pci 0000:44:00.0: BAR 0: assigned [mem 0xe00100000-0xe0011ffff 64bit] [ 0.473405] pci 0000:44:00.0: BAR 6: assigned [mem 0xe00120000-0xe0012ffff pref] [ 0.480737] pci 0000:42:03.0: PCI bridge to [bus 44] [ 0.485664] pci 0000:42:03.0: bridge window [mem 0xe00100000-0xe001fffff] [ 0.492578] pci 0000:41:00.0: PCI bridge to [bus 42-44] [ 0.497760] pci 0000:41:00.0: bridge window [mem 0xe00000000-0xe001fffff] [ 0.504674] pci 0000:40:00.0: PCI bridge to [bus 41-7f] [ 0.509855] pci 0000:40:00.0: bridge window [mem 0xe00000000-0xe001fffff] [ 0.516769] pci_bus 0000:40: resource 4 [io 0x0000-0xffff] [ 0.516781] pci_bus 0000:40: resource 5 [mem 0xe00000000-0xe7fffffff] [ 0.516793] pci_bus 0000:40: resource 6 [mem 0xf00000000-0xf000fffff] [ 0.516806] pci_bus 0000:41: resource 1 [mem 0xe00000000-0xe001fffff] [ 0.516818] pci_bus 0000:42: resource 1 [mem 0xe00000000-0xe001fffff] [ 0.516830] pci_bus 0000:43: resource 1 [mem 0xe00000000-0xe000fffff] [ 0.516842] pci_bus 0000:44: resource 1 [mem 0xe00100000-0xe001fffff] [ 0.522142] clocksource: Switched to clocksource timebase [ 0.528212] NET: Registered protocol family 2 [ 0.532902] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.539780] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.546073] TCP: Hash tables configured (established 1024 bind 1024) [ 0.552429] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.558177] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.564518] NET: Registered protocol family 1 [ 0.568871] PCI: CLS 0 bytes, default 32 [ 0.575365] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.590852] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.596617] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.607896] io scheduler noop registered [ 0.611744] io scheduler deadline registered (default) [ 0.617187] pcieport 0000:41:00.0: enabling device (0000 -> 0002) [ 0.623322] pcieport 0000:42:02.0: enabling device (0000 -> 0002) [ 0.629512] pcieport 0000:42:03.0: enabling device (0000 -> 0002) [ 0.635776] aer 0000:40:00.0:pcie02: request IRQ failed [ 0.635815] aer: probe of 0000:40:00.0:pcie02 failed with error -22 [ 0.642117] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled [ 0.648633] console [ttyS0] disabled [ 0.672219] serial8250.0: ttyS0 at MMIO 0x4ef600400 (irq = 21, base_baud = 462962) is a U6_16550A [ 0.680993] console [ttyS0] enabled [ 0.687900] bootconsole [udbg0] disabled [ 0.696079] console [ttyS0] disabled [ 0.699682] 4ef600400.serial: ttyS0 at MMIO 0x4ef600400 (irq = 21, base_baud = 462962) is a 16550 [ 0.699700] console [ttyS0] enabled [ 0.703989] nand: device found, Manufacturer ID: 0xad, Chip ID: 0x75 [ 0.710340] nand: Hynix NAND 32MiB 3,3V 8-bit [ 0.714683] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16 [ 0.721975] Scanning device for bad blocks [ 0.830318] 3 ofpart partitions found on MTD device 4e4000000.ndfc.nand [ 0.836932] Creating 3 MTD partitions on "4e4000000.ndfc.nand": [ 0.842835] 0x000000000000-0x000000170000 : "u-boot" [ 0.848630] 0x000000170000-0x000000180000 : "oops" [ 0.854255] 0x000000180000-0x000002000000 : "ubi" [ 0.860381] PPC 4xx OCP EMAC driver, version 3.54 [ 0.865334] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels [ 0.871043] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support [ 0.878178] TAH /plb/opb/emac-tah@ef601350 initialized [ 0.883563] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode [ 0.890797] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:01:73:01:23:41 [ 0.897664] eth0: found Atheros 8035 Gigabit Ethernet PHY (0x01) [ 0.905865] NET: Registered protocol family 10 [ 0.911755] NET: Registered protocol family 17 [ 0.916261] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 0.928832] 8021q: 802.1Q VLAN Support v1.8 [ 0.934895] UBI: auto-attach mtd2 [ 0.938061] ubi0: attaching mtd2 [ 1.108618] ubi0: scanning is finished [ 1.120849] ubi0: attached mtd2 (name "ubi", size 30 MiB) [ 1.126256] ubi0: PEB size: 16384 bytes (16 KiB), LEB size: 15872 bytes [ 1.132850] ubi0: min./max. I/O unit sizes: 512/512, sub-page size 256 [ 1.139355] ubi0: VID header offset: 256 (aligned 256), data offset: 512 [ 1.146034] ubi0: good PEBs: 1952, bad PEBs: 0, corrupted PEBs: 0 [ 1.152108] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 92 [ 1.159221] ubi0: max/mean erase counter: 13/7, WL threshold: 4096, image sequence number: 1992864020 [ 1.168404] ubi0: available PEBs: 0, total reserved PEBs: 1952, PEBs reserved for bad PEB handling: 40 [ 1.177709] ubi0: background thread "ubi_bgt0d" started, PID 264 [ 1.184733] block ubiblock0_3: created from ubi0:3(rootfs) [ 1.190227] ubiblock: device ubiblock0_3 (rootfs) set to be root filesystem [ 1.200510] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 1.208326] Freeing unused kernel memory: 156K (c03b4000 - c03db000) [ 1.693866] init: Console is alive [ 2.111463] booke_wdt: powerpc book-e watchdog driver loaded [ 2.119911] init: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 2.258823] eth0: link is down [ 2.262361] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2.282668] random: procd urandom read with 0 bits of entropy available [ 4.058358] eth0: link is up, 1000 FDX, pause enabled [ 4.063450] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 5.417166] UBIFS (ubi0:4): background thread "ubifs_bgt0_4" started, PID 342 [ 5.426506] UBIFS (ubi0:4): recovery needed [ 5.455318] UBIFS (ubi0:4): recovery completed [ 5.459811] UBIFS (ubi0:4): UBIFS: mounted UBI device 0, volume 4, name "rootfs_data" [ 5.467620] UBIFS (ubi0:4): LEB size: 15872 bytes (15 KiB), min./max. I/O unit sizes: 512 bytes/512 bytes [ 5.477164] UBIFS (ubi0:4): FS size: 20443136 bytes (19 MiB, 1288 LEBs), journal size 1031680 bytes (0 MiB, 65 LEBs) [ 5.487646] UBIFS (ubi0:4): reserved for root: 965579 bytes (942 KiB) [ 5.494069] UBIFS (ubi0:4): media format: w4/r0 (latest is w4/r0), UUID 223BD532-70DF-4369-BD7F-E065A8631BD9, small LPT model [ 5.508617] mount_root: switching to jffs2 overlay [ 5.533328] procd: - early - [ 6.098243] procd: - watchdog - [ 6.101718] procd: - ubus - [ 6.157063] procd: - init - Please press Enter to activate this console. [ 6.592743] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 6.604793] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68 [ 6.612188] Backport generated by backports.git backports-20151218-0-g2f58d9d [ 6.621180] ip_tables: (C) 2000-2006 Netfilter Core Team [ 6.632940] nf_conntrack version 0.5.0 (1964 buckets, 7856 max) [ 6.661747] xt_time: kernel timezone is -0000 [ 6.712086] PPP generic driver version 2.4.2 [ 6.718044] NET: Registered protocol family 24 [ 6.748176] ath9k 0000:43:00.0: enabling device (0000 -> 0002) [ 6.853691] ath: EEPROM regdomain: 0x0 [ 6.853701] ath: EEPROM indicates default country code should be used [ 6.853708] ath: doing EEPROM country->regdmn map search [ 6.853723] ath: country maps to regdmn code: 0x3a [ 6.853731] ath: Country alpha2 being used: US [ 6.853737] ath: Regpair used: 0x3a [ 6.862057] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 6.863622] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xd5500000, irq=19 [ 6.870287] ath9k 0000:44:00.0: enabling device (0000 -> 0002) [ 6.968306] ath: EEPROM regdomain: 0x0 [ 6.968316] ath: EEPROM indicates default country code should be used [ 6.968323] ath: doing EEPROM country->regdmn map search [ 6.968338] ath: country maps to regdmn code: 0x3a [ 6.968345] ath: Country alpha2 being used: US [ 6.968352] ath: Regpair used: 0x3a [ 6.976717] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 6.978299] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xd5580000, irq=20 [ 11.357494] eth0: link is up, 1000 FDX, pause enabled [ 11.371479] device eth0 entered promiscuous mode BusyBox v1.24.1 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- DESIGNATED DRIVER (Bleeding Edge, r49088) ----------------------------------------------------- * 2 oz. Orange Juice Combine all juices in a * 2 oz. Pineapple Juice tall glass filled with * 2 oz. Grapefruit Juice ice, stir well. * 2 oz. Cranberry Juice ----------------------------------------------------- root@OpenWrt:/#


Tags

toh/meraki/mr24.txt · Last modified: 2016/09/04 10:09 by riptide_wave