From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next v3 5/6] board/freescale/common/imx: Add support for i.MX8X
Date: Sat, 23 Feb 2019 16:36:33 +0100 [thread overview]
Message-ID: <20190223163633.20d2daab@windsurf.home> (raw)
In-Reply-To: <20190218204807.16815-6-nerv@dawncrow.de>
Hello,
On Mon, 18 Feb 2019 21:48:06 +0100
Andr? Hentschel <nerv@dawncrow.de> wrote:
> From: Andr? Hentschel <andre.hentschel@zf.com>
>
> Signed-off-by: Andr? Hentschel <andre.hentschel@zf.com>
A more verbose commit log would have been nice, but I've applied to
next anyway.
> - cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
> - BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
> - ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb
> - rm -f ${BINARIES_DIR}/u-boot.its
>
> - ${HOST_DIR}/bin/mkimage_imx8 -fit -signed_hdmi ${BINARIES_DIR}/signed_hdmi_imx8m.bin -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
> + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
> + cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
> + BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
> + ${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb
> + rm -f ${BINARIES_DIR}/u-boot.its
> +
> + ${HOST_DIR}/bin/mkimage_imx8 -fit -signed_hdmi ${BINARIES_DIR}/signed_hdmi_imx8m.bin -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x7E1000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
> + else
> + ${HOST_DIR}/bin/mkimage_imx8 -commit > ${BINARIES_DIR}/mkimg.commit
> + cat ${BINARIES_DIR}/u-boot.bin ${BINARIES_DIR}/mkimg.commit > ${BINARIES_DIR}/u-boot-hash.bin
> + cp ${BINARIES_DIR}/bl31.bin ${BINARIES_DIR}/u-boot-atf.bin
> + dd if=${BINARIES_DIR}/u-boot-hash.bin of=${BINARIES_DIR}/u-boot-atf.bin bs=1K seek=128
> +
> + ${HOST_DIR}/bin/mkimage_imx8 -soc QX -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qx-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
> + fi
This is getting really atrocious. I'm wondering if we should find a way
to move this to some Buildroot package.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-02-23 15:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 20:48 [Buildroot] [PATCH/next v3 0/6] Adding support for i.MX8QXP MEK board André Hentschel
2019-02-18 20:48 ` [Buildroot] [PATCH/next v3 1/6] package/freescale-imx: Add support for i.MX8X André Hentschel
2019-02-23 15:34 ` Thomas Petazzoni
2019-02-18 20:48 ` [Buildroot] [PATCH/next v3 2/6] package/freescale-imx: Add imx-sc-firmware package André Hentschel
2019-02-23 15:35 ` Thomas Petazzoni
2019-02-18 20:48 ` [Buildroot] [PATCH/next v3 3/6] package/imx-mkimage: Bump to rel_imx_4.14.78_1.0.0_ga André Hentschel
2019-02-23 15:35 ` Thomas Petazzoni
2019-02-18 20:48 ` [Buildroot] [PATCH/next v3 4/6] package/imx-mkimage: Add support for both other SOC families (i.MX8 and i.MX8X) André Hentschel
2019-02-23 15:35 ` Thomas Petazzoni
2019-02-18 20:48 ` [Buildroot] [PATCH/next v3 5/6] board/freescale/common/imx: Add support for i.MX8X André Hentschel
2019-02-23 15:36 ` Thomas Petazzoni [this message]
2019-02-18 20:48 ` [Buildroot] [PATCH/next v3 6/6] configs/freescale_imx8qxpmek: New defconfig André Hentschel
2019-02-23 15:36 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190223163633.20d2daab@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox