platform/hal/backend/visionfive2/device-visionfive2.git
10 months agoutil: Add handling code to safely read and write arrays 08/314908/2 accepted/tizen_unified accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20241121.055622 accepted/tizen/unified/toolchain/20240812.133042 accepted/tizen/unified/x/20240725.154625 accepted/tizen/unified/x/asan/20240813.231330
Yunhee Seo [Tue, 16 Jul 2024 07:21:32 +0000 (16:21 +0900)]
util: Add handling code to safely read and write arrays

There was a missing code for handling the null character
so that it doesn't exceed the array size when reading and storing strings.
The code has been modified to handle the array safely.
To avoid overflow issue, this is necessary.

Change-Id: Ib75301a07906391c57fb739ef3399ff211cd1503
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
11 months agoAdd upgrade type feature 56/313856/2 accepted/tizen/unified/x/20240708.014828
Mateusz Moscicki [Tue, 2 Jul 2024 10:29:14 +0000 (12:29 +0200)]
Add upgrade type feature

Use set_upgrade_type to select the type of upgrade:
* online
* offline

After reboot fota, u-boot will run online or offline upgrade based on
the selected  type.

Change-Id: Ie9fc41224140d0ef4a7a481dcbb4718954dc85e8

11 months agoreboot: support storage partition for delivering reboot parameters 55/313855/2
Mateusz Moscicki [Fri, 14 Jun 2024 11:33:41 +0000 (13:33 +0200)]
reboot: support storage partition for delivering reboot parameters

In addition other information is stored on this partition, such as:
* upgrade progress status
* upgrade state
* current partition slot
* partition clone status

Change-Id: If5f749d72bd5d15fdfc7db137aa7947f88b6f618

11 months agoAdd board module (import from RPI4) 54/313854/2
Mateusz Moscicki [Wed, 12 Jun 2024 09:37:21 +0000 (11:37 +0200)]
Add board module (import from RPI4)

Change-Id: I815053a2c8250aba8efef32fd0ff0401edd33198

11 months agoUse hal-rootstrap instead of individual packages 62/314062/1
Mateusz Moscicki [Thu, 4 Jul 2024 12:16:57 +0000 (14:16 +0200)]
Use hal-rootstrap instead of individual packages

Change-Id: I4df072341584c501f4799664c6a38cef1d3cf30f

11 months agoAdd list of PARTLABEL and LABEL of a/b partitions 53/313853/1
Mateusz Moscicki [Wed, 12 Jun 2024 09:21:57 +0000 (11:21 +0200)]
Add list of PARTLABEL and LABEL of a/b partitions

Change-Id: Ie953dac6d70fe614e775fb9b38cc90eae28c4964

11 months agomemory: Add empty function 63/313263/1 accepted/tizen/unified/toolchain/20240624.121159 accepted/tizen/unified/x/20240621.093622 accepted/tizen/unified/x/asan/20240625.091355
Youngjae Cho [Fri, 21 Jun 2024 02:18:22 +0000 (11:18 +0900)]
memory: Add empty function

Tizen C# TCT blame there is no memory backend. At least, it requires
empty backend.

Change-Id: I932232afd0fe5e8c8391410a9e92657320565791
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
11 months agodisplay: Add display hal-backend module 07/313107/1 accepted/tizen/unified/x/20240620.114256 accepted/tizen/unified/x/20240620.114314
Yunhee Seo [Wed, 19 Jun 2024 05:54:41 +0000 (14:54 +0900)]
display: Add display hal-backend module

As VisionFive2 board supports display feature, display hal-backend module is needed.
However, visionfive2 does not support control display brightness yet.
Thus, currently dummy functions are added.

Change-Id: Ic26a64416ef4fa00f88a3d255c1e130b96b4025b
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
12 months agoInitial empty repository master
Jinkun Jang [Sat, 1 Jun 2024 01:18:53 +0000 (01:18 +0000)]
Initial empty repository