summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-mkimage
Commit message (Collapse)AuthorAgeFilesLines
* imx-boot: allow for additional/different u-boot device-treeMax Krummenacher2020-10-021-3/+3
| | | | | | | | | | | | | | | | | With the current call to imx-mkimage and SOC_TARGET = "iMX8M" the u-boot device tree file name is set to $(PLAT)-evk.dtb in iMX8M/soc.mak which happens to match ${UBOOT_DTB_NAME} if building for an NXP machine. Setting the dtbs environment variable to ${UBOOT_DTB_NAME} makes the build succeed also for other machines. In the hardcoded version $(dtbs) is an intermediate file and gets delete as the last step of make. Thus for several make targets we have to redo the copy step before each make invocation or the second one will fail as the device tree file is then missing. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit f607eb8734af83a3667bb4581c1b93307e06d337)
* imx-mkimage: upgrade to version 1.0Andrey Zhizhikin2020-09-293-23/+61
| | | | | | | | | This upgrade contains of following modifications: - introduce new i.MX8 derivatives; - upgrade imx-mkimage recipe to match NXP release; Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit b98b3c88b7b10e957ce19fc9242a85a234acdd2e)
* imx-boot: fix mkimage_uboot linking issueMing Liu2020-05-051-0/+2
| | | | | | | | | | | In imx-boot's Makefile, it downloads a native tool mkimage_uboot and executes it, but this native tool requires libssl.so.1.1, which is in ${STAGING_LIBDIR_NATIVE}, we need set LD_LIBRARY_PATH to include it, or it might run into following errors: | ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb | ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory Signed-off-by: Ming Liu <ming.liu@toradex.com>
* imx-mkimage: update to use new kernel 5.4.3-1.0.0 branchAndrey Zhizhikin2020-04-161-1/+1
| | | | | | | Update recipe to pull sources from new branch, which is aligned with new kernel version 5.4.3 Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* u-boot: Split out u-boot toolsJoshua Watt2020-03-301-1/+2
| | | | | | | | | | | | | | | | | | | Splits out the IMX u-boot tools build to it's own recipe. This is required because these are native tools and thus need to be in a -native recipe to be properly relocated (instead of being built as part of the target u-boot-imx recipe). If the tools aren't built in a -native recipe, then the mkimage tool will contain a hard coded path to the uninative program loader from the sandbox where it was first built and this will not get corrected when restored from sstate. The result is that the mkimage_uboot executable can't run because it's looking for a hard coded program loader that does not exist, resulting in strange build errors like: ./mkimage_uboot: Command not found even though the executable is obviously in the correct location. Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
* imx-boot: add support for i.MX8M Nano EVKAndrey Zhizhikin2020-01-081-1/+4
| | | | | | | Add ATF and platform machine definitions for i.MX8M Nano SoC in order to generate boot images. This mainly follows the setup done for i.MX8M Mini. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* imx-mkimage_git.inc: Update to 4.19.35_1.1.0Cristinel Panfir2019-12-191-2/+2
| | | | | | | | - Enable dual bootloader for imx8m - Add functionality to parse 8/8X container headers - Update the build target for different ddr firmware Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
* imx-boot: Use imx-seco firmwareMihai Lindner2019-12-161-3/+3
| | | | | | Account for imx-seco split from firmware-imx. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
* optee: Add support for optee imx fork to imx8mqevkPeter Griffin2019-11-081-1/+14
| | | | | | | | optee imx fork like most other imx forked components is more fully featured for imx devices and supports things like CAAM accleration. Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
* imx-boot: Pass DTB names to makeJoshua Watt2019-09-041-1/+1
| | | | | | | Passes the name of the DTBs to be built to make. This allows alternate DTBs to be built instead of assuming the default Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
* imx-boot: Remove i.MX 8QXP u-boot configurationTom Hochstein2019-06-131-8/+0
| | | | | | IMXBOOT_TARGETS is now defined in imx8qxpmek.conf. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-boot: Drop independent DCD componentTom Hochstein2019-06-131-8/+0
| | | | | | The DCD component has moved into the firmware. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-boot: Add DisplayPort firmware for i.MX 8MTom Hochstein2019-06-131-2/+4
| | | | | | | Also, use explicit names to help remove surprises due to unexpected changes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-boot: Upgrade to L4.14.98-2.0.0_gaTom Hochstein2019-06-131-6/+9
| | | | | | | | - Rename atf binary - Update intermediate name for u-boot nodtb binary - Improve whitespace for file copies Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-mkimage: Upgrade to L4.14.98-2.0.0_gaTom Hochstein2019-06-131-3/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-boot: drop dependency to u-bootStefan Agner2019-05-201-1/+0
| | | | | | | | The recipe do_compile task depends on virtual/bootloader which makes sure the necessary dependencies are available once imx-boot do_compile is executed. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
* imx-boot: imx-mkimage: do not compile with -staticMax Krummenacher2019-01-292-2/+2
| | | | | | | | | | | E.g. Fedora doesn't install glibc-static by default and the yocto prerequisites do not mandate installing it. Rather than requiring glibc-static drop linking with -static. Works around: | .../build/tmp/hosttools/ld: cannot find -lc Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-boot: drop adding m4 binaries to the boot containerMax Krummenacher2019-01-291-9/+3
| | | | | | The recipe which builds or injects the m4 binaries does not yet exist. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* meta: drop imx-m4-demos referencsMing Liu2019-01-291-9/+0
| | | | | | | | There is not a imx-m4-demos recipe at all, drop its references. They could be added back once the recipe is added. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* imx-boot: Fix the symbolic link filename to imx-bootDaiane Angolini2019-01-101-1/+1
| | | | | | | | | Fix the error: | File "/media/daiane/TRIFORCE/yocto/master/sources/poky/scripts/lib/wic/filemap.py", line 132, in _open_image_file | % (self._image_path, err)) | wic.filemap.Error: cannot open image file '/media/daiane/TRIFORCE/yocto/master/build/tmp/deploy/images/imx8mmevk/u-boot.imx': [Errno 2] No such file or directory: '/media/daiane/TRIFORCE/yocto/master/build/tmp/deploy/images/imx8mmevk/u-boot.imx' Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
* imx-boot: Add recipe for i.MX 8 boot partition packagesTom Hochstein2018-12-131-0/+191
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-mkimage: Add recipe for i.MX 8 boot partition packagesTom Hochstein2018-12-132-0/+46
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>