Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Mstar firmware tools

NotificationsYou must be signed in to change notification settings

skotopes/mstarutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hardware:

  • PC with SDIO host (For example Raspberry Pi, Beaglebone, etc)

Software:

  • Linux
  • Python3

Setup

Install python3-venv package.In this folder execute following commands:

python3 -m venv venv./venv/bin/pip install -r requirements.txt

That's it.

Usage

In general code should be self-explanatory. But there is a small built-in help, just run

./MstarUtil.py -h

Verify update file

./MstarUtil.py validate ../MstarUpgrade.bin

It will parse update header and dump partitions and actions.

Write update file to EMMC

Important notice: your must have sdio host controller to access emmc boot partitions and service data. Application will fail if it's not present.

./MstarUtil.py write ../MstarUpgrade.bin /dev/mmcblk2

Raspberry Pi SDIO

It is going to turn off pi's internal wifi, but totally worth it.

Pinout:https://pinout.xyz/pinout/sdio

Load device tree overlay for 4-bit wide bus:

dtoverlay sdio

Also we can access EMMC card with only 1 data line.Load device tree overlay for 1-bit wide bus:

dtoverlay sdio bus_width=1

After that command you'll see new devices:

/dev/mmcblk2        # main storage/dev/mmcblk2boot0   # main boot partition/dev/mmcblk2boot1   # second boot partition, normally not used/dev/mmcblk2rpmb    # rpmb special device

mmc-utils can provide detailed information for connected flash.

Wiring

Keep in mind that wires must have same length.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp