Broadcom as frontrunner?
Broadcom as frontrunner?
Posted Mar 2, 2014 22:04 UTC (Sun) by excors (subscriber, #95769)In reply to: Broadcom as frontrunner? by alison
Parent article: Broadcom releases SoC graphics driver source
On Raspberry Pi, the VPU starts executing code from ROM when powered on. That code tells it to load bootcode.bin (which is about 16KB) from the SD card into the L2 cache and the VPU jumps into it. bootcode.bin sets up the SDRAM and clocks, then loads start.elf (about 2.5MB) from the SD card into SDRAM and the VPU jumps into it. start.elf loads kernel.img from the SD card and turns on the ARM, which will then boot the Linux kernel. start.elf also implements the various services that the ARM can call over an RPC mechanism (including the service for OpenGL ES).
The ROM code and bootcode.bin don't have any kind of operating system at all. start.elf uses ThreadX.
Since you can't change the ROM, you're always going to need some software on the VPU to start the ARM. But with the code and documentation released now, you don't need to use the OpenGL service provided by start.elf - instead the ARM can talk to the 3D hardware directly (or at least that's the goal; it's going to take some non-trivial porting of the released code). If you don't need any of the VPU's other services, then in theory you could get away with a very minimal start.elf.
