Topic: Hootoo HT-TM06 chipset MTK7620

Hello

I just bought a Hootoo HT-TM06 travel router (new version of the HT-TM02 and 4), and was wondering if anybody has been able to do a port of OpenWRT on this device ?

There is a port for the HT-TM02 and 4 but as the chipset changed, I don't see these release compatible. It seems that the MTK7620 is supported but but don't know where to go from there.

Thanks

Re: Hootoo HT-TM06 chipset MTK7620

I have been waiting for some one to hit this up.  There also is the TM05 which I believe is the same chipset.
There are a number of products using this chipset, so for someone with some skills this should be easy.
http://wiki.openwrt.org/toh/views/toh_e … ll?dataflt[Platform*~]=7620

I will suggest that you follow the instructions to add the TM05 to the ToH and start a device page.  Capturing the info here gets it on the radar.  Contributing hardware to dev will help, but some of the members of the community have the ability build this.

Are you willing to bust this open and do some research, take some pics, etc?  that will help.

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Hootoo HT-TM06 chipset MTK7620

Hello RangerZ

I have started the pages : http://wiki.openwrt.org/toh/hwdata/hoot … oo_ht-tm06
I have opened the device and took some prictures : http://postimg.org/image/4lxm5rpv3 and http://postimg.org/image/3w9rwaizz.

I m willing to do some research no problem with that, coudl anybody show me the consol port on the PCB ?

thanks

Re: Hootoo HT-TM06 chipset MTK7620

I am no engineer.  I take no responsibility for you causing a fire.
In this thread for the TM02 the pads were unmarked.
https://forum.openwrt.org/viewtopic.php?id=53014
My guess, and its only a guess, is that they are the 4 holes lower right (3 round, 1 square) in the second photo.

You might scan through the rest of the thread and see it you can find the TM04.  Board might be similar, and at least it may give you some confirmation. 

If you can get any of the FCCID info you can try searching for the device application which is good for some of the filing documents and can be added to the data entry.  There is nothing in devwiki for this item.  https://wikidevi.com/wiki/Main_Page

BTW the first photo link has a period in it, can you edit it out so it works.

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Hootoo HT-TM06 chipset MTK7620

Ok I took the multi-meter and identified the pins from left to right with the PCB pointing up, it is ground, TX, RX, 3.3V. The bauds to connect is 57600 8bit 1stop no parity.
Login is admin there are no password.

here is the output at the boot :
U-Boot 1.1.3 (May  7 2014 - 05:33:12)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fac000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:1d4000 len:1000
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.0.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 256 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:May  7 2014  Time:05:33:12
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

##### The CPU freq = 580 MHZ ####
estimate memory size =32 Mbytes
raspi_read: from:40028 len:6

Initialize vs configure module
raspi_read: from:1d0000 len:1000
Initialize GPIO
Input i key to enter menu 0
raspi_read: from:50000 len:180000
## Booting image at 80500000 ...
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1556261 Bytes =  1.5 MB
   Load Address: 80000000
   Entry Point:  8000c2f0
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c2f0) ...
## Giving linux memsize in MB, 32

Starting kernel ...


LINUX started...

