1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils/ypr0tools
Lorenzo Miori 5ef1e2dcfa ypr0-ypr1 firmware tools fix
fixed a bug concerning bytes padding, since it wasn't correctly
implemented regarding original firmware structure.
This fixes ROM generation especially for ypr1.

Change-Id: I1a40fb4bb8f9d6b005d694246123e314c4d19b49
Reviewed-on: http://gerrit.rockbox.org/616
Reviewed-by: Thomas Martitz <kugel@rockbox.org>
2013-09-11 23:08:37 +02:00
..
cramfs-1.1 Initial commit of the Samsung YP-R0 port. 2011-12-24 11:56:46 +00:00
files ypr0: Add kernel module to required support fm radio. 2012-05-28 19:38:09 +02:00
common.c Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00
common.h Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00
fwcrypt.c ypr0-ypr1 firmware tools fix 2013-09-11 23:08:37 +02:00
fwdecrypt.c Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00
Makefile Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00
patch-firmware.sh Initial commit of the Samsung YP-R0 port. 2011-12-24 11:56:46 +00:00
README Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00
rockbox.sh ypr0: Add kernel module to required support fm radio. 2012-05-28 19:38:09 +02:00
si4709.7z ypr0: Add kernel module to required support fm radio. 2012-05-28 19:38:09 +02:00
test.sh Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00

To generate a firmware, run (paths may differ):

$ make
$ ./fwdecrypt R0.ROM <optional: destination path>
$ sudo ./patch-firmware.sh files . # needs sudo
$ ./fwcrypt R0.ROM <optional: source path>

After that, R0.ROM is patched and can load Rockbox.

rockbox.sh is a script to put into rockbox.zip. It's a small loader script
that sets stuff up.

files/lib/modules/si4709.ko is a replacement kernel module for fm radio support,
its source code is packaged in ./si4709.7z.