aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-09-24linux-raspberrypi-dev: Bump to 4.13.y seriesPaul Barker
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-24linux-raspberrypi: Move LOADADDR setting to inc filePaul Barker
There is no reason to continue supporting pre-4.8 series kernels so we can move the setting of LOADADDR to the common inc file. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-24linux-raspberrypi: Merge inc filesPaul Barker
There is no need to have 2 separate inc files any more and the existing code has several duplications. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-24linux-raspberrypi: Drop ineffective codePaul Barker
The code to determine if we need to depend on lzop-native will fail as the local defconfig file no longer exists. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-24linux-raspberrypi-base.bbclass: DropPaul Barker
The only remaining function in linux-raspberrypi-base was split_overlays() which is used in the sdcard_image-rpi class. So we can move this function over and drop the now-empty linux-raspberrypi-base class. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-24linux-raspberrypi: Drop unnecessary codePaul Barker
* The kerneltype variable is not used anywhere after being set. * The manipulation of KERNEL_DEVICETREE is effectively a no-op, we read the current value in get_dts() and store this back into the same variable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-24omxplayer: Fix build issuesPaul Barker
* Update the recipe and patch the Makefile to not require internet access during do_compile. Unfortunately, the upstream Makefile wants to access a web service hosted on Heroku and to "git clone" ffmpeg with no fixed commit hash. * Patch Makefile.ffmpeg to avoid a potential race condition between the configure & compile stages. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-09-21linux-firmware: Update brcmfmac43430 to 7.45.41.46Andrei Gherzan
The version of this firmware provided by linux-firmware is 7.45.41.26. This version seems to have connectivity issues when bonding interfaces. Raspbian included an updated version (7.45.41.46) which tested, proved to fix this problem (see https://github.com/resin-os/meta-resin/issues/812). The version Raspbian is providing is not yet in linux-firmware as they have it directly from Cypress (see https://github.com/RPi-Distro/repo/issues/88). Besides the issue described above, it fixes various other issues including a broadpwn fix. Hopefully this version, or a newer one, will end up in upstream soon. In order to catch when that happens and stop overwriting this firmware, a check is added in the racipe based on the md5sum of the current shipped firmware. In terms of ditribution license, we got an informal one in the github thread mentioned above. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-09-20xserver-xf86-config: Disable glamor for the modesetting driver on pi64Khem Raj
Fixes a xorg server crash with musl see details https://github.com/voidlinux/void-packages/issues/6091 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-20linux-raspberrypi: Build dtbs with dtbs make target for rpi64Khem Raj
OE currently builds dtb files with its own custom targets by specifying each dtb file as makefile target, this creates bad dtb for rpi64 bit. This patch calles 'make dtbs' at the end which regenerates the correct dtb files This makes the vc4 initialize properly on rpi64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-20raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64Khem Raj
Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI Disable overscan to avoid graphics glitches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-20linux-raspberrypi_4.9.bb: Upgrade to 4.9.50Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-18u-boot: drop now upstreamed patchesAndrea Galbusera
oe-core now provides v2017.09 of u-boot which already merged both patches introduced by commit 94e2929f746f7e49a7870f7ea889dcbed05296c7 so we can drop them from meta-raspberrypi. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-09-11bluez5: enable bluetooth on raspberrypi0-wifiYusuke Mitsuki
Add functions/variable to enabling bluetooth on raspberrypi0-wifi. Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
2017-09-11bluez5: add functions/variables to enabling bluetooth on another raspberrypiYusuke Mitsuki
functions/variables in this bbappend implemented for only raspberrypi3. But these must be able to used to enabling bluetooth on another raspberrypi that has bluetooth feature such as raspberrypi0-wifi. The simple solution is a duplicating these but it is not good ideas for maintainance. Add functions/variables follows to simplify to enabling bluetooth on another raspberrypi that has bluetooth. - BCM_BT_SOURCES - enable_bcm_bluetooth() - BCM_BT_FIRMWARE - BCM_BT_SERVICE Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
2017-09-08userland: Update to current master HEADAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-09-08omxplayer: Update to current master HEADAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-09-08pi-blaster: Update to current master HEADAndrei Gherzan
License in the README was moved a couple of lines below. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-09-08python-sense-hat: Update to 2.2.0Andrei Gherzan
As well integrate with meta-oe bbclass pypi. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-09-08rpi-gpio: Update to 0.6.3Andrei Gherzan
As well integrate with meta-oe bbclass pypi. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-09-08extra-apps.md: Document limitations of raspberrypi3-64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-08linux-raspberrypi: Disable DRBD lkmKhem Raj
This comes from drbd-utils in meta-oe Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-01wiringpi: Fix linking problemAurelian Zanoschi
[github issue #105: wiringpi library is not linked correctly] Incorrect order of compiler flags causing the libwiringpi.so library to not have the required linking dependencies. The cross-compilation patch needed to be reworked in order to fix this problem. Fixes #105 Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com>
2017-09-01linux-raspberrypi: Add option for disabling rpi boot logo.Zdzisław Krajewski
Signed-off-by Zdzisław Krajewski <zdzichucb@gmail.com>
2017-08-31linux-raspberrypi: fix kernel configuration using cfg filesAndrea Ghittino
In tree configurations are now used to build the kernel and it is possible to extend the config via bbappend and cfg fragments Fix issue 14 Signed-off-by: Andrea Ghittino <aghittino@gmail.com>
2017-08-29sdcard_image-rpi: fix absolute path in vfat symlinkAndrea Galbusera
Fix bitbake complaining with: ERROR: core-image-minimal-1.0-r0 do_image_complete: sstate found an absolute path symlink [...].vfat pointing at [...].vfat. Please replace this with a relative link. This patch redefines SDIMG_VFAT as a file name instead of a full absolute path, then fixing the symlink creation by pointing to a relative target. The cp command that deploys the artifact is changed accordingly to include the destination path. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-08-29firmware: Update to tag '1.20170811'Paul Barker
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-08-29linux-raspberrypi: Update to tag 'raspberrypi-kernel_1.20170811-1'Paul Barker
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-08-28u-boot: Fix boot and keyboard for rpi devicesPaul Barker
u-boot v2017.07 was not able to boot a Linux kernel or handle keyboard input. This is fixed by reverting a config change to re-enable CONFIG_OF_EMBED and backporting another config change to enable CONFIG_DM_KEYBOARD. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-08-25gstreamer1.0-omx: Match with oe-core 1.12.x gstreamerKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-08-13Merge pull request #102 from shr-project/jansa/masterPaul Barker
Fixes for bitbake world
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-07-27recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa
* bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-27weston: use just one append and one bb.utils.containsMartin Jansa
* drop duplicated --enable-rpi-compositor and WESTON_NATIVE_BACKEND=rpi-backend.so * use rpi override, adding --enable-rpi-compositor unconditionally breaks other MACHINEs with: configure: WARNING: unrecognized options: --enable-rpi-compositor * use just one append and one bb.utils.contains to save some bitbake cycles while parsing Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-26rpio: Add RDEPENDS For python-logging & python-threadingThomas Thorne
[GitHub Ticket #98 - rpio requires the logging and threading Python packages but does not RDEPENDS them in recipie] The rpio tool needs the Python logging and threading pacakges installed on the target system for it to work. The pacakges are not included when doing a rpi-basci-image. This change updates the recipe so that all the required dependencies of the prio script are identified by the recipie. Fixes #98 Signed-off-by: Thomas A F Thorne <TafThorne@GoogleMail.com>
2017-07-14userland: Add missing EGL_CAST definesAndrea Galbusera
Needed by libepoxy Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-07-05linux-raspberrypi-dev: Switch to rpi-4.12.yPaul Barker
Linux v4.12 is now released. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-07-02linux-rasbperrypi: Update to 4.9.35Paul Barker
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-06-30rpi-base: wic: generate entries for u-bootAndrea Galbusera
This commit allow wic generated images to work when we want u-boot to load the kernel image. Augment IMAGE_BOOT_FILES with the proper entries when KERNEL_IMAGETYPE is "uImage". More specifically add u-boot image and boot.scr to deployed files and give the proper name to the kernel image accordingly. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-06-29sdcard_image-rpi: replace IMAGE_DEPENDS_rpi-sdimg by do_image_rpi-sdimg[depends]Andreas Müller
* oe-core removed IMAGE_DEPENDS -> parsing fails with hint how to fix * add required task for each recipe Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-06-26raspberrypi3-64.conf: Don't use raspberrypi as MACHINEOVERRIDESMichal Mazurek
The current setup broke the build for rpi3-64 when we wanted to port some changes from rpi3 to rpi0. Signed-off-by: Michal Mazurek <michal@resin.io>
2017-06-26Merge pull request #86 from mattsm/masterAndrei Gherzan
sdcard_image-rpi.bbclass: deploy vfat partition
2017-06-21sdcard_image-rpi.bbclass: deploy vfat partitionMatthew McClintock
This is useful to update the bootloader/vfat partition from u-boot when you don't want to update everything: U-Boot> tftpboot 0x1000000 tmp/0VXje Waiting for Ethernet connection... done. Using sms0 device TFTP from server 192.168.0.1; our IP address is 192.168.0.26 Filename 'image.vfat'. Load address: 0x1000000 Loading: ################################################## 40 MiB 2.1 MiB/s done Bytes transferred = 41943040 (2800000 hex) U-Boot> mmc part Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 8192 81920 a63a4fbc-01 0c Boot 2 90112 163840 a63a4fbc-02 83 U-Boot> mmc erase 0x2000 0x14000 MMC erase: dev # 0, block # 8192, count 81920 ... 81920 blocks erased: OK U-Boot> mmc write 0x1000000 0x2000 0x14000 MMC write: dev # 0, block # 8192, count 81920 ... 81920 blocks written: OK U-Boot> Signed-off-by: Matthew McClintock <msm-oss@mcclintock.net>
2017-06-09Merge pull request #83 from Technux/update-pi-blasterAndrei Gherzan
pi-blaster: update to include proper rpi3 support
2017-06-08pi-blaster: update to include proper rpi3 supportPetter Mabäcker
Update to latest available revision, in order to include proper rpi3 support as well as latest fixes. LIC_FILES_CHKSUM for the license text in README.md is changed to handle fixes of whitespace and newlines in the license text, introduced by the pi-blaster commit: '0e1a1df Cleaning up the README'. Signed-off-by: Petter Mabäcker <petter@technux.se>
2017-06-01linux-raspberrypi-dev: Skip if not preferred providerPaul Barker
This should avoid network traffic to resolve ${AUTOREV} unless this recipe is explicitly selected as the preferred provider of virtual/kernel. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-06-01linux-raspberrypi-dev: Rename recipePaul Barker
This recipe is now uniquely named instead of just being another version of linux-raspberrypi. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-27bcm2835: Remove dependency of bcm2835-dev on bcm2835Andrei Gherzan
By default, the ${PN}-dev package of a recipe depends on the ${PN} package. However, since the bcm2835 package contains no file, it is not generated. As a result, when trying to include bcm2835-dev in an image (or another package that depends on bcm2835-dev, such as bcm2835-staticdev), we receive an error message saying that the bcm2835 package is not found. A solution would be to define ALLOW_EMPTY for bcm2835, so that an empty package is generated. However, that would causes a useless package to be installed on the target. This patch uses another solution, which is to empty the RDEPENDS variable of bcm2835-dev, so that it doesn't pull in bcm2835. Fixes #22 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-05-26docs: Format all links correctlyPaul Barker
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-05-26docs: small editorial fixMirza Krak
Signed-off-by: Mirza Krak <mirza.krak@endian.se>