Skip to content
  • Alexander Pockes's avatar
    cgtqmx6eval: add falcon mode implementation · 16278856
    Alexander Pockes authored and Michael Schanz's avatar Michael Schanz committed
    Based on the results of Alexander Schuller's Bachelor Thesis (i.mx6 quickboot)
    
    Overview
    --------
    A standard u-boot build consists of two image files: uboot.img and SPL.
    The bootrom is loading the SPL image which performs some basic/initial
    configuraion tasks. Afterwards, SPL loads the uboot.img which loads device-tree
    and kernel image files.
    Falcon mode means, enabling SPL to load/execute the kernel image directly.
    This accelerates boot time but requires special u-boot configuration as well as
    special (u)SD-card/EMMC setup.
    
    congatec's falcon mode implementation enables SPL to...
    -> load the kernel image directly from an arbitrary MMC device (uSD, SD, EMMC)
    -> select the boot target (uboot.img/kernel) dependent on GPIO-level or
       environment-settings
    -> load uboot.img stored at arbitrary MMC device by definition of
       <CONFIG_CGT_FALCON_MODE> and undefining <CONFIG_CGT_FALCON_MODE_OS_BOOT>.
       Please note, the environment has to be stored at SPI-flash.
    
    Notes
    ...
    16278856