Author |
Change boot device - can only boot from DKA0 |
MartinW
Member
Posts: 5
Joined: 18.03.10 |
Posted on March 14 2011 02:53 |
|
|
I'm using FreeAXP v1.3.0.351 which I've upgraded from previous versions.
I wanted to move my system disk from DKA0 to DKA100 - so...
>>> SET BOOTDEF_DEV DKA100
>>> INIT
This will then boot DKA100 OK.
But if I closedown FreeAXP and restart it, it has forgotten the change of boot device and boots from the old DKA0.
The user guide says "To save the boot variables between boots, ensure the emulator writes them to the nvram file via an init." This does not seem to have happened. I've checked out the .nvr file and it's not been modified since last July.
(I've got around the problem by swapping the image files round in the configuration utility). |
|
Author |
RE: Change boot device - can only boot from DKA0 |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on March 14 2011 10:32 |
|
|
Our apologies, the manual is incorrect. Console parameters are saved in the NVRAM file on Exit, not Init. Once you have made your changes, be sure to exit the console with the Exit command to save them.
The manual has been updated and a new version will be posted shortly. Thank you for pointing out the error.
Edited by Bruce Claremont on March 14 2011 10:32 |
|
Author |
RE: Change boot device - can only boot from DKA0 |
MartinW
Member
Posts: 5
Joined: 18.03.10 |
Posted on March 14 2011 22:31 |
|
|
Thanks Bruce - that works.
(I'd not have though of that - typing "exit" at the ">>>" prompt gives a "no such command" error but then does exit and save the console parameters as you say). |
|
Author |
RE: Change boot device - can only boot from DKA0 |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on March 17 2011 08:37 |
|
|
The "no such command" error is an artifact of the console firmware, since there is in fact no such command as "exit" in the firmware. We intercept the exit command to signal the emulator to do a controlled shutdown, saving the NVRAM and TOY information on the way down. |
|