diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2021-08-02 18:44:22 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2021-08-02 18:44:22 +0900 |
commit | e7254ced858a531dd6eca1020e10fc71e236afa1 (patch) | |
tree | 654afa78d452e28c8f55a4589b0de4fe8af484d4 | |
parent | 7eb9b3b75e5ab16a87dede4d7aff69b91c4fbd21 (diff) | |
download | building-blocks-submit/tizen/20210802.223457.tar.gz building-blocks-submit/tizen/20210802.223457.tar.bz2 building-blocks-submit/tizen/20210802.223457.zip |
Separate rpi4-hal-backend file from rpi3-hal-backend filesubmit/tizen/20210802.223457accepted/tizen/unified/20210803.004810
RPI4/RPI3 hal-backend file is separated in order to use the proper feature.
Change-Id: I06bd2af38bdc79b1a19f022debeafee05e0ac387
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | packaging/building-blocks.spec | 2 | ||||
-rw-r--r-- | packaging/platform-preset-boards-rpi4-hal-backend.inc | 176 | ||||
-rw-r--r-- | packaging/platform-preset-boards.inc | 1 |
3 files changed, 179 insertions, 0 deletions
diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 59a3cc1..cc9f60f 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -85,6 +85,7 @@ Source3800: platform-preset-boards.inc %ifarch armv7l aarch64 Source3801: platform-preset-boards-rpi3.inc Source3811: platform-preset-boards-rpi3-hal-backend.inc +Source3815: platform-preset-boards-rpi4-hal-backend.inc Source3820: platform-preset-boards-common.inc %endif %ifarch armv7l @@ -418,6 +419,7 @@ python ./rule_checker.py %ifarch armv7l aarch64 %{include_if_mainbuild %{SOURCE3801}} %{include_if_mainbuild %{SOURCE3811}} +%{include_if_mainbuild %{SOURCE3815}} %{include_if_mainbuild %{SOURCE3820}} %endif %ifarch armv7l diff --git a/packaging/platform-preset-boards-rpi4-hal-backend.inc b/packaging/platform-preset-boards-rpi4-hal-backend.inc new file mode 100644 index 0000000..21f8bd8 --- /dev/null +++ b/packaging/platform-preset-boards-rpi4-hal-backend.inc @@ -0,0 +1,176 @@ +# Maintainer: Tizen PM? +# You need ACK (+1) from the maintainer to be reviewed by building-block maintainers. + +################ +### RPI4 ### +################ +%package sub1-Preset_boards-RPI4_HAL_Backend +Summary: RPI4 Selection for HAL +Requires: model-config-generic-hal +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-Power +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-System_Device +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-Bluetooth +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-Audio +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-GPS +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-Camera_Common +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-Display +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-Codec +Requires: %{name}-sub2-Preset_boards-RPI4_HAL_Backend-FlashManager + +%description sub1-Preset_boards-RPI4_HAL_Backend +Firstly select HAL Backends to add to your image. +%files sub1-Preset_boards-RPI4_HAL_Backend +%posttrans sub1-Preset_boards-RPI4_HAL_Backend +%tizen_hal_feature tizen.org/system/platform.processor BCM2711 +%tizen_hal_feature tizen.org/system/platform.communication_processor none +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch armv8 +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv7 false +%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.armv8 true +%tizen_hal_feature tizen.org/feature/platform.core.cpu.frequency 1200 +%tizen_hal_feature tizen.org/feature/platform.core.fpu.arch vfpv4 +%tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv3 false +%tizen_hal_feature tizen.org/feature/platform.core.fpu.arch.vfpv4 true +%tizen_hal_feature tizen.org/feature/network.wifi true +%tizen_hal_feature tizen.org/feature/network.ethernet true +%tizen_hal_feature tizen.org/feature/network.wifi.tdls false +%tizen_hal_feature tizen.org/feature/network.wifi.softap true +%tizen_hal_feature tizen.org/feature/network.tethering.wifi true +%tizen_hal_feature tizen.org/feature/screen.height 720 +%tizen_hal_feature tizen.org/feature/screen.output.hdmi true +%tizen_hal_feature tizen.org/feature/screen.output.rca false +%tizen_hal_feature tizen.org/feature/screen.shape.circle false +%tizen_hal_feature tizen.org/feature/screen.shape.rectangle true +%tizen_hal_feature tizen.org/feature/screen.size.normal.720.1280 true +%tizen_hal_feature tizen.org/feature/screen.width 1280 +%tizen_hal_feature tizen.org/feature/sensor.accelerometer false +%tizen_hal_feature tizen.org/feature/sensor.gravity false +%tizen_hal_feature tizen.org/feature/sensor.linear_acceleration false +%tizen_hal_feature tizen.org/feature/sensor.proximity false +%tizen_hal_feature tizen.org/feature/sensor.temperature false +%tizen_hal_feature tizen.org/feature/sensor.heart_rate_monitor.batch false +%tizen_hal_feature tizen.org/feature/sensor.heart_rate_monitor.led_green.batch false +%tizen_hal_feature tizen.org/feature/storage.external true +%tizen_hal_feature tizen.org/feature/peripheral_io.gpio true +%tizen_hal_feature tizen.org/feature/peripheral_io.i2c true +%tizen_hal_feature tizen.org/feature/peripheral_io.pwm false +%tizen_hal_feature tizen.org/feature/peripheral_io.spi true +%tizen_hal_feature tizen.org/feature/peripheral_io.uart true +%tizen_hal_feature tizen.org/system/model_name rpi4 + +### RPI4-Power ### +%package sub2-Preset_boards-RPI4_HAL_Backend-Power +Summary: RPI4_Power +Requires: pass-hal-rpi + +%description sub2-Preset_boards-RPI4_HAL_Backend-Power +Packages for PASS HAL and Feature for RPI. +%files sub2-Preset_boards-RPI4_HAL_Backend-Power + +### RPI4-System_Device ### +%package sub2-Preset_boards-RPI4_HAL_Backend-System_Device +Summary: RPI4_Deviced Plugin for HAL +Requires: hal-backend-device-rpi + +%description sub2-Preset_boards-RPI4_HAL_Backend-System_Device +Packages for Deviced HAL and Feature for RPI. +%files sub2-Preset_boards-RPI4_HAL_Backend-System_Device +%posttrans sub2-Preset_boards-RPI4_HAL_Backend-System_Device +%tizen_hal_feature tizen.org/feature/thermistor.ap true + +### RPI4-Bluetooth ### +%package sub2-Preset_boards-RPI4_HAL_Backend-Bluetooth +Summary: RPI4_Bluetooth for HAL +Requires: bluetooth-firmware-bcm-rpi3 + +%description sub2-Preset_boards-RPI4_HAL_Backend-Bluetooth +Packages of Bluetooth HAL and Feature for RPI4. +%files sub2-Preset_boards-RPI4_HAL_Backend-Bluetooth +%posttrans sub2-Preset_boards-RPI4_HAL_Backend-Bluetooth +%tizen_hal_feature tizen.org/feature/network.bluetooth true +%tizen_hal_feature tizen.org/feature/network.bluetooth.audio.media true +%tizen_hal_feature tizen.org/feature/network.bluetooth.hid true +%tizen_hal_feature tizen.org/feature/network.bluetooth.le true +%tizen_hal_feature tizen.org/feature/network.bluetooth.le.gatt.server true +%tizen_hal_feature tizen.org/feature/network.bluetooth.le.gatt.client true +%tizen_hal_feature tizen.org/feature/network.bluetooth.oob true +%tizen_hal_feature tizen.org/feature/network.bluetooth.le.5_0 false + +### RPI4-Audio ### +%package sub2-Preset_boards-RPI4_HAL_Backend-Audio +Summary: RPI4_Audio for HAL +Requires: audio-hal-bcm2837 +Requires: alsa-ucm-data-rpi3 +Requires: media-config-target-rpi3 + +%description sub2-Preset_boards-RPI4_HAL_Backend-Audio +Packages of Audio HAL and Feature for RPI4. +%files sub2-Preset_boards-RPI4_HAL_Backend-Audio +%posttrans sub2-Preset_boards-RPI4_HAL_Backend-Audio +%tizen_hal_feature tizen.org/feature/microphone true +%tizen_hal_feature tizen.org/feature/media.audio_recording true + +### RPI4-GPS ### +%package sub2-Preset_boards-RPI4_HAL_Backend-GPS +Summary: RPI4_GPS +Requires: lbs-server-plugin-replay + +%description sub2-Preset_boards-RPI4_HAL_Backend-GPS +Packages of GPS HAL and Feature for RPI4. +%files sub2-Preset_boards-RPI4_HAL_Backend-GPS + +### RPI4-Camera_Common ### +%package sub2-Preset_boards-RPI4_HAL_Backend-Camera_Common +Summary: RPI4_Camera(Common) for HAL +Requires: camera-hal-v4l2 +Requires: media-config-target-rpi3 + +%description sub2-Preset_boards-RPI4_HAL_Backend-Camera_Common +Packages of Camera HAL and Feature for RPI4(Common). +%files sub2-Preset_boards-RPI4_HAL_Backend-Camera_Common +%posttrans sub2-Preset_boards-RPI4_HAL_Backend-Camera_Common +%tizen_hal_feature tizen.org/feature/camera true +%tizen_hal_feature tizen.org/feature/camera.back true +%tizen_hal_feature tizen.org/feature/camera.back.flash false +%tizen_hal_feature tizen.org/feature/camera.front false +%tizen_hal_feature tizen.org/feature/camera.front.flash false +%tizen_hal_feature tizen.org/feature/media.video_recording true + +### RPI4-Display ### +%package sub2-Preset_boards-RPI4_HAL_Backend-Display +Summary: RPI4_Display for HAL +Requires: hal-backend-tbm-vc4 +Requires: hal-backend-tdm-vc4 + +%description sub2-Preset_boards-RPI4_HAL_Backend-Display +Packages of Display HAL and Feature for RPI4. +%files sub2-Preset_boards-RPI4_HAL_Backend-Display +%posttrans sub2-Preset_boards-RPI4_HAL_Backend-Display +%tizen_hal_feature tizen.org/feature/graphics.acceleration true +%tizen_hal_feature tizen.org/feature/multi_point_touch.pinch_zoom true +%tizen_hal_feature tizen.org/feature/opengles true +%tizen_hal_feature tizen.org/feature/opengles.version.1_1 true +%tizen_hal_feature tizen.org/feature/opengles.version.2_0 true +%tizen_hal_feature tizen.org/feature/opengles.version.3_0 false +%tizen_hal_feature tizen.org/feature/opengles.version.3_1 false +%tizen_hal_feature tizen.org/feature/opengles.version.3_2 false +%tizen_hal_feature tizen.org/feature/vulkan.version.1_0 false +%tizen_hal_feature tizen.org/feature/screen true +%tizen_hal_feature tizen.org/feature/opengles.surfaceless_context true + +### RPI4-Codec ### +%package sub2-Preset_boards-RPI4_HAL_Backend-Codec +Summary: RPI4_Codec for HAL +Requires: media-config-target-rpi3 + +%description sub2-Preset_boards-RPI4_HAL_Backend-Codec +Packages of Codec HAL and Feature for RPI4. +%files sub2-Preset_boards-RPI4_HAL_Backend-Codec + +### RPI4-FlashManager ### +%package sub2-Preset_boards-RPI4_HAL_Backend-FlashManager +Summary: RPI4_FlashManager for HAL +Requires: fm-data-rpi3 + +%description sub2-Preset_boards-RPI4_HAL_Backend-FlashManager +Packages of Partition Data of FlashManager for RPI4. +%files sub2-Preset_boards-RPI4_HAL_Backend-FlashManager diff --git a/packaging/platform-preset-boards.inc b/packaging/platform-preset-boards.inc index f884adb..f1e461c 100644 --- a/packaging/platform-preset-boards.inc +++ b/packaging/platform-preset-boards.inc @@ -13,6 +13,7 @@ Suggests: %{name}-sub1-Preset_boards-ARTIK530_HAL_Backend Suggests: %{name}-sub1-Preset_boards-COMMON Suggests: %{name}-sub1-Preset_boards-RPI3 Suggests: %{name}-sub1-Preset_boards-RPI3_HAL_Backend +Suggests: %{name}-sub1-Preset_boards-RPI4_HAL_Backend %endif %ifarch aarch64 Suggests: %{name}-sub1-Preset_boards-VIM3_HAL_Backend |