💾 Archived View for lofi.haiku-os.org › docs › develop › kernel › arch › arm › rpi4.gmi captured on 2024-03-21 at 15:26:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-28)

-=-=-=-=-=-=-

Raspberry Pi 4

http://raspberrypi.org

Hardware Information

Setting up the Haiku SD card

The Raspberry Pi SD card generally uses the MBR file system layout below. Partition 1 is all that is required to boot an OS.

Boot Partition

Required Files

Note: unlike previous Raspberry Pi models, there’s no bootcode.bin on the Raspberry Pi 4 as it’s replaced by a boot EEPROM.

Optional Files

Compiling Haiku and preparing SD card

Booting

1. SOC starts the boot EEPROM

2. Boot EEPROM runs start4.elf

3. start4.elf reads config.txt and start u-boot

4. u-boot.bin starts the Haiku loader

5. Haiku loader boots Haiku kernel

config.txt Options

uart_2ndstage=1
enable_uart=1
kernel=u-boot.bin

Additional Information

Latest Raspberry Pi

firmware

config.txt options