amiga_emu68_update
Update Emu68 on an SD card safely: check version, board, and Picasso96 compatibility, back up the boot partition, write and verify kernel/firmware, then confirm after restart.
Instructions
Update Emu68 on the SD card, with a backup of the whole boot partition.
archive: an Emu68 release on this PC, the zip from github.com/michalsc/Emu68 or its unpacked folder. Checks first and stops if something does not fit: the version on the card against the new one, the board variant (PiStorm32- lite/16 or the CPLD PiStorm), VideoCore.card in LIBS:Picasso96 against what the release needs (1.1 needs 1.5, 1.0 does not work with 1.5).
With confirm=True: backs up the whole boot partition on the card (with a README on how to go back) and on the PC, with checksums; writes the kernel and the Pi firmware files next to the old ones, verifies them, swaps them in and verifies again. cmdline.txt, the Kickstart, FPGA files and the Amiga partitions are never written; config.txt only in its kernel= line when the kernel's name changes. Then the user restarts (amiga_restart), and after_restart=True confirms that the new Emu68 runs.
If the new Emu68 does not start, a power cycle does not help; the rescue is the card in a PC: python -m amigent.emu68card restore . Only on a card with the user's marker file amigent-write-ok.txt, and only on the user's yes. Try it on a second SD card first.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amiga_emu68_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | No | ||
| archive | No | ||
| confirm | No | ||
| machine | No | ||
| after_restart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |