Commit Graph

1109 Commits

Author SHA1 Message Date
Pierre-Jean Texier
e57d33298c rpi-gpio: bump to version 0.7.0
Also:
  - update the HOMEPAGE location
  - refresh patch
  - use 'distutils3' to support python3 -> python2 is now deprecated

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-12-31 13:12:48 +00:00
Pierre-Jean Texier
d059288fa0 linux-raspberrypi-rt: bump to revision e2e9cec
This version includes a fix for the USB part.

Fixes:

[    2.988098] CPU: 3 PID: 79 Comm: irq/56-dwc_otg_ Not tainted 4.19.71-rt24 #1
[    2.988102] Hardware name: BCM2835
[    2.988134] [<801120a8>] (unwind_backtrace) from [<8010d260>] (show_stack+0x20/0x24)
[    2.988151] [<8010d260>] (show_stack) from [<8085340c>] (dump_stack+0xbc/0x100)
[    2.988167] [<8085340c>] (dump_stack) from [<80121160>] (__warn.part.0+0xcc/0xe8)
[    2.988182] [<80121160>] (__warn.part.0) from [<80121314>] (warn_slowpath_null+0x54/0x5c)
[    2.988197] [<80121314>] (warn_slowpath_null) from [<8014f120>] (migrate_disable+0x220/0x

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-12-24 21:09:51 +00:00
Michael Baisch
ef6555c09a linux-raspberrypi.inc: no longer set CONFIG_LOCALVERSION to empty string
Fixes: #533

Signed-off-by: Michael Baisch <baisch@tau-tec.com>
2019-12-23 14:13:18 +00:00
Leon Anavi
bc7b654fee pi-bluetooth: Runtime depends on udev-rules-rpi
Add udev-rules-rpi as a runtime dependency. It brings udev rules
for creating /dev/serial1. This way hciuart.service, provided by
pi-bluetooth, will be successfully started because it depends
on dev-serial1.device. As a result the Bluetooth module will
be properly attached via UART HCI to BlueZ stack.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-12-23 14:12:39 +00:00
Andrei Gherzan
a0a5d3848e linux-raspberrypi: Bump to 4.19 recipe to 4.19.88
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-12-20 19:08:31 +00:00
Andrei Gherzan
655dbf3de8 raspberrypi-firmware: Update to current HEAD
This RaspberryPi firmware update includes a change in the license file
as well[1]. This change is for supporting customisation program.

[1] dd9e9ebb5d

As a result of this change, we update the hash in the bcm2835-bootfiles
recipe as well.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-12-20 19:08:31 +00:00
Francois Retief
3ae288aa38 sdcard_image-rpi.bbclass: Use IMAGE_NAME_SUFFIX variable in SDIMG
Use the IMAGE_NAME_SUFFIX variable to build the SDIMG name. Some layers,
notably meta-mender, change the IMAGE_NAME_SUFFIX variable to something
other that ".rootfs", causing build failures.

Signed-off-by: Francois Retief <fgretief@gmail.com>
2019-12-05 12:45:02 +00:00
Pierre-Jean Texier
ed6b75ba69 pi-blaster: bump to revision befd8ef
Also:
 - remove upstreamed patch.
 - update LIC_FILES_CHKSUM: License in the README was moved a
   couple of lines below

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-11-12 17:07:36 +00:00
Pierre-Jean Texier
a430f1e50a wiringpi: remove obsolete files
Since commit e050601 ("wiringpi: Delete"), wiringpi does not
exits anymore.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-11-11 10:55:27 +00:00
Pierre-Jean Texier
8672b8656d raspi-gpio: bump to revision 2eaa8b8
This includes the following changes:

2eaa8b8 Initialise hwbase so that access without /dev/gpiomem works again
f36777c Whitespace tidyup (and re-ran astyle). No functional changes.
80fa7d0 Add support for 2711
bf7f4c8 Reformat with astyle (cosmetic change)
aa55bbd Autoreconf for Buster
5e453d0 raspi-gpio: Fix handling of "funcs" mode

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-11-08 11:15:39 +01:00
Andrei Gherzan
b0600bf1ee linux-raspberrypi: Bump to 4.19 recipe to 4.19.81
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-11-08 11:15:04 +01:00
Andrei Gherzan
55b9bd6ef3 linux-firmware-rpidistro: Bump revision
This reverts the last firmware update where enabling WiFi breaks
Bluetooth connectivity[1].

[1] https://github.com/RPi-Distro/firmware-nonfree/issues/7

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-11-08 11:15:04 +01:00
Andrei Gherzan
b721933013 raspberrypi-tools: Update to current HEAD
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-11-08 11:15:04 +01:00
Andrei Gherzan
7f78604c4c raspberrypi-firmware: Update to current HEAD
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-11-08 11:15:04 +01:00
Andrei Gherzan
018683d24b pi-bluetooth: Update to latest version (0.1.12)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-11-08 11:15:04 +01:00
Paul Barker
254c9366b9 vc-graphics: Clarify license conditions
The license text matches the 'Broadcom-RPi' custom license used in
bcm2835-bootfiles.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-10-24 14:08:16 +01:00
Paul Barker
ae6611ea46 bcm2835-bootfiles: Clarify license conditions
We define a new 'Broadcom-RPi' license and include the full text in our
custom-licenses directory.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-10-24 14:08:16 +01:00
Paul Barker
55d521a888 armstubs: License is BSD-3-Clause
All source files in the armstubs directory have a 3-clause BSD license.
The Makefile doesn't appear to use any files from outside this directory
during the build.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-10-24 14:08:16 +01:00
Paul Barker
a4bbd10d46 licenses: Drop unused Broadcom license file
Signed-off-by: Paul Barker <paul@betafive.co.uk>
2019-10-24 14:08:16 +01:00
Martin Jansa
baba59dc28 linux-raspberrypi=4.19.80 bcm2835-bootfiles=20191021
* Upgrade the kernel to latest with corresponding firmware.

* This VC4 firmware is compatible with network boot described here:
  https://github.com/raspberrypi/rpi-eeprom/blob/master/firmware/raspberry_pi4_network_boot_beta.md

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-24 14:07:52 +01:00
Patrick Vacek
4776ecc532 u-boot: drop patches for RPi4 merged upstream.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
2019-10-23 11:35:53 +01:00
Khan3033
cee2557dc8 linux-raspberrypi: Updating the linux revision to resolve video rendering issue
Signed-off-by: Khan3033 <Riyaz.l@ltts.com>
2019-10-18 09:41:56 +01:00
Khem Raj
95ac7c9c11 omxplayer: Disable on aarch64
It does not build for 64bit, needs porting

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-16 15:31:42 +01:00
Vincenzo Pacella
f599fe632e linux-raspberrypi-rt: Update 4.19 recipe to 4.19.71
Signed-off-by: Vincenzo Pacella <shaduz@shaduzlabs.com>
2019-10-15 19:10:32 +01:00
Khem Raj
e050601d86 wiringpi: Delete
It has gone closed source and git tree has disappeared

http://wiringpi.com/wiringpi-deprecated/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 22:26:53 +01:00
Florin Sarbu
afc43769e4 linux-firmware-rpidistro_git: Update wifi firmware
This updates brcmfmac43455-sdio.bin to version 7.45.189
and brcmfmac43430-sdio.bin to version 7.45.98.83

This updated upstream firmware also includes the changes from
0001-brcmfmac43455-sdio.txt-Follow-raspbian-change-for-bo.patch
so we remove this patch along with removing the do_clean_pc
function which is not needed anymore since we don't apply
any other patches to the upstream source.

Signed-off-by: Florin Sarbu <florin@balena.io>
2019-10-09 23:16:41 +01:00
Chris Laplante
9a231b5794 sdcard_image-rpi.bbclass: make the dep on rpi-config:do_deploy explicit
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
2019-10-09 17:14:23 +01:00
Chris Laplante
787bcf3a0b bcm2835-bootfiles: tighten up dep on rpi-config
Intuitively, bcm2835-bootfiles:do_deploy should depend on rpi-config:do_deploy.
This indirectly resolves a missing dep between rpi-config:do_deploy and
do_image_rpi_sdimg (on an image recipe inheriting from sdcard_image-rpi.bbclass).
This manifested as changes to rpi-config (e.g. setting or unsetting
ENABLE_* variables) not triggering a rebuild of the SD card image.

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
2019-10-09 17:14:23 +01:00
Andrei Gherzan
d34e054d51 extra-build-config.md: Document DISABLE_VC4GRAPHICS
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-09-16 14:44:39 +01:00
Andrei Gherzan
7c1d1e1eeb rpi-base.inc: Introduce DISABLE_VC4GRAPHICS
Since we enabled vc4graphics by default[1], there is no easy way to disable
it if needed. This patch introduces a variable (DISABLE_VC4GRAPHICS)
which when set to '1' will not add 'vc4graphics' to MACHINE_FEATURES
forcing the old behaviour.
One could use it in 'local.conf' for example.

[1] https://github.com/agherzan/meta-raspberrypi/pull/417

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-09-16 14:44:39 +01:00
Andrei Gherzan
c1d16a3025 raspberrypi*.conf: Remove vc4 configuration as we already default to it
As of late[1], we defaulted to enabling vc4graphics in MACHINE_FEATURES.
Let's cleanup the machine configurations as per this change.

[1] https://github.com/agherzan/meta-raspberrypi/pull/417

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-09-16 14:44:39 +01:00
Timm Eversmeyer
0381ac4d08 raspberrypi-linux: removed protocoll setting from SRC_URI
Default protocoll for git will be used. Default setting is in the most case https.

Signed-off-by: Timm Eversmeyer saeugetier@gmail.com
2019-09-12 12:55:33 +01:00
Bernardo A. Rodrigues
34dab90dfc extra-build-config.md: add RPi 0W to UART section
This makes it clear in the docs that ENABLE_UART can be used both for the RPi 0W or 3.

Signed-off-by: Bernardo A. Rodrigues <bernardaraujor@gmail.com>
2019-09-10 12:01:27 +03:00
Andrei Gherzan
866ccc829f linux-raspberrypi: Update 4.19 recipe to 4.19.71
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-09-09 13:37:58 +03:00
Martin Jansa
81f79f15c3 u-boot-fw-utils: apply the same rpi4 patches as for u-boot recipe
* otherwise u-boot-fw-utils build for rpi4 fails with:
  scripts/kconfig/conf  --defconfig=arch/../configs/rpi_4_defconfig
  Kconfig
  ***
  *** Can't find default configuration "arch/../configs/rpi_4_defconfig"!
  ***
  scripts/kconfig/Makefile:128: recipe for target 'rpi_4_defconfig' failed

* cannot include/require u-boot_2019.07.bbappend directly in
  u-boot-fw-utils_2019.07.bbappend, because then it fails with:
  "u-boot_2019.01.bbappend: not a BitBake file"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-09-09 12:39:19 +03:00
Khem Raj
d1614999e1 eglinfo: Drop bbappend
eglinfo has been removed from OE-Core since aa36510ebe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-04 10:13:28 +03:00
Khem Raj
ed47e37e43 layer.conf: Add zeus to compatible layers
zeus is codename for next 3.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-04 10:13:28 +03:00
Martin Jansa
e811912fae raspberrypi-firmware: upgrade to latest to fix vc4-fkms
* with 4.19.66 kernel the vc4-fkms no longer works, because it doesn't
  get any usable modes from firmware

* this behavior was introduced probably in one of following changes:
  38e81f25e6
  https://github.com/raspberrypi/linux/pull/3082
  https://github.com/raspberrypi/linux/pull/3110
  66bafab005

* without this fix:
root@rpijama:~# cat /proc/device-tree/soc/firmwarekms@7e600000/status
okay

root@rpijama:~# modeprint vc4
Starting test
Resources

count_connectors : 1
count_encoders   : 1
count_crtcs      : 1
count_fbs        : 0

Connector: HDMI-A-1
        id             : 51
        encoder id     : 0
        conn           : connected
        size           : 0x0 (mm)
        count_modes    : 0
        count_props    : 9
        props          : 1 2 5 6 52 53 54 55 56
        count_encoders : 1
        encoders       : 50

Encoder: TMDS
        id     :50
        crtc_id   :0
        type   :2
        possible_crtcs  :0x1
        possible_clones :0x0

Crtc
        id             : 49
        x              : 0
        y              : 0
        width          : 0
        height         : 0
        mode           : 0xfec884
        gamma size     : 0

Ok

* with this fix:

martin@jama ~ $ sshc root@rpijama
Warning: Permanently added 'rpijama,192.168.169.37' (ECDSA) to the list of known hosts.
root@rpijama:~# modeprint vc4
Starting test
Resources

count_connectors : 1
count_encoders   : 1
count_crtcs      : 1
count_fbs        : 0

Connector: HDMI-A-1
        id             : 51
        encoder id     : 50
        conn           : connected
        size           : 1600x900 (mm)
        count_modes    : 22
        count_props    : 9
        props          : 1 2 5 6 52 53 54 55 56
        count_encoders : 1
        encoders       : 50
Mode: "1920x1080" 1920x1080 60
Mode: "1920x1080" 1920x1080 60
Mode: "1920x1080" 1920x1080 50
Mode: "1920x1080" 1920x1080 30
Mode: "1920x1080" 1920x1080 30
Mode: "1920x1080" 1920x1080 25
Mode: "1920x1080" 1920x1080 24
Mode: "1920x1080" 1920x1080 24
Mode: "1280x1024" 1280x1024 60
Mode: "1360x768" 1360x768 60
Mode: "1152x864" 1152x864 60
Mode: "1280x720" 1280x720 60
Mode: "1280x720" 1280x720 60
Mode: "1280x720" 1280x720 50
Mode: "1024x768" 1024x768 60
Mode: "800x600" 800x600 60
Mode: "720x576" 720x576 50
Mode: "720x480" 720x480 60
Mode: "720x480" 720x480 60
Mode: "640x480" 640x480 60
Mode: "640x480" 640x480 60
Mode: "720x400" 720x400 70

Encoder: TMDS
        id     :50
        crtc_id   :49
        type   :2
        possible_crtcs  :0x1
        possible_clones :0x0

Crtc
        id             : 49
        x              : 0
        y              : 0
        width          : 1920
        height         : 1080
        mode           : 0x1fcde54
        gamma size     : 0

Ok

* tested on raspberrypi3 B
  weston works fine
  qtbase-examples tested with:
  /usr/share/examples/opengl/cube/cube -platform eglfs

* the same issue is now in warrior, after someone tests on raspberrypi4
  it would be good to backport this to warrior as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-08-28 20:09:48 +01:00
Khem Raj
aa4222a446 bpftool: Enable for rpi since default kernel is > 4.14 now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-28 20:08:55 +01:00
Khem Raj
d7cd633b75 mesa: Enable vc4, v3d, kmsro gallium drivers
This enables new v3d driver which needs kmsro as dependency

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-28 20:08:55 +01:00
Francesco Giancane
e52158c936 linux-raspberrypi-rt: update to latest commit for 4.14 series
Update linux kernel 4.14 series recipe for building with latest -rt
branch.
This fixes #474.

Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
2019-08-22 14:29:07 +01:00
Vincenzo Pacella
2634621374 linux-raspberrypi: add linux-raspberrypi-rt 4.19
add rt kernel recipe for version 4.19

Signed-off-by: Vincenzo Pacella <shaduz@shaduzlabs.com>
2019-08-18 11:22:41 +01:00
Francesco Giancane
b112816e95 linux-raspberrypi: update to 4.14.114
Kernel 4.19.y and above was patched to rename the Raspberry Pi Zero W dts.
Unfortunately, this modification was not propagated to previous kernels,
especially on the 4.14.y series which is still supported in this layer.

Thus, kernel 4.14.y would not build because correct .dts file is not found.

The aforementioned modification was merged as backport back in 4.14.y series.
Updating to the latest commit fixes the issue.

Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
2019-08-15 17:30:29 +01:00
Andrei Gherzan
8106df150d raspberrypi4-64: Remove the 3G RAM limitation
The PCIe bounce buffers were ported[1] in the kernel so we can remove
this limitation now.

[1] https://github.com/raspberrypi/linux/pull/3144

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-08-15 16:50:50 +01:00
Andrei Gherzan
c6e0a7e467 mesa: Add v3d and kmsro driver as well
Videocore 5/6 support was added as a separate driver in mesa: v3d. Enable
this so we can have it available for Raspberry Pi 4. Also, this driver
depends on kmsro.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-08-15 16:50:50 +01:00
Andrei Gherzan
557ea4737e linux-raspberrypi: Update 4.19 recipe to 4.19.66
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-08-15 16:50:50 +01:00
Andrei Gherzan
42c02d063a raspberrypi-firmware.inc: Update to 20190718
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-08-15 16:50:50 +01:00
Khem Raj
be0e3df5cf python-rtimu,python-sense-hat: Convert to py3 modules
py2 is on its way out from oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-14 13:55:08 +02:00
Kirill Goncharov
c29c821c37 omxplayer: Bump revision
Bump revision to fix playback errors on RPi 4 (https://github.com/popcornmix/omxplayer/issues/733)
and update patches accordingly.
Update the license hash because of the change in FSF mailing address.

Signed-off-by: Kirill Goncharov <kdgoncharov@gmail.com>
2019-08-12 15:41:09 +02:00
Martin Jansa
9d0935c9bb sdcard_image-rpi.bbclass: use -v for all mcopy calls and add bbfatal in case mcopy fails
* I have this in our layer for some time:
  RPI_KERNEL_DEVICETREE_OVERLAYS_append = " overlays/vc4-fkms-v3d.dtbo"
  because we're using vc4graphics also on raspberrypi3 and it was
  working fine until recently.

* now the default rpi-base.inc in warrior and master branch includes the same since:
  37aa050d5a
  and do_image_rpi_sdimg started failing with a bit useless log:
  ...
  Partition Table: msdos
  Disk Flags:

  Number  Start   End     Size    Type     File system  Flags
   1      4194kB  46.1MB  41.9MB  primary               boot, lba
   2      46.1MB  1145MB  1099MB  primary

  mkfs.fat: warning - lowercase labels might not work properly with DOS or
  Windows
  mkfs.fat 4.1 (2017-01-24)
  WARNING: exit code 1 from a shell command.

* after adding -v to mcopy calls I got slightly better log:
  ...
  Copying w1-gpio-pullup.dtbo
  Copying w1-gpio.dtbo
  WARNING: exit code 1 from a shell command.

* the issue is that mcopy behavior in non-interactive shell is to fail
  when the target file already exists (sometimes it seems to cause mcopy
  to hang forever), but when you execute the run.do_image_rpi_sdimg
  script manually in interactive shell it will nicely show this prompt
  on stderr:
  $ dtb=vc4-fkms-v3d.dtbo recipe-sysroot-native/usr/bin/mcopy  -i boot.img -s BUILD/deploy/images/raspberrypi3/$dtb ::overlays/$dtb
    Long file name "vc4-fkms-v3d.dtbo" already exists.
    a)utorename A)utorename-all r)ename R)ename-all o)verwrite O)verwrite-all
    s)kip S)kip-all q)uit (aArRoOsSq): o

* with the bbfatal the log is finally a bit more useful:
  ...
  Copying w1-gpio-pullup.dtbo
  Copying w1-gpio.dtbo
  ERROR: mcopy cannot copy TOPDIR/BUILD/deploy/images/raspberrypi3/vc4-fkms-v3d.dtbo into boot.img
  WARNING: exit code 1 from a shell command.

* the only exception is FATPAYLOAD where it was ignoring mcopy with || true
  before, I've added bbwarn, because even issues like mentioned there
  "vfat issues like not supporting .~lock files" are probably worth
  reporting as warning (why would people add .~lock to FATPAYLOAD if
  it cannot be copied into boot.img)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-08-06 14:18:54 +01:00