-3

I would like to completely erase the EEPROM and then shutdown the RaspBerry Pi 4 that I bought. When you then insert a USB-stick with your own bootloader, it should search for it and automatically install the bootloader you have either compiled or downloaded, so you can run your own operating system.

I am a qualified Computer Science engineer and I need a simple workstation to build my own operating system, but the Raspberry Pi doesn't allow me to program or install anything of my own. This is a problem.

Has anyone been able to install a different OS? The processor is a RISC processor and the basic instruction set hasn't changed, it has only been expanded, so if you make use of the basic instruction set it will still work.

2 Answers2

2

You don't need to do anything with the EEPROM nor any bootloader. The entire OS is stored on your boot device eg micro sd card or SSD

Download PiImager and select 'CHOOSE OS' to see a selection of other OS's.

https://www.raspberrypi.com/software/

CoderMike
  • 7,102
  • 1
  • 11
  • 16
1

As per other comments, you don't need to worry about the bootloader if what you want to do is code an OS or whatever bare metal based thing; lots of people do this. The OS is loaded from a file on the boot partition, which is configurable and can be anything you like. Conventionally, this is the linux kernel which then does its own thing loading the userland etc.

https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel

Probably reading some of the actual documentation is a good idea WRT planning your project.

goldilocks
  • 60,325
  • 17
  • 117
  • 234