SlideShare una empresa de Scribd logo
1 de 18
Descargar para leer sin conexión
OpenSDK OE Builds on 96Boards
Andrey Konovalov (LHG)
ENGINEERS AND DEVICES
WORKING TOGETHER
OpenSDK OE Builds on 96Boards
● Use the same OE build system as Reference Platform Builds do
● meta-lhg layer contains components developed inside LHG
● The builds are running in jenkins.
Only one image (per every supported board) is built: Weston with Chromium
browser included into the image
● The images produced by these builds are published at snapshots.linaro.org
● Boards supported: DragonBoard-410c, HiKey, Beagle X15
ENGINEERS AND DEVICES
WORKING TOGETHER
OpenSDK OE Builds: key components
● HW accelerated graphics: BSP layers (meta-96boards, meta-qcom, meta-ti)
● gstreamer, mesa: Linaro’s meta-backports layer
Current versions: gstreamer 1.10.3, mesa 13.0.4
● OPTEE: Linaro’s meta-linaro/meta-optee
Current version: OPTEE 2.3.0
● Chromium + OpenCDM: LHG’s fork of meta-browser layer
Current version: chromium_v45
● AES descriptor TA: meta-lhg
ENGINEERS AND DEVICES
WORKING TOGETHER
Meta-lhg structure
https://github.com/linaro-home/meta-lhg
● meta-lhg layer:
The OpenEmbedded layer for LHG specific components.
lhg-westeros-wpe-image and rpb-westonchromium-image recipes,
optee-aes-decryptor recipe, chromium and portmap bbappends (needed
by OpenCDM), nss_3.19 needed by the (old) chromium version used
● meta-lhg-integration:
This layer contains fixes or workarounds needed to integrate components
external to LHG into public LHG OE builds.
Mostly weston and ti-sgx-ddk-um (powervr userland driver) bbappends
needed to enable this driver in weston, and couple other bbappends
ENGINEERS AND DEVICES
WORKING TOGETHER
LHG contributes to meta-rpb and meta-96boards
(or why meta-lhg is that small)
About a year ago meta-lhg was considerably bigger than it is now. Its content was
reviewed, the components which are useful outside LHG have been moved to
proper layers.
E.g.
conf/distro/include/egl.inc in meta-rpb
- selects the proper EGL/GLES provider
meta-96boards/recipes-graphics/mali-userland in meta-96boards
- added public Mali450 userland driver
ENGINEERS AND DEVICES
WORKING TOGETHER
Next Steps
● chromium is be updated to a more recent version, the OpenCDM plugin
included
● fix HW accelerated playback in gstreamer with waylandsink (rendering issue)
● ...
ENGINEERS AND DEVICES
WORKING TOGETHER
OpenSDK pre-built images
● Jenkins jobs:
○ https://ci.linaro.org/view/All/job/lhg-oe-build/ aka “stable”
May miss most recent changes or have workarounds for the issues which
couldn’t be resolved in short term.
This is the choice for those who need it working out of the box.
○ https://ci.linaro.org/view/All/job/lhg-oe-build-next/ aka “staging”
Uses the tips of the relevant trees
The both builds are based on current yocto release, Morty atm.
● Pre-built images:
“stable” - http://snapshots.linaro.org/openembedded/pre-built/lhg/morty/
“staging” -
http://snapshots.linaro.org/openembedded/pre-built/lhg/morty-staging/
ENGINEERS AND DEVICES
WORKING TOGETHER
Building OpenSDK images
See https://github.com/linaro-home/lhg-oe-manifests (the README.md)
Check the “Required Packages” section in Yocto Project Reference Manual.
This is essentially:
repo init -u https://github.com/linaro-home/lhg-oe-manifests.git -b morty
repo sync
source setup-environment
bitbake rpb-westonchromium-image
Two common issues faced when doing an OE build first time:
● Doing it on a VM with 1GB of RAM
● Download (do_fetch) failures when downloading from behind a proxy
An rpb-westonchromium-image build needs approx. 10GB of (virtual) RAM and
100GB of free disk space
OpenSDK OE Builds on 96Boards
Andrey Konovalov (LHG)
ENGINEERS AND DEVICES
WORKING TOGETHER
OpenSDK OE Builds on 96Boards
● Use the same OE build system as Reference Platform Builds do
● meta-lhg layer contains components developed inside LHG
● The builds are running in jenkins.
Only one image (per every supported board) is built: Weston with Chromium
browser included into the image
● The images produced by these builds are published at snapshots.linaro.org
● Boards supported: DragonBoard-410c, HiKey, Beagle X15
ENGINEERS AND DEVICES
WORKING TOGETHER
OpenSDK OE Builds: key components
● HW accelerated graphics: BSP layers (meta-96boards, meta-qcom, meta-ti)
● gstreamer, mesa: Linaro’s meta-backports layer
Current versions: gstreamer 1.10.3, mesa 13.0.4
● OPTEE: Linaro’s meta-linaro/meta-optee
Current version: OPTEE 2.3.0
● Chromium + OpenCDM: LHG’s fork of meta-browser layer
Current version: chromium_v45
● AES descriptor TA: meta-lhg
ENGINEERS AND DEVICES
WORKING TOGETHER
Meta-lhg structure
https://github.com/linaro-home/meta-lhg
● meta-lhg layer:
The OpenEmbedded layer for LHG specific components.
lhg-westeros-wpe-image and rpb-westonchromium-image recipes,
optee-aes-decryptor recipe, chromium and portmap bbappends (needed
by OpenCDM), nss_3.19 needed by the (old) chromium version used
● meta-lhg-integration:
This layer contains fixes or workarounds needed to integrate components
external to LHG into public LHG OE builds.
Mostly weston and ti-sgx-ddk-um (powervr userland driver) bbappends
needed to enable this driver in weston, and couple other bbappends
ENGINEERS AND DEVICES
WORKING TOGETHER
LHG contributes to meta-rpb and meta-96boards
(or why meta-lhg is that small)
About a year ago meta-lhg was considerably bigger than it is now. Its content was
reviewed, the components which are useful outside LHG have been moved to
proper layers.
E.g.
conf/distro/include/egl.inc in meta-rpb
- selects the proper EGL/GLES provider
meta-96boards/recipes-graphics/mali-userland in meta-96boards
- added public Mali450 userland driver
ENGINEERS AND DEVICES
WORKING TOGETHER
Next Steps
● chromium is be updated to a more recent version, the OpenCDM plugin
included
● fix HW accelerated playback in gstreamer with waylandsink (rendering issue)
● ...
ENGINEERS AND DEVICES
WORKING TOGETHER
OpenSDK pre-built images
● Jenkins jobs:
○ https://ci.linaro.org/view/All/job/lhg-oe-build/ aka “stable”
May miss most recent changes or have workarounds for the issues which
couldn’t be resolved in short term.
This is the choice for those who need it working out of the box.
○ https://ci.linaro.org/view/All/job/lhg-oe-build-next/ aka “staging”
Uses the tips of the relevant trees
The both builds are based on current yocto release, Morty atm.
● Pre-built images:
“stable” - http://snapshots.linaro.org/openembedded/pre-built/lhg/morty/
“staging” -
http://snapshots.linaro.org/openembedded/pre-built/lhg/morty-staging/
ENGINEERS AND DEVICES
WORKING TOGETHER
Building OpenSDK images
See https://github.com/linaro-home/lhg-oe-manifests (the README.md)
Check the “Required Packages” section in Yocto Project Reference Manual.
This is essentially:
repo init -u https://github.com/linaro-home/lhg-oe-manifests.git -b morty
repo sync
source setup-environment
bitbake rpb-westonchromium-image
Two common issues faced when doing an OE build first time:
● Doing it on a VM with 1GB of RAM
● Download (do_fetch) failures when downloading from behind a proxy
An rpb-westonchromium-image build needs approx. 10GB of (virtual) RAM and
100GB of free disk space
Thank You
#BUD17
For further information: www.linaro.org
BUD17 keynotes and videos on: connect.linaro.org
Thank You
#BUD17
For further information: www.linaro.org
BUD17 keynotes and videos on: connect.linaro.org

