summaryrefslogtreecommitdiffstats
path: root/classes/linux-raspberrypi-base.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi-base.bbclass: DropPaul Barker2017-09-241-12/+0
| | | | | | | | The only remaining function in linux-raspberrypi-base was split_overlays() which is used in the sdcard_image-rpi class. So we can move this function over and drop the now-empty linux-raspberrypi-base class. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Drop unnecessary codePaul Barker2017-09-241-18/+1
| | | | | | | | | * The kerneltype variable is not used anywhere after being set. * The manipulation of KERNEL_DEVICETREE is effectively a no-op, we read the current value in get_dts() and store this back into the same variable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Remove True option to getVar callsPaul Barker2017-01-181-2/+2
| | | | | | getVar() now defaults to expanding by default. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* linux-raspberrypi-base.bbclass: remove version hackAndreas Müller2016-12-291-15/+0
| | | | | | | * no more required (version > 3.17 | > 4.3.x | > 4.4.5) * causes error with rt kernel Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* sdcard_image-rpi.bbclass: Remove redundant RPI_KERNEL_VERSIONJonathan Liu2016-10-131-2/+2
| | | | | | | | | | | | | | | | | The value of the RPI_KERNEL_VERSION can change between None and the kernel version which can result in taskhash mismatch errors while building images. The taskhash mismatch errors can be reproduced using: bitbake -c cleansstate virtual/kernel core-image-minimal && bitbake core-image-minimal The get_dts() and split_overlays() functions are modified so that the kernel version argument is optional. If the version is not supplied to these functions, they will fallback to the Python equivalent of the expression used for RPI_KERNEL_VERSION. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlaysHerve Jourdain2016-09-211-7/+12
| | | | | | | | | | | Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Add support for both variants of overlays ("-overlay.dtb" and ".dtbo") Change which variant needs to be supported based on the kernel version CAUTION: when called from IMAGE_CMD_rpi-sdimg, 'TMPDIR' is not set, causing 'STAGING_KERNEL_BUILDDIR' to not be expanded, causing get_kernelversion_file() to fail! To avoid this problem, get_dts() and split_overlays() MUST be called with the kernel version parameter set, when called from IMAGE_CMD_rpi-sdimg! Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* devicetree: auto-disable dts for old kernelsPetter Mabäcker2015-06-051-0/+39
After '6392a63 rpi-base.inc: Use KERNEL_DEVICETREE by default' was introduced, kernel versions < 3.18 might not be buildable. Since full device tree support was introduced in 3.18 this change ensures that all kernel < 3.18 will automatically disable device tree. Signed-off-by: Petter Mabäcker <petter@technux.se>