Commit Graph

69 Commits

Author SHA1 Message Date
Marek Belisko
b25b74412c mega-gl: Added more dependencies to fix config issue
Fix following:
ERROR: Problem encountered: xlib based GLX requires at least one gallium driver


Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2023-01-25 13:35:54 +01:00
Andreas Rehn
8bcf3b3ad4
libgles: sunxi-mali: fix linter warnings
fix the following linter warnings
- WARNING: sunxi-mali-git-r0 do_unpack: URL: gitsm://github.com/linux-sunxi/sunxi-mali.git uses git protocol which is no longer supported by github.
Please change to ;protocol=https in the url.
- WARNING: sunxi-mali-git-r0 do_unpack: URL: gitsm://github.com/linux-sunxi/sunxi-mali.git does not set any branch parameter.
The future default branch used by tools and repositories is uncertain
and we will therefore soon require this is set in all git urls.
2022-10-03 18:34:43 +02:00
Christophe Blaess
90189dae67 Fix LICENSE field of some recipes to correspond to Poky ones. 2022-09-09 14:00:13 +02:00
Clément Péron
a508443f52 recipes: use github https and specify master branch to fix warnings
Signed-off-by: Clément Péron <peron.clem@gmail.com>
2022-01-02 19:47:59 +01:00
Bartłomiej Burdukiewicz
e66258ad7a
layer: convert to new override syntax 💥
OE/Yocto is migration towards new override syntax,
current master (upcomming honister release) will not
tolerate "_" as override operator.

New override syntax will be backported to
dunfell, gatesgarth, hardknott releases.

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
2021-08-23 18:47:19 +02:00
Diego Rondini
1d6ef084db Enable open source GPU support
Enable open source GPU support for Mali Utgard GPUs (lima driver) and
Mali Midgard and Bifrost GPUs (panfrost driver).
The support is enabled by:
- enabling DRM kernel CONFIGs
- enabling lima, panfrost and kmsro in Mesa
- disabling the specific mali driver overrides in sunxi-mali.inc
To enable open source mainline graphics support just add the following
line in your local.conf:

MACHINEOVERRIDES .= ":use-mailine-graphics"

Please note that some machines may need a bigger CMA value to be able to
start Weston. To do that, add e.g. "cma=128M" to the kernel parameters.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
2020-03-18 21:36:14 +01:00
slapin
63ee6333dc Fix soname in Mali.so to make auto-RDEPENDS work
The auto-RDEPENDs system reqires that all .so libraries have
proper soname set. If library soes not have soname set, it will
not be added to RDEPENDs list of other elf files.

