Hi Jacob, This is a good first version, but I think there are some things that could be added to make it better. For example, it should have a COMPATIBLE_MACHINE statement, and it should detect whether the target is using hard-float. Also the name "mali-userspace_t76x.bb" isn't a good choice, the part after the underscore should indicate the version, but t76x indicates the target mali implementation.
I think the sunxi people have done a good job with their mali recipes: https://github.com/linux-sunxi/meta-sunxi/tree/master/recipes-graphics/libgles. Would you be interested in creating a v2 modeled after their work? Best regards, Trevor On Thu, Feb 9, 2017 at 2:23 AM, Jacob Chen <jacob2.c...@rock-chips.com> wrote: > Hi, > > > > Trevor Woerner wrote on 2017年01月28日 09:44: >> >> On Fri, Jan 27, 2017 at 9:41 AM, Romain Perier <romain.per...@gmail.com> >> wrote: >>> >>> Hi all, >>> >>> Correct me if I am wrong, but these are generic mali userpace binaries ? >>> meta-rockchip is a bsp meta layer, it should only contains files and >>> recipes >>> to make rockchip board working or things specific to the rockchip board. >>> For >>> me these recipes are completly generic and might be re-used for another >>> platform with another SoC. >>> >>> I don't want this in meta-rockchip. There is no a layer called meta-mali >>> or >>> something ? >>> >>> @Trevor: Feel free to comment, the point of view of the second maintainer >>> is >>> always welcome >> >> :-) >> >> >> I was just about to point out that there is no meta-mali, and that >> most BSP layers do include their own recipes for mali (meta-sunxi, >> meta-96boards, meta-xilinx) but, googling around, there is in fact a >> meta-mali provided my ARM itself: >> https://github.com/ARM-software/meta-mali . So I guess we could go >> either way. Although I haven't looked at what's specifically provided >> in meta-mali to know if it would be useful or not. >> > > I think GPU is a part of SOC. Other bsp meta layer also contain gpu userpace > binaries. > And, mali userpace binaries are not very generic, there are different in > hardware versions, software versions and backends. > e.g: > rk3288's GPU is T76x-r0p0 but rk3288w's GPU is T76x-r1p0, so they have > to use different binaries. > > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto