Help, my WRT32X bricked

It can only boot with oem firmware.
When I flash with oepnwrt or other non-oem firmware, it always stuck at "starting kernel".

I connet via serial, it seems like cpu and memory freq are error.But How to fix it?

Venom>> :** Link is Gen1, check the EP capability                                                                                                                
PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities                                                                                                   
:** Link is Gen1, check the EP capability                                                                                                                        
PCIe, Idx 1: remains Gen1                                                                                                                                        
High speed PHY - Ended Successfully                                                                                                                              
DDR3 Training Sequence - Ver TIP-1.46.0                                                                                                                          
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed                                                                                                                  
Warning: Unsupported freq mode for 667Mhz configured(20)                                                                                                         
Warning: Unsupported freq mode for 667Mhz configured(20)                                                                                                         
DDR3 Training Sequence - Switching XBAR Window to FastPath Window                                                                                                
DDR3 Training Sequence - Ended Successfully                                                                                                                      
Not detected suspend to RAM indication                                                                                                                           
BootROM: Image checksum verification PASSED                                                                                                                      
                                                                                                                                                                 
                                                                                                                                                                 
U-Boot 2013.01 (May 18 2017 - 16:37:44) Marvell version: 2015_T1.QA.0p16                                                                                         
                                                                                                                                                                 
Boot version : v2.0.9                                                                                                                                            
                                                                                                                                                                 
Board: RD-NAS-88F6820-DDR3                                                                                                                                       
SoC:   MV88F6820 Rev A0                                                                                                                                          
       running 2 CPUs                                                                                                                                            
CPU:   ARM Cortex A9 MPCore (Rev 1) LE                                                                                                                           
       CPU 0                                                                                                                                                     
       **CPU    @ 4294 [MHz]**                                                                                                                                       
       L2     @ 4294 [MHz]                                                                                                                                       
       TClock @ 200 [MHz]                                                                                                                                        
       **DDR3    @ 4294 [MHz]**                                                                                                                                      
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled                                                                                       
DRAM:  512 MiB                                                                                                                                                   
NAND:  256 MiB                                                                                                                                                   
MMC:   mv_sdh: 0

First place to look:

It is not much different than upgrading the OEM firmware - download the factory.img for your device, and follow the flow from the above link.

Stray question -

CPU:   ARM Cortex A9 MPCore (Rev 1) LE                                                                                                                           
       CPU 0                                                                                                                                                     
       **CPU    @ 4294 [MHz]**                                                                                                                                       
       L2     @ 4294 [MHz]  
  • is this CPU really running at 4.3GHz?

bootlog

My oem firmware bootlog:

BootROM - 1.73
Booting from NAND flash

General initialization - Version: 1.0.0
AVS selection from EFUSE disabled (Skip reading EFUSE values)
mvSysEnvIsFlavourReduced: TWSI Read of 'flavor' failed
Detected Device ID 6820
High speed PHY - Version: 2.0

Init RD NAS topology Serdes Lane 3 is USB3
Serdes Lane 4 is SGMII
board SerDes lanes topology details:
 | Lane # | Speed|    Type     |
 ------------------------------|
 |   0    |  6   |  SATA0      |
 |   1    |  5   |  PCIe0      |
 |   2    |  6   |  SATA1      |
 |   3    |  5   |  USB3 HOST1 |
 |   4    |  5   |  PCIe1      |
 |   5    |  0   |  SGMII2     |
 -------------------------------
:** Link is Gen1, check the EP capability 
PCIe, Idx 0: Link upgraded to Gen2 based on client cpabilities                                                                                                              
:** Link is Gen1, check the EP capability                                                                                                                                   
PCIe, Idx 1: remains Gen1                                                                                                                                                   
High speed PHY - Ended Successfully                                                                                                                                         
DDR3 Training Sequence - Ver TIP-1.46.0                                                                                                                                     
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed                                                                                                                             
Warning: Unsupported freq mode for 667Mhz configured(20)                                                                                                                    
Warning: Unsupported freq mode for 667Mhz configured(20)                                                                                                                    
DDR3 Training Sequence - Switching XBAR Window to FastPath Window                                                                                                           
DDR3 Training Sequence - Ended Successfully                                                                                                                                 
Not detected suspend to RAM indication                                                                                                                                      
BootROM: Image checksum verification PASSED                                                                                                                                 
l                                                                                                                                                                           
                                                                                                                                                                            
U-Boot 2013.01 (May 18 2017 - 16:37:44) Marvell version: 2015_T1.QA.0p16                                                                                                    
                                                                                                                                                                            
Boot version : v2.0.9                                                                                                                                                       
                                                                                                                                                                            
Board: RD-NAS-88F6820-DDR3                                                                                                                                                  
SoC:   MV88F6820 Rev A0                                                                                                                                                     
       running 2 CPUs                                                                                                                                                       
