1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils/ypr0tools
Lorenzo Miori 2dd6633d71 ypr0 - ypr1: dynamically move rockbox executable
This trivial patch wants to exploit /tmp filesystem to place
Rockbox executable. Why that? It will be then possible to
easily unlock & umount the storage partition, in order to provide
Rockbox itself a mean for RAW storage access. In turn, this will
allow a Rockbox-handled USB Mass Storage support, as well as other
goodies (storage info is one I can think of).

It takes way less than a second so it doesn't hurt boot time.
Moreover, YPR0/YPR1 targets have plenty (64MB) of RAM, so
the humble half meg executable won't hurt at all.

Change-Id: Ibc9d9a40712e924c8e19cfd7c62189b182f0401a
2020-07-07 17:51:41 +00:00
..
cramfs-1.1
files Samsung YP-R0: remove deprecated kernel module 2020-07-07 16:51:05 +00:00
cable_detect.c Samsung YP-R0/YP-R1 Safe Mode improvement 2013-09-16 12:55:48 +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 Samsung YP-R0/YP-R1 Safe Mode improvement 2013-09-16 12:55:48 +02:00
patch-firmware.sh samsung ypr0: Include getty service in the patched firmware for usb serial shell access. 2014-02-04 22:26:06 +01:00
README Firmware tools for Samsung YP-R0/YP-R1 (and possibly others) 2013-09-07 15:56:07 +02:00
rockbox.sh ypr0 - ypr1: dynamically move rockbox executable 2020-07-07 17:51:41 +00: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.