• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Finally, you can manage your Google Docs, uploads, and email attachments (plus Dropbox and Slack files) in one convenient place. Claim a free account, and in less than 2 minutes, Dokkio (from the makers of PBworks) can automatically organize your content for you.



This version was saved 14 years, 5 months ago View current version     Page history
Saved by PBworks
on August 14, 2006 at 7:27:09 pm



mg35tool is a tool for splitting and combining .upgrade files for the MG-35 media player. It automatically removes all header information when splitting files and automatically recalculates it again when joining files. This tool doesn't exist yet, but someone has volunteered to write it.


Here is a proposed specification. We hope that this tool will work on both Windows and Linux.


mg35tool <split | join > [-v version] [-b boot_file] [-k kernel_file] [-c cramfs_file] <upgrade_file>


-b Specifies name of boot loader file. Default when splitting is Boot.rom. When joining, the BOOT section of the update file is only included if this option is specified.

-k Specify a compressed kernel file. Default is Linux.gz

-c Specify a compressed filing system file. Default is CramFS.img

-v Specify the version of the .upgrade file in the format major.minor.patch This information will be built into the upgrade file's header when joining. This option has no effect when splitting.

-r Produce a file in the format of the romfs.m35 file that is used for reflash from the serial port




mg35tool split MG35_1.4.3.upgrade

This will split the upgrade file and produce three files: Boot.rom, Linux.gz and CramFS.img


mg35tool join -k kernel.gz -c test.img MG35-test.upgrade

This will take kernel.gz and test.img and produce an upgrade file with a ROFS section but no BOOT section. All sizes and checksums will be calculated automatically as will the offset to the CramFS that is required to directly precede the kernel.


Note: .upgrade files without boot sections have not yet been tested on the MG-35.

Comments (0)

You don't have permission to comment on this page.