title: Running Chromium with yocto
body: <p>I have a imx6 SOM and i am using yocto (krogoth). I want to install the chromium browser and so I added the following to the conf and the chromium is now build.</p>
  
  <pre><code>CORE_IMAGE_EXTRA_INSTALL += "chromium libexif weston"
  PNBLACKLIST[chromium] = ""
  </code></pre>
  
  <p>When i want to start the browser i always got the following messages:</p>
  
  <pre><code>var-som-mx6 /mnt/user# ./chrome.sh www.google.com
  [1157:1157:0805/150113:ERROR:display.cc(148)] WaylandDisplay failed to     initialize hardware
  [1157:1157:0805/150113:FATAL:ozone_platform_wayland.cc(115)] failed to initialize display hardware
  #0 0x0000551dd27a &lt;unknown&gt;
  #1 0x0000551ec9fe &lt;unknown&gt;
  #2 0x0000558339fa &lt;unknown&gt;
  #3 0x000055918254 &lt;unknown&gt;
  #4 0x000055918ba4 &lt;unknown&gt;
  #5 0x000055918c82 &lt;unknown&gt;
  #6 0x0000578341ac &lt;unknown&gt;
  #7 0x0000551ae960 &lt;unknown&gt;
  #8 0x0000551ae1ba &lt;unknown&gt;
  #9 0x000054edd5c0 ChromeMain
  #10 0x0000764e1cf8 __libc_start_main
  
  Received signal 6
  #0 0x0000551dd27a &lt;unknown&gt;
  #1 0x0000551dd548 &lt;unknown&gt;
  #2 0x0000764f7b40 &lt;unknown&gt;
  #3 0x0000764f6910 gsignal
  [end of stack trace]
  ./chrome.sh: line 15:  1129 Segmentation fault      /usr/bin/chromium/chrome ${CHROME_EXTRA_ARGS} $@
  </code></pre>
  
  <p>The script chrome.sh:</p>
  
  <pre><code>#!/bin/sh
  
  export HOME=/tmp/
  export CHROME_DEVEL_SANDBOX=/usr/sbin/chrome-devel-sandbox
  export LD_LIBRARY_PATH=/usr/lib/chromium
  export GOOGLE_API_KEY="no"
  export GOOGLE_DEFAULT_CLIENT_ID="no"
  export GOOGLE_DEFAULT_CLIENT_SECRET="no"
  
  CHROME_EXTRA_ARGS=" --use-gl=egl --gpu-no-context-lost --start-fullscreen --kiosk --no-first-run --ignore-gpu-blacklist --user-data-dir=/tmp/.chromium/"
  CHROME_EXTRA_ARGS="${CHROME_EXTRA_ARGS} --disable-pinch --disable-touch-adjustment --enable-touch-drag-drop --touch-events=enabled"
  
  /usr/bin/chromium/chrome ${CHROME_EXTRA_ARGS} $@
  </code></pre>
  
  <p>Dows anyone gives me an advise what is wrong or what i can try?! Thanks.</p>
  
  <p>BR Harald</p>