Showing changes from revision #4 to #5:
Added | Removed | Changed
cmdline.txt
is a plain text file used by the Raspberry Pi to pass parameters to the kernel (i.e. the RISC OS ROM) during system boot. The file should be placed in the DOS partition of the boot SD, alongside start.elf and fixup.dat (for more information on these other files, see Software information: Raspberry Pi: Firmware). If it is not present, no parameters are passed.
It should not be confused with config.txt (which is used to supply configuration parameters options to the bootloader).
As stated above, cmdline.txt lived lives in theDOS partition of the SD card. On a standard RISC OS build using a Dual-format SD card, this can be reached by double-clicking on !Boot.Loader (i.e. shift-doubleclick on !Boot and then double-click on the file called “Loader”).
The important thing to remember is that cmdline.txt contains a command line. Only the first line of the file is read, so parameters must be space separated on the first line. For example:
disable_mode_changes disable_gamma
At present, the following parameters are available under RISC OS.
Introduced in July 2018, disable_gamma
prevents use of the hardware gamma tables in BCMVideo. Use this parameter if you experience screen blanking problems while running RISC OS 5.25, 5.27 or 5.29.
This parameter is not needed at 5.24/5.26/5.28, as the hardware gamma tables are disabled by default in stable releases of RISC OS.
Introduced in December 2016, disable_mode_changes
locks the screen pixel resolution to the one chosen at startup. You may want to use this parameter if you are using the “AnyMode” utility to force upscaling of lower-resolution screen modes.
PLEASE NOTE: When using this parameter, you may also need to specify the appropriate hdmi_group
and hdmi_mode
settings in config.txt . See thedocumentation page on the Raspberry Pi website for more on hdmi_mode and hdmi_group.