Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Build step

※Basesystem commit ※meta-agl-basesystem layer contribution hasn't merged to master branch yet as of 308/OctDec/2020.
※After being merged, to build the software can be done by this step

Get AGL recipe


Get AGL recipe

$ cd ~/

$ mkdir icefish_9_0_1
$ cd icefish_9_0_1
$ repo init -b icefish -m icefish_9.0.1.xml -u http

$ mkdir master
$ cd master
$ repo init -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
$

repo sync

Change the branch to build

...

$ mkdir /tmp
$ cp -r meta-agl-devel/templates/feature/agl-pipewire /tmp

...

$ cd meta-agl-devel
$ git checkout master

...

$ cd meta-agl-devel

$ mv /tmp/agl-pipewire templates/feature/ 

repo sync

Run bitbake

Run bitbake

$ cd ..
$ source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo agl-basesystem
$ bitbake

agl-demo-platform

packagegroup-agl-basesystem

(Reference memo)

※We need it in the future. 

Launch QEMU

Launch QEMU

$ cd ../external/poky
$ ln -s ../../build build
$ source oe-init-build-env
$

runqemu qemux86-64

(old) 

...

0 Preparing Build
$sudo apt-get install libxml-xpath-perl

...

$git clone -b sandbox/ToshikazuOhiwa/master https://gerrit.automotivelinux.org/gerrit/staging/toyota.git

2.Build

2.1 Case of all build of "agl-basesystem"

$cd toyota
$source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo agl-basesystem
$bitbake agl-demo-platform

2.2 Case of each build of unit

ex. case of ns_framewordunified

$cd toyota
$source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo ns-frameworkunified
$bitbake agl-demo-platform

2.3 Make SDK

$cd toyota
$source meta-agl/scripts/aglsetup.sh -f -m qemux86-64 -b build agl-demo agl-basesystem
$bitbake agl-demo-platform-crosssdk

...

runqemu qemux86-64

...

Base System External Specifications

...