User Tools

Site Tools


toh:meraki:z1

Meraki Z1

Hardware

Info

Architecture: MIPS
Vendor: Atheros
Bootloader: Cisco Nandloader
System-On-Chip: Atheros AR9344
CPU Speed: 560MHz
Flash-Chip: Hynix H27U1G8F2BTR
Flash size: 128MiB
RAM: 2x Winbond W9751G6KB-25
RAM Size: 128MiB
Wireless: Atheros AR9340 5.0GHz + Atheros AR9280 2.4GHz
Switch: Atheros AR8236
Ethernet ports: 5x Gigabit (1x WAN, 4x LAN)
USB: Yes, USB 2.0
Serial: Yes, settings
JTAG: Yes

WikiDevi Page is at https://wikidevi.com/wiki/Meraki_Z1

Serial

Connect on UART (JP1). J4 is closest to USB port.

J1: GND
J2: TX
J3: RX
J4: VCC

Photos

Flash Layout

Stock

dev:    size   erasesize  name
mtd0: 00020000 00020000 "loader1"
mtd1: 007e0000 00020000 "bootkernel1"
mtd2: 00020000 00020000 "loader2"
mtd3: 007e0000 00020000 "bootkernel2"
mtd4: 06fe0000 00020000 "ubi"
mtd5: 00020000 00020000 "origcaldata"
mtd6: 0001f800 0001f800 "board-config"
mtd7: 0087d800 0001f800 "rootfs-wired-10-174276-2"
mtd8: 0086a000 0001f800 "rootfs-wired-10-174276-1"
mtd9: 0501a800 0001f800 "storage"
mtd10: 0003f000 0001f800 "caldata"

Note that mtd6 through mtd10 are UBI partitions emulating mtd devices.

OpenWrt

/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00020000 "loader1"
mtd1: 007e0000 00020000 "kernel"
mtd2: 00020000 00020000 "loader2"
mtd3: 007e0000 00020000 "recovery"
mtd4: 06fe0000 00020000 "ubi"
mtd5: 00020000 00020000 "origcaldata"

OpenWrt Installation

Prerequisites

  • 1x Meraki Z1
  • 1x UART adapter wired to the Z1 (speed is 115200).
  • Local computer (Static IP of 192.168.0.2) directly wired to one of the LAN ports.
  • A local webserver application (apache, nginx, xampp, python script, etc.)

Flashing

  1. Hookup UART and ethernet (LAN only) to the Z1, where the ethernet is directly wired to your local machine. (To prevent the Z1 from reaching the internet)
  2. Follow the steps at https://servernetworktech.com/2016/02/pwning-the-meraki-mr18/ to get into the initramfs root prompt, and follow the steps to do the stock firmware root (bonus root). Once this is done and you have a full root prompt within the stock Meraki firmware, please return to this tutorial.
  3. At this point, you will then want to download the firmware images for the Z1 from the repo at https://github.com/riptidewave93/Openwrt-Z1/releases and then extract the files to the root of your local webserver. Once this is done and you have verified the 2 images are extracted and in the webroot folder, you can then download the initramfs image to the Z1 and flash it:
    wget http://192.168.0.2/openwrt-ar71xx-nand-z1-initramfs-kernel.bin -O /storage/openwrt.bin
    dd if=/storage/openwrt.bin of=/dev/mtdblock3
  4. At this point OpenWrt should be flashed to the 2nd kernel partition, but unlike the MR18 there is no way to force boot this partition. Because of this we will also want to flash this to mtdblock1, but we always START with mtdblock3 to ensure our device can failback to the initramfs image if needed. So next, we will also flash the normal kernel partition of the board:
    dd if=/storage/openwrt.bin of=/dev/mtdblock1
  5. If all commands above completed without error or any warnings, then you have successfully flashed the initramfs image to your device! To boot this, all you need to reboot the Z1 and this will then boot up the OpenWrt initramfs build. Note that right after flashing using dd, it's a good idea to wait 15 to 30 seconds to ensure any cached writes complete.
  6. NOTE: In the initramfs image, you may notice wifi does not work. This is because some factory firmware images do not properly populate the UBI caldata partition with the required information, but we will take care of this shortly. :)
  7. Now that we have the initramfs build working, you will want to browse to http://192.168.1.1/ which should then take you to the LuCI web interface. Note that before you can access this, you WILL NEED to change your local computer's interface to use DHCP. From here, you can just press login to enter as no password is set. You will then want to go to the System Upgrade tab, and select the downloaded sysupgrade image named openwrt-ar71xx-nand-z1-squashfs-sysupgrade.tar. Once selected, de-select the save config option and then press Upgrade. Once on the confirmation page, go ahead and flash the image. This will then flash OpenWrt, fix the caldata partition if needed, and auto create rootfs and expand rootfs_data to use the rest of the UBI free space.
  8. NOTE: You may want to remove the Stock Meraki firmware partitions from the initramfs image before flashing the sysupgrade, as this will then give you more storage space for rootfs_data (up to 90+ MiB). For this, you will want to follow the Removal guide from the MR18 thread at https://forum.openwrt.org/viewtopic.php?pid=311567#p311567. Be careful to NOT DELETE the board-info partition, as this holds your board's mac address.