CPU:   ARM Cortex A9 MPCore (Rev 1) LE                                                                                                                                      
       CPU 0                                                                                                                                                                
       CPU    @ 4294 [MHz]                                                                                                                                                  
       L2     @ 4294 [MHz]                                                                                                                                                  
       TClock @ 200 [MHz]                                                                                                                                                   
       DDR3    @ 4294 [MHz]                                                                                                                                                 
       DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled                                                                                                  
DRAM:  512 MiB                                                                                                                                                              
NAND:  256 MiB                                                                                                                                                              
MMC:   mv_sdh: 0                                                                                                                                                            
                                                                                                                                                                            
                                                                                                                                                                            
#### auto_recovery ####                                                                                                                                                     
[u_env] get auto_recovery == yes                                                                                                                                            
[u_env] get auto_recovery == yes                                                                                                                                            
[u_env] get boot_part == 2                                                                                                                                                  
[u_env] get boot_part_ready == 3                                                                                                                                            
auto_recovery enabled:1, boot_part:2, boot_part_ready:3                                                                                                                     
                                                                                                                                                                            
[boot_count_read] block:0x220000, size:128KB, records:64                                                                                                                    
[boot_count_read_record] boot_count:0, next_record:32                                                                                                                       
                                                                                                                                                                            
[boot_count_write] erase:0, auto_recovery->block_offset:0x220000 offset=0x230000                                                                                            
                                                                                                                                                                            
Updating boot_count ...                                                                                                                                                     
[boot_count_write] offset:0x230000 , length:2048                                                                                                                            
done                                                                                                                                                                        
                                                                                                                                                                            
PCI-e 0 (IF 0 - bus 0) Root Complex Interface, Detected Link X1, GEN 2.0                                                                                                    
PCI-e 1 (IF 1 - bus 1) Root Complex Interface, Detected Link X1, GEN 1.1                                                                                                    
USB2.0 0: Host Mode                                                                                                                                                         
USB3.0 1: Host Mode                                                                                                                                                         
USB3.0 0: Host Mode                                                                                                                                                         
                                                                                                                                                                            
Map:   Code:                    0x1feaf000:0x1ff75960                                                                                                                       
       BSS:                     0x1ffef0dc                                                                                                                                  
       Stack:                   0x1f9aef20                                                                                                                                  
       Heap:                    0x1f9af000:0x1feaf000                                                                                                                       
       U-Boot Environment:      0x00200000:0x00220000 (NAND)                                                                                                                
                                                                                                                                                                            
Board configuration detected:                                                                                                                                               
mvEthE6171SwitchBasicInit init                                                                                                                                              
Net:                                                                                                                                                                        
|  port  | Interface | PHY address  |                                                                                                                                       
|--------|-----------|--------------|                                                                                                                                       
| egiga0 |   RGMII   |     0x01     |                                                                                                                                       
| egiga1 |   SGMII   |     0x00     |                                                                                                                                       
| egiga2 |   SGMII   |   In-Band    |                                                                                                                                       
egiga0 [PRIME], egiga1, egiga2                                                                                                                                              
auto_recovery_check changes bootcmd: run altnandboot                                                                                                                        
Hit any key to stop autoboot:  0                                                                                                                                            
Venom>> 


Venom>> run nandboot                                                                                                                                                        
                                                                                                                                                                            
NAND read: device 0 offset 0x900000, size 0x600000                                                                                                                          
 6291456 bytes read: OK                                                                                                                                                     
                                                                                                                                                                            
Starting kernel ...                                                                                                                                                         
                                                                                                                                                                            
