diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-03 16:36:54 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-03 16:51:58 -0400 |
commit | d0e47affa9c2fb96d733261dbdf5383e5b14571b (patch) | |
tree | ca0c5666b5e692b3c75ea3c4577a0991056258a3 | |
parent | e55618d07a62dc64f1b4cf236f23c59dacf17e30 (diff) | |
download | rockbox-d0e47affa9.tar.gz rockbox-d0e47affa9.zip |
xduoox3: Script to patch a firmware image with a new bootloader binary
Change-Id: Ie4cfc34ea1d40ca660b8f23e7782d617b31d7ff4
-rwxr-xr-x | tools/xduoox3-updatebl.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/xduoox3-updatebl.sh b/tools/xduoox3-updatebl.sh new file mode 100755 index 0000000000..efb52bff8c --- /dev/null +++ b/tools/xduoox3-updatebl.sh @@ -0,0 +1,5 @@ +#!/bin/sh +unzip $1 rockbox.bin +dd if=bootloader-x3.bin of=rockbox.bin bs=2048 seek=4 conv=nocreat conv=notrunc +zip -o $1 rockbox.bin rockbox-info.txt +rm rockbox.bin |