Set platform.core.cpu.arch and platform.core.fpu.arch features of VisionFive2 21/311221/1 accepted/tizen/unified/20240517.164214 accepted/tizen/unified/x/20240516.161256
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 16 May 2024 07:57:59 +0000 (16:57 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 16 May 2024 08:00:45 +0000 (17:00 +0900)
The VisionFive2 board has jh7110 soc with u74 core, and it is
riscv64 cpu arch having rvf and rvd floating point extensions.
Set platform.core.cpu.arch and platform.core.fpu.arch features
with the cpu information.

The features are used in tct-systeminfo-tizen-tests of web tct.

Change-Id: I5a9a84bd233a409bf46c22b02848f1e4aefefe74
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/platform-preset-boards-visionfive2-hal-backend.inc

index bcf3d3f98b544bb7539d2e206aea27e93f54203c..18b9aa313d6812af9eb449d44aff8e060427a501 100644 (file)
@@ -65,8 +65,10 @@ Firstly select HAL Backends to add to your image.
 %tizen_hal_feature tizen.org/feature/usb.host true
 %tizen_hal_feature tizen.org/feature/download true
 %tizen_hal_feature tizen.org/feature/platform.core.abi riscv_64
+%tizen_hal_feature tizen.org/feature/platform.core.cpu.arch riscv64
 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv32 false
 %tizen_hal_feature tizen.org/feature/platform.core.cpu.arch.riscv64 true
+%tizen_hal_feature tizen.org/feature/platform.core.fpu.arch rvfd
 
 ### VISIONFIVE2-Power ###
 %package sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Power