MR 42 Recovery

Hello OpenWrt Community,

I have a MR42 unit and I was able to complete steps 1-7 of Standard installation via UART from this here https://openwrt.org/toh/meraki/mr42#standard_uart_method without any issues. However, I uploaded a wrong image for step 8... Instead of using
https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-meraki_mr42-squashfs-sysupgrade.bin, I used the Firmware OpenWrt snapshot Install
https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/openwrt-ipq806x-generic-meraki_mr42-initramfs-fit-uImage.itb.

Now I see the device won't boot with Kernel panic messages, please see the output below

U-Boot 2012.07 [local,local] (May 10 2021 - 17:19:50)                           
                                                                                
DRAM:  235 MiB                                                                  
cdp: machid 4971                                                                
NAND:  128 MiB                                                                  
Using default environment                                                       
                                                                                
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
late_init: machid 4971                                                          
Net:   Port:3 speed 10Mbps                                                      
eth0                                                                            
                                                                                
RESET pressed: TFTP booting...                                                  
Mac3 unit failed                                                                
bootm 0x48000000#config@1Wrong Image Format for bootm command                   
ERROR: can't get kernel image!                                                  
                                                                                
NAND read: device 0 offset 0x2c40000, size 0xa80000                             
 11010048 bytes read: OK                                                        
bootm 0x42000000#config@1## Booting kernel from FIT Image at 42000000 ...       
   Using 'config@1' configuration                                               
   Trying 'kernel@1' kernel subimage                                            
     Description:  Boot Kernel                                                  
     Type:         Kernel Image                                                 
     Compression:  uncompressed                                                 
     Data Start:   0x420000f8                                                   
     Data Size:    1557336 Bytes = 1.5 MiB                                      
     Architecture: ARM                                                          
     OS:           Linux                                                        
     Load Address: 0x41508000                                                   
     Entry Point:  0x41508000                                                   
     Hash algo:    sha1                                                         
     Hash value:   f75f60336909a51c1a5c81b9e94a535c4c7373bb                     
   Verifying Hash Integrity ... sha1+ OK                                        
## Loading init Ramdisk from FIT Image at 42000000 ...                          
   Using 'config@1' configuration                                               
   Trying 'ramdisk@1' ramdisk subimage                                          
     Description:  Cryptid Ramdisk                                              
     Type:         RAMDisk Image                                                
     Compression:  lzma compressed                                              
     Data Start:   0x4217c53c                                                   
     Data Size:    405740 Bytes = 396.2 KiB                                     
     Architecture: ARM                                                          
     Hash algo:    sha1                                                         
     Hash value:   9ef6f9d54402eef6582ca573a693c77f72ff3c05                     
   Verifying Hash Integrity ... sha1+ OK                                        
## Flattened Device Tree from FIT Image at 42000000                             
   Using 'config@1' configuration                                               
   Trying 'fdt@1' FDT blob subimage                                             
     Description:  MR42 Device Tree                                             
     Type:         Flat Device Tree                                             
     Compression:  uncompressed                                                 
     Data Start:   0x421df714                                                   
     Data Size:    5233 Bytes = 5.1 KiB                                         
     Architecture: ARM                                                          
     Hash algo:    sha1                                                         
     Hash value:   2bda5d735cb5a9ba8641619c51013be9539ee9b2                     
   Verifying Hash Integrity ... sha1+ OK                                        
   Loading FDT from 0x421df714 to 0x41501000                                    
   Booting using the fdt blob at 0x41501000                                     
   Loading Kernel Image ... OK                                                  
OK                                                                              
   Loading Ramdisk to 4ea9c000, end 4eaff0ec ... OK                             
   Loading Device Tree to 4ea97000, end 4ea9b470 ... OK                         
