Commit Graph

800 Commits

Author SHA1 Message Date
Andrei Gherzan
2adfc6818e
rpi-gpio: Update to v0.6.2
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:10:04 +01:00
Andrea Galbusera
4b0bc450e0
wiringpi: uprev to 2.44
This upgrade is required to solve the following runtime hardware detection
issue when calling wiringPiSetup() on the Pi3:

  Unable to determine hardware version. I see: Hardware   : BCM2835
  ,
  - expecting BCM2708 or BCM2709.

This was triggered by the recent kernel upgrade to 4.9 that introduced
"BCM2835" as the hardware signature in /proc/cpuinfo.

Patches reworked as follow:
* 0001-Add-initial-cross-compile-support.patch: rebase to current upstream
* 0001-include-asm-ioctl.h-directly-for-_IOC_SIZEBITS.patch: drop since is now
upstream

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-04-05 16:37:13 +01:00
Andrea Galbusera
d0c152d7f8
rpi-config: fix invalid shell variable name
Commit da32aac introduced an invalid shell variable name in do_deploy():
according to bash manpage variable names cannot contain dots. Replace
dot with underscore to fix it.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-04-05 16:35:21 +01:00
Trevor Woerner
da32aac453
rpi-config: waveshare screen support
Add support for the Waveshare 1024x600 "C" Rev2.1 7" IPS Capacitive Touch
Screen LCD with HDMI interface:

	http://www.waveshare.com/7inch-HDMI-LCD-C.htm
	http://www.waveshare.com/wiki/7inch_HDMI_LCD_(C)

This product works "out of the box" with the Raspberry Pi. Simply connect
the provided HDMI and USB cables between the two devices. The touch<=>mouse
integration works automatically.

Tested with a Raspberry Pi 3, with a 32-bit raspberrypi3 build.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-04-03 14:38:35 +01:00
Andrei Gherzan
0948d17ded
omxplayer: Add dependency on coreutils-native
Internal ffmpeg configure uses pr which is provided by coreutils-native:
| ./configure: line 471: pr: command not found

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-03-21 16:15:29 +00:00
Janek Filus
6c8ca9ccf1 sdcard_image: fix sdcard image generation
Rely on  shell environment when copying devicetree
and devicetree overlays to target image.

Signed-off-by: Janek Filus <janek.filus@bytesatwork.ch>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 17:38:06 -08:00
Khem Raj
e070005aa8 userland: Do not provide libgl
libgl is actually provided by mesa-gl and this
casued unneeded conflict between these two
packages resulting in sato image reporting missing
libGL.so.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 13:34:46 -08:00
Paul Barker
a84ba9b73c linux-raspberrypi_dev: Add back arm64 dtbo rules patch
This patch hasn't yet been applied to the 4.10.y branch of
linux-raspberrypi.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-11 09:43:17 -08:00
Paul Barker
65b9376450 linux-raspberrypi_4.4: Update to 4.4.50
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-11 09:33:17 -08:00
Paul Barker
7a9c3e48b2 linux-raspberrypi_dev: Disable version sanity check
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-11 09:33:17 -08:00
Paul Barker
65723a9455 linux-raspberrypi_dev: Allow branch override
This makes the linux-raspberrypi_dev recipe more flexible by allowing
the kernel branch to be overridden in local.conf.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-11 09:33:17 -08:00
Paul Barker
bfae6d8952 linux-raspberrypi_dev: Use AUTOREV
The development branches of linux-raspberrypi are rebased frequently. To
avoid fetch failures caused by out-of-date git hashes we need to use
AUTOREV.

LINUX_VERSION may need to be overridden in local.conf to match the
upstream version.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-11 09:33:17 -08:00
Paul Barker
6561befc96 linux-raspberrypi: Fix uImage build on 4.9.y and later
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-03-11 09:33:17 -08:00
Andreas Müller
52bec45b67 xserver-xf86-config: remove evdev configuration
xorg-xserver recommends xf86-input-libinput since oe-core's commit

| commit 2d005faff6341a81a2afae28860101ba9db51ae8
| Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
| Date:   Wed Oct 26 11:37:38 2016 +0300
|
|    conf: Use xf86-input-libinput by default
| ...

As nice side effect warnings for missing evdev in Xorg.0.log are gone.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-03-11 04:39:15 -08:00
Maciej Borzecki
c01466aabb rpi-base: wic: generate entries for device tree files
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>
2017-03-11 04:39:15 -08:00
Maciej Borzecki
6bafea4f37 wic: move sdimage-raspberrypi to toplevel wic location
Wic supports picking up image files from toplevel LAYERDIR/wic directory. Using
this location has the benefit that image files are easier to find (compare that
to previously used scripts/lib/image/canned-wks/ location).

Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
2017-03-11 04:39:14 -08:00
Maxin B. John
ff914ff622 gstreamer1.0-omx: remove bbappend for version 1.2.0 and git
OE-Core rev: aa06a18d59eb391d1a7ace9daa0681bdf8daf17f
removed gstreamer1.0-omx_1.2.0 recipe.

