Skip to content

dustinlieu/car-thing-bootloader-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Thing Bootloader Tool

A tool to communicate with a Car Thing's bootloader.

This re-implements the partition reading protocol that the official AMLogic update tool uses, but in Python using pyusb.

Usage

usage: main.py [-h] [--delay DELAY] [--max_retries MAX_RETRIES]

Car thing bootloader tool

options:
  -h, --help            show this help message and exit
  --delay DELAY         Delay in seconds (default: 0)
  --max_retries MAX_RETRIES
                        Max retries (default: 10)

Currently, the tool puts the device into burning mode if necessary, then dumps all the partitions. If dumping a partition fails due to a USB error, then it will be automatically retried.

The delay between each 64K read can be adjusted using --delay and the max number of retries to read each partition can be adjusted using --max_retries.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages