29 Oct, 2019

1 commit


24 Jan, 2019

2 commits

  • Bootrom is not capable to work with non aligned bootloader sizes.
    SPL with OF_SEPARATE generates non-align images quite often that's
    why this change is required before OF_SEPARATE enableding.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • The FSBL copies "Total Partition Word Length" * 4 bytes from the boot.bin,
    which implies that the partition size is 4 byte aligned. When writing the
    partition, mkimage calculates "Total Partition Word Length" by dividing
    the size by 4. This implicitly cuts unaligned bytes at the end of the
    added binary.

    Instead of rounding down, the size must be round up to 4 bytes and the
    binary padded accordingly.

    Signed-off-by: Michael Tretter
    Reviewed-by: Alexander Graf
    Signed-off-by: Michal Simek

    Michael Tretter
     

11 May, 2018

1 commit

  • The officially described way to generate boot.bin files for ZynqMP is to
    describe the contents of the target binary using a file of the "bif"
    format. This file then links to other files that all get packed into a
    bootable image.

    This patch adds support to read such a .bif file and generate a respective
    ZynqMP boot.bin file that can include the normal image and pmu files, but
    also supports image partitions now. This makes it a handy replacement for
    the proprietary "bootgen" utility that is currently used to generate
    boot.bin files with FSBL.

    Signed-off-by: Alexander Graf
    Signed-off-by: Michal Simek

    Alexander Graf