OE-Core removed all gst git recipes as well

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 04:39:13 -08:00
Khem Raj
a23003794f userland: Update to latest
Forward port the patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 04:39:13 -08:00
Khem Raj
8873478623 linux-raspberrypi: Default to 4.9 kernel
4.9 is now declared stable for raspberrypi

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 04:39:12 -08:00
Khem Raj
59d111195d linux-raspberrypi_4.9.bb: Update to 4.9.13
drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 04:38:58 -08:00
Khem Raj
12f8a354bf firmware: Update to 20170303 release
Uses 4.9.13 and has rpi0w support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11 04:38:55 -08:00
Khem Raj
6ce6e57782 linux-firmware: Bring up wifi/ble interface on rpi3
Currently the firmware is installed but kernel fails to load it
due this .txt file missing in the firmware directory and it ends
up with wifi/bluetooth i/f not being initialized. The error is
also in dmesg

[    3.120991] usbcore: registered new interface driver brcmfmac
[    3.148240] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.txt failed with error -2

After applying this patch now ifconfig -a can list wlan0 interface
successfully.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 18:02:46 -08:00
Khem Raj
9aded8f9d4 omxplayer: Update to latest and disable on rpi64
Its uses omaxplayer/mmal APIs from firmware which seems
to not work with 4.9 kernel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 16:45:58 -08:00
Khem Raj
c768a3d1ae linux-raspberrypi_dev: Fix build on rpi3 64bit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:18 +01:00
Khem Raj
9d418db5ed raspberrypi3-64.conf: Add vc4graphics to MACHINE_FEATURES
Userland wont work in 64bit mode

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:15 +01:00
Khem Raj
f81e9ac1bb rpi-default-versions.inc: Use fallback weak assignment
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>
2017-02-16 20:53:14 +01:00
Khem Raj
11d376d2fe rpi-config: Specify bcm2710-rpi-3-b dtb for 64bit rpi3
Let config.txt explicitly specify it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:12 +01:00
Khem Raj
50f769f82c sdcard: Use kernel8.img for 64bit kernel image name
This helps the firmware to identify the kernel as 64bit
image

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:10 +01:00
Khem Raj
9eee2833c3 raspberrypi3-64.conf: Specifiy rpi3-64bit dtbs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:08 +01:00
Khem Raj
8990caf8b7 linux-raspberrypi: Add defconfig for raspberrypi3-64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:07 +01:00
Khem Raj
c9cf319f47 firmware: Update to 20161215 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:05 +01:00
Khem Raj
d01bf8751b userland: Upgrade to latest and implement triple buffering for wayland
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:04 +01:00
Khem Raj
39bd54a3f6 linux-raspberrypi_4.9.bb: Upgrade to 4.9.10
Fix dtbo builds for arm64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:02 +01:00
Khem Raj
d9c6b7903e linux-raspberrypi_dev.bb: Add recipe for tracking development tip
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:01 +01:00
Khem Raj
0be123e5b8 raspberrypi3-64.conf: Use 4.9 as default kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:53:00 +01:00
Khem Raj
9ed927caae rpi-default-providers: Let mesa provide libgbm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:52:58 +01:00
Herve Jourdain
36a3895d4e Add raspberrypi3-64.conf
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16 20:52:57 +01:00
Paul Barker
67e0216492 u-boot: Fix boot on rpi3
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>
2017-02-16 01:11:36 +01:00
Paul Barker
acbbe4b252 linux-raspberrypi_4.4: Update to 4.4.48
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-02-16 01:11:30 +01:00
Mirza Krak
68634deeed u-boot: drop backported patches
U-boot has been updated to 2017.01 in poky/oe-core which contains these
patches.

Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
2017-01-25 16:37:11 +01:00
Andrei Gherzan
ae2be3aff9 README: Mention CM1 and CM3 support
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 20:15:12 +01:00
Andrei Gherzan
8f1511d72d rpi-base.inc: Include dtb file for CM1 and CM3
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 20:15:12 +01:00
Andrei Gherzan
9d4b68dc77 raspberrypi*.conf: Minor tweaks
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 20:15:12 +01:00
Andrei Gherzan
f43dd79dcc raspberrypi-cm3.conf: Add dummy machine for CM3 (alias for RPi2)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 20:15:12 +01:00
Andrei Gherzan
3ea6f9f455 raspberrypi-cm.conf: Add dummy machine for CM1 (alias for RPi1)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-20 20:15:12 +01:00
Andrei Gherzan
ec28a0d5b3 linux-raspberrypi_4.9: Update to 4.9.4
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-18 18:33:20 +01:00
Andrei Gherzan
9288778503 linux-raspberrypi_4.4: Update to 4.4.43
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-01-18 18:32:59 +01:00
Khem Raj
7f99a4cb6d gstreamer1.0-omx: Add 1.10x support
Restructure the bbappends such that common portions
can be put in a common bbappend and version specific
bbappend then only do the patching

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-01-18 17:45:56 +01:00
Paul Barker
ac715f78f8 linux-raspberrypi: Drop v4.8
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-01-18 17:08:00 +01:00
Paul Barker
6dcdb7fba3 linux-raspberrypi: Drop v4.7
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2017-01-18 17:08:00 +01:00