Más contenido relacionado

Más de Linaro

HPC network stack on ARM - Linaro HPC Workshop 2018
HPC network stack on ARM - Linaro HPC Workshop 2018HPC network stack on ARM - Linaro HPC Workshop 2018
HPC network stack on ARM - Linaro HPC Workshop 2018
Linaro
 
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Linaro
 
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Linaro
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
Linaro
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
Linaro
 
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorHKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
Linaro
 
HKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMUHKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMU
Linaro
 
HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation
Linaro
 
HKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootHKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted boot
Linaro
 
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
Linaro
 

Más de Linaro (20)

Arm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta VekariaArm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
Arm Architecture HPC Workshop Santa Clara 2018 - Kanta Vekaria
 
Huawei’s requirements for the ARM based HPC solution readiness - Joshua Mora
Huawei’s requirements for the ARM based HPC solution readiness - Joshua MoraHuawei’s requirements for the ARM based HPC solution readiness - Joshua Mora
Huawei’s requirements for the ARM based HPC solution readiness - Joshua Mora
 
Bud17 113: distribution ci using qemu and open qa
Bud17 113: distribution ci using qemu and open qaBud17 113: distribution ci using qemu and open qa
Bud17 113: distribution ci using qemu and open qa
 
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
OpenHPC Automation with Ansible - Renato Golin - Linaro Arm HPC Workshop 2018
 
HPC network stack on ARM - Linaro HPC Workshop 2018
HPC network stack on ARM - Linaro HPC Workshop 2018HPC network stack on ARM - Linaro HPC Workshop 2018
HPC network stack on ARM - Linaro HPC Workshop 2018
 
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
It just keeps getting better - SUSE enablement for Arm - Linaro HPC Workshop ...
 
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
Intelligent Interconnect Architecture to Enable Next Generation HPC - Linaro ...
 
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
Yutaka Ishikawa - Post-K and Arm HPC Ecosystem - Linaro Arm HPC Workshop Sant...
 
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
Andrew J Younge - Vanguard Astra - Petascale Arm Platform for U.S. DOE/ASC Su...
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
 
HKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening KeynoteHKG18-100K1 - George Grey: Opening Keynote
HKG18-100K1 - George Grey: Opening Keynote
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP Workshop
 
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainlineHKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
HKG18-501 - EAS on Common Kernel 4.14 and getting (much) closer to mainline
 
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and allHKG18-315 - Why the ecosystem is a wonderful thing, warts and all
HKG18-315 - Why the ecosystem is a wonderful thing, warts and all
 
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorHKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
HKG18- 115 - Partitioning ARM Systems with the Jailhouse Hypervisor
 
HKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMUHKG18-TR08 - Upstreaming SVE in QEMU
HKG18-TR08 - Upstreaming SVE in QEMU
 
HKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8MHKG18-113- Secure Data Path work with i.MX8M
HKG18-113- Secure Data Path work with i.MX8M
 
HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation HKG18-120 - Devicetree Schema Documentation and Validation
HKG18-120 - Devicetree Schema Documentation and Validation
 
HKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted bootHKG18-223 - Trusted FirmwareM: Trusted boot
HKG18-223 - Trusted FirmwareM: Trusted boot
 
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
HKG18-500K1 - Keynote: Dileep Bhandarkar - Emerging Computing Trends in the D...
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

