[Buildroot] [PATCH v5 3/3] uboot: zynqmp: allow to use custom psu_init files

Joel Carlson joelsoncarl at gmail.com
Thu Jul 26 20:12:10 UTC 2018


Luca,

On Wed, Jul 25, 2018 at 8:35 AM, Luca Ceresoli <luca at lucaceresoli.net> wrote:
> U-Boot SPL configures pinmuxes, clocks and other low-level devices. On
> the Xilinx ZynqMP SoCs the code to do this resides in a file called
> psu_init_gpl.c which is initially generated by the Xilinx development
> tools. Add an option to pass these files from the outside (e.g. in the
> board files).
>
> For this to work properly, a patch to U-Boot is needed. However this
> patch must be applied by each defconfig using
> BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_DIR. If it were in boot/uboot/ to be
> applied unconditionally, it would break the build for configs using a
> U-Boot version where the patch is already applied.
>
> Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
> Cc: Joel Carlson <joelsoncarl at gmail.com>

Reviewed-by: Joel Carlson <JoelsonCarl at gmail.com>
Tested-by: Joel Carlson <JoelsonCarl at gmail.com>

My testing: I have a buildroot branch off of 2018.05.1.  I removed v4
of these patches, applied v5 here, then did a clean build and made
sure my zynqmp dev board still boots.
My U-Boot version is a branch off of 2018.07 with the upstream patch
cherry-picked in, so I did not use the patch supplied with this
change.


More information about the buildroot mailing list