|
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
## About ##
|
|
|
|
|
|
|
|
If you can't edit this page please file issues at:
|
|
|
|
|
|
|
|
- https://gitlab.eclipse.org/groups/eclipse-wg/oniro-wg/proposal-incubation-stage-oniro/-/issues
|
|
|
|
|
|
|
|
And let it know to @pcoval (@rzr):
|
|
|
|
|
|
|
|
- https://chat.ostc-eu.org/ostc/channels/graphical-framework
|
|
|
|
|
|
|
|
Note this page should be relocated to match a project (ie: core-os or blueprints?)
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Status ##
|
|
|
|
|
|
|
|
- [x] Investigation: meta-flutter has been maintained at various places, the most active repo if for Automotive Grade Linux (on dunfell branch)
|
|
|
|
- [x] Rebuild layer
|
|
|
|
- [x] qemux86-64
|
|
|
|
- [x] Seco C61 support
|
|
|
|
- https://edge.seco.com/en/astrid.html# GC320 2D accelerator + GCNanoUltra 3D accelerator
|
|
|
|
- [ ] Seco b68 support (currently FTBFS on compiler-rt)
|
|
|
|
- https://booting.oniroproject.org/distro/meta-seco-intel/-/issues/9 (cc: @ektor5)
|
|
|
|
- [x] RPi BSP (test using pi3)
|
|
|
|
- [x] Test demo app: homescreen
|
|
|
|
- [x] qemux86-64
|
|
|
|
- [x] C61 support (@nat said it's working)
|
|
|
|
- https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/issues/230
|
|
|
|
- [x] Pi3
|
|
|
|
- https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/issues/220 (kirkstone TODO)
|
|
|
|
- [ ] Pi4 (need device)
|
|
|
|
- [ ] Enable vulkan bits for Rpi VC
|
|
|
|
- [x] dragonboard-410c with GpU : Adreno 306 (same as quectel?) :
|
|
|
|
- blueprint-flutter-image-dragonboard-410c-20220405043152.rootfs.wic.gz
|
|
|
|
- [ ] STM32MP1 with vivante GPU (using etnaviv driver)
|
|
|
|
- blueprint-flutter-image-stm32mp1-av96-20220405131504.rootfs.wic.bz2
|
|
|
|
- [x] Patches to upstream: https://github.com/meta-flutter/meta-flutter/pulls
|
|
|
|
- @nat patches for oniro compilers (no more needed)
|
|
|
|
- [x] @pcoval: overrides, SystemD
|
|
|
|
- [x] Sample meta-oniro-blueprint-flutter layer for distro:
|
|
|
|
- https://booting.oniroproject.org/rzr/meta-oniro-blueprint-flutter
|
|
|
|
- Integrate meta-flutter in oniro on supported branch
|
|
|
|
- [ ] https://gitlab.eclipse.org/eclipse/oniro-core/oniro/-/merge_requests/4 (kirkstone)
|
|
|
|
- [ ] https://booting.oniroproject.org/distro/oniro/-/merge_requests/541 (dunfell)
|
|
|
|
- [ ] Create example application
|
|
|
|
- [ ] video support (need ffmpeg? legal?)
|
|
|
|
- [ ] RO rootfs
|
|
|
|
- [ ] opt: compare to android base (boot in 20secs, android 24 sec , app = 3 sec)
|
|
|
|
- [ ] Oniro initiative:
|
|
|
|
- https://gitlab.eclipse.org/eclipse-wg/oniro-wg/products-services-oniro-wg/release-roadmap-oniro-wg/initiative-qualification-roadmap-oniro-wg/-/issues/17
|
|
|
|
- https://gitlab.eclipse.org/eclipse-wg/oniro-wg/roadmap-oniro-wg/wishlist-roadmap/wishlist-repo/-/issues/2
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
## Usage ##
|
|
|
|
|
|
|
|
### Download ###
|
|
|
|
|
|
|
|
Latest image:
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
curl -O "https://siasky.net/CAATC1yPp6i8o4wZkKLXht2hGvRQJVaETUrigVkS7VDgeA/#./file/blueprint-flutter-image-raspberrypi3-64-20220404121845.rootfs.wic.bz2" # 217Mi720Ki965o = 0228279237c ~= 222928 Ki ~= 217 Mi ~= 0 Gi
|
|
|
|
md5sum blueprint-flutter-image-raspberrypi3-64-20220404121845.rootfs.wic.bz2 | grep "86d9a5914c19c8b21e9f9dd45d500447"
|
|
|
|
|
|
|
|
curl -O "https://siasky.net/EACpZpxonpSYdOJ-PCp9_sxGMv83SKFLZwdIGW_PXpErBw/#./file/blueprint-flutter-image-raspberrypi4-64-20220404215135.rootfs.wic.bz2" # 420Mi591Ki632o = 0441007736c ~= 430671 Ki ~= 420 Mi ~= 0 Gi
|
|
|
|
md5sum blueprint-flutter-image-raspberrypi4-64-20220404215135.rootfs.wic.bz2 | grep "2a5f5791a0597149b87f95377889d1f1"
|
|
|
|
|
|
|
|
curl -O "https://siasky.net/CAD3fFjVq1pJ2lD0rnB4AN3axHVEgG8m9Ggl57saiSo3qA/#./file/blueprint-flutter-image-dragonboard-410c-20220405043152.rootfs.wic.gz" # 219Mi14Ki863o = 0229653343c ~= 224270 Ki ~= 219 Mi ~= 0 Gi
|
|
|
|
md5sum blueprint-flutter-image-dragonboard-410c-20220405043152.rootfs.wic.gz | grep "1ff2976c06e92c7ea69cfcc2c3ec002c"
|
|
|
|
|
|
|
|
curl -O "https://siasky.net/EACude4u7fXx5IeFIqqQojtPes5w-2YmpKsz4qKs_juvJg/#./file/blueprint-flutter-image-stm32mp1-av96-20220405131504.rootfs.wic.bz2" # 348Mi823Ki62o = 0365747262c ~= 357175 Ki ~= 348 Mi ~= 0 Gi
|
|
|
|
md5sum blueprint-flutter-image-stm32mp1-av96-20220405131504.rootfs.wic.bz2 | grep "7b382ec874625107a4db037f3d8fe857"
|
|
|
|
|
|
|
|
curl -O "https://siasky.net/EABeO-8BDvucSK00Qlre0lHQeX8ecGXAhKoW8Wbu8ialzw/#./file/blueprint-flutter-image-seco-imx8mm-c61-20220421155218.rootfs.wic.gz" # 458Mi222Ki681o = 0480475817c ~= 469214 Ki ~= 458 Mi ~= 0 Gi
|
|
|
|
md5sum blueprint-flutter-image-seco-imx8mm-c61-20220421155218.rootfs.wic.gz | grep "3a2c823c3f9824058bd4062cf54fd590"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
### Rebuild ###
|
|
|
|
|
|
|
|
```
|
|
|
|
# Set some variables specific to this blueprint
|
|
|
|
url='https://booting.oniroproject.org/rzr/meta-oniro-blueprint-flutter'
|
|
|
|
branch='dunfell' # Oniro stable (jasmine)
|
|
|
|
layer="meta-oniro-blueprint-flutter"
|
|
|
|
export DISTRO="oniro-linux-blueprint-flutter"
|
|
|
|
image="blueprint-flutter-image"
|
|
|
|
# Default machine can be replaced eg: "raspberrypi4-64"
|
|
|
|
export MACHINE=qemux86-64
|
|
|
|
|
|
|
|
mkdir -p "$DISTRO" ; cd "$DISTRO"
|
|
|
|
git clone --branch "$branch" "$url"
|
|
|
|
|
|
|
|
mkdir oniroproject ; cd oniroproject
|
|
|
|
export ONIRO_DIR="$PWD"
|
|
|
|
repo init ../$layer
|
|
|
|
repo sync --no-clone-bundle
|
|
|
|
|
|
|
|
# For kirkstone branch
|
|
|
|
sed -e 's|TCLIBC = "musl"|TCLIBC ?= "musl"|g' \
|
|
|
|
-i oniro/meta-oniro-core/conf/distro/oniro-linux.conf
|
|
|
|
|
|
|
|
export TEMPLATECONF=../oniro/flavours/linux
|
|
|
|
. ./oe-core/oe-init-build-env
|
|
|
|
bitbake-layers add-layer "$ONIRO_DIR/meta-flutter"
|
|
|
|
bitbake-layers add-layer "$ONIRO_DIR/../$layer"
|
|
|
|
bitbake "$image"
|
|
|
|
|
|
|
|
# Allocate more RAM to emulator for demo
|
|
|
|
sed -e 's|qb_mem = -m 256|qb_mem = -m 4G|g' -i \
|
|
|
|
build/tmp/deploy/images/${MACHINE}/${image}-${MACHINE}.qemuboot.conf
|
|
|
|
|
|
|
|
runqemu $MACHINE $image wic kvm
|
|
|
|
```
|
|
|
|
|
|
|
|
## Meetings ##
|
|
|
|
|
|
|
|
### YYYY-MM-DD : Next meeting ###
|
|
|
|
|
|
|
|
- @pcoval back on 2022-03-21
|
|
|
|
- Shared flutter blueprint layer (instructions above)
|
|
|
|
- https://booting.oniroproject.org/rzr/meta-oniro-blueprint-flutter
|
|
|
|
- Shared RPi images (see download)
|
|
|
|
- WIP: Hardware accel:
|
|
|
|
- https://booting.oniroproject.org/rzr/meta-oniro-blueprint-flutter/-/issues/1
|
|
|
|
|
|
|
|
|
|
|
|
### 2022-03-08 : Meeting ###
|
|
|
|
|
|
|
|
- homescreen demo for RPi3 (1GB) (WIP)
|
|
|
|
- some patches upstreamed on meta-flutter honister branch
|
|
|
|
- TODO: bbappends into oniro
|
|
|
|
- HW SoM:
|
|
|
|
- Reqs: USAR, WiFi, BT, GPU (VPU TBC)
|
|
|
|
- Question: What VPU is using used?
|
|
|
|
- SC20(msm8909)supports yocto (old release)
|
|
|
|
- https://www.quectel.com/product/sc20-w-8gb-smart-module
|
|
|
|
- support yocto without gpu support
|
|
|
|
- https://forums.quectel.com/t/sc20-linux-documents-and-tools/11993/3
|
|
|
|
- https://www.quectel.com/product-tag/adreno-304
|
|
|
|
- https://forums.quectel.com/t/sc66-yocto-support/11815/9?u=rzr
|
|
|
|
- https://www.quectel.com/product/lte-sc200r-smart-module-series
|
|
|
|
- Seco boards:
|
|
|
|
- https://edge.seco.com/it/electra.html
|
|
|
|
|
|
|
|
|
|
|
|
### 2022-02-22 : Meeting ###
|
|
|
|
|
|
|
|
Status shared, RPi4
|
|
|
|
|
|
|
|
Question:
|
|
|
|
|
|
|
|
- SoM based on NXP SC61: bellow 20 USD
|
|
|
|
- https://edge.seco.com/en/products/architecture/arm/ ?
|
|
|
|
- to compare with:
|
|
|
|
- Quetel sc20
|
|
|
|
- https://www.quectel.com/product/sc20-w-8gb-smart-module
|
|
|
|
- Quetel sc200 (TBC?) (qcom/android) ~ (WiFi 4Core 8GB + 1GB) 16 USD
|
|
|
|
- https://quectel.com/product-category/smart-modules/
|
|
|
|
- Adreno™ 308 GPU
|
|
|
|
|
|
|
|
### 2022-02-08 : Meeting ###
|
|
|
|
|
|
|
|
- multiplatform --> mobile, desktop, touchscreen,...
|
|
|
|
- both in terms of graphics as well as chipset portability and device size
|
|
|
|
- reactivity and performance --> from graphics to hardware acceleration
|
|
|
|
- quantify this by comparing with silicon vendor / hw vendor provided original SDK)
|
|
|
|
- BOM / performance --> integrated graphics onto SOC
|
|
|
|
- sub 20 $ hw BOM
|
|
|
|
- benchmark with target portable graphical libraries such as design systems, or us horonix or alternatives
|
|
|
|
- UI design tool / IDE needs to generate production ready code
|
|
|
|
- https://en.wikipedia.org/wiki/Design_system
|
|
|
|
- for reference --> https://material.io/ (micro animations)
|
|
|
|
- flutter is a good solution to use as well as JS
|
|
|
|
|
|
|
|
## TODO ##
|
|
|
|
|
|
|
|
So the plan for this week would be to evaluate integration of :
|
|
|
|
|
|
|
|
- https://github.com/material-components/material-components-flutter
|
|
|
|
|
|
|
|
on oniro
|
|
|
|
|
|
|
|
and if not possible eventually (for JS?)
|
|
|
|
|
|
|
|
- https://github.com/material-components/material-components-web
|
|
|
|
|
|
|
|
Linux packages
|
|
|
|
|
|
|
|
- https://pub.dev/packages?q=platform%3Alinux
|
|
|
|
|
|
|
|
## KNOWLEDGE BASE ##
|
|
|
|
|
|
|
|
|
|
|
|
### FLUTTER ###
|
|
|
|
|
|
|
|
Is shipped into OH
|
|
|
|
Ubuntu is also supporting it
|
|
|
|
|
|
|
|
- https://flutter.dev/multi-platform/embedded
|
|
|
|
- https://github.com/sony/flutter-elinux
|
|
|
|
|
|
|
|
Effort ToBe tracked (@pcoval/TODO)
|
|
|
|
|
|
|
|
- https://gitlab.eclipse.org/search?search=flutter&scope=issues&search_code=false&snippets=false&repository_ref=
|
|
|
|
|
|
|
|
Flutter for Linux is α version now (2020):
|
|
|
|
|
|
|
|
- https://static.sched.com/hosted_files/osseu2020/e0/# Oct 27_Graphical User Interface Using Flutter in Embedded Systems_Hidenori Matsubayashi.pdf
|
|
|
|
- https://news.ycombinator.com/item?id=24921031
|
|
|
|
- Musl port
|
|
|
|
- https://github.com/flutter/flutter/issues/46016
|
|
|
|
|
|
|
|
|
|
|
|
Portability provided by:
|
|
|
|
|
|
|
|
- https://en.wikipedia.org/wiki/Skia_Graphics_Engine
|
|
|
|
|
|
|
|
Community:
|
|
|
|
|
|
|
|
- https://pub.dev/
|
|
|
|
- https://pub.dev/publishers/developer.huawei.com/packages
|
|
|
|
- https://ulusoyca.medium.com/why-is-flutter-fast-part-1-sublinear-building-317572cd6b47
|
|
|
|
|
|
|
|
Next: common API to be enabled to oniro eg:
|
|
|
|
- https://pub.dev/packages/shared_preferences
|
|
|
|
|
|
|
|
### FRAMEWORK7 ###
|
|
|
|
|
|
|
|
- https://github.com/framework7io/framework7/issues/3977
|
|
|
|
|
|
|
|
### Qt ###
|
|
|
|
|
|
|
|
QML is JS and can be deployed to MCUs too
|
|
|
|
|
|
|
|
No more open development, community TBC
|
|
|
|
|
|
|
|
### NATIVE SCRIPT ###
|
|
|
|
|
|
|
|
No GNU/Linux support yet
|
|
|
|
|
|
|
|
- https://github.com/NativeScript/rfcs/discussions/11#discussioncomment-2057875
|
|
|
|
- https://github.com/NativeScript/NativeScript/issues/27#issuecomment-1023095347
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### REACT JS ###
|
|
|
|
|
|
|
|
Will depends on browser or electron (bloatware)
|
|
|
|
|
|
|
|
- https://git.ostc-eu.org/OSTC/requirements/-/issues/318
|
|
|
|
|
|
|
|
### REACT NATIVE ###
|
|
|
|
|
|
|
|
Not yet supported Linux, some community efforts listed:
|
|
|
|
|
|
|
|
- https://github.com/react-native-community/discussions-and-proposals/issues/440
|
|
|
|
|
|
|
|
@pcoval evaluated native-gtk (GTK3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### ELECTRON ###
|
|
|
|
|
|
|
|
- https://github.com/votingworks/meta-electron
|
|
|
|
- https://github.com/ionic-team/capacitor/issues/5393
|
|
|
|
|
|
|
|
Alternative project for webviews:
|
|
|
|
- https://github.com/Igalia/cog/
|
|
|
|
|
|
|
|
### MISC ###
|
|
|
|
|
|
|
|
- https://developer.huawei.com/consumer/en/hms/
|
|
|
|
- https://quickhms.com/compatibility |
|
|
\ No newline at end of file |