platform/adaptation/rpi/pass-hal-rpi.git
3 years agopass-hal: rpi: v1.2.0 and Remove unused dlog dependency 44/252244/2 accepted/tizen/unified/20210204.134505 submit/tizen/20210201.020414 submit/tizen/20210204.032624
Chanwoo Choi [Fri, 22 Jan 2021 04:52:33 +0000 (13:52 +0900)]
pass-hal: rpi: v1.2.0 and Remove unused dlog dependency

Change the version due to following changes and remove unused dlog
dependency.

Changes from v1.1.0
- Remake the pass-hal-rpi according to hal-api-power
(/platform/hal/api/power).

Change-Id: Ibbdfa2cfd1841cdde0ba08e19600974a25f14857
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: rpi: Update pass-hal-rpi by using hal-api-power interface 61/251361/10
Chanwoo Choi [Thu, 7 Jan 2021 13:21:59 +0000 (22:21 +0900)]
pass-hal: rpi: Update pass-hal-rpi by using hal-api-power interface

Prior pass-hal-rpi depends on PASS HAL interface (hal.h) provided by
pass-hal-devel pkg. In order to keep the new HAL API package on Tizen 6.5,
change the pass-hal-rpi package.

[Mandatory implementation for HAL backend]
- Power HAL backend must define 'hal_backend_power_data' symbol
including the implementation of Power HAL interface.
- Include /hal/lib64/libhal-backend-power.so

Change-Id: Ib705482d398b5d0d3b3249b896fb477e882f5da6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: rpi: Remove unneeded header files 32/246032/2
Chanwoo Choi [Thu, 22 Oct 2020 10:58:59 +0000 (19:58 +0900)]
pass-hal: rpi: Remove unneeded header files

Change-Id: Ie9e2374e88f04f298b446ba2ef6dcb2e011e44c6
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: v1.1.0 30/240930/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.123552 accepted/tizen/6.0/unified/hotfix/20201103.051422 accepted/tizen/unified/20200831.122526 submit/tizen/20200828.025140 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 tizen_6.0.m2_release
Chanwoo Choi [Thu, 13 Aug 2020 02:39:46 +0000 (11:39 +0900)]
pass-hal: rpi: v1.1.0

Change dependency version of PASS daemon because the format of configuration
file was changed like 'scenario pass_level' and then verison-up.

Change-Id: Ic1a239a842027b07efe85cdc1293e77dc723c06c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: script: Add memory configuration file for fault_around_bytes 74/239674/3 accepted/tizen/unified/20200813.122636 submit/tizen/20200812.094312
Chanwoo Choi [Wed, 29 Jul 2020 01:18:25 +0000 (10:18 +0900)]
pass-hal: rpi: script: Add memory configuration file for fault_around_bytes

The fault_around_bytes has the follwowing policy:
- Default value : 4K
- In case of AppLaunch : 4K

Change-Id: I92b7c1bd010d2a093dcf37d12d1930a4c23b6d4c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Add support of memory resource for handling fault_around_bytes 73/239673/3
Chanwoo Choi [Wed, 29 Jul 2020 01:16:29 +0000 (10:16 +0900)]
pass-hal: rpi: Add support of memory resource for handling fault_around_bytes

In order to handle fault_around_bytes according to the PM QoS scenario,
add code for supporting the memory h/w resource.

Change-Id: Ie7681e7528eb2eab0643f00bb5401436ff7a26bc
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Edit pass-hal.conf path into /usr/lib/tmpfiles.d 11/239611/2 accepted/tizen/unified/20200729.165601 submit/tizen/20200729.021734
Chanwoo Choi [Tue, 28 Jul 2020 06:30:06 +0000 (15:30 +0900)]
pass-hal: rpi: Edit pass-hal.conf path into /usr/lib/tmpfiles.d

The configuration file should be located in /usr/lib/tmpfiles.d/
regardless of architecture type.

Change-Id: If0b3e96c9ac6e2a5aef8cb1411f89fe97dcf2728
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Change smack label to give read permission everyone for missing node 07/234307/1 accepted/tizen/unified/20200528.133006 submit/tizen/20200526.021149
Chanwoo Choi [Mon, 25 May 2020 10:05:59 +0000 (19:05 +0900)]
pass-hal: rpi: Change smack label to give read permission everyone for missing node

Change smack label to give read permission everyone as following:
- System -> System:Shared

