chromiumembedded icon indicating copy to clipboard operation
chromiumembedded copied to clipboard

Needs detailed build Instructions for ARM embedded devices

Open teknoman117 opened this issue 9 years ago • 3 comments

So for the last two days I've been attempting to build CEF and run it on an embedded Linux device (like in the video of your software - https://www.youtube.com/watch?v=1asY9y5xQWE). I have a buildroot which is generating an embedded Linux image. The only rendering option I have is EGL + OpenGL ES 2/3. For the most part I followed the instructions I found here - http://www.magpcss.org/ceforum/viewtopic.php?f=10&t=12339&sid=748508f1042fb51195e09d168bf8522c, but I haven't been able to successfully build for arm. I'm trying to merge it with these instructions here - http://unix.stackexchange.com/questions/176794/how-do-i-cross-compile-chromium-for-arm, as manually setting the compilers resulted in failure as it couldn't find the c++ headers.

Also, i've seen some people say you have to change ozone_platform_dri to 0, as some of those files includes the xf86drm headers. How do I build and run your port of CEF without X on EGL? I also noticed you have another repository for an EGL ozone renderer.

Just asking for some detailed instructions, so that it is easier to reproduce what you've done here.

teknoman117 avatar Jul 10 '15 01:07 teknoman117

Hi,

there are OE recipes in meta-browser: https://github.com/OSSystems/meta-browser Br,

Zoltan

zoltan-ongithub avatar Jul 13 '15 20:07 zoltan-ongithub

Since I'm trying to do this without open embedded (using buildroot), I have a couple of questions about the bit bake recipe for cef ( https://github.com/OSSystems/meta-browser/blob/master/recipes-browser/chromium/cef3_280796.bb).

I downloaded the archive from people.linaro.org, which extracts to "chromium_rev_280796." The two git repositories populate the src/ subdirectory according to the functionality of destsuffix. It would seem that the file layout would be like this in work dir.

chromium_rev_280796/ src/ src/cef src/ui/ozone/.....

Not being an open embedded user, all I could glean from the S variable is that is the "source" directory. If this is true, the build script would seem to use the version of cef at chromium_rev_280796/cef instead of the one downloaded from the git (which is only a commit ahead of the one in the archive it seems). I also couldn't find anything on what the "--depth ../" does for create projects. Is the bitbake recipe only using what was in the original archive or is it translating anything prefixed with src/ into ${S}/ ?

I'm just trying to get a grasp on what this is doing so I can write a buildroot script for it.

  • Nathan

On Mon, Jul 13, 2015 at 1:58 PM, Zoltan Kuscsik [email protected] wrote:

Hi,

there are OE recipes in meta-browser: https://github.com/OSSystems/meta-browser Br,

Zoltan

— Reply to this email directly or view it on GitHub https://github.com/kuscsik/chromiumembedded/issues/1#issuecomment-121057468 .

teknoman117 avatar Jul 14 '15 08:07 teknoman117

Or does it unpack like this? In this case, which cef directory does it use?

Chromium_rev_280796/ regular chromium source Chromium_rev_280796/src/ Chromium_rev_280796/src/cef/ Chromium_rev_280796/src/ui/ozone/platform/egl

teknoman117 avatar Jul 14 '15 08:07 teknoman117