Adding OpenWrt support for TP-Link EAP245

Hmm okay, i'll try something else, btw. is it somehow possible to get full SSH root access after having root access with telnet?
I'll try to use the uclited commandline way in order to flash it, using the norsa version.
Btw. is -r necessary as well?

./uclited --help
Usage:  ./uclited [-krfhv] [--help] [--version]
        [-k, --kill]    kill all uclited threads
        [-r, --reset]   start uclited, and reset all settings to default
        [-f, --product] update the product-info.
        [-h, --help]    help
        [-v, --version] version
        [-u, --upgrade] upgrade fireware, please save upgrade file in /tmp/upgrade.bin before use this command
        [-p, --partion] show partion table of nvrammngr
        [-s, --showpid] show product-info

Hmm, don't know if it's successfull.

./uclited-norsa -u

Begin Debug Mode Fireware Upgrade
Upgrade fireware size is 5908025 bytes
Upgrade fireware md5 checksum is correct!
Process 11597 Catch signal 11: 
  code = 1      errno = 0
Dump regs:
   pc: 77e0276c  
 zero: 00000000     at: 0103a982     v0: 7f8177a8     v1: 00000000  
   a0: 7f8177a8     a1: 00000000     a2: 00000014     a3: 00000a40  
   t0: 00000014     t1: 00000000     t2: 00000001     t3: 00565eb3  
   t4: fffffffe     t5: 00000001     t6: 00000000     t7: 00000400  
   s0: 7f8177a8     s1: 00000003     s2: 00000020     s3: 00000030  
   s4: 0057a5dc     s5: 007ac580     s6: 00000005     s7: 007ac580  
   t8: 00000010     t9: 77e02720     k0: 0a0a0a0a     k1: 00000000  
   gp: 005b2610     sp: 7f817770  fp/s8: 00000003     ra: 004c05f0  
Dump mem stack: 
 (STACK: 0x7f7f8000 ~ 0x7f819000 SP: 0x7f817770)
 0x7f817770: 00000000 00000000 00000000 00000000 005b2610 00000000 00000000 004c5e2c 
 0x7f817790: 00000000 00000000 00000000 00000000 005b2610 00000000 00000000 00000000 
 0x7f8177b0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
 0x7f8177d0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
 0x7f8177f0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
 0x7f817810: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
 0x7f817830: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
 0x7f817850: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
 0x7f817870: ......
Dump call stack:
  #00  pc 0002d76c  /lib/libuClibc-0.9.30.so (memcpy+76)
  #01  pc 000c05e8  /tmp/uclited-norsa (ucCluster_getCfg+40)
  #02  pc 000c5e24  /tmp/uclited-norsa (swIsClusterMode+64)
  #03  pc 000d1a1c  /tmp/uclited-norsa (nm_checkUpdateContent+668)
  #04  pc 000d2264  /tmp/uclited-norsa (nm_buildUpgradeStruct+1268)
  #05  pc 00137f58  /tmp/uclited-norsa (uclite_upgrade_debug+520)
  #06  pc 00138214  /tmp/uclited-norsa (main+276)
  #07  pc 0004f858  /lib/libuClibc-0.9.30.so (__uClibc_main+600)
Exiting...

Quite funny, 2nd try of issuing the same command.

./uclited-norsa -u
./uclited-norsa -u

Begin Debug Mode Fireware Upgrade
Upgrade fireware size is 5908025 bytes
Upgrade fireware md5 checksum is not correct!

Seems like uclited is destroying the openwrt bin file.