f_ changed the topic of ##raspberrypi-internals to: The inner workings of the Raspberry Pi (Low level VPU/HW) -- for general queries please visit #raspberrypi -- open firmware: https://librerpi.github.io/ -- VC4 VPU Programmers Manual: https://github.com/hermanhermitage/videocoreiv/wiki -- chat logs: https://libera.irclog.whitequark.org/~h~raspberrypi-internals -- bridged to matrix and discord
vardhan has joined ##raspberrypi-internals
Avron has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Avron has joined ##raspberrypi-internals
Stromeko has quit [Quit: Going… gone.]
Stromeko has joined ##raspberrypi-internals
srk has quit [Ping timeout: 260 seconds]
srk has joined ##raspberrypi-internals
Avron has quit [Read error: No route to host]
Avron has joined ##raspberrypi-internals
vardhan has quit [Ping timeout: 248 seconds]
Stromeko has quit [Quit: Going… gone.]
Stromeko has joined ##raspberrypi-internals
<belgin> clever: he already sold it so it doesn't matter now ;)
<clever> ah
<clever> belgin: to explain some stuff i couldnt on wed, the boot rom on the pi0-pi3 family, can boot from the 8 sources listed here
<clever> 1/2/4 are all booting from bootcode.bin on fat32 on SD, just with different SD controllers or modes
<clever> 3 is raw nand flash, i only know of that being used on the roku 2 xs
<clever> 5 is SPI flash mode, the pi4/pi5 also support this, and thats the primary way of booting
<clever> 6 is usb, for the pi0/pi1/pi2/pi4/pi5, it only supports usb-device mode
<clever> for the pi02 and pi3, usb also supports a usb-host mode, where it will run in either MSD mode, or ethernet mode, and then download things via tftp, or bootcode.bin on fat on MSD
<clever> 7 is i2c-slave mode, you just write a 24 byte header, and then the full bootcode.bin over i2c
<clever> pi4 dropped things to just one sd mode, spi flash, and usb-device
<clever> pi5 supports the same, but i cant confirm things 100%
<clever> belgin: that all make sense?
<belgin> yes, thank you very much, clever
<clever> for the official bootcode.bin, it will try to load start.elf from the same device the rom got bootcode.bin from
<clever> but if it was loaded from SD, and the SD is missing all other files, it falls back into usb-host mode
<clever> this allows a pi0/pi1/pi2 to do usb-host (MSD or tftp) boot, despite the rom lacking support
<clever> i lean on that as a crutch when doing open firmware development
<clever> i can just shove a start.elf on tftp, and netboot it on any model
<clever> but i have since added tftp and msd support to the open firmware
<clever> so i can do that entirely down the open path as well now
<belgin> cool!
<clever> the main thing missing from the open firmware now, is
<clever> config files, hdmi output, hw h264 accel, pwm audio, fully working 2d/3d accel
<belgin> i want to try to boot linux on 3b+ again
jn_ is now known as jn