MuditaHarmonyFlasher

command module
v0.0.0-...-89d9732 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 17 Imported by: 0

README

Mudita Harmony Flasher

Small Golang utility that can be used to flash custom firmware on a Mudita Harmony device.

How it works

MuditaOS is open source. However, Mudita doesn't provide a way to build a full image for the device due to device assets existing in a separate private repository, for licensing reasons. This utility simply downloads a recent firmware from the official Mudita S3 bucket, and patches the bin/os.bin file, leaving everything else untouched. It then uses the same process that Mudita Center uses to flash the custom firmware.

Usage

Install:

go install github.com/mdehoog/MuditaHarmonyFlasher@latest

Building os.bin:

git clone --recurse-submodules git@github.com:mudita/MuditaOS.git
cd MuditaOS
docker pull wearemudita/mudita_os_builder:latest
docker run --platform linux/amd64 --entrypoint bash -it -v $(pwd):/mnt wearemudita/mudita_os_builder:latest
cd /mnt
./configure.sh BellHybrid rt1051 release
cd build-BellHybrid-rt1051-Release
mkdir -p sysroot/system_a/bin
make BellHybrid-boot.bin

In a separate terminal (outside Docker):

cd MuditaOS
MuditaHarmonyFlasher ./build-BellHybrid-rt1051-Release/sysroot/system_a/bin/os.bin

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL