Skip to content

suchinton/meta-suchinton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

meta-suchinton

This is a custom yocto-layer to embed the AGL_Quiz_Application into AGL's demo image

To boot the image follow the guide

ScreenShots

Screenshot 1 Screenshot 2 Screenshot 3


Demo

Screencast.from.2024-03-24.23-27-14.webm

To replicate the build, follow these steps,

Define Your Top-Level Directory

export AGL_TOP=$HOME/AGL
echo 'export AGL_TOP=$HOME/AGL' >> $HOME/.bashrc
mkdir -p $AGL_TOP

Download the repo Tool and Set Permissions

mkdir -p $HOME/bin
export PATH=$HOME/bin:$PATH
echo 'export PATH=$HOME/bin:$PATH' >> $HOME/.bashrc
curl https://storage.googleapis.com/git-repo-downloads/repo > $HOME/bin/repo
chmod a+x $HOME/bin/repo

Download the AGL Source Files

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

Initialize the build environment using aglsetup.sh Script

$ cd $AGL_TOP
$ source master/meta-agl/scripts/aglsetup.sh -m qemux86-64 agl-demo agl-devel

Clone this repo

git clone https://github.com/suchinton/meta-suchinton.git

Add meta-suchinton as a new layer

cd $AGL_TOP/build
bitbake-layers add-layer ../meta-suchinton

Verify if meta-suchinton was added as a custom layer

bitbake-layers show-layers

Try to bitbake suchintonApp

source agl-init-build-env
bitbake suchintonApp

To add app edit the packagegroup-agl-demo-platform.bb file

nano $AGL_TOP/master/meta-agl-demo/recipes-platform/packagegroups/packagegroup-agl-demo-platform.bb

Add the suchintonApp entry to AGL_APPS

AGL_APPS = " \
    dashboard \
    hvac \
    ondemandnavi \
    settings \
    mediaplayer \
    messaging \
    phone \
    radio \
    window-management-client-grpc \
    suchintonApp \
    "

Build Agl-demo image

cd $AGL_TOP
source build/agl-init-build-env
bitbake agl-demo-platform

Note: Before starting the app, please restart the databroker

$ su
$ pkill databroker
$ databroker --address 0.0.0.0.--vss /usr/share/vss/vss.json
$ exit
$ suchintonapp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published