Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Simon Glass's avatar
    10b84fe1
    rockchip: Add support for the SPI image · 10b84fe1
    Simon Glass authored
    
    The Rockchip boot ROM requires a particular file format for booting from SPI.
    It consists of a 512-byte header encoded with RC4, some padding and then up
    to 32KB of executable code in 2KB blocks, separated by 2KB empty blocks.
    
    Add support to mkimage so that an SPL image (u-boot-spl-dtb.bin) can be
    converted to this format. This allows booting from SPI flash on supported
    machines.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    10b84fe1
    History
    rockchip: Add support for the SPI image
    Simon Glass authored
    
    The Rockchip boot ROM requires a particular file format for booting from SPI.
    It consists of a 512-byte header encoded with RC4, some padding and then up
    to 32KB of executable code in 2KB blocks, separated by 2KB empty blocks.
    
    Add support to mkimage so that an SPL image (u-boot-spl-dtb.bin) can be
    converted to this format. This allows booting from SPI flash on supported
    machines.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>