Closes #240
2019-09-07 16:38:48 +02:00
Marek Belisko
c4a2923380 xorg-server: xf86-video-fbturbo: Replace xf86driproto with xorgproto
xf86driproto was dropped and replaced by xorgproto

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-05-29 22:30:40 +02:00
Marek Belisko
9b32d6a61c misc: Replace dri2proto with xorgproto
dri2proto and xextproto was replaced by xorgproto
see: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#migration

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
2019-05-27 16:26:37 +02:00
Diogo Piçarra
12a0cffe6a Disables tslib 2017-02-13 09:39:29 +00:00
Sergey Matyukevich
fe66ceacb5 sunxi-mail: fix bitbake QA issues for sunxi-mali
Fix QA issues for sunxi-mali-test package:
- add proper RDEPENDS
- don't check closed binary for sections, relocations, etc

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:55:47 +03:00
Sergey Matyukevich
0dcdc4edf9 sun8i: add new SoC family
Add config for sun8i SoC family and specify preferred BSP components.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
2016-12-14 22:49:57 +03:00
Jonathan Liu
3bd237ac1b sunxi-mali: Use d.getVar
The bb.data API is deprecated, use d.getVar instead.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-12-03 22:34:28 +11:00
Trevor Woerner
b87043d683 tslib: remove un-referenced patch
This patch is no longer referenced in any recipe, therefore remove it.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2016-09-15 08:53:48 -04:00
Koen Kooi
63410209ad sunxi-mali: error out earlier on non-hf builds
This will now error out during parsing instead of during do_compile as
well as having a better error message.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2016-09-06 11:53:08 +02:00
Trevor Woerner
9b77af849d sunxi-mali_git: base_contains() -> bb.utils.contains()
base_contains() is deprecated in favour of bb.utils.contains().

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2016-06-04 18:00:15 -04:00
Trevor Woerner
3830f90aaa sunxi-mali_git: fix make args
Previously ${EXTRA_OECONF} had been added to the 'make' invocations, but this
doesn't work if, say, EXTRA_OECONF is set to '--disable-shared'. What was
probably meant was to add ${EXTRA_OEMAKE}.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2016-06-04 17:58:10 -04:00
Trevor Woerner
b4357af03b sunxi-mali test
The sunxi-mali repository includes a test application, enable support for
building and generating a new package (sunxi-mali-test) so it can be included
in an image at the user's discretion.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 22:46:33 -04:00
Trevor Woerner
2f8da55176 sunxi-mali: remove opengl requirement
The mali driver supports OpenGL ES and doesn't require OpenGL in any way. It
is completely feasible to install mali and run OpenGL ES-only apps against it
without any need for OpenGL whatsoever.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 18:10:54 -04:00
Trevor Woerner
b660f3a9dc xf86-video-fbturbo: add DEPENDS
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2015-09-25 17:50:04 -04:00
Jens Lucius
318e9aa826 sunxi-mali: fix build errors with current master
When trying to build sunxi-mali with current master there is a strip
error introduced in a patch trying to strip the rootfs. Disable striping.
Also fix an error where external recipes would not find the libaries.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-23 09:00:24 +02:00
Jens Lucius
0a2034bb3c sunxi-mali: install .pc files, add patches
Add installation of .pc and header files. Add compile patches to fix errors.
Original fix by raoulh, already included in meta-sunxi dora branch by naguirre.

Ported to master branch and no not switch away from sunxi-mali git repo, instead just
add the needed patches on top of it.

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-22 17:02:09 +02:00
Jens Lucius
8f1c8f67cf fbturbo: increase version, depend libump
- increase version number to correct version (0.5.1)
- depend on libump

Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-22 16:58:44 +02:00
Jens Lucius
0693369edc update fbturbo to latest version
Signed-off-by: Jens Lucius <info@jenslucius.com>
2015-09-21 15:55:45 +02:00
Nicolas Aguirre
207b25ecf1 Fix various error in GLES includes while building EFL 1.14 2015-06-16 23:36:45 +02:00
Nicolas Aguirre
4240612f21 Use SOC_FAMILY to avoid the long list of COMPATIBLE_MACHINE
It uses 3 different SOC_FAMILY sun4i,sun5i,sun7i this list come from here http://sunxi.org/Allwinner_SoC_Family
Adding a new machine should be now more easy, as we have now to only create a new machine.conf file, set the right SOC_FAMILY and include the right arch inclue.
2015-06-16 00:45:08 +02:00
Jens Lucius
eeb41f14c8 Add more devices (LimeA10, Lime2, A13SOM, Forfun Q88DB)
Add Olimex Boards Olinuxino A10 Lime, A20 Lime2, A13SOM and Forfun
A13 Tablet. Sort all machine names in recipes alphabetically.
2015-03-03 18:09:46 +01:00
Nicolas Aguirre
5727515f10 Add support for banapi machine
Conflicts:
	recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb
	recipes-bsp/u-boot/u-boot_git.bb
	recipes-graphics/libgles/sunxi-mali_git.bb
	recipes-kernel/linux/linux_3.4.bb