Change-Id: If164aaf542dc322d6a971eeb98f6cbabedb425b3
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Change smack label to give read permission everyone 21/229021/2 accepted/tizen/unified/20200330.153413 submit/tizen/20200327.070246
Chanwoo Choi [Fri, 27 Mar 2020 06:01:20 +0000 (15:01 +0900)]
pass-hal: rpi: Change smack label to give read permission everyone

Change smack label to give read permission everyone as following:
- System -> System:Shared

Change-Id: Iafd552376f56ea3060975fd70beccaf71f927b35
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Add read permission for cpufreq sysfs interface 90/228290/1 accepted/tizen/unified/20200323.173003 submit/tizen/20200320.083511
Chanwoo Choi [Fri, 20 Mar 2020 05:45:27 +0000 (14:45 +0900)]
pass-hal: rpi: Add read permission for cpufreq sysfs interface

Add read permission for cpufreq sysfs interface for other user.

Change-Id: I9710d710e7690bacdb2e22de8f9e67f098c08837
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Add missing license information for sysfs.h 11/228011/1 accepted/tizen/unified/20200319.131248 submit/tizen/20200318.091008
Chanwoo Choi [Wed, 18 Mar 2020 06:07:54 +0000 (15:07 +0900)]
pass-hal: rpi: Add missing license information for sysfs.h

Change-Id: I3b2ae78ef1e0a229fa52260b9cd46921db387c92
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Add configuration files for resources 64/225764/3 accepted/tizen/unified/20200227.121037 submit/tizen/20200227.020232
Chanwoo Choi [Fri, 7 Feb 2020 01:43:29 +0000 (10:43 +0900)]
pass-hal: rpi: Add configuration files for resources

This patch adds the new configuration files for resources of RPI4 board.
- pass.conf contains the number of supported resources and the information.
- pass-cpu0.conf is the configuration file for CPU core
  : The number of CPU is four in the one cluster
  : The supported CPU frequencies : 600MHz, 1500MHz
  : The thermal node of CPU is /sys/class/thermal/thermal_zone0/temp

- /etc/pass.conf
  : Contain one h/w resource information for Quad-core cluster

- /etc/pass/pass-cpu0.conf
  : Contain CPU h/w resource information for Quad-core cluster
  : Contain two PMQoS Scenarios
1. AppLaunch for boosting Tizen application launching time.
2. UltraPowerSaving by capping h/w resource to reduce power.
  : Contain four Thermal Scenarios
1. Release
2. Warning
3. LimitAction need to limit h/w resource for preventing overheating
4. Shutdown

- /usr/lib/tmpfiles.d/pass-hal.conf
  : Contain the list of sysfs interface which are accessed by PASS HAL library
  like /usr/lib/pass/cpu.so

Change-Id: Ie406f750c2fd334b1b27fd5d3ef068aa7b39f185
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: rpi: Implement HAL with standard interfaces for CPU 63/225763/3
Dongwoo Lee [Mon, 24 Feb 2020 05:31:34 +0000 (14:31 +0900)]
pass-hal: rpi: Implement HAL with standard interfaces for CPU

This provides PASS standard HAL for CPU.
Sicne this PASS HAL communicates with kernel using standard interface,
only the configuration for each resource is required, when PASS is
applied to the new target. If the target has nonstandard interface
for some resources, the specific HAL for the corresponding target
should be prepared.

Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
[cw00.choi: Pick up cpu.c from pass-hal-standard.git/src/cpu/cpu.c.
Instead of installing the pass-hal-standard hal pkg, add src/cpu.c hal
library for CPU h/w resource in order to reduce the memory usage
of unneeded PASS HAL library like bus.so, gpu.so and memory.so.]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Change-Id: I0fdc73b678dcd68a7f286c3de7f8dbba363552b6

4 years agopackaging: Add RPM spec file for build 62/225762/2
Chanwoo Choi [Fri, 7 Feb 2020 01:54:03 +0000 (10:54 +0900)]
packaging: Add RPM spec file for build

Add RPM spec file for building the package including the pass.conf and
pass-cpu0.conf files.

Change-Id: Iccd31229875cf9e1c7fdf404848061c8e182be11
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agoInitial empty repository master
Tizen Infrastructure [Fri, 14 Feb 2020 01:53:09 +0000 (01:53 +0000)]
Initial empty repository