x15 in aosp · 2020. 9. 24. · selinux policy in mainline android p/master fixes adb in mainline -...
TRANSCRIPT
![Page 1: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/1.jpg)
X15 in AOSP Praneeth Bajjuri, Texas Instruments
Mykhailo Sopiha, Texas Instruments
![Page 2: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/2.jpg)
Overview ● Problem? (Product->Community focus)
● Why X15 ?
● AOSP Dev board requirements? Why X15
● Upstream Vs Downstream flow
● Upstream status
● Future work
![Page 3: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/3.jpg)
Problem? ● From
○ Mirror / Fork https://android.googlesource.com/ <tag_name> ○ Forward port / Rebase fixes on <tag_name> ○ Internal reviews ○ Test on limited platforms and usecases manually ○ Release SDK ○ <Restart>
• Larger Pastry Migration Cycle • Larger Effort in New Platform • Larger Test and Release Cycle
![Page 4: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/4.jpg)
● To ○ Add community variant platform in mainline
■ repo init –u https://android.googlesource.com/platform/manifest -b master;repo sync
■ lunch beagle-x15-userdebug;make –jX
■ Support Key features for android development
○ Fork https://android.googlesource.com/ <tag_name> ○ Rebase non upstreamed fixes, Also rework as per review for master ○ Limit internal review and have platforms available in public sooner ○ Automate Test on more TI and AOSP Dev boards (LCR/LKFT) ○ <Restart> on new pastry tag,
![Page 5: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/5.jpg)
Why X15 ? ● Open Platform, Well supported by community
● ARM 32bit platform (A15)
● Used by Embedded, Industrial and Automotive Segments
https://beagleboard.org/x15
https://wiki.linaro.org/Boards/BeagleBoard-X15
![Page 6: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/6.jpg)
AOSP Dev Board Requirement: Why X15? Hardware Requirement X15 Status
Available to Google and community in Open Market Good
Available Documentation Good: TRM, Schematics
Decent RAM size Good: 2GB
Internal Boot media (eMMC) Good: 4GB
USB Ports Good: 5
Network Connectivity Good: Ethernet, Wifi-Add on available
![Page 7: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/7.jpg)
AOSP Dev Board Requirement: Why X15? Software Requirement X15 Status
Continuous Support for at least 2 years Good: Thru Linaro Triage
Open Bootloader Support Good: Mainlined and tested on all LTS
LTS Kernel Support Good: Mainlined and tested on all LTS
USB Good: ADB, Mass Storage
Derivative of Android-common Kernel Good: Auto merge of Kernel-common
No Never Ending Crash loop in Android Fwk Good: 60fps
Multimedia Support Good: SW Video and Audio Decode
GPU Support Good: GPL KM, UM FW Public Available
Treble Support Good: Upstream in progress
![Page 8: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/8.jpg)
Upstream Vs Downstream
4.14 LTS
Android 4.14 LTS 4.19 LTS
Android 4.19 LTS
AOSP Master Android Pie Tag
Android Q Tag
Pixel
hikey
x15
AM572 GPEVM
AM571 IDK
AM574 IDK
AM654 GPEVM
LCR Release
LKFT
Dev Projects + Feature Trees Uboot Platform Conn Audio Display Device HAL
LKFT
LKFT
![Page 9: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/9.jpg)
Bootloader: Upstream Progress Boot Stage Feature X15 Status Planned Next
Uboot AOSP Tag update Done Maint Tag update
Platform Enablement Done – In Mainline New Platform and SOC variants
Boot from eMMC Done – In Mainline New Platform and SOC variants
Boot from SPI In Progress QSPI, OSPI on New Platforms
Fastboot Done – In Mainline Reboot Reason
Device Partitioning Done – In Mainline Dynamic Partitioning
AVB 2.0 In Progress -
System A/B In Progress -
Clang Build Yet to Start -
https://source.android.com/devices/bootloader
![Page 10: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/10.jpg)
Kernel: Upstream Progress Domain Feature X15 Status Planned Next
Platform Basic Platform Support In Mainline New Platform and SOC Variants
DT/ Overlays Using FIT Done New Platform and SOC Variants
Android-Common Integration Done With 4.19 – Compliance Fixes
Android-Config Integration Done With 4.19 – Compliance Fixes
Clang Build In Progress With 4.19+
Connectivity eMMC Boot In Mainline -
USB Gadget mode (ADB) In Mainline -
Multimedia ALSA In Mainline -
omapdrm display In Mainline -
ION Buffer allocation In Progress Destaging/ dma-buf-heaps
PVR KM Out of tree Integration -
https://source.android.com/devices/architecture/kernel
![Page 11: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/11.jpg)
AOSP: Upstream Progress Domain/Project Feature X15 Status Planned Next
device/ti/beagle_x15 Basic Platform Support (lunch) In Mainline Android Auto Lunch Target
Treble Support In Mainline Android P/Master fixes
SELinux Policy In Mainline Android P/Master fixes
ADB In Mainline -
PVR Firmware In Mainline Android P/Master fixes
device/ti/beagle_x15-kernel Ref Image with AOSP Build System In Mainline -
hardware/ti/am57x HWC1.0+ In Mainline HWC2.1+ with drm_hwc
Boot Control HAL1.0 In Progress Validate with A/B-AVB2.0
Audio HAL Yet to Start Android Q Migration
external/libdrm OMAP device In Mainline -
system/core Dynamic Kernel module loading In Mainline -
CTS/VTS Compliance Fixes In Progress 4.19+P Combination fixes
manifest - In Mainline -
![Page 12: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/12.jpg)
AOSP next steps: Summary ● Enable device @ci.android.com ● Documentation @source.android.com ● Update 4.14->4.19 baseline ● Compatibility : Current Pastry + LTS ● Upstream Features
● Bootloader* ● HAL*
● New in Android Q ● New in Android Auto
![Page 13: X15 in AOSP · 2020. 9. 24. · SELinux Policy In Mainline Android P/Master fixes ADB In Mainline - PVR Firmware In Mainline Android P/Master fixes device/ti/beagle_x15-kernel Ref](https://reader035.vdocuments.mx/reader035/viewer/2022070219/612eb9bd1ecc51586942fea7/html5/thumbnails/13.jpg)
Thank you