summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rpi-config_git.bb: add v4c overlay to config.txt to support vc4graphicsHerve Jourdain2016-09-211-1/+9
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* 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>
* rpi-default-providers.inc: change default providers to support vc4graphicsHerve Jourdain2016-09-211-4/+4
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* sdcard_image-rpi.bbclass: support for .dtbo files for dtb overlaysHerve Jourdain2016-09-211-6/+9
| | | | | | | | | | Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Add support for both extensions for overlays (".dtb" and ".dtbo") CAUTION: in IMAGE_CMD_rpi-sdimg, 'TMPDIR' is not set, causing 'STAGING_KERNEL_BUILDDIR' to not be expanded, causing get_dts() to not being able to get the kernel version! To avoid this problem, the kernel version is added in a new variable outside the scope of IMAGE_CMD_rpi-sdimg, and its value passed to get_dts() and split_overlays()! Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* 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>
* rpi-base.inc: support for .dtbo files for dtb overlaysHerve Jourdain2016-09-211-15/+15
| | | | | | | | Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Add support for .dtbo variant of overlays for the default KERNEL_DEVICETREE variable (the list will be turned into "-overlay.dtb" by linux-raspberry-base.bbclass, if needed, depending on the kernel version) Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* linux-raspberrypi_4.4.bb: support for .dtbo files for dtb overlaysHerve Jourdain2016-09-212-0/+45
| | | | | | | Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb. Patch the kernel, which has faulty rules to generate .dtbo the way yocto does Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* bcm2835: Compile examples correct LDFLAGS to avoid HASH errorskrogothAndrei Gherzan2016-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | ERROR: bcm2835-1.50-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/spi' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/event' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/gpio' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/i2c' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/blink' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/spin' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/input' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/bcm2835/1.50-r0/packages-split/bcm2835-tests/usr/lib/bcm2835/pwm' [ldflags] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* bcm2835: Update to 1.50Andrei Gherzan2016-09-211-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* wiringPi: Fix compilation of librariesAndrei Gherzan2016-09-211-2/+2
| | | | | | | | | | | | Not using the yocto LDFLAGS will make some qa tests fail: ERROR: wiringpi-git-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/wiringpi/git-r0/packages-split/wiringpi/usr/lib/libwiringPi.so.2.32' No GNU_HASH in the elf binary: 'build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/wiringpi/git-r0/packages-split/wiringpi/usr/lib/libwiringPiDev.so.2.32' [ldflags] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* wiringpi: Fix prepend spaceAndrei Gherzan2016-09-211-1/+1
| | | | | | | | | Not having this correctly will get you into troubles like: | gpio.c:40:23: fatal error: gertboard.h: No such file or directory | #include <gertboard.h> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* wiringpi: Update to 2.32Andrei Gherzan2016-09-211-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* sdcard_image-rpi.bbclass: remove redundant IMAGEDATESTAMPJonathan Liu2016-09-161-6/+2
| | | | | | | | The IMAGE_NAME variable already contains the date and time so it is redundant to also include the date again with IMAGEDATESTAMP when writing to image-version-info in the boot partition. Signed-off-by: Jonathan Liu <net147@gmail.com>
* userland: Add bash to RDEPENDSScott Ellis2016-08-291-0/+2
| | | | | | | | WARNING: userland-git-r5 do_package_qa: QA Issue: /usr/bin/dtoverlay-post contained in package userland requires /bin/bash, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
* gstreamer1.0-omx-1.2.0: Add patches and bbappend for 1.2.0 separatelyKhem Raj2016-07-1310-0/+503
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sdcard_image-rpi.bbclass: Add the vardepexcludesKhem Raj2016-07-131-2/+2
| | | | | | | The problem reappears because we need to add to the variable and not assign Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sdcard_image-rpi.bbclass: Exclude DATETIME from task stampKhem Raj2016-07-081-0/+1
| | | | | | | | | | This helps in fixing occasional error seen quite often ERROR: wpe-image-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch 7ea6b505bb7a2cc5ca03552bcf3333fa verses 3be7cdad8c4532430d96368c5ca523d4 for /a/builder/home/kraj/work/oe/meta-metrological/recipes-core/images/wp e-image.bb.do_image_rpi_sdimg ERROR: Taskhash mismatch 7ea6b505bb7a2cc5ca03552bcf3333fa verses 3be7cdad8c4532430d96368c5ca523d4 for /a/builder/home/kraj/work/oe/meta-metrological/recipes-core/images/wpe-image.bb.do_image_rpi_sdimg Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.4: Upgrade to 4.4.13Khem Raj2016-07-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* firmware: Upgrade to 20160622Khem Raj2016-07-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latest tipKhem Raj2016-07-0815-169/+66
| | | | | | Drop upstream applied patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sdcard_image-rpi: Always install dtb filesPaul Barker2016-07-081-20/+20
| | | | | | We now need dtb files when booting via u-boot. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* rpi-mkimage: Remove unused recipePaul Barker2016-07-083-64/+0
| | | | | | | | The rpi-mkimage tools are no longer used. Recent Raspberry Pi firmware can directly boot a Linux kernel image using device tree and mainline u-boot supports Raspberry Pi without the use of these tools. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* u-boot: Use mainline u-boot recipe from oe-corePaul Barker2016-07-085-31/+5
| | | | | | | | | | | | | | | The repository used by u-boot-rpi has not been updated since 2012. In the meantime, mailine u-boot has gained Raspberry Pi support. All we need to do is set UBOOT_MACHINE to an appropriate value in the machine config files. Currently configs are only provided for raspberrypi and raspberrypi2. The master branch of u-boot now also appears to have a config file for raspberrypi3 so support for this can be added in the future when u-boot is upgraded in oe-core. The mainline u-boot recipe creates the file "u-boot.bin" instead of "u-boot.img". Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* linux-raspberrypi: rpi-mkimage is no longer neededPaul Barker2016-07-081-20/+0
| | | | | | | | Recent versions of the Raspberry Pi firmware can directly handle kernel images which use device tree. The modifications made by rpi-mkimage are no longer needed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* packagegroup-rpi-test: Fix COPYING md5sumAndrei Gherzan2016-07-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Fix v4.1 with GCC6Andrei Gherzan2016-07-083-0/+111
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* packagegroup-rpi-test: Poky moved the license so fix LIC_FILES_CHKSUMAndrei Gherzan2016-07-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi.inc: KERNEL_OUTPUT has been removed in kernel.bbclassHerve Jourdain2016-06-151-2/+6
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* omxplayer: fix compilation with GCC 6Jonathan Liu2016-06-141-2/+1
| | | | | | | | | | | | | | | | | | Specifying -isystem${STAGING_DIR_HOST}/usr/include in INCLUDES gives: In file included from utils/PCMRemap.cpp:26:0: .../build/tmp/sysroots/raspberrypi2/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next <stdlib.h> ^ compilation terminated. Makefile:44: recipe for target 'utils/PCMRemap.o' failed To resolve this, /usr/include shouldn't be specified as it is already a default include path relative to the sysroot. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129. Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-rpi: ensure config file is closedJonathan Liu2016-06-131-0/+2
| | | | | | | | | | | Avoids warnings like this with python3: WARNING: .../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.18.bb: <string>:16: ResourceWarning: unclosed file <_io.TextIOWrapper name='.../meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig' mode='r' encoding='UTF-8'> Signed-off-by: Jonathan Liu <net147@gmail.com>
* linux-raspberrypi_4.4.bb: Upgrade to 4.4.9Khem Raj2016-05-191-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-rpi: Enable kconf options to enable initramfs supportKhem Raj2016-05-191-9/+13
| | | | | | | | | | Additionally add few few file systems e.g. squashfs, overlayfs to support booting with initramfs Drop checking for target triplet to set EABI, rpi probaly should not have any legacy into OABI world. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* firmware: Update to "20160512" snapshotKhem Raj2016-05-191-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to tip of treeKhem Raj2016-05-192-31/+3
| | | | | | | Drop the patch which is upstreamed slightly differently use VMCS_INSTALL_PREFIX to /usr via EXTRA_OECMAKE Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_4.4.bb: Upgrade to 4.4.8Khem Raj2016-05-052-110/+2
| | | | | | | Fixes for gcc6 Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* replace base_contains by bb.utils.containsAndreas Müller2016-05-051-1/+1
| | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* sdcard_image-rpi.bbclass: Fix do_image_rpi_sdimg tashhash mismatchJonathan Liu2016-05-041-0/+1
| | | | | | | | | | | IMAGE_CMD_rpi-sdimg() uses the IMAGEDATESTAMP variable, so the taskhash of the function keeps changing. This results in a taskhash mismatch error. Fix this by excluding the IMAGEDATESTAMP variable from the checksum. Change-Id: Ie6f30ad29e279d5312ec655ac4a3bf246c8a04de Signed-off-by: Jonathan Liu <net147@gmail.com>
* README: Switch from redmine to github issuesAndrei Gherzan2016-04-251-9/+6
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include pi3-miniuart-bt-overlay.dtbAndrei Gherzan2016-04-251-0/+1
| | | | | | This is used to switch BT from ttyUSB0 to ttyS0 (miniUART). Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi_4.1: Update to v4.1.21Andrei Gherzan2016-04-221-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* bluez5: Add bluez5 support for brcm43438 on raspberrypi3.toolmmy2016-04-227-0/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the bluetooth support for the brcm43438 module on the raspberrypi3 by deploying the modules firmware and changing the targeting firmware path. In addition the brcm43438.service adds the automatically attaching (hciattach) for systemd environments. The following steps can be used to manually configure the brcm43438: root@raspberrypi3:~# hciattach /dev/ttyAMA0 bcm43xx-3wire bcm43xx_init Flash firmware /lib/firmware/brcm/BCM43430A1.hcd Set Controller UART speed to 3000000 bit/s Device setup complete root@raspberrypi3:~# hciconfig hci0: Type: BR/EDR Bus: UART BD Address: B8:27:EB:6C:85:BE ACL MTU: 1021:8 SCO MTU: 64:1 DOWN RX bytes:983 acl:0 sco:0 events:33 errors:0 TX bytes:887 acl:0 sco:0 commands:33 errors:0 root@raspberrypi3:~# /usr/lib/bluez5/bluetooth/bluetoothd -e -n -E root@raspberrypi3:~# bluetoothctl [NEW] Controller B8:27:EB:6C:85:BE raspberrypi3 [default] [bluetooth]# power on [CHG] Controller B8:27:EB:6C:85:BE Class: 0x400000 Changing power on succeeded [CHG] Controller B8:27:EB:6C:85:BE Powered: yes [bluetooth]# scan on Discovery started [CHG] Controller B8:27:EB:6C:85:BE Discovering: yes [NEW] Device 00:1C:05:FF:F9:F8 Nonin3230_501585326 NOTE: SERIAL_CONSOLE must configured to ttyS0 instead of ttyAMA0 (used by the brcm43438). See pending patch from Martin Bergek Signed-off-by: Tom Doehring <toolmmy@gmail.com>
* packagegroup-rpi-test: Add packages to be able to test WiFi/BluetoothAndrei Gherzan2016-04-221-0/+5
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Set baudrate and use serial0 for kgdbocAndrei Gherzan2016-04-221-2/+2
| | | | | | | | | | The driver for 8250 defaults to 9600. We setup it on 115200 to be consistent with getty configuration. The firmware can do its magic with kgdboc too as it searches and replaces =serial0 and =serial1. So, use serial0 for kgdboc too. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Bump to v4.4.7Andrei Gherzan2016-04-221-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* README: Document new variable configurationTheodor Gherzan2016-04-221-0/+15
| | | | | Signed-off-by: Theodor Gherzan <theodor@resin.io> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* linux-raspberrypi: Make use of serial aliasesTheodor Gherzan2016-04-211-1/+1
| | | | | | | The firmware will parse cmdline and replace serial aliases with the actual serial console port. Signed-off-by: Theodor Gherzan <theodor@resin.io>