Commit Graph

694 Commits

Author SHA1 Message Date
Khem Raj
4f2dd0f0e8 userland: Update to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-05-24 16:20:58 +01:00
Paul Barker
45ece9cd0a linux-raspberrypi: Minor recipe tidyup
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-22 10:48:05 +02:00
Paul Barker
e5f33333ca linux-rasbperrypi: Update to 4.9.27
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-22 10:48:05 +02:00
Andrei Gherzan
3d43e174d2 Merge pull request #71 from agherzan/pbarker/dev-4.11
linux-raspberrypi: Switch dev recipe to 4.11 branch
2017-05-17 18:49:11 +01:00
Andrei Gherzan
c4e6ff4f9f Merge pull request #59 from LocutusOfBorg/patch-2
Make CMDLINE overridable from outside
2017-05-17 18:48:50 +01:00
Andrei Gherzan
39e1d49097 Merge pull request #70 from agherzan/pbarker/drop-4.4
linux-rasberrypi: Drop 4.4 series kernel
2017-05-17 18:48:36 +01:00
Andrei Gherzan
adf62cd9e8 Merge pull request #68 from resin-os/ignore-logs
.gitignore: Ignore log files
2017-05-16 12:26:41 +01:00
Gianfranco Costamagna
e28e6e6422 raspberrypi0.conf: make SERIAL_CONSOLE overridable from outside
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>
2017-05-16 12:54:04 +02:00
Gianfranco Costamagna
4a2e37f96e linux-raspberrypi: Make CMDLINE overridable from outside
currently there is no way to override the default CMDLINE,
 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>
2017-05-16 12:53:47 +02:00
Andrei Gherzan
6d5d83f1d6 Merge pull request #67 from agherzan/misc-fixes
Various tweaks and fixes
2017-05-15 13:12:28 +01:00
Andrei Gherzan
a438f1d514 Merge pull request #69 from agherzan/github
GitHub templates
2017-05-15 12:25:24 +01:00
Paul Barker
a001d9f316 linux-raspberrypi: Switch dev recipe to 4.11 branch
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-15 10:29:14 +01:00
Paul Barker
9eaff5ce1a linux-rasberrypi: Drop 4.4 series kernel
The rpi-4.4.y branch has been unmaintained for a couple of months now.
Let's drop it before branching for pyro.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-15 10:19:17 +01:00
Andrei Gherzan
135a7ae55f
PULL_REQUEST_TEMPLATE.md: Add pull request template
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-12 20:41:05 +01:00
Andrei Gherzan
63aa85268c
ISSUE_TEMPLATE.md: Add issue template
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-12 20:40:48 +01:00
Andrei Gherzan
d0abd927f5
.gitignore: Ignore log files
Signed-off-by: Andrei Gherzan <andrei@resin.io>
2017-05-12 18:46:49 +01:00
Andrei Gherzan
abeddc3b0d
README.md: Add info about github pull requests
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-12 18:38:54 +01:00
Andrei Gherzan
d8da77b57e
README: Migrate to markdown version
Add badges too.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-12 18:16:57 +01:00
Andrei Gherzan
3cf2582cc9
README: Document missing dependencies
We depend on other layers from meta-oe.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-12 18:16:40 +01:00
Khem Raj
d9e94b87a7
mesa-gl: Enable gbm for rpi
weston needs gbm support which is not
in userland

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-05-11 18:18:08 +01:00
Khem Raj
2aa6b1a637
userland: Add missing GLES2 defines
Needed by weston

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-05-11 18:18:05 +01:00
Andrea Galbusera
8527a396d3 rpi-base: fix make_dtb_boot_files() for raspberrypi3-64
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>
2017-04-21 18:01:08 +01:00
Andrei Gherzan
decdacf30c raspberrypi3.conf: Use a stand alone machine configuration
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>
2017-04-21 17:02:28 +01:00
Andrei Gherzan
0d28786dac raspberrypi3-64.conf: Make SERIAL_CONSOLE overwritable
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-21 17:00:02 +01:00
Andrei Gherzan
b05e5e32a4 raspberrypi2.conf: Make SERIAL_CONSOLE overwritable
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-21 17:00:02 +01:00
Andrei Gherzan
e8682225ef raspberrypi.conf: Have the ability to overwrite SERIAL_CONSOLE
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-20 12:22:49 +01:00
Khem Raj
7d064961c2 linux-raspberrypi_4.9.bb: Update to 4.9.23
bring CMA > 256M changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-20 11:58:56 +01:00
Andrei Gherzan
962ba44ec8 raspberrypi0-wifi.conf: Use a stand alone machine configuration
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>
2017-04-19 18:43:48 +01:00
Andrei Gherzan
668446e283 udev: Create rules file to generate serial0/1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-19 17:47:39 +01:00
Paul Gortmaker
8a450f0a8a README: document 64 bit r-pi3 variant for MACHINE
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2017-04-17 02:33:31 +01:00
Rob Woolley
af79504e44 pitft: Add documentation for pitft35r in README
The support for the PiTFT 3.5 inch resistive touchscreen is optional.
It may be enabled by adding the following line in local.conf:

    MACHINE_FEATURES += "pitft pitft35r"

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
2017-04-17 02:22:35 +01:00
Rob Woolley
0ef0667550 pitft: Include a pitft35r MACHINE_FEATURE
This MACHINE_FEATURE will automatically add the recommended
Adafruit configuration line to the Raspberry Pi config.txt.

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
2017-04-17 02:22:34 +01:00
Rob Woolley
e11d38f8dc pitft: Include the pitft35r dtbo files
Include the pitft35r device tree blobs in the filesystem of the image.

Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
2017-04-17 02:22:33 +01:00
Khem Raj
d70e311c43 psplash: Let distro override the default splash image if it provides
BSPs should not be overriding the distro splash images, here we
reduce the priority of psplash-raspberrypi below 100 so the defaults
from distros can kick in.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 02:20:30 +01:00
Khem Raj
7e941bb1ed eglinfo-fb: Mark is userland specific
It does not yet compile/work with vc4 open graphics driver

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 02:20:21 +01:00
Khem Raj
1a42bce360 userland: Upgrade to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 02:20:15 +01:00
Andrei Gherzan
fe909cd5b9 x264: Fix build for armv6 RaspberryPi boards
quant-a.S uses rbit thumb instruction unconditionally even though only
from ARMV6T2 this is available (which is not the case for RPI1, RPI0
etc). Avoid this by disabling asm.

Signed-off-by: Andrei Gherzan <andrei@resin.io>
2017-04-17 02:13:48 +01:00
Andrei Gherzan
1b05ca6bb4 omxplayer: Bump to head and fix missing native dependency
Signed-off-by: Andrei Gherzan <andrei@resin.io>
2017-04-17 02:13:42 +01:00
Andrei Gherzan
78612dfcc5
README: Add info about raspberrypi0-wifi
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:12:40 +01:00
Andrei Gherzan
723f04622f
raspberrypi0-wifi.conf: Add machine configuration file
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:12:17 +01:00
Andrei Gherzan
66e0e37ce3
rpi-base.inc: Include dtb for RPI0 WiFi
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:11:49 +01:00
Andrei Gherzan
aa454eea68
linux-raspberrypi_4.9: Bump to 4.9.21
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:11:13 +01:00
Andrei Gherzan
e3620fc038
firmware.inc: Bump to 20170405
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:10:53 +01:00
Andrei Gherzan
58b2015564
bcm2835: Update to v1.52
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-14 21:10:26 +01:00
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