Giter Club home page Giter Club logo

chromium-agl-app's Introduction

Chromium-agl-app

Build AGL SDK

BBLAYERS =+ "\
  ${METADIR}/chromium-agl-app/meta-sdk-chrom \
"
  • Build AGL SDK
bitbake agl-demo-platform-crosssdk
  • Install SDK
install_sdk tmp/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-aarch64-toolchain-4.0.1.sh

Build chromium with AGL SDK

  • prepare SDK env
source /xdt/sdk/environment-setup-aarch64-agl-linux
  • download source file and prepare build:
./getsource.sh
  • build chromium
./build_chromium.sh

Package chromium into wgt file

./build_wgt.sh

Install wgt

Copy file

scp chromium_wgt/chromium.wgt root@YOUR_IP:/tmp

Instam wgt on the board

afm-util install /tmp/chromium.wgt

Check install

afm-util list

Start wgt

afm-util start [email protected]

Issues

001 Use ld-gold

ld-gold is mandatory to build chromium

Fix: docker image worker-generic use ld-gold as default ld

002 Rpath

chromium build 6 host tools: src/out/Release/host/

  • brotli
  • character_data_generator
  • flatc
  • protoc
  • proto_zero_plugin
  • transport_security_state_generator

The rpath of this files use /xdt/sdk/sysroots/x86_64-aglsdk-linux/ path.

But we need to use host libc (Unknown reason for now)

chrpath -l ${SRC_BUILD}/out/Release/host/${bin}

Fix: use chrpath to change file rpath

chrpath -r '/usr/lib:/lib' ${SRC_BUILD}/out/Release/host/${bin}

chromium-agl-app's People

Contributors

ronan22 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.