Bootlogs

Stock Bootlog

find_hif: bootstrap = 0xaf055b WASP BootROM Ver. 1.1 Nand Flash init Table[5]: Control setting = 0xb44 hdr: [0xbd001000 : 0xbd001000 : 0x6104 : 0xb8a746df] nand_load_fw: read 12 pages nand_load_fw: 0x10000 0x800 0xbd0017f0 nand_load_fw: 0x20000 0x800 0xbd001ff0 nand_load_fw: 0x30000 0x800 0xbd0027f0 nand_load_fw: 0x40000 0x800 0xbd002ff0 nand_load_fw: 0x50000 0x800 0xbd0037f0 nand_load_fw: 0x60000 0x800 0xbd003ff0 nand_load_fw: 0x70000 0x800 0xbd0047f0 nand_load_fw: 0x80000 0x800 0xbd004ff0 nand_load_fw: 0x90000 0x800 0xbd0057f0 nand_load_fw: 0xa0000 0x800 0xbd005ff0 nand_load_fw: 0xb0000 0x800 0xbd0067f0 nand_load_fw: 0xc0000 0x800 0xbd006ff0 f/w 0 read complete, jumping to 0xbd001000 Meraki Atheros LinuxLoader built Jul 23 2012 15:31:10 init_ddr ok test_memory ok D-cache size: 64K I-cache size: 32K init_dram_uncached ok init_icache ok init_dcache ok enable_caches ok test_memory ok init_usb_phy ok init_pcie_plls ok nand_flash_init ok loading fw at 64 hdr: [0x4d495053 : 0x80002000 : 0x41d3c0 : 0x802a76a0, : 0x74887c61] ................................ Linux version 2.6.32.60-svn123774 (meraki@buildbot102.meraki.com) (gcc version 4.5.3 (GCC) ) #1 Fri Jan 17 19:45:12 PST 2014 flash_size passed from bootloader = 2239 bootconsole [early0] enabled CPU revision is: 0001974c (MIPS 74Kc) ath_sys_frequency: cpu srif ddr srif cpu 560 ddr 400 ahb 200 Booting Atheros AR934x Determined physical RAM map: memory: 02000000 @ 00000000 (usable) User-defined physical RAM map: memory: 07ffc000 @ 00000000 (usable) Initrd not found or empty - disabling initrd Zone PFN ranges: Normal 0x00000000 -> 0x00007ffc Movable zone start PFN for each node early_node_map[1] active PFN ranges 0: 0x00000000 -> 0x00007ffc Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32508 Kernel command line: console=ttyS0,115200 mtdparts=ath-nand:128K(loader1),8064K(bootkernel1),128K(loader2),8064K(bootkernel2),114560K(ubi),128K(origcaldata) ubi.mtd=ubi mem=131056K PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes Writing ErrCtl register=00000000 Readback ErrCtl register=00000000 Memory: 125440k/131056k available (2748k kernel code, 5448k reserved, 764k data, 700k init, 0k highmem) Hierarchical RCU implementation. NR_IRQS:128 plat_time_init: plat time init done Calibrating delay loop... 278.52 BogoMIPS (lpj=557056) Mount-cache hash table entries: 512 NET: Registered protocol family 16 PCI init:ath_pcibios_init ath_pcibios_init(294): PCI CMD write: 0x356 registering PCI controller with io_map_base unset bio: create slab <bio-0> at 0 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pci 0000:00:00.0: PME# supported from D0 D1 D3hot pci 0000:00:00.0: PME# disabled Returning IRQ 64 Switching to clocksource MIPS ATHR_GMAC: Length per segment 512 ATHR_GMAC: fifo cfg 3 01f00140 ATHR_GMAC: RX TASKLET - Pkts per Intr:100 ATHR_GMAC: Mac address for unit 0:bfff0000 ATHR_GMAC: 00:00:00:00:00:00 ATHR_GMAC: Max segments per packet : 1 ATHR_GMAC: Max tx descriptor count : 100 ATHR_GMAC: Max rx descriptor count : 252 ATHR_GMAC: Mac capability flags : 2381 WASP ----> S17 PHY * ATHR_GMAC: Powered down LAN port phys NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 MERAKI GLUON INIT ATH GPIOC major 0 squashfs: version 4.0 (2009/01/31) Phillip Lougher Registering unionfs 2.5.10 (for 2.6.32.46) msgmni has been set to 245 io scheduler noop registered io scheduler deadline registered (default) Trying to register dev faulty etc Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled console [ttyS0] enabled, bootconsole disabled 19) is a 16550A console [ttyS0] enabled, bootconsole disabled brd: module loaded ONFI flash detected ONFI param page 0 valid NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix H27U1G8F2BTR-BC) Scanning device for bad blocks 6 cmdlinepart partitions found on MTD device ath-nand Creating 6 MTD partitions on "ath-nand": 0x000000000000-0x000000020000 : "loader1" 0x000000020000-0x000000800000 : "bootkernel1" 0x000000800000-0x000000820000 : "loader2" 0x000000820000-0x000001000000 : "bootkernel2" 0x000001000000-0x000007fe0000 : "ubi" 0x000007fe0000-0x000008000000 : "origcaldata" UBI: attaching mtd4 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 129024 bytes UBI: smallest flash I/O unit: 2048 UBI: sub-page size: 512 UBI: VID header offset: 512 (aligned 512) UBI: data offset: 2048 UBI: max. sequence number: 17192 UBI: attached mtd4 to ubi0 UBI: MTD device name: "ubi" UBI: MTD device size: 111 MiB UBI: number of good PEBs: 895 UBI: number of bad PEBs: 0 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 UBI: number of user volumes: 5 UBI: available PEBs: 91 UBI: total number of reserved PEBs: 804 UBI: number of PEBs reserved for bad PEB handling: 16 UBI: max/mean erase counter: 25/20 UBI: image sequence number: 1610524614 UBI: background thread "ubi_bgt0d" started, PID 175 Atheros(R) L2 Ethernet Driver - version 2.2.3 Copyright (c) 2007 Atheros Corporation. PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered NET: Registered protocol family 24 PPPoL2TP kernel driver, V1.0 usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver cdc_eem usbcore: registered new interface driver cdc_subset ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver Port Status 1c000004 ath-ehci ath-ehci.0: ATH EHCI ath-ehci ath-ehci.0: new USB bus registered, assigned bus number 1 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: irq 3, io mem 0x1b000000 ehci_reset Intialize USB CONTROLLER in host mode: 13 ehci_reset Port Status 1c000000 ath-ehci ath-ehci.0: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: ATH EHCI usb usb1: Manufacturer: Linux 2.6.32.60-svn123774 ehci_hcd usb usb1: SerialNumber: platform usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new interface driver cdc_acm cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver usbserial usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems USB Serial support registered for Qualcomm USB modem usbcore: registered new interface driver qcserial USB Serial support registered for Sierra USB modem usbcore: registered new interface driver sierra sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems input: gpio-keys as /class/input/input0 usbcore: registered new interface driver usbhid usbhid: v2.6:USB HID core driver oprofile: using mips/74K performance monitoring. TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 17 NET: Registered protocol family 15 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> athwdt_init: Registering WDT success ath_otp_init: Registering OTP success ath_clksw_init: Registering Clock Switch Interface success Freeing unused kernel memory: 700k freed Made it into bootsh: Jan 17 2014 19:39:18 bootsh build wired-8-126593 Press S for a shell, or another magic key... trying to ubi mount: bootcustom mounting ubifs: Invalid argument trying to ubi mount: storage UBIFS: recovery needed UBIFS: recovery completed UBIFS: mounted UBI device 0, volume 4, name "storage" UBIFS: file system size: 82704384 bytes (80766 KiB, 78 MiB, 641 LEBs) UBIFS: journal size: 4128768 bytes (4032 KiB, 3 MiB, 32 LEBs) UBIFS: media format: w4/r0 (latest is w4/r0) UBIFS: default compressor: lzo UBIFS: reserved for root: 3906332 bytes (3814 KiB) trying rootfs path: /dev/mtdblock/rootfs-wired-8-126593-1 Attempting to setup root /dev/mtdblock/rootfs-wired-8-126593-1... About to try exec init started: BusyBox v1.20.2 (2014-01-17 18:58:06 PST) Algorithmics/MIPS FPU Emulator v1.5 : mount: mounting /dev/ubivol/storage on /storage failed: Device or resource busy : sysctl -w vm.panic_on_oom=2 : vm.panic_on_oom = 2 unionfs: new lower inode mtime (bindex=1, name=lib) ath_hal: 0.9.17.1 (AR5212, AR5416, AR9380, RF5111, RF5112, RF2413, RF5413, RF2316, RF2317, DEBUG, WRITE_EEPROM, 11D) ath_dfs: Version 2.0.0 Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved ath_ahb: 9.2.0_U10.5.13 (Atheros/multi-bss) __ath_attach: Set global_scn[0] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 Bootstrap clock 40MHz Wasp Enterprise mode: 0x00000000 ar9300RadioAttach: Need analog access recipe!! dfs_attach: use DFS enhancements Overriding DFS domain with 1 DFS min filter rssiThresh = 18 DFS max pulse dur = 151 ticks ath_get_caps[5335] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[5309] tx chainmask mismatch actual 3 sc_chainmak 0 wifi0: Atheros 9340: mem=0xb8100000, irq=2 ath_pci: 9.2.0_U10.5.13 (Atheros/multi-bss) __ath_attach: Set global_scn[1] ACBKMinfree = 48 ACBEMinfree = 32 ACVIMinfree = 16 ACVOMinfree = 0 CABMinfree = 48 UAPSDMinfree = 0 dfs_attach: use DFS enhancements Overriding DFS domain with 1 DFS min filter rssiThresh = 18 DFS max pulse dur = 151 ticks ath_get_caps[5335] rx chainmask mismatch actual 3 sc_chainmak 0 ath_get_caps[5309] tx chainmask mismatch actual 3 sc_chainmak 0 wifi1: Atheros ???: mem=0x10000000, irq=64 hw_base=0xb0000000 unionfs: new lower inode mtime (bindex=1, name=console) Single synchronous check for reset unionfs: new lower inode mtime (bindex=1, name=console) !!!!! reading /tmp/brain_dump failed [2]: No such file or directory unionfs: new lower inode mtime (bindex=1, name=console) !!!!! reading /tmp/brain_dump failed [2]: No such file or directory unionfs: new lower inode mtime (bindex=1, name=console) !!!!! reading /tmp/brain_dump failed [2]: No such file or directory unionfs: new lower inode mtime (bindex=1, name=console) !!!!! reading /tmp/brain_dump failed [2]: No such file or directory unionfs: new lower inode mtime (bindex=1, name=etc) : mknod: /dev/ttyUSB0: File exists : mknod: /dev/ttyUSB1: File exists : mknod: /dev/ttyUSB2: File exists unionfs: new lower inode mtime (bindex=1, name=console) unionfs: new lower inode mtime (bindex=1, name=console) init-boot: boot 18 build wired-8-126593 board wired-mips mac 00:18:0A:XX:XX:XX unionfs: new lower inode mtime (bindex=1, name=console) Module: adf .text=0x8725c000 .data= .bss= Module: asf .text=0x8724a000 .data=0x8724b560 .bss=0x8724b710 Module: ath_hal .text=0x86c00000 .data=0x86cb8aa0 .bss=0x86cc1100 Module: ath_dfs .text=0x87270000 .data=0x8727a7e0 .bss=0x8727a930 Module: ath_rate_atheros .text=0x86cd0000 .data=0x86cd7140 .bss=0x86cdca80 Module: ath_dev .text=0x87280000 .data=0x872bd980 .bss=0x872bde50 Module: athunionfs: new lower inode mtime (bindex=1, name=console) _pktlog .text= .data= .bss= Module: umac .text=0x86d00000 .data=0x86d8c920 .bss=0x86d8e0c0 Module: proclikefs .text=0x86db0000 .data= .bss=0x86db0dc0 Module: merakiclick .text=0x85000000 .data=0x85266420 .bss=0x852668b0 Module: scsi_wait_scan .text= .data= .bss= !!!!! reading /tmp/brain_dump failed [2]: No such file or directory click: starting router thread pid 574 (87234ac0) phram: phram-oops device: 0x4000 at 0x7ffc000 unionfs: new lower inode mtime (bindex=1, name=usr) unionfs: new lower inode mtime (bindex=1, name=console) !!!!! reading /tmp/brain_dump failed [2]: No such file or directory unionfs: new lower inode mtime (bindex=1, name=etc) unionfs: new lower inode mtime (bindex=1, name=etc) unionfs: new lower inode mtime (bindex=1, name=etc) unionfs: new lower inode mtime (bindex=1, name=etc) device sw0 entered promiscuous mode athr_gmac_ring_alloc Allocated 1600 at 0x8432d800 athr_gmac_ring_alloc Allocated 4032 at 0x83f94000 Setting Drop CRC Errors, Pause Frames and Length Error frames athrs17_reg_init:done Setting PHY... unionfs: new lower inode mtime (bindex=1, name=etc) unionfs: new lower inode mtime (bindex=1, name=etc) chatter: to_hostlan :: ToHost: device 'hostlan' went down chatter: to_hostlan :: ToHost: device 'hostlan' came up unionfs: new lower inode mtime (bindex=1, name=etc) unionfs: new lower inode mtime (bindex=1, name=etc) wifi0: ath_tid_stuck_checker txq 3 stall detected 1 bufs last scheduled 5.508 ago


