This page details the process for upgrading an already-working RISC OS installation on a Raspberry Pi to RISC OS 5.31.1
Please note: RISC OS 5.31 is a development release that contains untested, work-in-progress software. Some components may be unfinished and/or contain serious bugs: that is what development is about! You should only use RISC OS 5.31 if you are willing to accept the risks involved and have a suitable backup strategy in place.
Having said that, many development builds of RISC OS do work well. It may simply be a matter of trying a few different nightly builds until you find one that meets your needs.
1 If you wish to upgrade to the latest stable release (5.30) please see RISC OS Upgrade instead.
The process described on this page will only work if you are running RISC OS 5.28, 5.29 or 5.30. If you are running an older release of RISC OS, you must upgrade to the latest stable release of RISC OS first.
You will need to download the following software:
If you are upgrading from 5.28 or 5.29, you will also need:
A certain level of RISC OS knowledge is assumed, including how to use the command line, how to use the !Configure application and how to edit text files.
2 “Boot Merge” saves all replaced files in the !Boot.Backup directory – this will allow you to retrieve any changes you may have made to !Boot components (e.g. amendments to a built-in monitor definition file) if they have been overwritten.
We recommend you continue using your updated !Boot for a week or so, to flush out any lurking problems before you upgrade the ROM. This gives you time to grab a selection of Beta ROM images of different dates3 – just in case a serious bug was accidentally introduced in a nightly build. You should also check the Bugs and Community Support forums to see if there are any problems with recent nightly builds.
3 The build date is mentioned immediately below the download link itself. Although listed as nightly builds, the average build frequency is closer to “once every 3-4 days”.
CMDLINE/TXT
inside !Boot.Loader (if it doesn’t already exist, create it) so that the text disable_gamma
appears on the first line of the file.disable_mode_changes disable_gamma
CONFIG/TXT
(inside !Boot.Loader) contains – at minimum – the following lines:fake_vsync_isr=1
framebuffer_swap=0
gpu_mem=64
init_emmc_clock=100000000
ramfsfile=CMOS
ramfsaddr=0x508000
kernel=RISCOS.IMG
CONFIG/TXT
:[pi4]
enable_gic=1
[all]
arm_64bit=0
*Unplug
command. This should report “No modules are unplugged”. If it does list any unplugged modules, enter *RMInsert
commands for each unplugged module.*RMInsert GPIO
*SaveCMOS !Boot.Loader.CMOS
4 Yes, even BootFX. After you have booted into RISC OS 5.31 you can once more RMKill BootFX, but it *must be active on first boot.
5 If you have upgraded from RISC OS 5.29 or earlier, none of your old “saved CMOS” files will work at RISC OS 5.31, so you will need a fresh backup anyway.
ramfsfile=CMOS
ramfsaddr=0x508000
*SaveCMOS !Boot.Loader.CMOS
*Unplug
and issue *RMReinit
commands for each of the modules on the list (e.g. you would use *RMReinit GPIO
to reinstate the GPIO module).*Unplug
to check status). If any modules are unplugged, use *RMReinit
to reinstate them (e.g. you would use *RMReinit GPIO
to reinstate the GPIO module).