summaryrefslogtreecommitdiffstats
path: root/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
* linux-raspberrypi: Change default version to 4.14.yPaul Barker2018-02-261-1/+1
| | | | | | | This matches the change made in the upstream firmware repository earlier in February. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Fix do_image_rpi_sdimg/do_image_wic dependenciesPaul Barker2018-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | The dependency resolution code in bitbake has recently been optimized and this seems to have slightly changed the behaviour of do_image_rpi_sdimg and do_image_wic. We ensure that the main build artifacts are present by depending on the relevant do_deploy and do_populate_sysroot tasks. However, we need to ensure that other build tasks for these dependencies have also been executed before we try to create our image. This can be achieved by adding a recursive dependency on do_build, so that the do_build tasks of all recipes in the dependency chain of do_image_rpi_sdimg/do_image_wic are executed before the image function itself is executed. The original issue seen here was that 'recipedata' files were not copied to 'tmp/deploy/licenses' as do_populate_lic for each dependency had not been ran before the image creation function. The write_deploy_manifest function from license.bbclass (listed in IMAGE_POSTPROCESS_COMMAND) therefore failed. Adding the recursive dependency on do_build fixes this issue, ensuring do_populate_lic runs before do_image_rpi_sdimg/do_image_wic. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Include udev-rules-rpi in MACHINE_EXTRA_RRECOMMENDSAndrei Gherzan2018-01-261-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: use $KERNEL_PACKAGE_NAME for the kernel package nameRicardo Salveti2018-01-111-1/+1
| | | | | | | | | | The kernel class is now using $KERNEL_PACKAGE_NAME to set the default kernel package name in order to allow alternate kernel flavors. This fixes the following bitbake warning: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base (). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* raspberrypi0-wifi: update UBOOT_MACHINE variableMirza Krak2018-01-111-1/+1
| | | | | | The rpi0-wifi has an machine/board specific defconfig instead of the generic one Signed-off-by: Mirza Krak <mirza.krak@endian.se>
* raspberrypi0-wifi, raspberrypi3: drop unused KERNEL_DEFCONFIG variablesMartin Jansa2017-11-272-2/+0
| | | | | | | | | | | | | * KERNEL_DEFCONFIG variable isn't used anywhere since this commit: https://github.com/agherzan/meta-raspberrypi/commit/88478c38744e6a57361b438095fee1d808690a00 * it was replaced with KBUILD_DEFCONFIG: recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi3 ?= "bcm2709_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rpi-base.inc: Fix KERNEL_IMAGETYPE assignmentPaul Barker2017-11-272-2/+4
| | | | | | | | | | We can't just override KERNEL_IMAGETYPE in machine-specific conf files without breaking the implementation of RPI_USE_U_BOOT. Instead we need to define a new KERNEL_IMAGETYPE_DIRECT variable which will control the value when u-boot is not in use. This new variable may then be overridden as needed without breaking our u-boot support. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* raspberrypi3-64: set default kernel to ImageLoys Ollivier2017-11-102-1/+3
| | | | | | | | | | | | Fixes: 50fd319205d8 for raspberrypi3-64. Fixes: #153 For raspberrypi3-64 set default kernel image to "Image". "zImage" are not supported by arm64 platforms. And ".gz" images are not handled by bootloader yet. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
* rpi-base.inc: KERNEL_IMAGETYPE default to zImageAndrei Gherzan2017-11-081-1/+1
| | | | | | | | | | We used to have this as the default but there was a bug at some point in the firmware which didn't work with compressed kernel images. We switched to Image and never changed it back even though that bug is long history. In this way we will stop carrying 15M of a kernel image. 4M looks much better. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Set dependencies for creating wic imagesPaul Barker2017-09-241-0/+4
| | | | | | | We need to ensure that the bootloader and firmware files are present in the deploy directory before creating wic images. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Support using u-boot with Image format for raspberrypi3-64Paul Barker2017-09-242-2/+17
| | | | | | | | For raspberrypi3-64 we need to use the Image or Image.gz format with u-boot instead of the legacy uImage format. We also need to issue the 'booti' command to boot the kernel instead of 'bootm'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Simplify setting of IMAGE_BOOT_FILESPaul Barker2017-09-241-3/+3
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64Khem Raj2017-09-201-0/+1
| | | | | | | | | Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI Disable overscan to avoid graphics glitches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-base: wic: generate entries for u-bootAndrea Galbusera2017-06-301-1/+3
| | | | | | | | | | | This commit allow wic generated images to work when we want u-boot to load the kernel image. Augment IMAGE_BOOT_FILES with the proper entries when KERNEL_IMAGETYPE is "uImage". More specifically add u-boot image and boot.scr to deployed files and give the proper name to the kernel image accordingly. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* raspberrypi3-64.conf: Don't use raspberrypi as MACHINEOVERRIDESMichal Mazurek2017-06-261-1/+1
| | | | | | | The current setup broke the build for rpi3-64 when we wanted to port some changes from rpi3 to rpi0. Signed-off-by: Michal Mazurek <michal@resin.io>
* raspberrypi0.conf: make SERIAL_CONSOLE overridable from outsideGianfranco Costamagna2017-05-161-1/+1
| | | | | | | | currently there is no way to override the default SERIAL_CONSOLE, this variable needs to be set only if the developer didn't set it already from another layer. Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
* rpi-base: fix make_dtb_boot_files() for raspberrypi3-64Andrea Galbusera2017-04-211-4/+5
| | | | | | | | | | | | Building the stock wic image for raspberrypi3-64 failed to find dtbs listed in IMAGE_BOOT_FILES. This patch updates the make_dtb_boot_files() function to account for dtbs listed in KERNEL_DEVICETREE that do include a path prefix: this is the case for things like broadcom/bcm2710-rpi-3-b.dtb (the dts dir layout in the kernel sources is different for arm64). Use the same approach already used for overlays/ dir. While at it also fix a typo in dtb overlay code path comments. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* raspberrypi3.conf: Use a stand alone machine configurationAndrei Gherzan2017-04-211-3/+6
| | | | | | | As well make all the variables assigned in a way that they can be overwritten so we can give maximum flexibility to distros. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi3-64.conf: Make SERIAL_CONSOLE overwritableAndrei Gherzan2017-04-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi2.conf: Make SERIAL_CONSOLE overwritableAndrei Gherzan2017-04-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi.conf: Have the ability to overwrite SERIAL_CONSOLEAndrei Gherzan2017-04-201-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi0-wifi.conf: Use a stand alone machine configurationAndrei Gherzan2017-04-191-3/+7
| | | | | | | As well make all the variables assigned in a way that they can be overwritten so we can give maximum flexibility to distros. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* pitft: Include the pitft35r dtbo filesRob Woolley2017-04-172-0/+2
| | | | | | Include the pitft35r device tree blobs in the filesystem of the image. Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
* raspberrypi0-wifi.conf: Add machine configuration fileAndrei Gherzan2017-04-141-0/+11
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include dtb for RPI0 WiFiAndrei Gherzan2017-04-141-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base: wic: generate entries for device tree filesMaciej Borzecki2017-03-111-1/+31
| | | | | | | Augment IMAGE_BOOT_FILES with entries picking up proper dtb[o]s. This allows for building usable wic images once again. Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
* linux-raspberrypi: Default to 4.9 kernelKhem Raj2017-03-112-3/+1
| | | | | | 4.9 is now declared stable for raspberrypi Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64.conf: Add vc4graphics to MACHINE_FEATURESKhem Raj2017-02-161-0/+1
| | | | | | Userland wont work in 64bit mode Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-default-versions.inc: Use fallback weak assignmentKhem Raj2017-02-161-1/+1
| | | | | | | | | | | This lets machines use ?= to choose their preferred kernel e.g. 64bit rpi3 needs 4.9 minimum but default right now is 4.4 At the same time it keeps the option for user to override any of these settings via config metadata e.g. local.conf Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64.conf: Specifiy rpi3-64bit dtbsKhem Raj2017-02-161-0/+23
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64.conf: Use 4.9 as default kernelKhem Raj2017-02-161-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-default-providers: Let mesa provide libgbmKhem Raj2017-02-161-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add raspberrypi3-64.confHerve Jourdain2017-02-161-0/+15
| | | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: Fix boot on rpi3Paul Barker2017-02-161-0/+1
| | | | | | | U-boot configured with 'rpi_2_config' does not boot on a RaspberryPi 3. Instead we need to configure with 'rpi_3_32b_config'. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* rpi-base.inc: Include dtb file for CM1 and CM3Andrei Gherzan2017-01-201-1/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi*.conf: Minor tweaksAndrei Gherzan2017-01-204-6/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-cm3.conf: Add dummy machine for CM3 (alias for RPi2)Andrei Gherzan2017-01-201-0/+6
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-cm.conf: Add dummy machine for CM1 (alias for RPi1)Andrei Gherzan2017-01-201-0/+6
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: remove input modules form XSERVERAndreas Müller2016-12-291-3/+0
| | | | | | This is nothing a BSP has to decide Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* rpi-base.inc: add xserver-xorg-extension-glx to XSERVER for vc4 enabledAndreas Müller2016-12-291-0/+1
| | | | | | make glxinfo/glggears/.. work Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* raspberrypi3.conf: fix typo for BCM43430piotr.lewicki2016-11-161-1/+1
| | | | Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
* rpi-base.inc: Include pi3-disable-bt-overlay.dtbJonathan Liu2016-11-081-0/+1
| | | | | | This is used to disable Bluetooth and restore the serial console. Signed-off-by: Jonathan Liu <net147@gmail.com>
* rpi-base.inc: Don't install kernel image into rootfsPaul Barker2016-10-311-0/+4
| | | | | | | The kernel image is installed into the FAT32 boot partition and does not need to also be installed into the rootfs. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* Switch to using 4.4 as default kernelKhem Raj2016-09-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vc4graphics: Support X11 with the VC4 driver.Carlos Alberto Lopez Perez2016-09-211-1/+1
| | | | | | | | | | * We need to use the X11 modesetting driver with VC4. * We need to build at least the mesa swrast DRI driver. (its already the default so don't overwrite it to empty) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3.conf: set the default value of VC4_CMA_SIZE to support vc4graphicsHerve Jourdain2016-09-211-0/+2
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* raspberrypi2.conf: set the default value of VC4_CMA_SIZE to support vc4graphicsHerve Jourdain2016-09-211-0/+2
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* raspberrypi0.conf: set the default value of VC4_CMA_SIZE to support vc4graphicsHerve Jourdain2016-09-211-0/+2
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* raspberrypi.conf: set the default value of VC4_CMA_SIZE to support vc4graphicsHerve Jourdain2016-09-211-0/+2
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* rpi-base.inc: add vc4-kms-v3d to the overlays to support vc4graphicsHerve Jourdain2016-09-211-0/+1
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>