OpenWrt Bootlog

find_hif: bootstrap = 0xaf055b WASP BootROM Ver. 1.1 Nand Flash init Table[5]: Control setting = 0xb44 hdr: [0xbd001000 : 0xbd001000 : 0x6104 : 0xb8a746df] nand_load_fw: read 12 pages nand_load_fw: 0x10000 0x800 0xbd0017f0 nand_load_fw: 0x20000 0x800 0xbd001ff0 nand_load_fw: 0x30000 0x800 0xbd0027f0 nand_load_fw: 0x40000 0x800 0xbd002ff0 nand_load_fw: 0x50000 0x800 0xbd0037f0 nand_load_fw: 0x60000 0x800 0xbd003ff0 nand_load_fw: 0x70000 0x800 0xbd0047f0 nand_load_fw: 0x80000 0x800 0xbd004ff0 nand_load_fw: 0x90000 0x800 0xbd0057f0 nand_load_fw: 0xa0000 0x800 0xbd005ff0 nand_load_fw: 0xb0000 0x800 0xbd0067f0 nand_load_fw: 0xc0000 0x800 0xbd006ff0 f/w 0 read complete, jumping to 0xbd001000 Meraki Atheros LinuxLoader built Jul 23 2012 15:31:10 init_ddr ok test_memory ok D-cache size: 64K I-cache size: 32K init_dram_uncached ok init_icache ok init_dcache ok enable_caches ok test_memory ok init_usb_phy ok init_pcie_plls ok nand_flash_init ok loading fw at 64 hdr: [0x4d495053 : 0x80060000 : 0x40f08c : 0x80060000, : 0xecfeb5d3] ................................ [ 0.000000] Linux version 4.1.16 (riptide_wave@AMD-990FX-GEN3-R2) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 r48920) ) #1 Fri Mar 4 21:39:14 UTC 2016 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc) [ 0.000000] SoC: Atheros AR9344 rev 2 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: board=Z1 mtdparts=ar934x-nfc:128K(loader1)ro,8064K(kernel),128K(loader2)ro,8064K(recovery),114560K(ubi),128K(origcaldata)ro console=ttyS0,115200 rootfstype=squashfs noinitrd [ 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] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 125148K/131072K available (3070K kernel code, 141K rwdata, 740K rodata, 196K init, 193K bss, 5924K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:83 [ 0.000000] Clocks: CPU:560.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz [ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns [ 0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns [ 0.007502] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688) [ 0.080011] pid_max: default: 32768 minimum: 301 [ 0.084585] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090916] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.100415] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.110472] NET: Registered protocol family 16 [ 0.116023] MIPS: machine is Meraki Z1 [ 0.344593] registering PCI controller with io_map_base unset [ 0.359237] PCI host bridge to bus 0000:00 [ 0.363187] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff] [ 0.369768] pci_bus 0000:00: root bus resource [io 0x0000] [ 0.375157] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.381698] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.389417] pci 0000:00:00.0: invalid calibration data [ 0.394738] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit] [ 0.401781] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.407303] Switched to clocksource MIPS [ 0.412410] NET: Registered protocol family 2 [ 0.417480] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.424160] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.430326] TCP: Hash tables configured (established 1024 bind 1024) [ 0.436492] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.442109] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.448410] NET: Registered protocol family 1 [ 0.453716] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.476676] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.482313] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.495382] io scheduler noop registered [ 0.499166] io scheduler deadline registered (default) [ 0.504300] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled �[ 0.534317] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A [ 0.542603] console [ttyS0] enabled [ 0.542603] console [ttyS0] enabled [ 0.549627] bootconsole [early0] disabled [ 0.549627] bootconsole [early0] disabled [ 0.560938] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 0.567437] nand: Hynix NAND 128MiB 3,3V 8-bit [ 0.571946] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.582833] Scanning device for bad blocks [ 0.687505] 6 cmdlinepart partitions found on MTD device ar934x-nfc [ 0.693866] Creating 6 MTD partitions on "ar934x-nfc": [ 0.699096] 0x000000000000-0x000000020000 : "loader1" [ 0.705128] 0x000000020000-0x000000800000 : "kernel" [ 0.711047] 0x000000800000-0x000000820000 : "loader2" [ 0.716969] 0x000000820000-0x000001000000 : "recovery" [ 0.723040] 0x000001000000-0x000007fe0000 : "ubi" [ 0.728905] 0x000007fe0000-0x000008000000 : "origcaldata" [ 0.743021] libphy: ag71xx_mdio: probed [ 0.752842] switch0: Atheros AR8327 rev. 2 switch registered on ag71xx-mdio.0 [ 0.847043] libphy: ag71xx_mdio: probed [ 1.438720] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316] [ 1.450202] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII [ 1.458663] NET: Registered protocol family 10 [ 1.467507] NET: Registered protocol family 17 [ 1.472108] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. [ 1.485070] 8021q: 802.1Q VLAN Support v1.8 [ 1.493150] UBI: auto-attach mtd4 [ 1.496358] ubi0: attaching mtd4 [ 2.137080] random: nonblocking pool is initialized [ 2.967446] ubi0: scanning is finished [ 2.990572] ubi0: attached mtd4 (name "ubi", size 111 MiB) [ 2.996153] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 3.003173] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 3.009977] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 3.016855] ubi0: good PEBs: 895, bad PEBs: 0, corrupted PEBs: 0 [ 3.022955] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128 [ 3.030290] ubi0: max/mean erase counter: 12/6, WL threshold: 4096, image sequence number: 1610524614 [ 3.039649] ubi0: available PEBs: 0, total reserved PEBs: 895, PEBs reserved for bad PEB handling: 20 [ 3.049052] ubi0: background thread "ubi_bgt0d" started, PID 308 [ 3.057111] block ubiblock0_2: created from ubi0:2(rootfs) [ 3.062739] ubiblock: device ubiblock0_2 (rootfs) set to be root filesystem [ 3.079170] VFS: Mounted root (squashfs filesystem) readonly on device 254:2. [ 3.087439] Freeing unused kernel memory: 196K (8043f000 - 80470000) [ 4.518172] init: Console is alive [ 4.521842] init: - watchdog - [ 6.119334] usbcore: registered new interface driver usbfs [ 6.124990] usbcore: registered new interface driver hub [ 6.130545] usbcore: registered new device driver usb [ 6.147137] SCSI subsystem initialized [ 6.157725] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 6.165839] ehci-platform: EHCI generic platform driver [ 6.171287] ehci-platform ehci-platform: EHCI Host Controller [ 6.177148] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 6.187286] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 6.207344] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 6.214588] hub 1-0:1.0: USB hub found [ 6.218776] hub 1-0:1.0: 1 port detected [ 6.225835] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 6.233521] ohci-platform: OHCI generic platform driver [ 6.241438] uhci_hcd: USB Universal Host Controller Interface driver [ 6.252625] usbcore: registered new interface driver usb-storage [ 6.525827] init: - preinit - [ 7.216187] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 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 [ 8.608753] eth0: link up (1000Mbps/Full duplex) [ 8.613588] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 10.441171] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" started, PID 463 [ 10.534103] UBIFS (ubi0:3): recovery needed [ 10.747404] UBIFS (ubi0:3): recovery completed [ 10.752021] UBIFS (ubi0:3): UBIFS: mounted UBI device 0, volume 3, name "rootfs_data" [ 10.760001] UBIFS (ubi0:3): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 10.770077] UBIFS (ubi0:3): FS size: 108122112 bytes (103 MiB, 838 LEBs), journal size 5419008 bytes (5 MiB, 42 LEBs) [ 10.780843] UBIFS (ubi0:3): reserved for root: 4952683 bytes (4836 KiB) [ 10.787575] UBIFS (ubi0:3): media format: w4/r0 (latest is w4/r0), UUID 54CCF19C-0DD9-4B9E-B35A-7B4D4A73294B, small LPT model [ 10.809605] mount_root: switching to jffs2 overlay [ 10.851646] eth0: link down [ 10.865400] procd: - early - [ 10.869075] procd: - watchdog - [ 11.600549] procd: - ubus - [ 12.611941] procd: - init - Please press Enter to activate this console. [ 13.503146] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.525299] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68 [ 13.532868] Backport generated by backports.git backports-20151218-0-g2f58d9d [ 13.543404] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.559680] nf_conntrack version 0.5.0 (1958 buckets, 7832 max) [ 13.582174] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 13.595847] usbcore: registered new interface driver ums-alauda [ 13.602356] pci 0000:00:00.0: fixup device configuration [ 13.609458] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit] [ 13.619619] usbcore: registered new interface driver ums-cypress [ 13.627903] usbcore: registered new interface driver ums-datafab [ 13.635950] usbcore: registered new interface driver ums-freecom [ 13.644212] usbcore: registered new interface driver ums-isd200 [ 13.652411] usbcore: registered new interface driver ums-jumpshot [ 13.660626] usbcore: registered new interface driver ums-karma [ 13.669138] usbcore: registered new interface driver ums-sddr09 [ 13.677275] usbcore: registered new interface driver ums-sddr55 [ 13.685681] usbcore: registered new interface driver ums-usbat [ 13.712601] xt_time: kernel timezone is -0000 [ 13.783376] PPP generic driver version 2.4.2 [ 13.790628] NET: Registered protocol family 24 [ 13.863065] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47 [ 13.870030] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 13.881551] ath: phy1: Ignoring endianness difference in EEPROM magic bytes. [ 13.907504] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40 [ 23.020250] device eth0 entered promiscuous mode [ 23.026130] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 23.068317] device eth0.1 entered promiscuous mode [ 23.136850] device eth0.2 entered promiscuous mode [ 23.164497] IPv6: ADDRCONF(NETDEV_UP): br-wan: link is not ready [ 24.728808] eth0: link up (1000Mbps/Full duplex) [ 24.733659] br-lan: port 1(eth0) entered forwarding state [ 24.739206] br-lan: port 1(eth0) entered forwarding state [ 24.806809] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 24.813598] br-lan: port 2(eth0.1) entered forwarding state [ 24.819319] br-lan: port 2(eth0.1) entered forwarding state [ 24.825133] br-wan: port 1(eth0.2) entered forwarding state [ 24.830846] br-wan: port 1(eth0.2) entered forwarding state [ 24.936526] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready [ 26.361472] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 26.389008] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 26.451095] device wlan1 entered promiscuous mode [ 26.455973] br-lan: port 3(wlan1) entered forwarding state [ 26.461625] br-lan: port 3(wlan1) entered forwarding state [ 26.491023] device wlan0 entered promiscuous mode [ 26.737334] br-lan: port 1(eth0) entered forwarding state [ 26.818025] br-lan: port 2(eth0.1) entered forwarding state [ 26.827367] br-wan: port 1(eth0.2) entered forwarding state [ 27.355960] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 27.362620] br-lan: port 4(wlan0) entered forwarding state [ 27.368268] br-lan: port 4(wlan0) entered forwarding state [ 27.404944] br-lan: port 3(wlan1) entered disabled state [ 28.241686] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 28.248394] br-lan: port 3(wlan1) entered forwarding state [ 28.254021] br-lan: port 3(wlan1) entered forwarding state [ 29.367324] br-lan: port 4(wlan0) entered forwarding state [ 30.247352] br-lan: port 3(wlan1) entered forwarding state 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, r48920) ----------------------------------------------------- * 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/z1.txt · Last modified: 2017/09/17 13:45 by tmomas