[Buildroot] [PATCH 1/5] board/freescale/common/imx: make imx8-bootloader-prepare more generic
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Jul 19 07:45:27 UTC 2018
Hello,
On Thu, 19 Jul 2018 09:32:49 +0200, Gary Bisson wrote:
> Allow user to override the hardcoded dtb name by using
> BR2_ROOTFS_POST_SCRIPT_ARGS.
>
> Signed-off-by: Gary Bisson <gary.bisson at boundarydevices.com>
> ---
> .../freescale/common/imx/imx8-bootloader-prepare.sh | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh
> index 2648147ab0..ce2c3405a0 100755
> --- a/board/freescale/common/imx/imx8-bootloader-prepare.sh
> +++ b/board/freescale/common/imx/imx8-bootloader-prepare.sh
> @@ -2,9 +2,17 @@
>
> main ()
> {
> - # Currently we support imx8mqevk.
> + if [ $# -le 1 ]; then
> + UBOOT_DTB=${BINARIES_DIR}/fsl-imx8mq-evk.dtb
I don't think it's worth keeping some kind of "backward compatibility"
here. Just change configs/freescale_imx8mqevk_defconfig to pass the DTB
name as argument.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list