aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core
AgeCommit message (Collapse)Author
2023-05-28udev-rules-rpi: Use 99-com.rules directly from upstreamFlorin Sarbu
Rather than have an unsynchronized copy of this file, let's use this udev rule directly from upstream. Signed-off-by: Florin Sarbu <florin@balena.io>
2023-03-24psplash: Make psplash wait for the framebuffer to be readyKhem Raj
Especially with systemd its seen that psplash-start service starts before /dev/fb0 is created by kernel which results in [FAILED] Failed to start Start psplash boot splash screen. this is quite frequent race now with kernel 6.1 Add device dependency on sys-devices-platform-gpu-graphics-fb0.device via a unit file drop-in Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-21packagegroup-rpi-test: Include more packagesAndrei Gherzan
Include more packages from this layer so we can test/CI the support easier. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21rpi-hwup-image: Drop imageAndrei Gherzan
This was deprecated for a good while now so let's drop it. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21rpi-basic-image: Drop imageAndrei Gherzan
This was deprecated for a good while now so let's drop it. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-05-1699-com.rules: fix error invalid substitution typeChangqing Li
fix below error: /etc/udev/rules.d/99-com.rules:10 Invalid value "/bin/sh -c 'ALIASES=/proc/device-tree/aliases; if cmp -s $ALIASES/uart0 $ALIASES/serial0; then echo 0;elif cmp -s $ALIASES/uart0 $ALIASES/serial1; then echo 1; else exit 1; fi'" for PROGRAM (char 58: invalid substitution type) Signed-off-by: Changqing Li <changqing.li@windriver.com>
2020-11-25packagegroup-rpi-test: Add python3-sense-hat in a meta-python specific bbappendKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-24packagegroup-rpi-test: resolve `wireless-regdb` conflictJon Magnuson
Replaces `wireless-regdb` with `wireless-regdb-static` provided by poky. Fixes #639. Signed-off-by: Jon Magnuson <jon.magnuson@gmail.com>
2020-04-20psplash: Do not define ALTERNATIVE_PRIORITY for non-existing providerKhem Raj
This simply causes build warnings about priority of two packages being same, but infact this is redundant, therefore remove setting ALTERNATIVE_PRIORITY for psplash-raspberrypi Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-30packagegroup-rpi-test: use MACHINE_ARCHMartin Jansa
* fixes this error reported by sstate-diff-machines.sh: === Comparing signatures for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 === | ERROR: packagegroup-rpi-test different signature for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 | NOTE: Starting bitbake server... | Hash for dependent task packagegroups/packagegroup-rpi-test.bb:do_package changed from 90d4d6b4f44b5c02560c4fd3a1d6143d7c79e75a110db351c99d393a58b5cf26 to 32d7a96f98179695ff0dce057a8501a6920ce7f053a47c3bd6bd50613bd2618b | Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb:do_package with hashes 90d4d6b4f44b5c02560c4fd3a1d6143d7c79e75a110db351c99d393a58b5cf26 or 32d7a96f98179695ff0dce057a8501a| 6920ce7f053a47c3bd6bd50613bd2618b | * MACHINE_EXTRA_RRECOMMENDS in RRECOMMENDS_${PN} is MACHINE specific, e.g. between raspberrypi2 and raspberrypi3: tmp-glibc/sstate-diff/1580322520/raspberrypi2/all-webos-linux/packagegroup-rpi-test/1.0-r0.do_package.sigdata.90d4d6b4f44b5c02560c4fd3a1d6143d7c79e75a110db351c99d393a58b5cf26 tmp-glibc/sstate-diff/1580322520/raspberrypi3/all-webos-linux/packagegroup-rpi-test/1.0-r0.do_package.sigdata.32d7a96f98179695ff0dce057a8501a6920ce7f053a47c3bd6bd50613bd2618b bitbake-diffsigs tmp-glibc/sstate-diff/1580322520/raspberrypi*/*/packagegroup-rpi-test*/*do_package.sig* | NOTE: Starting bitbake server... basehash changed from ee2d20ddb4aa98ffefe5c4c56ba2e59833ba94ed3a4523d3e52683209626aa23 to ca3df8d8ef86b298f57c41ffba278dd0330ffb00e7e25943c272c8b3c57a6dc3 Variable MACHINE_EXTRA_RRECOMMENDS value changed: " kernel-modules udev-rules-rpi {+ linux-firmware-rpidistro-bcm43430 linux-firmware-rpidistro-bcm43455 bluez-firmware-rpidistro-bcm43430a1-hcd bluez-firmware-rpidistro-bcm4345c0-hcd +}" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-30packagegroup-rpi-test: include bigbuckbunny in RRECOMMENDS_${PN} only with ↵Martin Jansa
meta-multimedia * resolves: ERROR: Nothing RPROVIDES 'bigbuckbunny-480p' (but meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'bigbuckbunny-480p' is unbuildable, removing... Missing or unbuildable dependency chain was: ['bigbuckbunny-480p'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-rpi-test', 'bigbuckbunny-480p'] when building without meta-multimedia layer included Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-10wiringpi: DeleteKhem Raj
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-08-14python-rtimu,python-sense-hat: Convert to py3 modulesKhem Raj
py2 is on its way out from oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-30packagegroup-rpi-test: Depend on wireless-regdb instead of crdaKhem Raj
this should bring in crda if needed Fixes issue #456 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-24psplash: Raise alternatives priority to 200Gianluigi Tiesi
Alternatives priority of psplash in poky is now 100, so we need something higher (fixes #381). Signed-off-by: Gianluigi Tiesi <sherpya@netfarm.it>
2018-12-12Add Pican2 supportFabien Lahoudere
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>
2018-09-20packagegroup-rpi-test: Ensure that OMXPLAYER is only set when using userland ↵Khem Raj
graphics Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-17rpi-hwup-image.bb: Modified the warning message in do_image_prepend()Steve Pavao
When bitbaking image rpi-hwup-image, a warning message is generated to inform he user that the image is deprecated. The warning message contains a suggestion of a non-deprecated image to use instead. Previous to this commit, core-image-minimal was the suggested alternate image. This was a subpar suggestion, because rpi-hwup-image packages the kernel modules in the image, but core-image-minimal does not. This can lead to confusion for the user, who may not immediately realize that their kernel modules are no longer in the image. With this commit, the warning message now suggests core-image-base, which packages the kernel modules in its image. This change was suggested by Khem Raj on the Yocto project mailing list. Signed-off-by: Steve Pavao <stevep@korgrd.com>
2018-07-16mesa-demos,piglit,packagegroup-core-tools-testapps: Remove dependency on ↵Khem Raj
mesa-demos mesa-demos demand libgles1 and userland driver does not have it, therefore make it conditional on choice of graphics driver, remove it when using userland driver and keep it when using vc4 graphics driver. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic
Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-27meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic
Keep naming consistency and ensure they are still applied when the upstream recipes are updated. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-04-23Drop unnecessary dependencies and tasksPaul Barker
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>
2018-04-06udev-udisks-rules-rpi: Hide initial boot partition from udisks2Andreas Müller
If I am not mistaken, many desktops (kde/lxqt/xfce..) use udisks2 to ask for devices which can be mounted. Without this patch the initial boot partition can be mounted by a single click on folder displayed on desktop or file manager. Why it is suggested to add this recipe to an image: * It removes annoying icon in desktop/file manager. * The initial boot partition is vfat. Unpriviledged users can modify content. E.g by removing files accidently, images can be turned into non-booting condition easily. And from security point of view, it is a disaster. FWIW: Have similar in all my BSPs vor very long time. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-02-28rpi-basic-image: Refactor to avoid double deprecation warningsPaul Barker
If rpi-basic-image is based on rpi-hwup-image, both deprecation warnings are printed which may be confusing. Therefore let's just copy over the relevant bits of rpi-hwup-image for now. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-02-28rpi-*-image: Deprecate old image namesPaul Barker
As discussed on the issue tracker, it's confusing for meta-raspberrypi to have its own set of image names filling the same jobs as the core images. Therefore we are marking these images as deprecated and will be removing them in the future. The recommended replacement images are as follows: rpi-hwup-image -> core-image-minimal rpi-basic-image -> core-image-base The image 'rpi-test-image' will be kept and is not marked as deprecated, it is still useful for testing. It it updated to be based on 'core-image-base'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-07-27packagegroup-rpi-test, rpi-test-image: restrict to ^rpi$ and include ↵Martin Jansa
omxplayer only for 32bit rpi * omxplayer has: COMPATIBLE_MACHINE_rpi_aarch64 = null so it cannot be inclued for raspberrypi3-64 * components used by this packagegroup are also restricted to ^rpi$ so the packagegroup and the image using it cannot be built for anything else * fixes couple errors when trying to build world with meta-raspberrypi included Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-19udev: Create rules file to generate serial0/1Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-17psplash: Let distro override the default splash image if it providesKhem Raj
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>
2016-07-08packagegroup-rpi-test: Fix COPYING md5sumAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-07-08packagegroup-rpi-test: Poky moved the license so fix LIC_FILES_CHKSUMAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22packagegroup-rpi-test: Add packages to be able to test WiFi/BluetoothAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-01-11packagegroup-rpi-test: Include newly added packagesAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-08-10packagegroup-rpi-test: Add pi-blasterPetter Mabäcker
Ensure that pi-blaster is built and included by default when building 'rpi-test-image'. Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-03-12rpi-basic-image: Define rpi SPLASH specific packageAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-19packagegroup-rpi-test: Add some packagesAndrei Gherzan
bcm2835 is an empty package because this recipe provides a static library. Install on target only bcm2835-tests package in which files are statically linked to that library. Add forgotten GPIO packages: rpi-gpio and rpio. Change-Id: I498d2a3948ad5faf963d492bc496d4725a79e136 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-19rpi-test-image: Add test imageAndrei Gherzan
Change-Id: Iff4f58b43d1dcf5ea4f866b565542807345d6066 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-17packagegroup-rpi-test: Add test packagegroupAndrei Gherzan
Change-Id: I74f7c0d33d5f9692a427587bf0f8ef9980ebfcd3 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-08-21base-files: Remove profile and fstabAndrei Gherzan
Remove these files as the default ones work just OK. Moreover, not having /run mounted as tmpfs, would break mounting root as read only. This is done in the default fstab so use that one. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-06-10psplash: only set image for MACHINE=raspberrypiPaul Barker
Instead of overriding the default psplash image, the raspberrypi image is added as an additional image. It is then set as the default in the raspberrypi machine config file so that other targets do not pick up our splash image. Tested on raspberrpi and qemuarm: on raspberrypi I see to Raspberry Pi logo, on qemuarm I see the Yocto Project logo. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-05-01netbase: Remove bbappend and filesPaul Barker
Dropped raspberrypi modifications to hosts and interfaces files as they are unnecessary. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-27rpi-zram-service: Remove recipe as it was moved to meta-oeAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18rpi-basic-image: Add splash image featureAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18psplash: Add bbappend to use a RPi logoAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-03rpi-basic-image: Add new basic image with SSH serverJack Mitchell
Add a new basic image with ssh-server-dropbear IMAGE_FEATURE This is to allow people without physical hardware attached to the Pi such as monitor and keyboard to connect over the network. [GITHUB #52] Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-09netbase: Rename bbappend and directory to match the updated version of netbaseAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02rpi-hwup-image: Create image based on core-image-minimalAndrei Gherzan
Include kernel modules in rootfs while generating a core-image-minimal. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-04-24rpi-zram-service: Add little systemd service to enable zram on the RPi.David-John Willis
* Needs to move to something more generic in time.
2012-04-03BASE-FILES: Add RaspberryPi fstab and profile.David-John Willis
2012-04-03NETBASE: Add raspberrypi hosts and interfaces.David-John Willis
* Just basic ones for now.