Using machid 0x136b from environment                                            
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0                                  
[    0.000000] Linux version 3.4.113 (aacharya@sf100.meraki.com) (gcc version 48
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d  
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache  
[    0.000000] Machine: Qualcomm Atheros AP160 reference board, model: Meraki M)
[    0.000000] msm_reserve_memory: 0x44600000, 0x200000                         
[    0.000000] memory pool 3 (start 5fe00000 size 100000) initialized           
[    0.000000] Memory policy: ECC disabled, Data cache writealloc               
[    0.000000] smem_find(137, 80): wrong size 72                                
[    0.000000] socinfo_init: v6, id=204, ver=2.0, raw_id=2313, raw_ver=2313, hw6
[    0.000000]  accessory_chip=0 hw_plat_subtype=0                              
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0b15000 s10240 r8192 d14336 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa2
[    0.000000] Kernel command line: ubi.mtd=ubi ubi.mtd=art root=/dev/ram rw co2
[    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] Memory: 49MB 438MB = 487MB total                                 
[    0.000000] Memory: 486424k/489496k available, 12264k reserved, 0K highmem   
[    0.000000] Virtual kernel memory layout:                                    
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                
[    0.000000]     vmalloc : 0xdf000000 - 0xff000000   ( 512 MB)                
[    0.000000]     lowmem  : 0xc0000000 - 0xdea00000   ( 490 MB)                
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                
[    0.000000]       .text : 0xc0008000 - 0xc04d3000   (4908 kB)                
[    0.000000]       .init : 0xc0500000 - 0xc0602800   (1034 kB)                
[    0.000000]       .data : 0xc0604000 - 0xc06710e0   ( 437 kB)                
[    0.000000]        .bss : 0xc0671104 - 0xc070f84c   ( 634 kB)                
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 1
[    0.000000] Hierarchical RCU implementation.                                 
[    0.000000] NR_IRQS:921                                                      
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 1s
[    0.000000] Console: colour dummy device 80x30                               
[    0.150421] Calibrating delay using timer specific routine.. 12.55 BogoMIPS )
[    0.150452] pid_max: default: 32768 minimum: 301                             
[    0.150765] Mount-cache hash table entries: 512                              
[    0.153420] CPU: Testing write buffer coherency: ok                          
[    0.153577] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                 
[    0.153608] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters ae
[    0.153670] Setting up static identity map for 0x418089f8 - 0x41808a80       
[    0.154264] Brought up 1 CPUs                                                
[    0.154295] SMP: Total of 1 processors activated (12.55 BogoMIPS).           
[    0.155232] devtmpfs: initialized                                            
[    0.168884] dummy:                                                           
[    0.169353] NET: Registered protocol family 16                               
[    0.170009] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver    
[    0.172164] meminfo_init: smem ram ptable found: ver: 0 len: 5               
[    0.172196] Found 1 memory banks grouped into 8 memory regions               
[    0.172446] smem_find(137, 80): wrong size 72                                
[    0.172477] socinfo_init: v6, id=204, ver=2.0, raw_id=2313, raw_ver=2313, hw6
[    0.172477]  accessory_chip=0 hw_plat_subtype=0                              
[    0.172508] msm_rpm_init: RPM firmware 3.0.16777342                          
[    0.178912] clk_tbl_nss - loaded                                             
[    0.204998] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio       
[    0.206529] No ATAGs?                                                        
[    0.206560] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint.
[    0.206560] hw-breakpoint: maximum watchpoint size is 8 bytes.               
[    0.206904] msm_dmov_memcpy_init: Success                                    
[    0.214432] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20          
[    0.214464] sps:BAM 0x12244000 is registered.                                
[    0.214714] sps:sps is ready.                                                
[    0.230303] bio: create slab <bio-0> at 0                                    
[    0.234832] i2c-gpio 1.i2c: using pins 24 (SDA) and 25 (SCL)                 
[    0.235520] i2c-gpio 2.i2c: using pins 29 (SDA) and 30 (SCL)                 
[    0.236925] Switching to clocksource gp_timer                                
[    0.258263] NET: Registered protocol family 2                                
[    0.266323] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)  
[    0.266697] TCP established hash table entries: 16384 (order: 5, 131072 byte)
[    0.266885] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)      
[    0.267135] TCP: Hash tables configured (established 16384 bind 16384)       
[    0.267166] TCP: reno registered                                             
[    0.267166] UDP hash table entries: 256 (order: 1, 8192 bytes)               
[    0.267197] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)          
[    0.267510] NET: Registered protocol family 1                                
[    0.267760] Unpacking initramfs...                                           
[    0.506622] Freeing initrd memory: 396K                                      
[    0.514401] Detected 5 counters on the L2CC PMU.                             
[    0.522430] smd: register irq failed on wcnss_a11                            
[    0.522461] smd: deregistering IRQs                                          
[    0.522492] SMD: smd_core_platform_init() failed                             
[    0.524648] smem_find(427, 88): wrong size 24                                
[    0.524679] smem_find(427, 96): wrong size 24                                
[    0.524679] get_bootconfig_partition: no dual boot v2 info in shared memory  
[    0.686816] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0                    
[    0.686816] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 1                     
[    0.691190] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported   
[    0.691190] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported   
[    0.702280] msm_rpm_log_probe: OK                                            
[    0.892627] msgmni has been set to 950                                       
[    0.901968] NET: Registered protocol family 38                               
[    0.901999] io scheduler noop registered                                     
[    0.902030] io scheduler deadline registered (default)                       
[    0.902592] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled         
[    0.918681] msm_serial_hs module loaded                                      
[    0.918869] msm_serial_hsl: detected port #1                                 
[    0.918994] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM
[    0.919400] msm_serial_hsl: console setup on port #1                         
[    1.467197] console [ttyHSL1] enabled                                        
[    1.475820] msm_serial_hsl: detected port #0                                 
[    1.479194] msm_serial_hsl.0: ttyHSL0 at MMIO 0x12450000 (irq = 225) is a MSM
[    1.491408] msm_serial_hsl: driver initialized                               
[    1.494970] at24 1-0056: 8192 byte 24c64 EEPROM, writable, 32 bytes/write    
[    1.518869] msm_nand_probe: phys addr 0x1ac00000                             
[    1.522524] msm_nand_probe: dmac 0x3                                         
[    1.526116] msm_nand_probe: allocated dma buffer at ffdfe000, dma_addr 5edd20
[    1.539175] status: 20                                                       
[    1.540487] nandid: 1580a101 maker 01 device a1                              
[    1.544985] ONFI probe : Found an ONFI compliant device S34MS01G2           
[    1.552296] Found a supported NAND device                                    
[    1.556107] NAND Controller ID : 0x4030                                      
[    1.559981] NAND Device ID  : 0x1580a101                                     
[    1.563823] Buswidth : 8 Bits                                                
[    1.566791] Density  : 128 MByte                                             
[    1.570040] Pagesize : 2048 Bytes                                            
[    1.573289] Erasesize: 131072 Bytes                                          
[    1.576757] Oobsize  : 64 Bytes                                              
[    1.579912] CFG0 Init  : 0xa8d408c0                                          
[    1.583348] CFG1 Init  : 0x0004745c                                          
[    1.586847] ECCBUFCFG  : 0x00000203                                          
[    1.590471] 15 ofpart partitions found on MTD device msm_nand                
[    1.596032] Creating 15 MTD partitions on "msm_nand":                        
[    1.601124] 0x000000040000-0x000000180000 : "mibib"                          
[    1.616744] 0x000000000000-0x000000040000 : "sbl1"                           
[    1.634989] 0x000000180000-0x0000002c0000 : "sbl2"                           
[    1.653733] 0x0000002c0000-0x000000540000 : "sbl3"                           
[    1.673195] 0x000000540000-0x000000660000 : "ddrconfig"                      
[    1.692314] 0x000000660000-0x000000780000 : "ssd"                            
[    1.710934] 0x000000780000-0x000000a00000 : "tz"                             
[    1.730365] 0x000000a00000-0x000000c80000 : "rpm"                            
[    1.749921] 0x000001fc0000-0x000002140000 : "u-boot"                         
[    1.769072] 0x0000021c0000-0x000002c40000 : "bootkernel1"                    
[    1.797781] 0x000002c40000-0x0000036c0000 : "bootkernel2"                    
[    1.826273] 0x0000036c0000-0x000007d80000 : "ubi"                            
[    1.917681] 0x000007d80000-0x000007f80000 : "art"                            
[    1.936769] 0x000007f80000-0x000007fc0000 : "panic"                          
[    1.955076] 0x000000000000-0x000008000000 : "all"                            
[    2.119400] UBI: attaching mtd11 to ubi0                                     
[    2.122305] UBI: physical eraseblock size:   131072 bytes (128 KiB)          
[    2.128647] UBI: logical eraseblock size:    126976 bytes                    
[    2.133926] UBI: smallest flash I/O unit:    2048                            
[    2.138706] UBI: VID header offset:          2048 (aligned 2048)             
[    2.144611] UBI: data offset:                4096                            
[    2.607435] UBI: max. sequence number:       2289800                         
[    2.628147] UBI: attached mtd11 to ubi0                                      
[    2.630959] UBI: MTD device name:            "ubi"                           
[    2.635738] UBI: MTD device size:            70 MiB                          
[    2.640674] UBI: number of good PEBs:        566                             
[    2.645204] UBI: number of bad PEBs:         0                               
[    2.649703] UBI: number of corrupted PEBs:   0                               
[    2.654045] UBI: max. allowed volumes:       128                             
[    2.658700] UBI: wear-leveling threshold:    4096                            
[    2.663323] UBI: number of internal volumes: 1                               
[    2.667791] UBI: number of user volumes:     2                               
[    2.672196] UBI: available PEBs:             15                              
[    2.676694] UBI: total number of reserved PEBs: 551                          
[    2.681599] UBI: number of PEBs reserved for bad PEB handling: 5             
[    2.687597] UBI: max/mean erase counter: 4759/4059                           
[    2.692346] UBI: image sequence number:  1331549393                          
[    2.697282] UBI: background thread "ubi_bgt0d" started, PID 786              
[    2.704748] UBI: attaching mtd12 to ubi1                                     
[    2.707685] UBI: physical eraseblock size:   131072 bytes (128 KiB)          
[    2.713870] UBI: logical eraseblock size:    126976 bytes                    
[    2.719275] UBI: smallest flash I/O unit:    2048                            
[    2.723930] UBI: VID header offset:          2048 (aligned 2048)             
[    2.729959] UBI: data offset:                4096                            
[    2.747235] UBI: max. sequence number:       3                               
[    2.763074] UBI: attached mtd12 to ubi1                                      
[    2.765885] UBI: MTD device name:            "art"                           
[    2.770696] UBI: MTD device size:            2 MiB                           
[    2.775413] UBI: number of good PEBs:        16                              
[    2.779975] UBI: number of bad PEBs:         0                               
[    2.784348] UBI: number of corrupted PEBs:   0                               
[    2.788815] UBI: max. allowed volumes:       128                             
[    2.793377] UBI: wear-leveling threshold:    4096                            
[    2.798094] UBI: number of internal volumes: 1                               
[    2.802499] UBI: number of user volumes:     1                               
[    2.806966] UBI: available PEBs:             0                               
[    2.811371] UBI: total number of reserved PEBs: 16                           
[    2.816119] UBI: number of PEBs reserved for bad PEB handling: 2             
[    2.822149] UBI: max/mean erase counter: 2/1                                 
[    2.826366] UBI: image sequence number:  174698806                           
[    2.831333] UBI: background thread "ubi_bgt1d" started, PID 791              
[    2.877225] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    2.994376] i2c /dev entries driver                                          
[    3.007216] restart_reason wdt:0 r:-1438042318                               
[    3.017619] cpuidle: using governor ladder                                   
[    3.020681] cpuidle: using governor menu                                     
[    3.043736] meraki-config board-data.6: Meraki config device loaded          
[    3.053983] TCP: bic registered                                              
[    3.056076] TCP: cubic registered                                            
[    3.059450] TCP: westwood registered                                         
[    3.062949] TCP: htcp registered                                             
[    3.066166] NET: Registered protocol family 17                               
[    3.070634] 8021q: 802.1Q VLAN Support v1.8                                  
[    3.074820] VFP support v0.3: implementor 51 architecture 64 part 4d variant0
[    3.082505] Registering SWP/SWPB emulation handler                           
[    3.087285] clock_late_init: Removing enables held for handed-off clocks     
[    3.104436] ipq_nss_get_mac_addr: MAC[0]: ff:ff:ff:ff:ff:ff                  
[    3.110340] ipq_nss_get_mac_addr: MAC[1]: ff:ff:ff:ff:ff:ff                  
[    3.115651] ipq_nss_get_mac_addr: MAC[2]: ff:ff:ff:ff:ff:ff                  
[    3.120712] ipq_nss_get_mac_addr: MAC[3]: ff:ff:ff:ff:ff:ff                  
[    3.126148] no pmic restart interrupt specified                              
[    3.136426] devtmpfs?[    3.139081] Freeing init memory: 1032K               
mount: mounting none on /dev failed: Device or resource busy                    
mknod: /dev/mtdchar/bootkernel2: File exists                                    
mknod: /dev/mtdblock/bootkernel2: File exists                                   
mount: mounting /dev/ubivol/storage on /storage failed: Invalid argument        
                                                                                
Bootkernel Meraki Build is 25-201809040933-G8fbce340-aacharya-ring              
Board is MR42                                                                   
grep: /storage/config: No such file or directory                                
Booting part.safe                                                               
                                                                                
Cannot open `/dev/ubivol/part.safe': No such file or directory                  
Booting part.old                                                                
                                                                                
Cannot open `/dev/ubivol/part.old': No such file or directory                   
[    3.286972] mkp_lg: Attempted to kill init! exitcode=0x00000100              
[    3.286972]                                                                  
[    3.293314] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
[    3.293345]                                                                  

I tried to use ubootwrite.py to flash this unit again, it did not work. I also don't any luck on the Reset button. Is there anyway I can recover this unit?

Any advise will be greatly appreciated.
Thanks in advance.

were you able to fix it?