summaryrefslogtreecommitdiff
path: root/images
AgeCommit message (Collapse)Author
2021-09-20kbuild: Allow adding out-of-tree DTBs to imageLaurent Pinchart
It's useful to build a FIT image with DTBs stored outside of the kernel tree, for instance to test vendor-supplied DTBs. Support this by allowing DTB paths to be absolute. Compilation of the DTB is skipped in that case. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-04-24kbuild: FIT: Support custom load address for DTBLaurent Pinchart
This is required to merge overlays, as the base DTB needs to be relocated. Only the base address needs to be specified by platforms, addresses for all DTBs are calculated automatically. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-04-24kbuild: FIT: Add basic overlay supportLaurent Pinchart
Include DT overlays specified by the platform in the FIT image. Overlay compilation should ideally be handled by kbuild, but as a first step, the overlay files have to be manually copied to the output directory. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-04-24Turn dtbs platform variable into arrayLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-04-24images: FIT: Add support for lz4 compressionLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-03-10images: FIT: Support empty fit_conf_prefixLaurent Pinchart
If fit_conf_prefix is unset, "conf-" is used as a default prefix. This also applies if fit_conf_prefix is set but null. Support null fit_conf_prefix. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-03-10images: FIT: Fix board nameLaurent Pinchart
The board name is stored in $platform, not $board. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-12-14images: FIT: Make configuration name configurableLaurent Pinchart
Not all boot loaders use the same naming scheme for configurations. Make the configuration name prefix configurable by platforms. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-09-02Support overriding the image file nameLaurent Pinchart
Add support for overriding the image file name, using the same mechanism as for DTB files. The 'image' parameter can specify both the image make target and image destination file name, separated by a ':'. If no ':' is found, the image make target is used as the image destination file name. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-21images: FIT: Support kernel image compressionLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-08-22Fix uImage and srecLaurent Pinchart
The kernel image file that the uImage and srec images are built from is stored in $image_kernel, not $kernel_image. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Convert all shell variables to lowercaseLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Modularise image handlingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>