summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-14kbuild: Allow building documentation subsetsLaurent Pinchart
Add an optional argument to the --doc option to select documentation directories to build. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-12-14kbuild: Run documentation build in virtualenvLaurent Pinchart
To avoid depending on the sphinx version installed on the host, run the documentation build in a python virtual environment. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-12-14kbuild: Pass build options to bindeb-pkgLaurent Pinchart
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-09-02kbuild: Support custom make arguments on the command lineLaurent Pinchart
Add support for passing additional arguments to make. The arguments can be specified after the platform name, or, if no platform name is specified, after an empty option (--). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-09-02kflash: Add argument to select which partitions to flashLaurent Pinchart
The --partitions argument can be used to select which partitions to flash. By default kflash will flash all partitions defined in the platform file. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-26platforms: zynqmp: Use a FIT imageLaurent Pinchart
This is more convenient as it combines the kernel and device tree. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-26platforms: Add target partition patterns to the CrOS platformsLaurent Pinchart
This enables kflash.sh support. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-26Add a kflash.sh flashing scriptLaurent Pinchart
The script eases flashing a kernel, modules and DT to a removable device. It detects the device based on partition name patterns defined in platform files, performs sanity checks to avoid overwriting system disks (such as making sure none of the target partitions are already mounted), copies files to raw partitions with dd or to file systems with cp or rsync, and beeps when done. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-26kbuild.sh: Don't disable the implicit-fallthrough warning by defaultLaurent Pinchart
This was done due to the latest stable version of the kernel not having implicit-fallthrough warnings fixed for ARM architectures. Now that this has been fixed, enable the warning again. 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>
2020-02-21arch: Support overriding image types in platform filesLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-18platforms: imx7: Add imx7d-sx-imx7-pl.dtbLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-18platforms: imx7: Add -Wno-error for BSP kernelsLaurent Pinchart
Use the new extra_kcflags mechanism to disable treating warnings as errors for BSP kernels. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-02-18Add simple mechanism to specify version-based extra CFLAGSLaurent Pinchart
Platform files can specify extra CFLAGS by extending the kcflags environment variable. When a kernel tree for a platform contains both BSP and mainline branches, different CFLAGS may be needed, as BSPs are usually littered with warnings. Make it possible to specify extra CFLAGS per kernel version through a new extra_kcflags array. This mechanism can be extended later if needed by storing version comparison strings as array keys (e.g. "<=4.19"). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-09-05platforms: zynqmp: Update loadaddr for ZCU106Laurent Pinchart
The loadaddr specified for the zynqmp platform is invalid for the ZCU106. While the Image format doesn't make use of loadaddr, in preparation for a later switch to a FIT image, update the loadaddr already. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-08-22Ignore implicit fallthrough warningLaurent Pinchart
The kernel has enabled the implicit fallthrough warning without fixing all warnings on ARM first. Disable the warning until this gets addressed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-08-22platforms: Add R-Car Gen2 H2 (Lager) and M2 (Koelsch) platformsLaurent 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-06-24Fix incorrect ARCH variable nameLaurent Pinchart
The architecture is stored in a variable called $arch, not $ARCH. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Move target directory configuration to config.shLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Move cross compiler configuration to separate config.sh fileLaurent Pinchart
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>
2019-05-19Modularise architecture handlingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Modularise platform handlingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Initial importLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>