• L
    riscv: add a generic FIT generator script · 89fe196c
    Lukas Auer 提交于
    Add a generic FIT generator script for RISC-V to generate images
    containing U-Boot, OpenSBI FW_DYNAMIC firmware, and optionally one or
    more device trees. The location of the OpenSBI firmware binary can be
    specified with the OPENSBI environment variable. By default, it is
    assumed to be "fw_dynamic.bin", located in the U-Boot top-level. Device
    trees are passed as arguments to the generator script. A separate
    configuration entry is created for each device tree.
    
    The load addresses of U-Boot and OpenSBI are parsed from the U-Boot
    configuration. They can be overwritten with the UBOOT_LOAD_ADDR and
    OPENSBI_LOAD_ADDR environment variables.
    
    The script is based on the i.MX (arch/arm/mach-imx/mkimage_fit_atf.sh)
    and Allwinner sunxi (board/sunxi/mksunxi_fit_atf.sh) FIT generator
    scripts.
    Signed-off-by: NLukas Auer <lukas.auer@aisec.fraunhofer.de>
    Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
    Tested-by: NBin Meng <bmeng.cn@gmail.com>
    Reviewed-by: NAnup Patel <anup.patel@wdc.com>
    89fe196c
mkimage_fit_opensbi.sh 2.0 KB