Upgrading Iyonix to OS 5.24 fails
Pages: 1 2
David R. Lane (77) 766 posts |
Using the Tungsten 5.24 flash program has failed to upgrade the ROM on my Iyonix leaving it still on 5.18 and still working. Nothing seems to have changed except the contents of HardDrive4 which I upgraded with the 5.24 version before flashing, as recommended. I had the same result when I attempted the upgrade to 5.20 back in February 2014, did 3 posts (19th, 21st and 23rd of February) to this subforum in thread “RO 5.20 upgrade for Iyonix” and got no responses. Has anyone got any ideas? |
Colin Ferris (399) 1814 posts |
After the trouble Jon had/has with upgrading his ‘Iyonix’ – it might pay to stay with RO5.18 and softload RO5.25? I run the softload from ‘!Boot !Run’ – here – only a slight delay on startup. |
Sprow (202) 1158 posts |
Is there an error message reported? TRACE ON around line 940 in FlashICP and see where it goes (might output quite a bit because there’s a FOR loop).
|
Doug Webb (190) 1180 posts |
I have successfully flashed my Iyonix from 5.22 to 5.24 so I know it works. You don’t say what screen messages appear so if you can provide that detail it will help narrow it down to either the backup/clearing ROM or programming the new ROM stage. Also does it make a backup of the old ROM and to where. Where are you extracting the ROM to or are you attempting to run it from the archive. What type of ROM are you trying to flash is it a Full or migration type? This information with Sprow’s suggested Trace details may well help. |
David R. Lane (77) 766 posts |
Right, here is the report that comes on the screen as the flash program is run. RISC OS 5.24 (16 APR 2018) Loading ROM image now … All ROM tokens found: Patching HAL Nvidia STRAP data: Comparing ROMS Creating restore file for ROM518 Press SPACE or click mouse to continue End of on screen report. It makes a backup of the old ROM as !Restore518 in the root directory. I am running !ROM524, extracted, from the root directory. To be clear, not from the archive. I am flashing the full ROM type. |
Doug Webb (190) 1180 posts |
I take it a back up has successfully been created? Have you added Sprow’s suggested addition to provide further output? It seems to be seeing an unexpected error so I know you said you updated to the latest !Boot /HardDisc image but I’d be inclined to do a complete clean install after making a backup so has to ensure there is nothing in the Boot sequence casuing issues. But lets see the output from the added Trace On command first. |
David R. Lane (77) 766 posts |
I inserted TRACE ON just after line 94 (renumbered as 940) and immediately before line 960, “REM Log that we have startred (sic)”. The on screen report is as in my previous post, but with the extra line “960 970” just before the final line, “Press SPACE or …… to continue” I take it this means that the flash program has not progressed beyond this point. |
Doug Webb (190) 1180 posts |
Well out of interest I would do a clean !Boot install from the 5.24 download after saving the old one and then try again. You have got the correct time and date on the machine as well? |
Sprow (202) 1158 posts |
Most likely, then, is that you have an application called Do or Echo somewhere on your Run$Path which is kicking BASIC out of the application slot. Ordinarily they’re utilities (and hence run in the RMA and leave the application slot alone) or modules commands (same). Or, just comment out the OSCLI after ‘Log that we have startred’; it’s not clear why it’s formulated in such a fruity manner when BASIC has file and string output functionality built in. |
David R. Lane (77) 766 posts |
I commented out the line you suggested and it works. Nixiyo, my Iyonix, is now on OS 5.24. Thanks. I did look at Run$Path, but none of the directories mentioned contained applications called Echo or Do. In fact I have never heard of these words as applications, only as commands. |
Doug Webb (190) 1180 posts |
David Good to hear that you are sorted and update. I guess my more radical surgery option of a clean !Boot would have worked as well. |
David R. Lane (77) 766 posts |
Maybe, but why? What I have I got in my !Boot directory, and you haven’t, that might have messed things up? The response to *show run$path is Run$Path : ADFS::HardDisc4.$.!BOOT.Library.,,%., These filepaths came out on one line originally, but I have broken them up for readability. What is ,%. in the above? |
Doug Webb (190) 1180 posts |
David,
Well the last two items for starters. So a long shot here is that “ADFS::HardDisc4.$.Utilities.!PSUtils.pl.” has some perl scripts in it and look at the start of them and they have @echo off in the script. Also a clean !Boot sets things up again in choices etc and I’ve always found it is a good way of checking you have nothing included or running at start up that is causing issues. I agree that the Flash program should have better error handling but how many people now actively use Iyonix’s and keep them up to date? |
Martin Avison (27) 1494 posts |
Me for one! |
David R. Lane (77) 766 posts |
I didn’t have !PSUtils mentioned anywhere in !Boot, as I have already said, it was a ROOL ‘clean boot’. So why this particular application should be mentioned and not any of the others I have in the Utilities directory is puzzling. Yes, I see the @echo lines in the files in !PSUtils.pl and Echo lines in the two Obey files in !PSUtils.bin . But, one way or another, the ROOL instructions are lacking. One can’t expect the user to go through applications in Utilities or Printing (another directory looked at in the bootup) to check whether Echo and Do lines are in the files. You were just lucky? The simplest solution seems to be to delete or REM out that line in FlashICP. |
David R. Lane (77) 766 posts |
@ Martin |
David R. Lane (77) 766 posts |
@ Doug |
Colin (478) 2433 posts |
This should track down the location of ‘do’ if it’s on run$path |
nemo (145) 2547 posts |
David asked (and tellingly, no one replied)
% means “the library directory”, or LIB – a concept that dates back to the BBC Micro and is now very rarely used. I don’t know why. You can set your library directory (and FS, obvs) with RO4 has the (actually very useful) feature of allowing multiple directories in !Boot.Library – I’ve got 200 files in there (including help files – LibraryHelp is another useful thing). But RO5 has just a single directory. Anyway, I use *Lib when I’m writing Utilities, so I can test them at the command line without having to change the CSD (or “work directory”). Clever eh? |
nemo (145) 2547 posts |
There’s an argument for treating it as Anglo-Saxon rather than Classical, hence Iyonixen. |
nemo (145) 2547 posts |
Colin wrote
The pathname returned is terminated, so let Basic do the work for you, and there’s an unused buffer at &8300 too:
|
nemo (145) 2547 posts |
The thing is, FSControl,37 doesn’t tell the whole story: I wrote And remember that you can precede a module star command by the name of the module – so in the above (completely uncontrived) example you can choose which one of those three implementations to run by typing one of:
As it happens I don’t have an |
Doug Webb (190) 1180 posts |
Martin wrote:
Well though I update and occasionally use my Iyonix it is mainly there so I can test the ROOL builds and on rare occasions raise issues as I have other machines now but it at least gets fired up on a weekly basis. David wrote:
Heh I didn’t know this was a english exam otherwise I would have been more careful :-) On the other points I assummed from your comment:
That you had done an update over the existing using a new ROOL version not a hide and replace and reconfigure. As I also said:
I agree with you a simple user such as I should not have to go hunting around but at least you have resolved the situation and joined the modern world with our updated Iyonixes/Iyonixen/Iyonices. As to updating your RISCPC then the last time I did that was when I updated to 6.20 which has got to be many years ago though I have installed many versions on the freely available emulators since. |
Martin Avison (27) 1494 posts |
I use a program which by Duncan Moore to find locations of commands etc. See http://duncan-moore.netau.net/riscos/index.html |
Steve Pampling (1551) 8170 posts |
And remember that you can precede a module star command by the name of the module – so in the above (completely uncontrived) example you can choose which one of those three implementations to run by typing one of: Which is one thing that Castle (I believe the flash programmer originates there) could have done to make the that line a bit more specific and less error prone. The thing that puzzles me is why the line is there in the first place as it and a similar line near the end1 only put the message into a file in the scrapfile directory and never read it back. 1 A line which David hasn’t noticed giving a similar effect presumably because it is after the work has been done. |
Pages: 1 2