Skip to content

Add imx8mm platform using only upstream components

Xavier Roumegue buildroot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 0 repliesNew
  2. v38 patches 0 repliesSuperseded
  3. v28 patches 0 repliesSuperseded

Changes in v4 from the cover letter

- Fix check-package reported issues (Reported by Stephane Viau)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8package/freescale-imx/firmware-imx: Add option to install all ddr fw filespackage/freescale-imx/firmware-imx/Config.in package/freescale-imx/firmware-imx/firmware-imx.mk+15 -03 replies
2/8boot/uboot: Add option to install fw files list to uboot build directoryboot/uboot/Config.in boot/uboot/uboot.mk+24 -02 replies
3/8package/freescale-imx/firmware-imx: Copy of all DDR files if uboot needs fw.package/freescale-imx/firmware-imx/Config.in+1 -02 replies
4/8boot/uboot/imx8: Add new target needed for mainline u-bootboot/uboot/Config.in boot/uboot/uboot.mk+11 -03 replies
5/8board/freescale/common/imx: Add Support for uboot 'flash.bin' imageboard/freescale/common/imx/post-image.sh+2 -01 reply
6/8board/freescale/common/imx8: Use post build generated uboot image if presentboard/freescale/common/imx/post-image.sh+3 -13 replies
7/8board/freescale/common/imx8: Templatize uboot image nameboard/freescale/common/imx/genimage.cfg.template_imx8+1 -10 replies
8/8configs/imx8mmevk: new defconfigDEVELOPERS board/freescale/imx8mmevk/readme.txt configs/imx8mmevk_defconfig+70 -21 reply

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchJulien OlivainFabio EstevamGilles TalisHeiko Thiery
1/8T-b
2/8T-b
3/8T-b
4/8T-b
5/8T-b
6/8T-b
7/8
8/8T-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/8] Add imx8mm platform using only upstream components

This patch set aims to add support for booting imx8m platforms with upstream BSP components, avoiding the use of proprietary imx-mkimage tool.

Uboot is using its embedded mkimage tool and a per platform configuration file to generate the boot medium thanks to additional imx specific makefile targets.

Delegating the bootable image generation to uboot requires proprietary SoC firmwares either involved in the boot flow or eventually requiring authentication to be copied in the uboot build directory.

As per Thomas proposal, this patch set mainly adds an option to copy a files list, from binaries folder to uboot build directory as dependency of uboot build step.

This was inspired from SolidRun patch below:
https://github.com/SolidRun/buildroot/commit/0f2b2971e836b508bf9c2dac34426a59a9d83572
but this was adapted to prevent uboot patches and generalize the approach to any platforms.

Changes v1 -> v2:
- Initial patch set proposal was using a dedicated board script to generate the boot image as buildroot step, templatizing the configuration file used to define the boot image and reusing the firmwares from the binaries folder.
- imx8mq platform does not boot with hdmi fw embedded in the boot image and recent arm trusted firmware, so imx8mq config file is removed since a change to uboot mkimage configuration file is required.
Changes v2 -> v3:
- Use custom version for kernel, uboot (Suggested by Fabio Estevam)
Changes v3 -> v4:
- Fix check-package reported issues (Reported by Stephane Viau)

Xavier Roumegue (8):
package/freescale-imx/firmware-imx: Add option to install all ddr fw
files
boot/uboot: Add option to install fw files list to uboot build
directory
package/freescale-imx/firmware-imx: Copy of all DDR files if uboot
needs fw.
boot/uboot/imx8: Add new target needed for mainline u-boot board/freescale/common/imx: Add Support for uboot 'flash.bin' image board/freescale/common/imx8: Use post build generated uboot image if
present
board/freescale/common/imx8: Templatize uboot image name configs/imx8mmevk: new defconfig

 DEVELOPERS                                    |  3 ++
 .../common/imx/genimage.cfg.template_imx8     |  2 +-
 board/freescale/common/imx/post-image.sh      |  6 ++-
 board/freescale/imx8mmevk/readme.txt          | 29 +++++++++++++-
 boot/uboot/Config.in                          | 20 ++++++++++
 boot/uboot/uboot.mk                           | 15 +++++++
 configs/imx8mmevk_defconfig                   | 40 +++++++++++++++++++
 package/freescale-imx/firmware-imx/Config.in  |  4 ++
 .../firmware-imx/firmware-imx.mk              | 12 ++++++
 9 files changed, 127 insertions(+), 4 deletions(-)
 create mode 100644 configs/imx8mmevk_defconfig

--
2.29.2