Skip to content

xabolcs/openwrt_hootoo_ht-tm02_oldstable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains a few simple patch to allow a few ramips/rt305x Sunvalleytek Tripmate devices to be flashed with stock compatible flash layout custom OpenWrt build.

It builds the images using the OpenWrt ImageBuilder. One advantage of this over from-source custom builds is that the kernel is the same as the official builds, so all kmods from the standard repos are installable.

The only difference between these firmwares and the offical HT-TM02 firmware is the installation method: the firmwares in this repository need to be installed with TFTP recovery.

And because of this, you should never ever cross upgrade between official OpenWrt build and this custom build!

Supported devices

Vendor Model Vendor Product Line Stock firmware Stock backup from a random user OpenWrt Wiki device page
HooToo HT-TM01 (WIP) WiFiDGRJ ... backup-fw-WiFiDGRJ-HooToo-TM01-2.000.022-8850118661 HooToo HT-TM01 (TripMate)
HooToo HT-TM02 WiFiPort ... backup-fw-WiFiPort-HooToo-TM02-2.000.018-8850119415 HooToo HT-TM02 (TripMate Nano)

Work in progress devices

HooToo HT-TM01

LEDs

The blue led is stronger than the green! :D They can work independently but when both blue and green are ON, then only blue led lights.

I2C

The device has an HT66F30 chip, but I don't even know how to enable it:

# dmesg |grep i2c
[   23.142156] i2c /dev entries driver
[   23.166426] rt2880-pinmux pinctrl: pin io1 already requested by pinctrl; cannot claim for 10000900.i2c
[   23.185198] rt2880-pinmux pinctrl: pin-1 (10000900.i2c) status -22
[   23.197612] rt2880-pinmux pinctrl: could not request pin 1 (io1) from group i2c  on device rt2880-pinmux
[   23.216590] i2c-ralink 10000900.i2c: Error applying setting, reverse things back
[   23.231457] i2c-ralink: probe of 10000900.i2c failed with error -22

Download firmware

See the releases page for links to the firmware images.

These are built using this Github workflow. You can see the build logs for a few days here.

Installing

Create a system backup first, write file EnterRouterMode.sh from here to a USB stick (needs not be empty), and insert it to the device while it's running. This script will create a new folder on the USB stick with copies of the device's original partitions.

After you placed the backup to a safe place choose the kernel.bin and rootfs.bin for your device and follow the TFTP recovery installation instructions!

Building

If you want to build the firmwares yourself, checkout this repo and do the following.

make

The firmware will be located at openwrt-imagebuilder-*-ramips-rt305x.Linux-x86_64/bin/targets/ramips/rt305x/. To customize the firmware further (packages etc), see the ImageBuilder wiki.

About

Stock compatible flash layout build for HT-TM02 (OpenWrt)

Resources

License

Stars

Watchers

Forks

Languages

  • Shell 59.9%
  • Makefile 40.1%