This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11599 - Make simulator able to emulate storage with a file instead of using OS fs functions
Attached to Project:
Rockbox
Opened by amaury pouly (pamaury) - Friday, 03 September 2010, 12:45 GMT+2
Opened by amaury pouly (pamaury) - Friday, 03 September 2010, 12:45 GMT+2
|
DetailsThis patchs modifies the simulator so that it can emulate the storage layer. More preciserly, it enables all the storage code and simply redirect all storage_{read,write, ...} to a file. This way, all fs functions used are the one of rockbox, which allows to debug the FAT code for example.
To run this, apply the patch and modify the makefile to add this: -DROCKBOX_SIMULATE_STORAGE_LAYER to the line: export GCCOPTS=.... When running the simulator, it expects to read from file simdisk.raw. You can change this by using the --root option: ./rockboxui --root <file> The code doesn't work for me, FAT code seems to choke on something for now, I'm not sure why. |
This task depends upon