Warning
This is an AI summary from the source code - it might include mistakes. We might rewrite it later (or no).
Running your own ROM¶
CERF emulates a whole device - the SoC, the board, the memory map and every peripheral the ROM's drivers touch. A ROM boots when that board is implemented in CERF. The same chip on another board has different RAM and flash addresses, a different display controller and different wiring, so a matching SoC is not enough.
In practice: a dump boots if its board is on the supported list. A ROM found on the internet for some other device will not.
Adding a device ROM through the device list¶
- Click New on the toolbar.
- Pick New device - the option that says "Create a device from your local ROM".
- Follow the wizard: choose the board, name the device, and point it at your ROM file.
That is it. The device shows up ready to boot.
Adding a device ROM by hand¶
- Create a folder under
devices/(next tocerf.exe), e.g.devices/mydump/. - Put the ROM image in it, e.g.
mykernel.nb0. -
Add a
cerf-user.jsonnaming the board and the ROM:{ "board": { "id": "jornada_720" }, "rom": { "primary": "mykernel.nb0" } } -
Run
cerf.exe --device=mydump.
The board id is your device's - cerf.exe --help lists them all. Those two keys are the minimum.
The configuration files covers everything else the file can carry. Both fields
can also be given on the command line instead:
cerf.exe --device=mydump --board-id=jornada_720 --rom-primary=mykernel.nb0
What if CERF does not support the device I want to run a dump of?¶
Contribute to CE Runtime Foundation - implement it yourself.