BUD17-412: OpenSDK OE Builds on 96Boards

  • 1. OpenSDK OE Builds on 96Boards Andrey Konovalov (LHG)
  • 2. ENGINEERS AND DEVICES WORKING TOGETHER OpenSDK OE Builds on 96Boards ● Use the same OE build system as Reference Platform Builds do ● meta-lhg layer contains components developed inside LHG ● The builds are running in jenkins. Only one image (per every supported board) is built: Weston with Chromium browser included into the image ● The images produced by these builds are published at snapshots.linaro.org ● Boards supported: DragonBoard-410c, HiKey, Beagle X15
  • 3. ENGINEERS AND DEVICES WORKING TOGETHER OpenSDK OE Builds: key components ● HW accelerated graphics: BSP layers (meta-96boards, meta-qcom, meta-ti) ● gstreamer, mesa: Linaro’s meta-backports layer Current versions: gstreamer 1.10.3, mesa 13.0.4 ● OPTEE: Linaro’s meta-linaro/meta-optee Current version: OPTEE 2.3.0 ● Chromium + OpenCDM: LHG’s fork of meta-browser layer Current version: chromium_v45 ● AES descriptor TA: meta-lhg
  • 4. ENGINEERS AND DEVICES WORKING TOGETHER Meta-lhg structure https://github.com/linaro-home/meta-lhg ● meta-lhg layer: The OpenEmbedded layer for LHG specific components. lhg-westeros-wpe-image and rpb-westonchromium-image recipes, optee-aes-decryptor recipe, chromium and portmap bbappends (needed by OpenCDM), nss_3.19 needed by the (old) chromium version used ● meta-lhg-integration: This layer contains fixes or workarounds needed to integrate components external to LHG into public LHG OE builds. Mostly weston and ti-sgx-ddk-um (powervr userland driver) bbappends needed to enable this driver in weston, and couple other bbappends
  • 5. ENGINEERS AND DEVICES WORKING TOGETHER LHG contributes to meta-rpb and meta-96boards (or why meta-lhg is that small) About a year ago meta-lhg was considerably bigger than it is now. Its content was reviewed, the components which are useful outside LHG have been moved to proper layers. E.g. conf/distro/include/egl.inc in meta-rpb - selects the proper EGL/GLES provider meta-96boards/recipes-graphics/mali-userland in meta-96boards - added public Mali450 userland driver
  • 6. ENGINEERS AND DEVICES WORKING TOGETHER Next Steps ● chromium is be updated to a more recent version, the OpenCDM plugin included ● fix HW accelerated playback in gstreamer with waylandsink (rendering issue) ● ...
  • 7. ENGINEERS AND DEVICES WORKING TOGETHER OpenSDK pre-built images ● Jenkins jobs: ○ https://ci.linaro.org/view/All/job/lhg-oe-build/ aka “stable” May miss most recent changes or have workarounds for the issues which couldn’t be resolved in short term. This is the choice for those who need it working out of the box. ○ https://ci.linaro.org/view/All/job/lhg-oe-build-next/ aka “staging” Uses the tips of the relevant trees The both builds are based on current yocto release, Morty atm. ● Pre-built images: “stable” - http://snapshots.linaro.org/openembedded/pre-built/lhg/morty/ “staging” - http://snapshots.linaro.org/openembedded/pre-built/lhg/morty-staging/
  • 8. ENGINEERS AND DEVICES WORKING TOGETHER Building OpenSDK images See https://github.com/linaro-home/lhg-oe-manifests (the README.md) Check the “Required Packages” section in Yocto Project Reference Manual. This is essentially: repo init -u https://github.com/linaro-home/lhg-oe-manifests.git -b morty repo sync source setup-environment bitbake rpb-westonchromium-image Two common issues faced when doing an OE build first time: ● Doing it on a VM with 1GB of RAM ● Download (do_fetch) failures when downloading from behind a proxy An rpb-westonchromium-image build needs approx. 10GB of (virtual) RAM and 100GB of free disk space
  • 9. OpenSDK OE Builds on 96Boards Andrey Konovalov (LHG)
  • 10. ENGINEERS AND DEVICES WORKING TOGETHER OpenSDK OE Builds on 96Boards ● Use the same OE build system as Reference Platform Builds do ● meta-lhg layer contains components developed inside LHG ● The builds are running in jenkins. Only one image (per every supported board) is built: Weston with Chromium browser included into the image ● The images produced by these builds are published at snapshots.linaro.org ● Boards supported: DragonBoard-410c, HiKey, Beagle X15
  • 11. ENGINEERS AND DEVICES WORKING TOGETHER OpenSDK OE Builds: key components ● HW accelerated graphics: BSP layers (meta-96boards, meta-qcom, meta-ti) ● gstreamer, mesa: Linaro’s meta-backports layer Current versions: gstreamer 1.10.3, mesa 13.0.4 ● OPTEE: Linaro’s meta-linaro/meta-optee Current version: OPTEE 2.3.0 ● Chromium + OpenCDM: LHG’s fork of meta-browser layer Current version: chromium_v45 ● AES descriptor TA: meta-lhg
  • 12. ENGINEERS AND DEVICES WORKING TOGETHER Meta-lhg structure https://github.com/linaro-home/meta-lhg ● meta-lhg layer: The OpenEmbedded layer for LHG specific components. lhg-westeros-wpe-image and rpb-westonchromium-image recipes, optee-aes-decryptor recipe, chromium and portmap bbappends (needed by OpenCDM), nss_3.19 needed by the (old) chromium version used ● meta-lhg-integration: This layer contains fixes or workarounds needed to integrate components external to LHG into public LHG OE builds. Mostly weston and ti-sgx-ddk-um (powervr userland driver) bbappends needed to enable this driver in weston, and couple other bbappends
  • 13. ENGINEERS AND DEVICES WORKING TOGETHER LHG contributes to meta-rpb and meta-96boards (or why meta-lhg is that small) About a year ago meta-lhg was considerably bigger than it is now. Its content was reviewed, the components which are useful outside LHG have been moved to proper layers. E.g. conf/distro/include/egl.inc in meta-rpb - selects the proper EGL/GLES provider meta-96boards/recipes-graphics/mali-userland in meta-96boards - added public Mali450 userland driver
  • 14. ENGINEERS AND DEVICES WORKING TOGETHER Next Steps ● chromium is be updated to a more recent version, the OpenCDM plugin included ● fix HW accelerated playback in gstreamer with waylandsink (rendering issue) ● ...
  • 15. ENGINEERS AND DEVICES WORKING TOGETHER OpenSDK pre-built images ● Jenkins jobs: ○ https://ci.linaro.org/view/All/job/lhg-oe-build/ aka “stable” May miss most recent changes or have workarounds for the issues which couldn’t be resolved in short term. This is the choice for those who need it working out of the box. ○ https://ci.linaro.org/view/All/job/lhg-oe-build-next/ aka “staging” Uses the tips of the relevant trees The both builds are based on current yocto release, Morty atm. ● Pre-built images: “stable” - http://snapshots.linaro.org/openembedded/pre-built/lhg/morty/ “staging” - http://snapshots.linaro.org/openembedded/pre-built/lhg/morty-staging/
  • 16. ENGINEERS AND DEVICES WORKING TOGETHER Building OpenSDK images See https://github.com/linaro-home/lhg-oe-manifests (the README.md) Check the “Required Packages” section in Yocto Project Reference Manual. This is essentially: repo init -u https://github.com/linaro-home/lhg-oe-manifests.git -b morty repo sync source setup-environment bitbake rpb-westonchromium-image Two common issues faced when doing an OE build first time: ● Doing it on a VM with 1GB of RAM ● Download (do_fetch) failures when downloading from behind a proxy An rpb-westonchromium-image build needs approx. 10GB of (virtual) RAM and 100GB of free disk space
  • 17. Thank You #BUD17 For further information: www.linaro.org BUD17 keynotes and videos on: connect.linaro.org
  • 18. Thank You #BUD17 For further information: www.linaro.org BUD17 keynotes and videos on: connect.linaro.org