THIS IS ASIC
[    0.104000] PROC INIT OK!
[    0.252000] gre: can't add protocol
enter init
Start rootfs
mounted
echo 7 > /proc/sys/kernel/printk
init dev files
mounted end
[    2.964000] tntfs: module license 'Commercial. For support email ntfs-support@tuxera.com.' taints kernel.
[    2.984000] Disabling lock debugging due to kernel taint
[    3.020000] Tuxera NTFS driver 3014.4.29 [Flags: R/W MODULE].
[    3.196000] Tuxera exFAT driver version 3014.1.24 [Flags: R/W MODULE].
[    3.284000] Tuxera FAT driver 3013.2.9 [Flags: R/W MODULE].
Sun Oct 11 21:28:14 UTC 2015
Get time information first
tz_minuteswest=0
Set time information
offset=0  tz.tz_minuteswest=0
Get time information again
tz_minuteswest=0
GMT-00:00
Finish the check crc
SSID_PREFIX:TripMateTM06
wireless port last two bytes:-4cc2!
str_buf=4CC2
SSID:TripMateTM06-4CC2
init net
/etc/initnet: line 29: wanMode_restore: not found
[    7.520000] Raeth v3.0 (Tasklet,SkbRecycle)
[    7.528000]
[    7.528000] phy_tx_ring = 0x01623000, tx_ring = 0xa1623000
[    7.528000]
[    7.528000] phy_rx_ring0 = 0x01624000, rx_ring0 = 0xa1624000
[    7.528000] SMACCR1 -- : 0x0000001c
[    7.528000] SMACCR0 -- : 0xc21f4cc2
[    7.572000] CDMA_CSG_CFG = 81000000
[    7.580000] GDMA1_FWD_CFG = 20710000
[    7.680000] RX DESC a1e3a000  size = 2048
[    7.692000] RTMP_TimerListAdd: add timer obj c00e3798!
[    7.704000] RTMP_TimerListAdd: add timer obj c00a58e8!
[    7.712000] RTMP_TimerListAdd: add timer obj c00a58bc!
[    7.724000] RTMP_TimerListAdd: add timer obj c00a5890!
[    7.732000] RTMP_TimerListAdd: add timer obj c004d018!
[    7.744000] RTMP_TimerListAdd: add timer obj c004cc0c!
[    7.756000] RTMP_TimerListAdd: add timer obj c004cfe8!
[    7.764000] RTMP_TimerListAdd: add timer obj c004d324!
[    7.776000] RTMP_TimerListAdd: add timer obj c004d264!
[    7.784000] RTMP_TimerListAdd: add timer obj c004d294!
[    7.796000] RTMP_TimerListAdd: add timer obj c00501e4!
[    7.804000] RTMP_TimerListAdd: add timer obj c004fdd8!
[    7.816000] RTMP_TimerListAdd: add timer obj c00501b4!
[    7.828000] RTMP_TimerListAdd: add timer obj c00504f0!
[    7.836000] RTMP_TimerListAdd: add timer obj c0050430!
[    7.848000] RTMP_TimerListAdd: add timer obj c0050460!
[    7.856000] RTMP_TimerListAdd: add timer obj c00533b0!
[    7.868000] RTMP_TimerListAdd: add timer obj c0052fa4!
[    7.876000] RTMP_TimerListAdd: add timer obj c0053380!
[    7.888000] RTMP_TimerListAdd: add timer obj c00536bc!
[    7.896000] RTMP_TimerListAdd: add timer obj c00535fc!
[    7.908000] RTMP_TimerListAdd: add timer obj c005362c!
[    7.920000] RTMP_TimerListAdd: add timer obj c005657c!
[    7.928000] RTMP_TimerListAdd: add timer obj c0056170!
[    7.940000] RTMP_TimerListAdd: add timer obj c005654c!
[    7.948000] RTMP_TimerListAdd: add timer obj c0056888!
[    7.960000] RTMP_TimerListAdd: add timer obj c00567c8!
[    7.968000] RTMP_TimerListAdd: add timer obj c00567f8!
[    7.980000] RTMP_TimerListAdd: add timer obj c0059748!
[    7.992000] RTMP_TimerListAdd: add timer obj c005933c!
[    8.000000] RTMP_TimerListAdd: add timer obj c0059718!
[    8.012000] RTMP_TimerListAdd: add timer obj c0059a54!
[    8.020000] RTMP_TimerListAdd: add timer obj c0059994!
[    8.032000] RTMP_TimerListAdd: add timer obj c00599c4!
[    8.040000] RTMP_TimerListAdd: add timer obj c005c914!
[    8.052000] RTMP_TimerListAdd: add timer obj c005c508!
[    8.060000] RTMP_TimerListAdd: add timer obj c005c8e4!
[    8.072000] RTMP_TimerListAdd: add timer obj c005cc20!
[    8.084000] RTMP_TimerListAdd: add timer obj c005cb60!
[    8.092000] RTMP_TimerListAdd: add timer obj c005cb90!
[    8.104000] RTMP_TimerListAdd: add timer obj c005fae0!
[    8.112000] RTMP_TimerListAdd: add timer obj c005f6d4!
[    8.124000] RTMP_TimerListAdd: add timer obj c005fab0!
[    8.132000] RTMP_TimerListAdd: add timer obj c005fdec!
[    8.144000] RTMP_TimerListAdd: add timer obj c005fd2c!
[    8.152000] RTMP_TimerListAdd: add timer obj c005fd5c!
[    8.164000] RTMP_TimerListAdd: add timer obj c0062cac!
[    8.176000] RTMP_TimerListAdd: add timer obj c00628a0!
[    8.184000] RTMP_TimerListAdd: add timer obj c0062c7c!
[    8.196000] RTMP_TimerListAdd: add timer obj c0062fb8!
[    8.204000] RTMP_TimerListAdd: add timer obj c0062ef8!
[    8.216000] RTMP_TimerListAdd: add timer obj c0062f28!
[    8.224000] RTMP_TimerListAdd: add timer obj c00a7cf0!
[    8.236000] RTMP_TimerListAdd: add timer obj c00a78e4!
[    8.248000] RTMP_TimerListAdd: add timer obj c00a7cc0!
[    8.256000] RTMP_TimerListAdd: add timer obj c00a7ffc!
[    8.268000] RTMP_TimerListAdd: add timer obj c00a7d20!
[    8.276000] RTMP_TimerListAdd: add timer obj c00a7d50!
[    8.288000] RTMP_TimerListAdd: add timer obj c00a7d80!
[    8.296000] RTMP_TimerListAdd: add timer obj c00ba104!
[    8.308000] RTMP_TimerListAdd: add timer obj c00ba220!
[    8.316000] RTMP_TimerListAdd: add timer obj c00ba130!
[    8.328000] RTMP_TimerListAdd: add timer obj c00a83ac!
[    8.340000] RTMP_TimerListAdd: add timer obj c004a4d8!
[    8.352000] RTMP_TimerListAdd: add timer obj c004d6a4!
[    8.360000] RTMP_TimerListAdd: add timer obj c0050870!
[    8.372000] RTMP_TimerListAdd: add timer obj c0053a3c!
[    8.380000] RTMP_TimerListAdd: add timer obj c0056c08!
[    8.392000] RTMP_TimerListAdd: add timer obj c0059dd4!
[    8.400000] RTMP_TimerListAdd: add timer obj c005cfa0!
[    8.412000] RTMP_TimerListAdd: add timer obj c006016c!
[    8.420000] RTMP_TimerListAdd: add timer obj c00a80bc!
[    8.536000] RT_CfgSetMacAddress : invalid length (0)
[    8.556000] APSDCapable[0]=0
[    8.564000] APSDCapable[1]=0
[    8.568000] APSDCapable[2]=0
[    8.572000] APSDCapable[3]=0
[    8.580000] APSDCapable[4]=0
[    8.584000] APSDCapable[5]=0
[    8.592000] APSDCapable[6]=0
[    8.596000] APSDCapable[7]=0
[    8.604000] APSDCapable[8]=0
[    8.608000] APSDCapable[9]=0
[    8.612000] APSDCapable[10]=0
[    8.620000] APSDCapable[11]=0
[    8.624000] APSDCapable[12]=0
[    8.632000] APSDCapable[13]=0
[    8.636000] APSDCapable[14]=0
[    8.644000] APSDCapable[15]=0
[    8.648000] default ApCliAPSDCapable[0]=0
[    8.856000] Key1Str is Invalid key length(0) or Type(1)
[    8.864000] Key2Str is Invalid key length(0) or Type(0)
[    8.876000] Key3Str is Invalid key length(0) or Type(0)
[    8.888000] Key4Str is Invalid key length(0) or Type(0)
[    8.900000] APCli_WPAPSK_KEY, key string required 8 ~ 64 characters!!!
[    9.108000] c3:1b:28:72:26:ea:73:2d:2e:92:fd:f8:f7:d5:9b:50:
[    9.120000] 03:c7:6e:f6:6b:61:01:3e:c5:5e:d0:81:40:a1:8c:fb:
[    9.132000]
[    9.136000] I/F(apcli0) Key1Str is Invalid key length!
[    9.144000] I/F(apcli0) Key2Str is Invalid key length!
[    9.156000] I/F(apcli0) Key3Str is Invalid key length!
[    9.168000] I/F(apcli0) Key4Str is Invalid key length!
[    9.188000] Wrong OBSSScanParamtetrs format in dat file!!!!! Use default value.
[    9.220000] EntryLifeCheck=1024
[    9.224000] 1. Phy Mode = 9
[    9.232000] 2. Phy Mode = 9
[    9.236000] E2PROM: D0 target power=0xffff
[    9.244000] E2PROM: 40 MW Power Delta= 0
[    9.252000] 3. Phy Mode = 9
[    9.260000] AntCfgInit: primary/secondary ant 0/1
[    9.260000] Initialize RF Central Registers for E2 !!!
[    9.280000] Initialize RF Central Registers for E3 !!!
[    9.292000] Initialize RF Channel Registers for E2 !!!
[    9.300000] Initialize RF Channel Registers for E3 !!!
[    9.312000] Initialize RF DCCal Registers for E2 !!!
[    9.320000] Initialize RF DCCal Registers for E3 !!!
[    9.332000] D1 = -2, D2 = 12, CalCode = 33 !!!
[    9.344000] RT6352_Temperature_Init : BBPR49 = 0xfffffffe
[    9.352000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff4
[    9.368000] Current Temperature from BBP_R49=0xffffffee
[    9.380000]  TX BW Filter Calibration !!!
[    9.500000]  RX BW Filter Calibration !!!
[    9.732000] LOFT Calibration Done!
[    9.736000] IQCalibration Start!
[    9.756000] IQCalibration Done! CH = 0, (gain= f, phase= 2)
[    9.768000] IQCalibration Start!
[    9.784000] IQCalibration Done! CH = 1, (gain= 4, phase=1c)
[    9.796000] TX IQ Calibration Done!
[    9.808000]  VGA Code idx overflow(19), AM_63(0) !!!
[    9.820000]  VGA Code idx overflow(19), AM_63(0) !!!
[    9.860000] RXIQ Sigma_i=0, Sigma_q=0, R_iq=0
[    9.868000] RXIQ calibration FAIL
[    9.876000] internal ALC is not enabled in NVM !
[    9.884000] MCS Set = ff ff 00 00 01
[    9.900000]  VGA Code idx overflow(19), AM_63(0) !!!
[    9.912000]  VGA Code idx overflow(19), AM_63(0) !!!
[    9.948000] RTMP_TimerListAdd: add timer obj c00b19e0!
[    9.968000]  VGA Code idx overflow(19), AM_63(0) !!!
[    9.980000]  VGA Code idx overflow(19), AM_63(0) !!!
[   10.020000] Main bssid = 00:1c:c2:1f:4c:c2
[   10.028000] <==== rt28xx_init, Status=0
[   10.040000] 0x1300 = 00064380
ifconfig: SIOCGIFFLAGS: No such device
brctl: bridge br0: No such device or address
vconfig: ioctl error for rem: No such device
vconfig: ioctl error for rem: No such device
[   10.732000] device eth2 entered promiscuous mode
restore RT6855 ESW to dump switch mode
switch reg write offset=2004, value=ff0000
switch reg write offset=2104, value=ff0000
switch reg write offset=2204, value=ff0000
switch reg write offset=2304, value=ff0000
switch reg write offset=2404, value=ff0000
switch reg write offset=2504, value=ff0000
switch reg write offset=2604, value=ff0000
switch reg write offset=2704, value=ff0000
switch reg write offset=2010, value=810000c0
switch reg write offset=2110, value=810000c0
swi[   10.936000] device ra0 entered promiscuous mode
tch reg write offset=2210, value=810000c0
switch reg write offset=2310, value=810000c0
switch reg write offset=2410, value=810000c0
switch reg write offset=2510, value=810000c0
switch reg write offset=2610, value=810000c0
switch reg write offset=2710, value=810000c0
REG_ESW_WT_MAC_ATC is 0x7ff0002
done.
/sbin/netinit.sh: line 288: addRax2Br0: not found
[   11.036000] br0: port 1(ra0) entering learning state
[   11.048000] br0: port 1(ra0) entering learning state
[   12.048000] br0: port 1(ra0) entering forwarding state
Set: phy[0].reg[0] = 3900
Set: phy[4].reg[0] = 3900
Set: phy[0].reg[0] = 3100
Set: phy[4].reg[0] = 3100
udhcpc (v1.12.1) started
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables v1.4.10: can't initialize iptables table `mangle': Table does not exist (do you need to in[   14.748000] hao: input argv = 1
smod?)
Perhaps iptables or your kernel needs to be upgraded.
[   14.920000] udevd version 125 started
/etc/rc.d/rc1.d/S34ntpclient start
/etc/rc.d/rc1.d/S75fileserv start
0.pool.ntp.org: Unknown host
1.pool.ntp.org: Unknown host
2.pool.ntp.org: Unknown host
3.pool.ntp.org: Unknown host
/etc/rc.d/rc1.d/S77qos start
/etc/rc.d/rc: line 41: /etc/rc.d/rc1.d/S77qos: not found
/etc/rc.d/rc1.d/S80webd start
/etc/rc.d/rc1.d/S82upnpd start
/etc/rc.d/rc1.d/S99local start
ddddddddddddd
/usr/sbin/listen_sleep &

HT-TM06 login: [   18.028000] RTMP_TimerListAdd: add timer obj c00f9540!
[   18.036000] RTMP_TimerListAdd: add timer obj c00f96f8!
[   18.048000] drivers/net/wireless/rt2860v2_ap/../rt2860v2/ap/ap_data.c:4354 assert pEntry->Aid == pRxWI->WirelessCliIDfailed
[   18.072000] RTMP_TimerListAdd: add timer obj c010d184!
[   25.184000] enable send the SIGUSR2
[   25.464000] Rcv Wcid(1) AddBAReq
[   25.472000] Start Seq = 00000002
[   25.476000] RTMP_TimerListAdd: add timer obj c010ef94!
[   25.528000] Rcv Wcid(1) AddBAReq
[   25.536000] Start Seq = 00000000
[   25.540000] RTMP_TimerListAdd: add timer obj c010efe4!
[   27.276000] RTMP_TimerListAdd: add timer obj c010d1c0!
[   63.636000] Rcv Wcid(1) AddBAReq
[   63.644000] Start Seq = 00000000
[   65.932000] Rcv Wcid(1) AddBAReq
[   65.940000] Start Seq = 00000003
[   66.644000] a, flush one!
[   90.604000] RTMP_TimerListAdd: add timer obj c00f9f70!
[   90.616000] RTMP_TimerListAdd: add timer obj c00fa128!
[   90.936000] AP SETKEYS DONE - WPA2, AuthMode(7)=WPA2PSK, WepStatus(6)=AES, GroupWepStatus(4)=TKIP
[   90.936000]
[   91.372000] Rcv Wcid(2) AddBAReq
[   91.376000] Start Seq = 00000000
[   91.384000] RTMP_TimerListAdd: add timer obj c010f034!
[  120.616000] RTMP_TimerListAdd: add timer obj c010d1fc!
[  189.116000] Rcv Wcid(2) AddBAReq
[  189.120000] Start Seq = 00000000
[  189.128000] RTMP_TimerListAdd: add timer obj c010f084!
[  208.420000] Rcv Wcid(1) AddBAReq
[  208.424000] Start Seq = 00000000
[  208.432000] RTMP_TimerListAdd: add timer obj c010f0d4!
[  208.480000] RTMP_TimerListAdd: add timer obj c010d238!
[  209.052000] Rcv Wcid(1) AddBAReq
[  209.056000] Start Seq = 00000001

HT-TM06 login:

Re: Hootoo HT-TM06 chipset MTK7620

By the way why can't i upload pictures on the Openwrt page ?

Re: Hootoo HT-TM06 chipset MTK7620

Where to exactly do you want to upload?

DIR-505 A1 + BB(r43601) + 1wire stuff + ws2300 + 15 USB webcams

Re: Hootoo HT-TM06 chipset MTK7620

In the detail device page, when i m editing i click on the picture, a new window open telling me i con't have enough right to upload a picture

Re: Hootoo HT-TM06 chipset MTK7620

In the newly opened window: What happens, if you click on "media" (not toh/media, but root/media)?

DIR-505 A1 + BB(r43601) + 1wire stuff + ws2300 + 15 USB webcams

Re: Hootoo HT-TM06 chipset MTK7620

That's super cool guys!
I bought a Hootoo TM06 too and I'm willing to help.
I have no experience with openWRT but I'm a programmer and use to flash android devices. Guess it should be similar..
if you need anybody to test and help, count me in. However I might need some baby steps first.

Re: Hootoo HT-TM06 chipset MTK7620

I've found the data sheet for the chipset, maybe it can help.
http://www.anz.ru/files/mediatek/MT7620_Datasheet.pdf

Re: Hootoo HT-TM06 chipset MTK7620

Ok so i m getting in the Uboot menu when i boot by pressing the letter i

U-Boot 1.1.3 (May  7 2014 - 05:33:12)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fac000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:1d4000 len:1000
raspi_read: from:1d4000 len:1000
============================================
Ralink UBoot Version: 4.1.0.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 256 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 32 MBytes
Flash component: SPI Flash
Date:May  7 2014  Time:05:33:12
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

##### The CPU freq = 580 MHZ ####
estimate memory size =32 Mbytes
raspi_read: from:40028 len:6

Initialize vs configure module
raspi_read: from:1d0000 len:1000
Initialize GPIO
Input i key to enter menu:
Enter menu option

|-------------------------------|
|         IOVST MAIN MENU       |
|-------------------------------|
| 6 Test USB                    |
| 8 Test ethernet               |
| B Boot the Kernel             |
| E Test PIO                    |
| I Test system params          |
| U SPIFlash Upgrade            |
| T SMT test program            |
| X Update the license          |
| R Reboot                      |
| Z Enter Command Line Interface|
|-------------------------------|

I get this menu which is not the menu people usually have. I m going to try to load a Openwrt version now.

Re: Hootoo HT-TM06 chipset MTK7620

Man you're super fast!!! Looking forward for it big_smile

Re: Hootoo HT-TM06 chipset MTK7620

I think i spoke too fast. I don't really get the compilation need, Do i just need to compile a bin that support the hardware i have on the router ? there is no generic bin available for the test purpose ?
Also i m wondering how to go back to the stock firmware if things don't work as expected ?
If it do tftpboot 80000000 HT-TM06-2.000.004 will it just reinitialise my setup ?

That s the partition setup on the device by the way
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00180000 00010000 "Kernel_RootFS"
mtd5: 00010000 00010000 "params"
mtd6: 00010000 00010000 "user_backup"
mtd7: 00010000 00010000 "user"
mtd8: 00600000 00010000 "Rootfs"

Re: Hootoo HT-TM06 chipset MTK7620

Not sure if there is anything about the process that you can glean from the TM02 work done by wingspinner.  But it's here https://forum.openwrt.org/viewtopic.php?id=53014.  He also had a web page that may have more stuff on it.  Also, you may want to look at the work on the Kingston products, as these are the same processor.  Don't forget to look at the wiki pages, as some of them may have code pieces in them that may guide or be reusable.

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Hootoo HT-TM06 chipset MTK7620

efreeze wrote:

I think i spoke too fast. I don't really get the compilation need, Do i just need to compile a bin that support the hardware i have on the router ? there is no generic bin available for the test purpose ?
Also i m wondering how to go back to the stock firmware if things don't work as expected ?
If it do tftpboot 80000000 HT-TM06-2.000.004 will it just reinitialise my setup ?

That s the partition setup on the device by the way
$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00180000 00010000 "Kernel_RootFS"
mtd5: 00010000 00010000 "params"
mtd6: 00010000 00010000 "user_backup"
mtd7: 00010000 00010000 "user"
mtd8: 00600000 00010000 "Rootfs"

Before you do anything, if you haven't already, save each of those partitions to files as a backup.  You will need them to recover/restore the router if you make a mistake along the way.  A copy or cat of /dev/mtd0 through mtd8 to a corresponding .bin file is what you need. The mtd0 has the full contents of the flash.  The others are self explanatory and mtd4-mtd8 make up the OS firmware image.

Re: Hootoo HT-TM06 chipset MTK7620

mmmdonuts wrote:

Before you do anything, if you haven't already, save each of those partitions to files as a backup.  You will need them to recover/restore the router if you make a mistake along the way.  A copy or cat of /dev/mtd0 through mtd8 to a corresponding .bin file is what you need. The mtd0 has the full contents of the flash.  The others are self explanatory and mtd4-mtd8 make up the OS firmware image.

If you brick your device, or have already overwritten anything and if you're willing to walk me through the process, I can save/backup the partitions of my device too.

Re: Hootoo HT-TM06 chipset MTK7620

Any update on this front guys??

Re: Hootoo HT-TM06 chipset MTK7620

Sorry guys, overloaded with work these last days.

So if i copy the mtdX how do i get to flash them back as to go back to the original firmware ?
Also the Uboot menu is as below :
|-------------------------------|
|         IOVST MAIN MENU       |
|-------------------------------|
| 6 Test USB                    |
| 8 Test ethernet               |
| B Boot the Kernel             |
| E Test PIO                    |
| I Test system params          |
| U SPIFlash Upgrade            |
| T SMT test program            |
| X Update the license          |
| R Reboot                      |
| Z Enter Command Line Interface|
|-------------------------------|

Not really giving me a chance to upgrade anything as the other routers.

Re: Hootoo HT-TM06 chipset MTK7620

Hello, I was going to put one of these on my Christmas list.  I just blew up my TM04 identifying the pads and blew up the laptop connected to it (had to replace it).  Reasons being I flashed the TM04 with OpenWRT like that other thread had instructions for, but I updated a library in it for USB mounts (which I found out later I didn't have to, hindsight...) bricked it, tried to connect to pads with USB to Serial TTL cable and mis-connected frying the USB port as well on laptop.

I can run stock firmware for now on the TM06 but figure if OpenWRT did come to it, and I don't update the libraries on it, then it would be cool to be able to have a full OpenWRT firmware, but haven't heard anything from this thread if it was still active.

Re: Hootoo HT-TM06 chipset MTK7620

Hi,

I'm also currently investigating the TM05 which seems to be similar (except it has 64MByte RAM instead of 32) to the TM06.
This is how far I got: HooToo TM05

I was able to boot a standard kernel for ramips MTK7620 but I ended up on a kernel loop. Currently I'm trying to get a better understanding
of how openwrt is build in general and what files are involvend in the build process.

efreeze wrote:

So if i copy the mtdX how do i get to flash them back as to go back to the original firmware ?
Also the Uboot menu is as below :
|-------------------------------|
|         IOVST MAIN MENU       |
|-------------------------------|
| 6 Test USB                    |
| 8 Test ethernet               |
| B Boot the Kernel             |
| E Test PIO                    |
| I Test system params          |
| U SPIFlash Upgrade            |
| T SMT test program            |
| X Update the license          |
| R Reboot                      |
| Z Enter Command Line Interface|
|-------------------------------|

Not really giving me a chance to upgrade anything as the other routers.

You might use the Command Line Interface (Z) to transfer partitions (or the whole flash disk) via tftp to RAM and write it back to flash.
A good manual about u-boot can be found here

So far I used the kernel from trunk and Chaos Calmer.
Since both are booting but ending up in a loop, I will wait flashing the TM05 until I understand what is going wrong and got a proper kernel to boot smile


Have fun!

woolman

Re: Hootoo HT-TM06 chipset MTK7620

This looks to be the same SoC as the GL.iNet GL-MT300N V1 if that helps, albeit with less RAM.

23 (edited by computers-cca 2016-06-27 17:32:42)

Re: Hootoo HT-TM06 chipset MTK7620

Telnet Setup for stock firmware -- save this as firmware.bin, be sure there is a blank line after END_OF_STUB and that #!/bin/sh is the beginning line, and flash from GUI like a firmware upgrade. Login is admin, password blank or what you set it to, or root and password 20080826.


#!/bin/sh
# constant
CRCSUM=2862631636
VENDOR=HooToo
PRODUCTLINE=WiFiDGRJ
SKIP=263
TARGET_OS="linux"
TARGET_ARCH="arm"
DEVICE_TYPE=HT-TM06
VERSION=2000030
CPU=7620


export PATH=/bin:/sbin:/usr/bin:/usr/sbin
ETCPATH="/etc"
#ETCPATH="/data/UsbDisk1/Volume1/etc"



#Start telnetd. Will only give access until reboot unless modifications complete without erros
$ETCPATH/init.d/teld.sh start


        # Set telnetd to start at next boot
        if [ -f $ETCPATH/init.d/teld.sh ]; then
                echo "Creating rc.d telnet symbolic link"
                if [ ! -L $ETCPATH/rc.d/rc1.d/S28teld ]; then
                        ln -s $ETCPATH/init.d/teld.sh $ETCPATH/rc.d/rc1.d/S28teld
                fi

                if [ -L $ETCPATH/rc.d/rc1.d/S28teld ]; then
                        echo "Succesfully created rc.d telnet symbolic link or already exists"
                else
                        echo "Could not create rc.d telnetd symbolic link."

                fi
        else
                echo "Could not create rc.d telnet symbolic link. /etc/init.d/teld.sh does not exist"
                exit 1
        fi


sync

# If succesful, backup current etc directory to MTD so it sticks on next reboot
echo "Saving backup time/date to MTD"
. /etc/init.d/vstfunc

#timedate_save

echo "Syncing /etc to MTD"
/usr/sbin/etc_tools p
echo "Synced /etc with MTD - exiting..."
sync

exit 0
END_OF_STUB

24 (edited by computers-cca 2016-07-12 22:15:37)

Re: Hootoo HT-TM06 chipset MTK7620

Openwrt Installation. UPDATED - see no serial method below - no need to open case.
You will need to open the case, and connect serial, use tftp server.  Be sure to open the top (the side that says HooToo, not the back with the technical info).  Just use a small screwdriver to separate the lid.  Be careful, there are wires connecting the two parts.  The serial from the battery side is 3.3v, RX, TX GND.

Make sure you have backed up all the mtd partitions first.  (plug in usb, open telnet session, run: 
cat /dev/mtd0 >./mtd0.bin) Do all the mtd's 0-8 and back them up somewhere other than the USB drive.  The factory uboot actually makes recovery very easy - just use the U SPIFlash Upgrade, and the appropriate partition or  Upgrade All Flash with your mtd0 backup.

get this file : http://www.gl-inet.com/firmware/mt300n/ … an-1.0.bin, put it in the folder of your TFTP server.

Setup TFTP server (and static ip 10.10.10.254, subnet 255.255.255.0, gateway 10.10.10.1) (on windows disable  windows firewall and antivirus)
Connect serial, Reboot the router,
Press "i" at powerup to get uboot menu.  Then "u" for U SPIFlash Upgrade.  Then select 3, upgrade kernel.
it asks for filename: openwrt-gl-mt300n-clean-1.0.bin
After it finishes then press "q" and "r"  it should start to boot THEN GO TO GARBLED OUTPUT because Glinet uses 115200 serial speed, close serial and reopen with 115200

EASIER METHOD - NO SERIAL NEEDED
There is an undocumented recovery mode: press the power button until the first white light comes on.  Then release the power button and press and hold the reset button for at least 25 seconds.  It then looks for the files on a tftp server at 10.10.10.254 (so set your computer to this static ip, and setup tftp server).  It is looking for a file called "kernel" (without quotes, no file extension), so rename the Gl-inet firmware above to "kernel".  Wait several minutes for it to transfer and write to flash.  It will then start looking for a file called "rootfs".  But here you can just hold power button down and let it shut down, the gl-inet has everything already.  Turn on and it should boot to Openwrt.

In the default setup the eth port is assigned to lan, so set password (telnet) and then change this around in Luci.
The ethernet MAC address is not set properly.  Get the MAC address from your MTD5 backup via hex editor, or from the all MTD0 backup at 0x1d045c, and set in LUCI.  Otherwise a random MAC is assigned at each boot (this might be preferable for security).

25 (edited by harvey 2016-08-28 20:29:51)

Re: Hootoo HT-TM06 chipset MTK7620

EDIT:
Figured it out!

I guess it was the timing of my pressing of the power button and reset button.

I was then able to access all the OpenWRT settings by typing 192.168.1.1 into my browser.

Thanks for the help guys!



Hi,

I have an HT TM06 and would like to install OpenWRT on it.

I am a total noob with regard to this, so can someone please assist me in how too do this?

Do I have to connect the unit to my computer via ethernet?

And how do I send over the files to it?

Thanks!