forked from len0rd/rockbox
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 |
||
---|---|---|
.. | ||
cramfs-1.1 | ||
files | ||
cable_detect.c | ||
common.c | ||
common.h | ||
fwcrypt.c | ||
fwdecrypt.c | ||
Makefile | ||
patch-firmware.sh | ||
README | ||
rockbox.sh | ||
test.sh |
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.