2015-02-22 11:59:46 +01:00
Enrico Butera
0ed1eadb95 libdri2: added missing pkgconfig inherit
Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
2014-11-11 19:55:32 +01:00
Jonathan Liu
2c587ebf73 sunxi-mali: fix typos in COMPATIBLE_MACHINE 2014-10-02 13:20:57 +10:00
Christian Ege
d5461fdab9 This adds support to build for the Olimex A20-OLinuXino-LIME
- Added a "olinuxino-a20lime" machine configuration

Signed-off-by: Christian Ege <k4230r6@gmail.com>
2014-09-29 22:19:37 +02:00
Jonathan Liu
edd823ca05 sunxi-mali: set LICENSE to Proprietary
Fixes the following warning:
"WARNING: sunxi-mali: No generic license file exists for:
proprietary-binary in any provider"

Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-09-25 21:50:00 +10:00
Enrico Butera
049349756c Merge pull request #67 from net147/master
Use FILESEXTRAPATHS_prepend for correct assignment
2014-09-24 11:46:52 +02:00
dnmeid
1eb006ed26 olinuxino-a20som: include a20som 2014-09-08 12:16:09 +02:00
Jonathan Liu
6c0b99fce8 tslib: use FILESEXTRAPATHS_prepend for correct assignment
Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-09-04 23:30:20 +10:00
Jonathan Liu
dfa712ea4b xserver-xf86-config: use FILESEXTRAPATHS_prepend for correct assignment
Signed-off-by: Jonathan Liu <net147@gmail.com>
2014-09-04 23:29:47 +10:00
Sergey Lapin
4e2383470e sunxi-mali: Update, fixed conflict with libump recipe 2014-07-02 00:30:42 +04:00
Aguirre
ec4b40754e Update libump: remove PE 2014-04-11 07:49:41 +02:00
Nicolas Aguirre
1d2299057b Sunxi-mali depends on libump 2014-04-08 15:05:53 +00:00
Nicolas Aguirre
3867ea9cb3 Add libump from here : https://github.com/linux-sunxi/libump 2014-04-08 15:05:08 +00:00
Nicolas Aguirre
1b5c971774 Detect x11 and wayland support in distro and install framebuffer libs in case of wayland and x11 ones otherwise. 2014-04-08 10:07:15 +00:00
Dan McGregor
cafb3cec05 Remove PRINCs
The PR server is expected to be used now, so use it
for all meta-sunxi's bbappends.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
2014-03-25 16:13:55 -06:00
Aguirre
6e04e84948 Merge pull request #49 from peolsson/master
Added Olinuxino A10 LIME
2014-03-21 07:51:04 +01:00
Kristof Robot
1d4e496b9d libdri2: adding missing dri2proto dependency (resolves #23) 2014-03-08 19:08:25 +01:00
Kristof Robot
48556c8603 sunxi-mali: removing unused patch (resolves #23) 2014-03-08 19:07:44 +01:00
Peter Olsson
7f1c185828 Added Olinuxino A10 LIME 2014-03-07 16:05:47 +01:00
Koen Kooi
53f58d38b5 xf86-video-fbturbo: fix PE
The OE-core .inc already has PE=2, so increase it to 3 to fix upgrade
path.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-18 13:02:15 +01:00
Koen Kooi
f453d52175 sunxi-mali: overhaul recipe
The most important change is shipping the .so files in ${PN}, this is
needed for things like xf86-video-fbturbo to work properly. Also disable
the QA check this triggers.

Other fixes include:

* make recipe conform to OE style guide
* update to latest git
* remove unused INC_PR
* RPROVIDES_* is about packages, not about files, remove it
* Use default git protocol ('git') instead of 'http', which isn't
  officially supported by github
* Add libUMP.so symlink for xf86-video-fbturbo

Runtime tested on olinuxino-a13/Angstrom

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-15 10:40:32 +01:00
Koen Kooi
9222ada5fc xf86-video-fbturbo: fix PV
Also cleanup recipe

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-14 13:56:51 +01:00
Koen Kooi
985f6cc0a1 libdri2: fix PV
And clean up recipe as well.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2014-02-14 13:52:08 +01:00