Boot Not Run with V5.19 on a BB
Pages: 1 2
David R. Lane (77) 766 posts |
My BeagleBoard (not BB-xM) has consitently had this problem of ‘Boot not run’ at powering up since using versions of ROM and HardDisc image from, roughly, August. Some observations |
Steve Pampling (1551) 8170 posts |
You might find it useful to run the utility here: and also for more detail on elements of the boot Martin Avisons “Reporter” The first pretty well ensures a working desktop and configure (the latter doesn’t seem to happen for you on cold boot) the latter gives details of all the items that ran before you finished booting. At the moment you don’t have a lot of diagnostic information so some means of collecting the info is required. |
David R. Lane (77) 766 posts |
I already have Reporter, but what use is that if the !Boot is not read? As far as I can see, the same applies to Harinezumi. I did try Harinezumi, but, of course, no BootLog file was to be found in !Boot. I did notice the light on the USB stick flash during the power on sequence. Is the problem to do with the name of the USB stick? Why is it that I can’t get a name for the stick on the iconbar icon? I remember that with some previous versions of the ROM and Harddisc image I had a name for the USB stick below the iconbar icon, not just :0 . Is anyone actually testing or using the latest BB ROM and HardDisc image on a BeagleBoard, even an -xM one? |
David R. Lane (77) 766 posts |
I have just done a Restart (i.e., using the restart button after shutdown and guess what, BB starts reading the !Boot (I said it did after a Restart) and immediately after the 3 lines |
Chris Johnson (125) 825 posts |
I am using the 11 Oct ROM build on the ARMini (BB -xm) without problem, but !Boot hasn’t been checked/updated since early Sept. |
Doug Webb (190) 1180 posts |
Dave I have regularly updated ROM/HardDisc images as per previous dicussions we have had. I can also confirm that I have today updated to the 14th Oct ROM and had no issues with rebooting or the Boot sequence running. I previously had the 11th Oct HardDisc and 12th ROM OK. I can’t remember if you said you had updated the contents of your PreDesk with the ones from the !Boot.510Hooks? Be careful not to copy over the SetNetUp file and Configure Directory or if not already done so try a clean !Boot and setup. It does seem that either it is something to do with your BB Non -Xm set up that the latter ROMs/!Boot do not like or perhaps USB stick/hardware/power issue? |
Rick Murray (539) 13840 posts |
First question: Is “harikick” present in !Boot.Utils? Try putting a space between the slash and the filename, see if that makes it work, as the error (if typed correctly) looks like RISC OS is interpreting the “/” as part of the filename!? The !Boot I use with RPCEmu/RO5 is as follows:
Does yours look the same as this? You can force it, you know. Start up, and wait for it to bomb out with the thing about harikick not being found. You should end up at the command line and not the desktop (one hopes!). If so, then simply type: If it fails, enter: |
Steve Pampling (1551) 8170 posts |
The first message I get if I deliberately rename harikick is: so the first item of note is the “/SCSI” rather than “SCSI” check the Run file actually reads1 : RMEnsure UtilityModule 3.10 Error This !Boot structure is only suitable for RISC OS 3.10 or later Set Boot$Dir <Obey$Dir> /<Boot$Dir>.Utils.BootVars If not modify the last line to match the one above and try again. If it does match then insert echo <Boot$Dir> on a line after after the sharedCLibrary line – I’m curious about the content of the <Boot$Dir> variable, insert it again on a line after the /<Boot$Dir>.Utils.BootVars line for good measure. Reboot and check what is echoed. As a total crowbar item you could edit the last line to: Obviously the important item is get the file to run and it seems that on a cold boot the boot variables may not be correct. Needless to say the start of harinenzumi may be suffering the same problem as your cold boot desktop 1 Assuming textile doesn’t mangle things… |
Steve Pampling (1551) 8170 posts |
On my systems that gives a different error number
That I think is the point of interest. |
Steve Pampling (1551) 8170 posts |
obey -c <boot$dir>.utils.harikick actually. The Run version doesn’t work. AND by mistyping the <boot$dir>. as /<boot$dir>. I can reproduce the exact error David quotes. The question is what is setting that extra / in the calling line? is it in the variable or is it a mistype by David? Time to go, call from work – we lost power in one building and the phones and network are down. |
David R. Lane (77) 766 posts |
@Doug Webb
I have not manually copied these files, but the ones in RO510Hook have been copied into Choices.Boot.PreDesk and Choices.Boot.Tasks , respectively. This would have been done automatically during a successful boot up (i.e., after a Restart). @Rick Murray
Yes, to first question. As to the forward slash, I was only folowing the instructions in the help file. So these instructions are wrong? It looked odd to me. I’ll try your new suggestion, but I don’t see how harinezumi can help if !boot is not being read. |
Steve Pampling (1551) 8170 posts |
<minor problem sorted – we have power on the data, colleague is checking the phone supply.> Harinezumi replaces the normal repeat sequence and continues with the next item in the list even if a failure has occured. I would clean out the Choices entries you copied down the tree, taking it back to a clean boot, and then run the harinezumi utility. Then look in the location given by the help file for a file called “bootlog” If you’re using the 0.3 revision then you can specify the location of the log file with a -l $.bootlog after harinezumi in the harikick file: echo “Running HariKick…” <Obey$Dir>.harinezumi -l SCSI::$.Bootlog |
David R. Lane (77) 766 posts |
@Rick Murray
Powering up from cold as usual it didn’t read !Boot and so no BootLog. On doing a Restart, I got an error as before but with the line Does anyone know what data, e.g, configuration data or settings, is lost after power off, but is retained through a Restart (so power maintained)? |
Andrew Daniel (376) 76 posts |
David, could you try changing ‘/’ to ‘Run’. A long shot I know. I’m sure I’ve come across strange errors like this when tinkering with !Boot in earlier OS versions. The error you are seeing shows !Boot is being read. But is failing for some obscure reason. |
Steve Pampling (1551) 8170 posts |
Or even:
Which you will note is what I have in my “Run” file. |
David R. Lane (77) 766 posts |
@Andrew Daniel
There is no evidence to me that Boot is being read when BB is powered up from Cold. Although I don’t get the error message saying something like “!Boot has not been run …”, when I click select on the USB stick I then get such a message. Read my post agsin. Yes, it reads boot if I do a Restart, so not from cold. |
Andrew Daniel (376) 76 posts |
Hmmm very puzzling David. What happens if there is no !Boot present? I wonder if it some kind of timing issue? |
Rick Murray (539) 13840 posts |
Eh? Then in this case I feel there are some sort of inconsistences with RISC OS. The boot !Run file I quoted above ( here ), calls “harikick” with “/” – and on RPCEmu it works [just tried to be sure, but since I used that for developing, I knew it would anyway…] No error in transciption, I just cut’n’pasted it from the HostFS folder. So it works on the emulator but not hardware? Surely the behaviour of a Run action on an Obey file is to “obey” it? Err… it did come out your end typed as an Obey file, didn’t it? |
Steve Pampling (1551) 8170 posts |
Hmmm, guess where the majority of my tests of Davids version were done yesterday – RPCEmu. |
Bryan Hogan (339) 592 posts |
I think all this talk of Obey vs / and of adding logging to the boot are missing Dave’s real problem – it is not even trying to run !Boot when first switched on. This suggest to me some sort of timing issue. Maybe the USB stick is too slow to initialise so RISC OS doesn’t even see it as an available boot device? On a restart, the stick is already up and running so it boots normally. We will test this at ROUGOL tonight, using Dave’s USB stick on my BB-xM, and my USB stick on Dave’s BB. Hopefully that will narrow down the problem a bit more. (Plug – Exciting talk at ROUGOL tonight, hear how RISC OS was created from the man who led the development team!) |
Jeffrey Lee (213) 6048 posts |
This is a bit of an odd issue to run into, because even if the USB stick isn’t ready on startup the machine should sit and wait until it is ready. So either RISC OS is deciding not to run the boot sequence (e.g. it thinks shift was held down) or it starts to run it but fails almost immediately (perhaps due to the stick being detected but being not quite ready for action). When I get a chance I’ll try putting together a ROM image which will be able to log what’s happening. |
Rick Murray (539) 13840 posts |
I’ll do this for the next version; however it is worth asking if “harikick” fails due to being untyped, wouldn’t the application itself suffer likewise? |
Steve Pampling (1551) 8170 posts |
Just tested on RPCEmu (which I suspect you have too,now) and the answer is yes filetyping the application as data breaks things (as expected). Perhaps the install should be a self extract to put properly filetyped obey and application files into !Boot.Utils and echo the help instruction to alter the “Run” appropriately. However, the idea was to add this as a facility in the standard ROM/Boot so that people had a decent diagnostic no matter what happens. |
David R. Lane (77) 766 posts |
@ Bryan
This test on Bryan’s BB-xM using my USB stick stuck directly into the BB-xM and with his micro SD card resulted in a successful boot to Desktop. @Jeffrey Lee
This would be very welcome, just what’s needed. I don’t think we have ever had the ability to log what happens before !Boot is read on any RISC OS computer? |
Rick Murray (539) 13840 posts |
By necessity, RISC OS probes the keyboard at start-up (CMOS clear, etc). |
Pages: 1 2