Greetings,
I have a Meraki MX60 and I am trying to install opernwrt on this device.
I started with post openwrt/meraki/mx60, I got UART cable connected on ttyUSB0, a TFTP server setup and running on my Ubuntu 19.04, ip 192.168.1.102/24.
After reviewing [SOLVED] MX60W - Commands don't work
Thanks to Matt and lleachii
I was able to get step 3 done, but I could not go thought step 4.
Here is the device configuration.
U-Boot 2009.08-00048-ga5d8f06 Meraki MX60 (Oct 14 2011 - 21:30:08)
CPU: AMCC PowerPC UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
Bootstrap Option D - Boot ROM Location NAND wo/ECC 2k page (8 bits), booting from NAND
32 kB I-Cache 32 kB D-Cache
Board: Buckminster - Meraki Buckminster Cloud Managed Router
with lleachii's command, I was able to boot this device.
BUT I did not go really far
=> setenv serverpath
=> setenv netloadmethod tftpboot
=> setenv bootargs console=ttyUSB0,${baudrate} rootfstype=squashfs mtdoops.mtddev=oops
=> run meraki_load_net meraki_checkpart meraki_bootlinux
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'buck.bin'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################################################
done
Bytes transferred = 7289856 (6f3c00 hex)
setting meraki addr env fdt: 0x800400, kernel: 0x810000, ramdisk: 0xbffc00
## Booting kernel from Legacy Image at 00810000 ...
Image Name: POWERPC LEDE Linux-4.4.153
Created: 2018-08-30 12:10:54 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 2064412 Bytes = 2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00bffc00 ...
Image Name: rootfs
Created: 2018-08-30 12:10:54 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 3061174 Bytes = 2.9 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00800400
Booting using the fdt blob at 0x800400
Uncompressing Kernel Image ... OK
Loading Ramdisk to 1f86c000, end 1fb575b6 ... OK
[ 0.000000] Using PowerPC 44x Platform machine description
[ 0.000000] Linux version 4.4.153 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Thu Aug 30 12:10:54 2018
[ 0.000000] Found initrd at 0xdf86c000:0xdfb575b6
[ 0.000000] bootconsole [udbg0] enabled
setup_arch: initmem
arch: exit
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[ 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: 130048
[ 0.000000] Kernel command line: console=ttyUSB0,115200 rootfstype=squashfs mtdoops.mtddev=oops
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 512236K/524288K available (3364K kernel code, 156K rwdata, 500K rodata, 176K init, 214K bss, 12052K 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] * 0xe1000000..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.000016] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
[ 0.010234] clocksource: timebase mult[1400000] shift[24] registered
[ 0.016592] pid_max: default: 32768 minimum: 301
[ 0.021250] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.027767] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038543] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.048224] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.055044] NET: Registered protocol family 16
[ 0.061339] PPC4XX OCM1: 32768 Bytes (enabled)
[ 0.065701] PPC4XX OCM1: 32768 Bytes (non-cached)
[ 0.070361] PPC4XX OCM1: 0 Bytes (cached)
[ 0.074390] debugfs ppc4xx ocm: failed to create file
[ 0.079449] 256k L2-cache enabled
[ 0.082740] PCIE0: Port disabled via device-tree
[ 0.087790] PCI: Probing PCI hardware
[ 0.098111] SCSI subsystem initialized
[ 0.103014] clocksource: Switched to clocksource timebase
[ 0.109164] NET: Registered protocol family 2
[ 0.113902] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.120902] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.127281] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.133613] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.139357] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.145689] NET: Registered protocol family 1
[ 0.152040] Unpacking initramfs...
[ 0.438542] Freeing initrd memory: 2988K
[ 0.444047] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[ 0.455460] Crashlog allocated RAM at address 0x3f00000
[ 0.471452] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.477822] io scheduler noop registered
[ 0.481663] io scheduler deadline registered (default)
[ 0.487107] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.515933] serial8250.0: ttyS0 at MMIO 0x4ef600400 (irq = 19, base_baud = 462962) is a U6_16550A
[ 0.525236] 4ef600400.serial: ttyS0 at MMIO 0x4ef600400 (irq = 19, base_baud = 462962) is a 16550
[ 0.534822] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xd3
[ 0.541085] nand: Samsung NAND 1GiB 3,3V 8-bit
[ 0.545481] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.553101] Scanning device for bad blocks
[ 0.631980] Bad eraseblock 1175 at 0x0000092e0000
[ 0.691056] Bad eraseblock 2061 at 0x0000101a0000
[ 0.955455] Bad eraseblock 6271 at 0x000030fe0000
[ 1.017233] Bad eraseblock 7195 at 0x000038360000
[ 1.038647] Bad eraseblock 7467 at 0x00003a560000
[ 1.054486] Bad eraseblock 7649 at 0x00003bc20000
[ 1.092806] 5 ofpart partitions found on MTD device 4e4000000.ndfc.nand
[ 1.099321] Creating 5 MTD partitions on "4e4000000.ndfc.nand":
[ 1.105193] 0x000000000000-0x000000100000 : "u-boot"
[ 1.111059] 0x000000100000-0x000000200000 : "u-boot-env"
[ 1.117243] 0x000000200000-0x000000240000 : "oops"
[ 1.122912] 0x000000240000-0x000040000000 : "ubi"
[ 1.130218] 0x000000000000-0x000040000000 : "all"
[ 1.137614] PPC 4xx OCP EMAC driver, version 3.54
[ 1.142521] MAL v2 /plb/mcmal, 1 TX channels, 1 RX channels
[ 1.148144] RGMII /plb/opb/emac-rgmii@ef601500 initialized with MDIO support
[ 1.155179] TAH /plb/opb/emac-tah@ef601350 initialized
[ 1.160485] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode
[ 1.166808] libphy: emac_mdio: probed
[ 1.172598] switch0: Atheros AR8327 rev. 4 switch registered on emac_mdio
[ 1.715078] eth0: EMAC-0 /plb/opb/ethernet@ef600c00, MAC 00:01:73:01:23:41
[ 1.721853] eth0: found Atheros AR8216/AR8236/AR8316 PHY (0x00)
[ 1.727888] i2c /dev entries driver
[ 1.731622] ibm-iic 4ef600700.i2c: using standard (100 kHz) mode
[ 1.739508] booke_wdt: powerpc book-e watchdog driver loaded
[ 1.748365] NET: Registered protocol family 10
[ 1.754074] NET: Registered protocol family 17
[ 1.758460] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.770961] 8021q: 802.1Q VLAN Support v1.8
[ 1.775506] bootconsole [udbg0] disabled
Then, the process stuck right here...
I was doing some research online, and I don't get any valuable information.
So far I tried version 7.01.1, 7.01.6, 718.06.0, and the newest one release on Sep 17.
Could you please assist me and feel free to let me know where I was doing wrong?
Any ideas are welcome! Thank you so much in advance.
Updates: Do any of you guys recommended I connect this device to the internet, grab the updates, then try it again?
When the "reset" button was pushed for more then 10 seconds (trying to reset and start over again). I have this on my terminal
Problem resetting EMAC!
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
*** ERROR: ping address not given
RESET is pushed
Disabling port 0
Disabling port 1
Disabling port 2
Disabling port 3
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'uImage'.
Load address: 0x400000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'bluestone.dtb'.
Load address: 0x800000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'uRamdisk'.
Load address: 0x4000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
It looks like they have all the environment variables, and they are looking for "uImage", "bluestone.dtb", "uRamdisk"....