Changes between Initial Version and Version 1 of catalina/boot


Ignore:
Timestamp:
04/28/2026 12:02:22 AM (7 weeks ago)
Author:
Tim Harvey
Comment:

initial page

Legend:

Unmodified
Added
Removed
Modified
  • catalina/boot

    v1 v1  
     1[[PageOutline]]
     2
     3= Catalina Boot Firmware
     4The 'Boot Firmware' for Catalina is defined as the combination of the firmware stages through up to and including the bootloader. This can be broken down into the following stages:
     5 * Boot ROM (internal on i.MX95 SoC): fetch first level boot firmware from boot device (ie MMC) into OCRAM
     6 * OEI DDR - This runs on the Cortex M33 CPU and configures DRAM
     7 * OEI TCM - This runs on the Cortex M33 CPU and configures Tightly Coupled Memory
     8 * SM - The System Manager runs on the M33 CPU and stays resident as an SCMI Server manfing power control, clocks and pinmux 
     9 * SPL (Secondary Program Loader) - A55 CPU (U-Boot)
     10 * ATF (ARM Trusted Firmware) - A55 CPU
     11 * Bootloader (U-Boot) - A55 CPU
     12
     13Gateworks provides [http://dev.gateworks.com/catalina/boot_firmware/ pre-built Boot Firmware] ready to flash onto boot devices as well as source for building and/or modifying the boot firmware yourself.
     14
     15[=#bootrom]
     16== i.MX95 BOOT ROM
     17The BOOT ROM is firmware baked into the SoC and is in charge of loading code from the 'boot device' into OCRAM (On-Chip RAM), verifying signatures (if using trusted boot) and executing it.
     18
     19The BOOT ROM fetches code from an offset depending on the boot device.
     20
     21[=#firmware-image]
     22== Boot Firmware Image
     23The boot firmware image contains all of the components of the 'Boot Firmware':
     24- OEI DDR
     25- OEI TCM
     26- SM
     27- ARM Trusted Firmware (ATF)
     28- SPL
     29- U-Boot
     30- U-Boot environment
     31
     32
     33== eMMC boot partition
     34For eMMC boot devices, the boot firmware is typically put on the eMMC boot0 hardware partition to keep it separate from the eMMC user partition used for the OS which keeps your boot firmware isolated from your OS (filesystems as well as disk partition table)
     35
     36The U-Boot environment data sits at an offset of 0x3e0000 (4M - 128K) so that it fit within the minimal size of the 4MB boot hardware partitions.
     37
     38
     39[=#u-boot]
     40== U-Boot Bootloader
     41Read more on the dedicated bootloader page here: [wiki:catalina/bootloader Catalina U-Boot Bootloader]