09 Feb, 2020

1 commit


07 Jan, 2020

1 commit

  • The DDR firmware binaries are not part of the U-Boot source code, so
    we should look for them in the build directory, where they need to be
    copied to before building U-Boot.

    The ATF binary is already fetched from the build directory, but the
    README files for the i.MX8M EVKs claim that it needs to be copied to
    the source directory (which is still true for in-tree builds, but not
    in general). Therefore we also fix the READMEs to use the build
    directory as the correct location for all additional binary files.

    Sined-off-by: Frieder Schrempf

    Frieder Schrempf
     

05 Nov, 2019

1 commit


08 Oct, 2019

1 commit

  • The loader for the DDR firmware in drivers/ddr/imx/imx8m/helper.c uses a
    4-byte-aligned address to load the firmware. In cases where OF is
    enabled in SPL the dtb will be appended to the SPL binary and can result
    in a binary that is not aligned correctly. If OF is not enabled in SPL,
    `_end` is already aligned correctly, but this patch does not hurt.

    To ensure the correct alignment we use dd to create a temporary file
    u-boot-spl-pad.bin with the correct padding.

    Reviewed-by: Frieder Schrempf
    Tested-by: Frieder Schrempf
    Signed-off-by: Peng Fan

    Peng Fan
     

01 Apr, 2019

1 commit

  • Use a single '=' to test string equality for compatibility with non-bash
    shells. Otherwise, if /bin/sh is dash, build fails:

    ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator
    ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator
    ./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator
    ./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator
    WARNING './spl/u-boot-spl-ddr.bin' not found, resulting binary is not-functional

    Signed-off-by: Baruch Siach
    Tested-by: Chris Spencer

    Baruch Siach
     

01 Jan, 2019

1 commit

  • Build flash.bin for i.MX8MQ, it will include signed hdmi firmware,
    spl, ddr firmware, fit image(bl31.bin, u-boot-nodtb.bin, dtb).
    Burn it to 33KB offset of SD card.

    Signed-off-by: Peng Fan

    Peng Fan