[    0.000000] Booting Linux on physical CPU 0x0                                                                                                                            
[    0.000000] Linux version 4.4.14 (jenkins@ip-10-226-178-37) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50140) ) #4 SMP Wed Apr 4 18:23:44 UTC 2018                            
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d                                                                                              
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                                                     
[    0.000000] Machine model: Linksys WRT32X                                                                                                                                
[    0.000000] Memory policy: Data cache writealloc                                                                                                                         
[    0.000000] PERCPU: Embedded 12 pages/cpu @dfbcf000 s17984 r8192 d22976 u49152                                                                                           
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048                                                                                  
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock6                                                                                                
[    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: 513212K/524288K available (4096K kernel code, 173K rwdata, 1532K rodata, 256K init, 295K bss, 11076K reserved, 0K cma-reserved, 0K highmem)          
[    0.000000] Virtual kernel memory layout:                                                                                                                                
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                                                                                            
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                                                                                                            
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)                                                                                                            
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)                                                                                                            
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                                                                                                            
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                                                                                                            
[    0.000000]       .text : 0xc0008000 - 0xc0587418   (5630 kB)                                                                                                            
[    0.000000]       .init : 0xc0588000 - 0xc05c8000   ( 256 kB)                                                                                                            
[    0.000000]       .data : 0xc05c8000 - 0xc05f3434   ( 174 kB)                                                                                                            
[    0.000000]        .bss : 0xc05f3434 - 0xc063d12c   ( 296 kB)                                                                                                            
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1                                                                                                   
[    0.000000] Hierarchical RCU implementation.                                                                                                                             
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                                                                                                        
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2                                                                                                 
[    0.000000] NR_IRQS:16 nr_irqs:16 16                                                                                                                                     
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work                                                                 
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9                                                                                                                   
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9                                                                                                             
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines                                                                                                                   
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled                                                                                                   
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB                                                                                                  
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001                                                                                                   
[    0.000000] Selected CPU frequency (20) unsupported                                                                                                                      
[    0.000000] Switching to timer-based delay loop, resolution 40ns                                                                                                         
[    0.000002] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns                                                                                    
[    0.000007] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns                                                 
[    0.000100] Calibrating local timer... 999.82MHz.                                                                                                                        
[    0.060030] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)                                                       
[    0.060034] pid_max: default: 32768 minimum: 301                                                                                                                         
[    0.060069] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                                                                  
[    0.060073] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                                                             
[    0.060230] CPU: Testing write buffer coherency: ok                                                                                                                      
[    0.060321] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                                                                                                             
[    0.060343] Setting up static identity map for 0x8280 - 0x82d8                                                                                                           
[    0.060404] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4                                                                                                                   
[    0.060464] mvebu-pmsu: Initializing Power Management Service Unit                                                                                                       
[    0.060785] Booting CPU 1                                                                                                                                                
[    0.060950] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                                                                                             
[    0.060972] Brought up 2 CPUs                                                                                                                                            
[    0.060977] SMP: Total of 2 processors activated (100.00 BogoMIPS).                                                                                                      
[    0.060979] CPU: All CPU(s) started in SVC mode.                                                                                                                         
[    0.062326] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4                                                                                      
[    0.062388] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns                                                             
[    0.062419] pinctrl core: initialized pinctrl subsystem                                                                                                                  
[    0.062676] NET: Registered protocol family 16                                                                                                                           
[    0.063071] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                                                               
[    0.090037] cpuidle: using governor ladder                                                                                                                               
[    0.092093] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling                                                                                 
[    0.092100] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling                                                                                            
[    0.110428] reg-fixed-voltage xhci0-vbus: could not find pctldev for node /soc/internal-regs/pinctrl@18000/xhci0-vbus-pins, deferring probe                              
[    0.110561] SCSI subsystem initialized                                                                                                                                   
[    0.110794] usbcore: registered new interface driver usbfs                                                                                                               
[    0.110814] usbcore: registered new interface driver hub                                                                                                                 
[    0.110832] usbcore: registered new device driver usb                                                                                                                    
[    0.111268] clocksource: Switched to clocksource armada_370_xp_clocksource                                                                                               
[    0.111612] NET: Registered protocol family 2                                                                                                                            
[    0.111800] TCP established hash table entries: 4096 (order: 2, 16384 bytes)                                                                                             
[    0.111820] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)                                                                                                    
[    0.111847] TCP: Hash tables configured (established 4096 bind 4096)                                                                                                     
[    0.111867] UDP hash table entries: 256 (order: 1, 8192 bytes)                                                                                                           
[    0.111881] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)                                                                                                      
[    0.111943] NET: Registered protocol family 1                                                                                                                            
[    0.112270] futex hash table entries: 512 (order: 3, 32768 bytes)                                                                                                        
[    0.114932] squashfs: version 4.0 (2009/01/31) Phillip Lougher                                                                                                           
[    0.114941] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.                                                              
[    0.115399] io scheduler noop registered                                                                                                                                 
[    0.115406] io scheduler deadline registered (default)                                                                                                                   
[    0.115764] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver                                                                                               
[    0.116021] irq: Cannot allocate irq_descs @ IRQ45, assuming pre-allocated                                                                                               
[    0.116141] irq: Cannot allocate irq_descs @ IRQ77, assuming pre-allocated                                                                                               
[    0.116387] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00                                                                                               
[    0.116393] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]                                                                                                      
[    0.116397] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]                                                                                               
[    0.116401] pci_bus 0000:00: root bus resource [bus 00-ff]                                                                                                               
[    0.116553] PCI: bus0: Fast back to back transfers disabled                                                                                                              
[    0.116557] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                  
[    0.116562] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                  
[    0.116746] PCI: bus1: Fast back to back transfers disabled                                                                                                              
[    0.116975] PCI: bus2: Fast back to back transfers disabled                                                                                                              
[    0.117024] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe02fffff]                                                                                                
[    0.117028] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0400000-0xe06fffff]                                                                                                
[    0.117034] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe01fffff 64bit pref]                                                                                     
[    0.117042] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0200000-0xe02fffff 64bit pref]                                                                                     
                                                                                                                                                                                                                                                                                             

I don't know how to check the cpu running frequency in u-boot.

I have successfully installed openwrt 1 year ago and running several months, but one day it suddenly failed to start.So I tried reset, restore OEM firmware, web ui installation, usb-ttl installation, restore u-boot, even tried dd-wrt, Mcdebian. It seems like the frequency of cpu and memory is wrong.
I want to know if the frequency of cpu and memory is hardware controlled or software controlled.If it is hardware controlled, does it mean that my CPU is broken?