Age | Commit message (Collapse) | Author |
|
* 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>
(cherry picked from commit 609df9391701e4c82b2807fe8ffe3bca55b9787e)
|
|
* 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>
|
|
* 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:
https://github.com/raspberrypi/firmware/commit/38e81f25e639d19fc0ce6e67fd39998c340a15d5
https://github.com/raspberrypi/linux/pull/3082
https://github.com/raspberrypi/linux/pull/3110
https://github.com/raspberrypi/firmware/commit/66bafab005569e3eb92ec54cd3efeee3da338738
* 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>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Raspberry Pi 4 doesn't have a working USB driver in u-boot. This makes
the defconfig not to enable the relevant config case which breaks the
build with:
error: expected '}' before
'BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB'
This was fixed in upstream and we backport the relevant commit.
Signed-off-by: Andrei Gherzan <andrei@balena.io>
|
|
This issue was introduced by b76252c98520b79e012495f8022f238f66c20b05
where the backported patches were not reflected in SRC_URI.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
The upstream branch might suffer rebases due to effort of pushing the
patches upstream. To avoid issues, let's have here the patches we need
for RPi 4 support.
These patches are backported on the u-boot version in warrior.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
When we read the docs, we have the feelings that theses variables are
boolean ones. So I was setting, for example in my distro.conf file the
variable ' ENABLE_I2C = "1" ' to enable I2C. Then I wanted to disable it
by simply setting 'ENABLE_I2C' to "0" but it wasn't working. So I
noticed that, for example, ' ENABLE_UART ' was checked with ' = "1" '
condition and some other "boolean" was checked against ' -n ' like for
ENABLE_I2C.
This commit tries to have an uniform behavior for all variables that are
shown in the doc under the format ' VARIABLE = "1" ' to enable them and
the reader can think they are kind of 'boolean' values.
Signed-off-by: Joël Carron <joel.carron@eeproperty.ch>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Needed for 4.19 kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Used printf command because on some systems bash doesn't escape
sequences consistently.
Signed-off-by: memox5 <memox_5@yahoo.com>
|
|
Signed-off-by: Zahari Petkov <zahari@balena.io>
|
|
This fixes raspberrypi/firmware#1051
Signed-off-by: Pepijn de Vos <pepijndevos@gmail.com>
|
|
In order to make Pican 2 work, we :
- add mcp2515.dto to the overlay list
- add a variable to enable it in local.conf
- create a udev rule to mount interface
http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
|
|
setting cma is not required with latest vc4 driver
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
vc4-fkms-v3d needs dispmanx, its DRM VC4 V3D driver on top of the dispmanx
display stack, this does not work with 4.14 kernel and since we always
use vc4graphics on 64bit, just keep using vc4-kms-v3d dtbo which should
enable right graphics
Tested with core-image-sato, running glxgears with 55.5fps in
raspberrypi3-64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Keep consistency with current practices.
Signed-off-by: Hugo Hromic <hhromic@gmail.com>
|
|
Keep naming consistency and ensure they are still applied when the upstream recipes are updated.
Signed-off-by: Hugo Hromic <hhromic@gmail.com>
|
|
Signed-off-by: Hugo Hromic <hhromic@gmail.com>
|
|
Controlled with ENABLED_AT86RF variable
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
|
|
The current firmware doesn't need this.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
|
|
stable #4
RaspberryPi 3B+ support
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
|
|
[Issue #239] -- https://github.com/agherzan/meta-raspberrypi/issues/239
The patch 0002-rpi_0_w-Add-configs-consistent-with-RpI3.patch has been
applied to the upstream U-Boot repo and is now in the release that
openembedded-core uses so remove it from meta-raspberrypi's U-Boot
bbappend.
Signed-off-by: Jonathan Haigh <jonathan.haigh@arm.com>
|
|
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
|
|
Document and add support to easily enable USB gadget mode.
Also fix a spelling error.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
|
|
RDEPENDS is fairly meaningless for recipes which don't create a package to be
installed into the rootfs. Instead we should be using DEPENDS to guarantee
correct ordering of build tasks.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
|
|
We have a few recipes which only deploy files that go into the boot partition
and do not create packages to be installed into the rootfs. These recipes don't
need to run the usual packaging tasks so we can drop them to speed up the build
a little.
We also have a bunch of recipes that don't need the usual toolchain as they just
copy files or invoke native commands like `mkimage`. So to speed up the build a
little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency
on the toolchain.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
|
|
Added support for and documented the following new extra build options:
* gpu_freq overclocking option
* disable boot rainbow splash screen
* configure the boot delay after GPU firmware loading
* configure common HDMI and composite video options
Signed-off-by: Hugo Hromic <hhromic@gmail.com>
|
|
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
|
|
This time use the snapshot archives to avoid
repo clone size issues
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
There hasn't been a tagged version of the firmware lately, but there have been
several bugfixes listed in the commit history and we're about to move to v4.14.y
as the default kernel so let's get up-to-date.
The actual commit used is the most recent change to the firmware files as of
2018-02-26, the most recent commits which only change the kernel image and other
files we don't use are ignored.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
|
|
This makes the defconfig more consistent with the RPi 3 and
CONFIG_OF_EMBED is needed to get the RPi firmware provided
DTB to function.
Recently removed by:
a50e19695f2cc655ef6248b77c8244519dbb468c u-boot: drop upstreamed patches in v2018.01
however this change missed the cutoff for v2018.01
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
|
|
|
|
These are now in upstream, so they are no longer required here.
Signed-off-by: Andrea Galbusera <gizero@gmail.com>
|
|
Allow user to replace VC4DTBO (e.g. vc4-kms-v3d) on raspberrypi3-64.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
|
|
This makes the defconfig more consistent with the RPi 3 and
CONFIG_OF_EMBED is needed to get the RPi firmware provided
DTB to function.
Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Added patch status information in patch header, and re-word of commit
message
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
|
|
It is all ready supported upstream and this will apply a backported
patch until next U-boot release.
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
|
|
The variable RPI_EXTRA_CONFIG can be set in local.conf to append text to the
Raspberry Pi config.txt file as described in the documentation.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
|