RISC OS Direct 5.31 upgrade with Wifi and Web Browser
Stuart Painting (5389) 714 posts |
Hmmm. I’ve just noticed that the Pi 4 EEPROM release notes contain the following entry for the 2024-05-17 EEPROM release: Add recovery_reboot option to config.txt for rpiboot which causes the system to reboot after updating the bootloader. Could it be a simple matter of adding the appropriate “recovery_reboot” line to config.txt? Sadly I’ve not been able to find any documentation for this option… |
Chris Gransden (337) 1207 posts |
Removing the firmware update files before booting into RISC OS on a RPi 4B worked OK. Potentially more interesting firmware update. Introduce a new boot-menu feature where pressing SPACE at power on gives the user a one-shot option to select a different boot mode. e.g. Select USB boot if the default SD card is corrupted or unavailable. |
Matthew Phillips (473) 721 posts |
The Amstrad CPC’s Locomotive BASIC allowed you to type commands and functions in lower case or mixed case, but tokenised them. When you listed the programme they were then all shown in CAPITALS. It was very convenient. |
David J. Ruck (33) 1635 posts |
Back when BASIC was invented, as with FORTRAN, there was only UPPER CASE. |
Rick Murray (539) 13840 posts |
YES, BACK IN THE DAYS WHEN ALL CODE WAS WRITTEN IN SHOUT. ;) The reason we have so many bugs these days is because we don’t shout at the machine any more. It isn’t scared of us. Additionally, since most modern devices are little black blobs that “do magic”, there are precious few people capable of wielding a test probe in a threatening manner. |
Steffen Huber (91) 1953 posts |
I don’t keep a list of BASIC variants’ idiosyncrasies, but I know that Locomotive BASIC and Mallard BASIC on Amstrad/Schneider CPC and PCW/Joyce did the sensible thing: they were case-insensitive on input and uppercased on output (i.e. LIST), which made detection of typos in commands very very easy. Everyone I ever spoke with from the 16bit brigade was shocked when faced with the BBC BASIC “uppercase only or else Syntax Error” behaviour (especially the Atari ST guys used to GFA Basic which was really many miles ahead of BBC BASIC). Was there ever a proper BASIC editor on RISC OS that fixed that problem? |
Alan Adams (2486) 1149 posts |
I like BASIC the way it is. By typing everything except keywords in lowercase, I avoid accidentally including a keyword in a variable name – which would get messy. |
Steve Pampling (1551) 8170 posts |
Speak for yourself. :) |
Stuart Painting (5389) 714 posts |
All of these “failure to boot” incidents have been with a Pi4B rev 1.5, right? It may simply be that the EEPROM upgrade supplied with RISC OS Direct v2 (January 2021) is too old for the Pi4B rev 1.5 (December 2021) and the attempt to run recovery.bin fails as a result. Of course, installing a January 2021 EEPROM may not be a good idea on other Pi 4 units, so it’s best to get rid of the files (pieeprom.upd, recovery.bin etc.) anyway. |
Steffen Huber (91) 1953 posts |
I had only cursory experience of RISC OS Direct with the (now severely outdated) RPCEmu bundle, so I decided to try it now as a basis for updating my various Pis (which are mostly on 5.24). My experience so far putting the v2 onto a microSD card and then applying the v3 update. One RPi 4 (1 GiB of RAM) and one RPi 400. There are no contact details I have found on either the “Direct” download page or the accompanying ReadMes, so I just put my feedback here.
I am a seasoned RISC OS user, so overcoming these things (and even understanding the history of all these niggles) is easy for me. If I was someone curious about RISC OS with no previous experience, i would have probably just given up. Too many rough edges. Not a user-friendly experience at all (it is much better than “naked RISC OS” of course, but much worse than “any old Linux distrib you can get for your RPi”). |
Fred Graute (114) 645 posts |
StrongED’s comes with an add-on (KeywordFix) that converts BASIC keywords to uppercase. By default this is tied to the Return key so after Return is pressed all keywords on the line will be changed to uppercase. Written out of frustration of having to stop coding and having to go back to fix small typos such as ‘THEn’. Often not spotted until running the program.
I don’t know which version of StrongED is on v2 but the v3 update comes with 4.70a15 which is a test version that I do not consider suitable for a general release. Also the instructions say to select everything in the update and drop it over the v2 install which is definitely not the way to update StrongED due to its complex internal structure (which is likely to change over time). |
Chris Hughes (2123) 336 posts |
@ Steffen |
Steffen Huber (91) 1953 posts |
The main webpage does not work – do you think email will work? Anyway, this was not my point.
It does, in the fine print, with the annotation “but some 16GB cards may suffice”, which I dispute with the experience of “0 of 6”. Using a 32 GB card means that 24 GB will be wasted instead of 8 GB. Not that it makes any difference, since microSD cards got so cheap that it does not really matter if you buy one new. But if all you have currently at hand is an empty 8 or 16 GB card, you will be p*ssed off to find out that the reason these didn’t work was just because of the carelessness of the producer of the image.
This might be true, but misses my point. I complain about user unfriendliness. Nobody outside of deeply knowledgeable RISC OS users will understand the error message, and it sounds really frightening. And if you want to provide an out-of-the-box experience, you need to configure the box correctly. While we are at it, the RO Direct history page also has interesting “More info…” links. To the same page. The phrase "Versions of RISC OS with an even number are considered “long term suport” builds." disagrees with ROOL’s definition here I fear that my day-job as the QA guy for mission-critical software might be colouring my view on what kind of quality I should be presented with. |
Chris Hall (132) 3554 posts |
it turns out that the Filecore partition is only (slightly less than) 8 GiB of size, which makes it even worse to choose an image size slightly too large for 16 GB cards I wrote an image designed for a 16GB SD card to a 32GB SD card and then tinkered with it to get it right. I then saved it back as an image but of course I got back something just over 30GB. I therefore truncated it back to the original image size. The simple solution here is to use BBC BASIC for Windows to reduce the image size here it is reduced to 14.something GB:
|
Doug Webb (190) 1180 posts |
Well thats fixed for you now as its up this morning.
Like missing the obvious that the site was down due to a fault the owner was not aware of or perhaps moving servers? :-) |
Martin Avison (27) 1494 posts |
Steffen’s whole point is that the whole thing is not a simple ‘load and go’ solution for new users.
And writing that in BBC BASIC for Windows is probably not simple even for most people here! |
David J. Ruck (33) 1635 posts |
Incidentally on Linux you can do it with one line in a terminal truncate -s <size in bytes> <filename> |
David Pitt (9872) 363 posts |
Direct v2 is now on an 8GB card after doing this on the Mac truncate -s 7G test.img GParted shows the filecore partition to be 6.94GiB and there is still 287GiB of unallocated space to verify that too much has not been chopped off. (The exact end of the partition can be found with |
Chris Gransden (337) 1207 posts |
Another potential problem with the download. The zip file format (deflate64) used to compress the image isn’t compatible with RPi Imager so needs to be decompressed first. Using xz to compress the image saves a bit of space and can be written with RPi Imager directly. 1289650573 Nov 1 13:31 RISCOS_DIRECT_528_Jan_21_a.zip |
Steffen Huber (91) 1953 posts |
That is useful, thanks for the info. My times as a BASIC programmer are long gone (and I will avoid telling you that I was a Zap user back then…), but nice to know that there is now a solution.
It also does not mention the “copy” options – Force? Newer? Defaults (whatever they are) may work? I really like some of the things that accompany the upgrade, like the info screens and the options to set helpful tweaks for your machine like a key for the middle mouse button and a “move F12 to F10 because the RPi 400 designers were braindead”, but there are also many niggles in the upgrade process. |
Sprow (202) 1158 posts |
It sounds a bit weird for a currently maintained application to be being built for a memory access style which requires poking around in the ARM control registers to reverse the default (safer/stricter) OS setting. For something as complex as a web browser I think I’d want to cling on to any memory protection I could. Why not just compile the code with the appropriate compiler switch? When I hear justifications “because Thumb2” that doesn’t stack up for my reading of the ARM ARM – Thumb2 instructions must be halfword aligned, so no problem there as that’s also legal to do with alignment exceptions dialled up to the max (just as you can use LDRH/STRH, Thumb2 fetches are similar). Curious… |
Koen (10031) 9 posts |
Having had a poke around with the 5.31 direct features, the following feedback: Thanks for the update. Will be playing around some more when there’s time. |
Cameron Cawley (3514) 157 posts |
It’s likely that WebKit is assuming that ARMv7 and later always has unaligned memory accesses available – IIRC that’s true on most other armhf and aarch64 platforms I’ve encountered (and on x86), and some programs and libraries have specific optimisations when unaligned access is known to be available, so it’s quite possible that ARMv7 with alignment exceptions enabled is something that the upstream WebKit developers haven’t been interested in supporting for ARM-specific code. |
RISC OS Developments (9008) 38 posts |
Thankyou to all for constructive feedback. As someone has said, info@riscosdev.com is the address for feedback. This will be updated ASAP. We will endeavour to action as many items of feedback as possible – the complete disc image is a priority, but we simply ran out of time prior to the London show. |
Koen (10031) 9 posts |
After some more playing around, I believe the errors from Iris were from the poor wifi connection (too far from the hotspot and too many walls and alluminium in between). |