This is the result of loading a self compiled bin
=> tftpboot c00000 192.168.1.101:openwrt-apm821xx-nand-meraki_mr24-initramfs-kernel.bin;
Waiting for PHY auto negotiation to complete... done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'openwrt-apm821xx-nand-meraki_mr24-initramfs-kernel.bin'.
Load address: 0xc00000
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
################
done
Bytes transferred = 4044656 (3db770 hex)
=>
ubi commands, at least the ones on the Meraki MR24 openwrt page, are unknown:
=> ubinfo /dev/ubi0 -N board-config
Unknown command 'ubinfo' - try 'help'
=> ubi info
Error, no UBI device/partition selected!
=> ubinfo /dev/ubi0 -N board-config
and when loading lede-17.01.3-apm821xx-nand-mr24-initramfs-kernel.bin
=> setenv netloadmethod tftpboot; run lede_bootargs; run meraki_load_net meraki_checkpart meraki_bootlinux
Waiting for PHY auto negotiation to complete... done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 192.168.1.101; our IP address is 192.168.1.1
Filename 'mr24.bin'.
Load address: 0xc00000
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#################################
done
Bytes transferred = 4290560 (417800 hex)
## Booting kernel from Legacy Image at 00c10000 ...
Image Name: POWERPC LEDE Linux-4.4.89
Created: 2017-10-03 11:03:27 UTC
Image Type: PowerPC Linux Kernel Image (lzma compressed)
Data Size: 1487276 Bytes = 1.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00e00000 ...
Image Name: rootfs
Created: 2017-10-03 11:03:27 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 2183171 Bytes = 2.1 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 07959000, end 07b6e003 ... OK
[ 0.000000] Using PowerPC 44x Platform machine description
[ 0.000000] Linux version 4.4.89 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Sat Sep 30 18:37:33 2017
[ 0.000000] Found initrd at 0xc7959000:0xc7b6e003
[ 0.000000] bootconsole [udbg0] enabled
setup_arch: initmem
arch: exit
[ 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] MMU: Allocated 1088 bytes of context maps for 255 contexts
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: 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: 123280K/131072K available (3336K kernel code, 152K rwdata, 500K rodata, 176K init, 214K bss, 7792K 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.000016] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
[ 0.010239] clocksource: timebase mult[1400000] shift[24] registered
[ 0.016602] pid_max: default: 32768 minimum: 301
[ 0.021252] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.027772] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038466] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.048146] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.054951] NET: Registered protocol family 16
[ 0.061272] PPC4XX OCM1: 32768 Bytes (enabled)
[ 0.065628] PPC4XX OCM1: 32768 Bytes (non-cached)
[ 0.070288] PPC4XX OCM1: 0 Bytes (cached)
[ 0.074320] debugfs ppc4xx ocm: failed to create file
[ 0.079385] 256k L2-cache enabled
[ 0.082712] PCIE0: Checking link...
[ 0.086113] PCIE0: Device detected, waiting for link...
[ 0.091292] PCIE0: link is up !
[ 0.197777] PCI host bridge /plb/pciex@d00000000 (primary) ranges:
[ 0.203871] MEM 0x0000000e00000000..0x0000000e7fffffff -> 0x0000000080000000
[ 0.211034] MEM 0x0000000f00000000..0x0000000f000fffff -> 0x0000000000000000
[ 0.218201] IO 0x0000000f80000000..0x0000000f8000ffff -> 0x0000000000000000
[ 0.225296] 4xx PCI DMA offset set to 0x00000000
[ 0.229860] 4xx PCI DMA window base to 0x0000000000000000
[ 0.235216] DMA window size 0x0000000080000000
[ 0.239643] PCIE0: successfully set as root-complex
[ 0.244983] PCI: Probing PCI hardware
[ 0.248702] PCI host bridge to bus 0000:40
[ 0.252724] pci_bus 0000:40: root bus resource [io 0x0000-0xffff]
[ 0.258848] pci_bus 0000:40: root bus resource [mem 0xe00000000-0xe7fffffff] (bus address [0x80000000-0xffffffff])
[ 0.269129] pci_bus 0000:40: root bus resource [mem 0xf00000000-0xf000fffff] (bus address [0x00000000-0x000fffff])
[ 0.279409] pci_bus 0000:40: root bus resource [bus 40-ff]
[ 0.284971] PCI: Hiding 4xx host bridge resources 0000:40:00.0
[ 0.291095] pci 0000:41:00.0: Max Payload Size set to 256 (was 128, max 256)
[ 0.298275] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[ 0.303449] pci 0000:41:00.0: bridge configuration invalid ([bus 02-04]), reconfiguring
[ 0.311588] pci 0000:42:02.0: Max Payload Size set to 256 (was 128, max 256)
[ 0.318884] pci 0000:42:03.0: Max Payload Size set to 256 (was 128, max 256)
[ 0.326119] pci 0000:41:00.0: PCI bridge to [bus 42-ff]
[ 0.331292] pci 0000:42:02.0: bridge configuration invalid ([bus 03-03]), reconfiguring
[ 0.339201] pci 0000:42:03.0: bridge configuration invalid ([bus 04-04]), reconfiguring
[ 0.347444] pci 0000:43:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[ 0.358373] pci 0000:42:02.0: PCI bridge to [bus 43-ff]
[ 0.363908] pci 0000:44:00.0: can't set Max Payload Size to 256; if necessary, use "pci=pcie_bus_safe" and report a bug
[ 0.374843] pci 0000:42:03.0: PCI bridge to [bus 44-ff]
[ 0.380211] pci 0000:40:00.0: disabling bridge window [io 0x0000-0xffffffffffffffff] to [bus 41-7f] (unused)
[ 0.390032] pci 0000:40:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff]
[ 0.396924] pci 0000:41:00.0: BAR 8: assigned [mem 0xe00000000-0xe001fffff]
[ 0.403835] pci 0000:42:02.0: BAR 8: assigned [mem 0xe00000000-0xe000fffff]
[ 0.410745] pci 0000:42:03.0: BAR 8: assigned [mem 0xe00100000-0xe001fffff]
[ 0.417661] pci 0000:43:00.0: BAR 0: assigned [mem 0xe00000000-0xe0001ffff 64bit]
[ 0.425100] pci 0000:43:00.0: BAR 6: assigned [mem 0xe00020000-0xe0002ffff pref]
[ 0.432430] pci 0000:42:02.0: PCI bridge to [bus 43]
[ 0.437358] pci 0000:42:02.0: bridge window [mem 0xe00000000-0xe000fffff]
[ 0.444277] pci 0000:44:00.0: BAR 0: assigned [mem 0xe00100000-0xe0011ffff 64bit]
[ 0.451709] pci 0000:44:00.0: BAR 6: assigned [mem 0xe00120000-0xe0012ffff pref]
[ 0.459041] pci 0000:42:03.0: PCI bridge to [bus 44]
[ 0.463968] pci 0000:42:03.0: bridge window [mem 0xe00100000-0xe001fffff]
[ 0.470881] pci 0000:41:00.0: PCI bridge to [bus 42-44]
[ 0.476064] pci 0000:41:00.0: bridge window [mem 0xe00000000-0xe001fffff]
[ 0.482977] pci 0000:40:00.0: PCI bridge to [bus 41-7f]
[ 0.488159] pci 0000:40:00.0: bridge window [mem 0xe00000000-0xe001fffff]
[ 0.501807] SCSI subsystem initialized
[ 0.506702] clocksource: Switched to clocksource timebase
[ 0.512877] NET: Registered protocol family 2
[ 0.517642] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.524523] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.530813] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.537163] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.542919] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.549239] NET: Registered protocol family 1
[ 0.555468] Unpacking initramfs...
[ 0.623982] Initramfs unpacking failed: junk in compressed archive
[ 0.630397] Freeing initrd memory: 2132K
[ 0.635898] dw_dmac 4bffd0800.dma: DesignWare DMA Controller, 2 channels
[ 0.647031] Crashlog allocated RAM at address 0x3f00000
[ 0.662167] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.668511] io scheduler noop registered
[ 0.672352] io scheduler deadline registered (default)
[ 0.678607] aer: probe of 0000:40:00.0:pcie02 failed with error -22
[ 0.684839] pcie_pme: probe of 0000:40:00.0:pcie01 failed with error -22
[ 0.691579] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
β[ 0.723963] serial8250.0: ttyS0 at MMIO 0x4ef600400 (irq = 21, base_baud = 4rββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ;+βββββX-ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββ ββ β9
O
@@
βββββ
C
β
β
8 β@@
F
βββββ0β0β
ββββ0ββββ
βββ0βΓpβX@β@β
ββP8 N
βββ
Γβ
β80βf
0 @HF
β@pβ@β
@p β
00 Fβ
βββ
@ββDβββ
D8
βh
04ββ
@β
β
@
<β
ββ
βg
β0β8
β` <
@β
X@`ββ0
β
β β
βββββ(
0β
0β
β βββF@GPβ
e
Xβ
β
1p(
000
βXββ0β0
gβXp@pβ`β8βDX8 <
β 00β
00
β β
@
β0p
Xpβ0 (0`
β@
0
β
β0β(β
0(
08β0
βββ(0 β β
0 0Pβ
ββ@00 β 000 0
@08ββ
80X
0β
@00
β80o
β GβXpβ0
β
β
β β
(0β(0 0β 00β
0β080 β @@`β8ββ0ββ
(β
0βp0β
β β βββ (βββ
00H β@β
0β@`0β00βX0
β ββ0β
β
@
β
<β
08 βBβ
β
β
0@`
@ β00 βββ
1E
βββ
@@
<0ββ0n
a
P0β
a00βββ
ββ(0`"@o
0ββ
ββX0 0ββ
(@β<
@X<β
08 βN
ββ
08β8β
xβ0
β
ββ0β
β
C80β08β
ββ β
E
00β9βββHββββ@βββ0β80ββββ β
ββpβ ββPββ
C
0β0βββ β β
@ββ
β
β@F
β7ββpβ0ββ β
β@X
0vβ(
β ββ
cββ8ββ 08?β
β(0
β
@X
β
β0p@
00
P
8βDXββ00
0
βX β
βP
8 <Xp
`@β
08 ββ
e
β2@ ( 04β β
pβX0< β0 0 00ββ@00β00H
β
<
@β
ββ0β0
`
β 8β
0
000@ 8
0pβ p
β@000
β80β8β β
pβ0<qpβββ0(
β0 β
`
(β 000
<
08X
0<β@Xββ
0 0βp
8βL00β
βD`
ββ
8 0β8
ββ 000 p08
β
08ββ <
(0
β
β0
0@ββ ( 0
β 0t
@X
0(
βp
@0
@0(
β8 0 ( <
(
(
<
08β
0< (
β β0
βXβ
8
Xβ <
(
00X
β(00Xp
Aβ
<
<@β
β β
(
08β8p0
β
(0β
@0
β80β 8
p
β@
β@`
8β00`β
(
β
00p
@X
0(0
(
Xβ <
<
0 β0(βββ
@
X00
β0β`X
β0 < 0X
βββββ0
Xβ
β(
0
(
β
@@(
080
@ββ
β(0@p
8ββ
Xβ 8
8
Xp
β0
(0β
β β
@
( 0 0
(
βXβ`
βP
β
βββ
(β0@
@`β
β0 β
βEβ0β <Xp
βP
β
ββ(
0β:
βn0
β`
8βDx0<88X
0
8p
@0
β0ββββ
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: 260
UBI: total number of reserved PEBs: 1692
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 879/622
kernel volume not found
recovery volume not found
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>
ubi commands sort of work
=> ubinfo /dev/ubi0 -N board-config
Unknown command 'ubinfo' - try 'help'
=> ubi info
UBI: MTD device name: "mtd=2"
UBI: MTD device size: 30 MiB
UBI: physical eraseblock size: 16384 bytes (16 KiB)
UBI: logical eraseblock size: 15872 bytes
UBI: number of good PEBs: 1952
UBI: number of bad PEBs: 0
UBI: smallest flash I/O unit: 512
UBI: VID header offset: 256 (aligned 256)
UBI: data offset: 512
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: 260
UBI: total number of reserved PEBs: 1692
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 879/622
=>
is there a way to reset the env? I see editenv in help but nothing to clear or reset the env.