Commit Graph

611 Commits

Author SHA1 Message Date
Paul Barker
1f24992a3c rpi-base.inc: Don't install kernel image into rootfs
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>
2016-10-31 15:58:23 +01:00
Andreas Müller
c62e088a65 eglinfo-x11: align to VC4
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-14 14:50:12 +02:00
Andreas Müller
1ebb370e81 vc4: why no framebuffer device?
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-14 14:49:05 +02:00
Andreas Müller
8d17669588 xorg align for vc4
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-14 14:49:04 +02:00
Andreas Müller
3b9aebd6ae mesa: align for vc4
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-14 14:49:04 +02:00
Samuli Piippo
de016ceef6 bluez5: correctly append brcm43438 service
Cannot use += operator together with machine override.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2016-10-14 11:27:34 +02:00
Alistair Buxton
b6c954de58 Fix DISPMANX_OFFLINE variable typo
Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
2016-10-14 09:03:53 +01:00
Alistair Buxton
d778d0a23d README: Replace references to Redmine with Github Issues
Signed-off-by: Alistair Buxton <a.j.buxton@gmail.com>
2016-10-14 09:03:53 +01:00
Khem Raj
1e3983fbfc linux-raspberrypi_4.7.bb: Update to 4.7.7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-14 09:19:16 +02:00
Khem Raj
ecd8875d6d linux-raspberrypi: Add recipe for 4.8 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-14 09:19:15 +02:00
Khem Raj
05be947a31 firmware: Upgrade to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-13 10:40:35 +02:00
Khem Raj
585838e7a2 userland: Upgrade to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-13 10:40:16 +02:00
Jonathan Liu
41689e8fe2 sdcard_image-rpi.bbclass: Remove redundant RPI_KERNEL_VERSION
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>
2016-10-13 10:39:59 +02:00
Khem Raj
5697e77ec4 linux-raspberrypi_4.4: Upgrade to 4.4.23
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-13 10:39:50 +02:00
Andreas Müller
4817e2c087 sdcard_image-rpi.bbclass: avoid corrupted images with latest oe-core
oe-core's commit d54339d4b1a7e884de636f6325ca60409ebd95ff creates image in
IMGDEPLOYDIR and copies through sstate to DEPLOY_DIR_IMAGE. That causes
DEPLOY_DIR_IMAGE not valid when calling IMAGE_CMD. Therefore use
IMGDEPLOYDIR for sdcard creation too.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-09-21 17:34:17 +01:00
Khem Raj
ac6f357271 weston: Fix typo with override
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21 17:15:02 +01:00
Khem Raj
760ddd0f18 Switch to using 4.4 as default kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21 17:15:01 +01:00
Carlos Alberto Lopez Perez
ed84c2c8a2 vc4graphics: Support X11 with the VC4 driver.
* 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>
2016-09-21 17:14:59 +01:00
Khem Raj
55388a5101 firmware, userland: Bump to latest
firmware -> 20160726

userland -> 20160728

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21 17:14:57 +01:00
Khem Raj
b24afdc2e7 linux-raspberrypi_3.18: Remove
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21 17:14:55 +01:00
Khem Raj
e993bdc7cd linux-raspberrypi: Add recipe for 4.7 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21 17:14:53 +01:00
Khem Raj
c2f76439cc linux-raspberrypi_4.4: upgrade to 4.4.16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21 17:14:06 +01:00
Herve Jourdain
d511c7ceb6 linux-raspberrypi-4.4: add patch to enable proper operation of renderD128 device
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:29 +01:00
Herve Jourdain
ef22ff49e9 linux-rpi.inc: add the configuration options required to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:27 +01:00
Herve Jourdain
6b4de2bb90 mesa_%.bbappend: new file to add the correct configuration options to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:25 +01:00
Herve Jourdain
bee7643b6c weston/weston_%.bbappend: modify configuration options to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:23 +01:00
Herve Jourdain
72b9635c66 wayland/weston_%.bbappend: modify configuration options to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:21 +01:00
Herve Jourdain
ba9c4660d6 rpi-config_git.bb: add v4c overlay to config.txt to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:20 +01:00
Herve Jourdain
5d2722c33b raspberrypi3.conf: set the default value of VC4_CMA_SIZE to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:19 +01:00
Herve Jourdain
824b78c4f0 raspberrypi2.conf: set the default value of VC4_CMA_SIZE to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:17 +01:00
Herve Jourdain
dfce95fa3d raspberrypi0.conf: set the default value of VC4_CMA_SIZE to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:16 +01:00
Herve Jourdain
224b9e9a39 raspberrypi.conf: set the default value of VC4_CMA_SIZE to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:12 +01:00
Herve Jourdain
0035bc8d80 rpi-base.inc: add vc4-kms-v3d to the overlays to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:11 +01:00
Herve Jourdain
6e535ddabb rpi-default-providers.inc: change default providers to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21 16:51:10 +01:00
Herve Jourdain
1a32817fb8 sdcard_image-rpi.bbclass: support for .dtbo files for dtb overlays
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>
2016-09-21 16:50:32 +01:00
Herve Jourdain
d98f2a74db linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays
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>
2016-09-21 16:47:26 +01:00
Herve Jourdain
09b76a43f6 rpi-base.inc: support for .dtbo files for dtb overlays
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>
2016-09-21 16:46:48 +01:00
Herve Jourdain
18a2fb644b linux-raspberrypi_4.4.bb: support for .dtbo files for dtb overlays
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>
2016-09-21 16:46:46 +01:00
Andrei Gherzan
a5f9b07a82 bcm2835: Compile examples correct LDFLAGS to avoid HASH errors
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>
2016-09-21 11:38:22 +01:00
Andrei Gherzan
8c5eba1d94 bcm2835: Update to 1.50
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-09-21 11:38:22 +01:00
Andrei Gherzan
5229f75604 wiringPi: Fix compilation of libraries
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>
2016-09-21 11:38:22 +01:00
Andrei Gherzan
5771c7f7d4 wiringpi: Fix prepend space
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>
2016-09-21 11:38:22 +01:00
Andrei Gherzan
1b2c25ee88 wiringpi: Update to 2.32
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-09-21 11:38:22 +01:00
Jonathan Liu
4c02c7ce07 sdcard_image-rpi.bbclass: remove redundant IMAGEDATESTAMP
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>
2016-09-16 18:30:08 +01:00
Scott Ellis
cc64d6324d userland: Add bash to RDEPENDS
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>
2016-08-29 20:59:42 +01:00
Khem Raj
2745399f75 gstreamer1.0-omx-1.2.0: Add patches and bbappend for 1.2.0 separately
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-07-13 12:40:41 +01:00
Khem Raj
3fb0a1914a sdcard_image-rpi.bbclass: Add the vardepexcludes
The problem reappears because we need to add to the variable
and not assign

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-07-13 12:40:40 +01:00
Khem Raj
6564e126ae sdcard_image-rpi.bbclass: Exclude DATETIME from task stamp
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>
2016-07-08 14:25:56 +01:00
Khem Raj
101e8aba77 linux-raspberrypi_4.4: Upgrade to 4.4.13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-07-08 14:25:55 +01:00
Khem Raj
10691ae680 firmware: Upgrade to 20160622
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-07-08 14:25:54 +01:00