OpenWrt Forum Archive

Topic: TP-Link CPE 210

The content of this topic has been archived between 6 Apr 2018 and 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have also seen that there are people with the tp-link cpe210 1.1 EU that has installed OPENWRT.
But I can not find the files, nor the guide to do it.

The .bin of verision 1, gives hardware error.
Is there any guide to do the installation and to be able to unlock the power limitation?

Written with google translator.

Received a tp-link cpe 2.0 EU. I tried some ways to update to CC15.05.1:

1. firmware update through Pharos web interface -> replies "The hardware version is not supported"

2. opened router, connected a terminal and tried to load CC15.05.01 stable downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/openwrt-15.05.1-ar71xx-generic-cpe210-220-510-520-squashfs-factory.bin as recovery.bin through tftp server -> "Firmware invalid"

U-Boot 1.1.4-g30d8afa8-dirty (Nov  1 2016 - 17:38:05)                                                                       
                                                                                                                            
ap143-2.0 - Honey Bee 2.0                                                                                                   
                                                                                                                            
DRAM:  64 MB                                                                                                                
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17                                                                         
flash size 8MB, sector count = 128                                                                                          
Flash:  8 MB                                                                                                                
Using default environment                                                                                                   
                                                                                                                            
In:    serial                                                                                                               
Out:   serial                                                                                                               
Err:   serial                                                                                                               
Net:   ath_gmac_enet_initialize...                                                                                          
ath_gmac_enet_initialize: reset mask:c02200                                                                                 
Scorpion ---->S27 PHY*                                                                                                      
S27 reg init                                                                                                                
: cfg1 0x800c0000 cfg2 0x7114                                                                                               
eth0: ba:be:fa:ce:08:41                                                                                                     
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000                                                                                  
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10                                                                                 
eth0 up                                                                                                                     
Honey Bee ---->  MAC 1 S27 PHY *                                                                                            
S27 reg init                                                                                                                
ATHRS27: resetting s27                                                                                                      
ATHRS27: s27 reset done                                                                                                     
: cfg1 0x800c0000 cfg2 0x7214                                                                                               
eth1: ba:be:fa:ce:08:41                                                                                                     
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000                                                                                  
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10                                                                                 
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000                                                                                  
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10                                                                                 
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000                                                                                  
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10                                                                                 
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000                                                                                  
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10                                                                                 
eth1 up                                                                                                                     
eth0, eth1                                                                                                                  
Setting 0x181162c0 to 0x50a1a100                                                                                            
is button pressed? 1                                                                                                        
eth1 link down                                                                                                              
enet0 port4 up                                                                                                              
dup 1 speed 100                                                                                                             
Using eth0 device                                                                                                           
TFTP from server 192.168.0.100; our IP address is 192.168.0.254                                                             
Filename 'recovery.bin'.                                                                                                    
Load address: 0x80060000                                                                                                    
Loading: #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         #################################################################                                                  
         ###############################                                                                                    
done                                                                                                                        
Bytes transferred = 3485263 (352e4f hex)                                                                                    
Firmware recovery: FLASH_SIZE = 8 filesize = 0x352e4f.                                                                      
Reading Partition Table from NVRAM ... OK                                                                                   
Parsing Partition Table ... OK                                                                                              
File Length:3485263                                                                                                         
fw type name : .                                                                                                            
Firmware process common.                                                                                                    
Image verify OK!                                                                                                            
Firmware file Verify ok!                                                                                                    
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE510(TP-LINK|UN|N300-5):1.0 NOT Match.                           
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE520(TP-LINK|UN|N300-5):1.0 NOT Match.                           
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE210(TP-LINK|UN|N300-2):1.0 NOT Match.                           
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE220(TP-LINK|UN|N300-2):1.0 NOT Match.                           
[Error]sysmgr_cfg_checkSupportList():  868 @ should be 2 args (1).                                                          
Firmwave not supports, check failed.                                                                                        
[NM_Error](nm_checkUpdateContent) 01155: the firmware is not for this model                                                 
[NM_Error](nm_buildUpgradeStruct) 01255: checkUpdateContent failed.                                                         
                                                                                                                            
Firmware Invalid!                                                                                                           

3. downloaded CC15.05.1 from git and followed instructions from christoph.scholz post #42 to add tools/firmware-utils/src/tplink-safeloader.c. I tried some variants, but either I used the wrong model string or they changed the check routine. tftp works, but u-boot does not accept the version:

TFTP from server 192.168.0.100; our IP address is 192.168.0.254                                                            
Filename 'recovery.bin'.                                                                                                   
Load address: 0x80060000                                                                                                   
Loading: #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #################################################################                                                 
         #####################################################                                                             
done                                                                                                                       
Bytes transferred = 3597164 (36e36c hex)                                                                                   
Firmware recovery: FLASH_SIZE = 8 filesize = 0x36e36c.                                                                     
Reading Partition Table from NVRAM ... OK                                                                                  
Parsing Partition Table ... OK                                                                                             
File Length:3597164                                                                                                        
fw type name : .                                                                                                           
Firmware process common.                                                                                                   
Image verify OK!                                                                                                           
Firmware file Verify ok!                                                                                                   
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE510(TP-LINK|UN|N300-5):1.0 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE510(TP-LINK|UN|N300-5):1.1 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE520(TP-LINK|UN|N300-5):1.0 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE520(TP-LINK|UN|N300-5):1.1 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE210(TP-LINK|EU|N300-2):1.0 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE210(TP-LINK|EU|N300-2):1.1 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE210(TP-LINK|EU|N300-2):2.0 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE220(TP-LINK|UN|N300-2):1.0 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE220(TP-LINK|UN|N300-2):1.1 NOT Match.                          
[Error]sysmgr_cfg_checkSupportList():  868 @ should be 2 args (1).                                                         
Firmwave not supports, check failed.                                                                                       
[NM_Error](nm_checkUpdateContent) 01155: the firmware is not for this model                                                
[NM_Error](nm_buildUpgradeStruct) 01255: checkUpdateContent failed.                                                        
                                                                                                                           
Firmware Invalid!                                                                                                          

I also tried using model string CPE210(TP-LINK|UN|N300-2):2.0, but no success.

Here is some reference Data from Pharos OS:

Device Name: CPE210
Device Model: CPE210 v2.0
Firmware Version: 2.0.0 Build 20161102 Rel. 39691 (4555)

I'm wondering, if they changed something for the model string table because of this error:
[Error]sysmgr_cfg_checkSupportList():  868 @ should be 2 args (1).

Any hints are welcome, how to continue from this point ...

seems like we have too many noobs lately trying to load whatever comes onto their mind into new devices.

if you checked hardware specs you would realise it is dumb attempt to load AR9344 firmware on QCA9531 device

thanks for your hints. I read a lot, but did not thought about SOC change. I should be lucky, bootloader refused my attempt. I'll track this and LEDE forums thread (tnx tmo26), for updates.

As my device is opened with serial access, I would like to contibute, if information or testing is needed.

how to restore my CPE220 V.1 original firmware... any one can help me pls.

The discussion might have continued from here.