summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dongwoo Lee [Tue, 20 Sep 2022 03:38:37 +0000 (12:38 +0900)]
Use strtok_r instead of strtok for thread safety
Change-Id: I07104009925a0501872ba1ade389704fda1cc305
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
SangYoun Kwak [Fri, 2 Sep 2022 07:08:52 +0000 (16:08 +0900)]
Fix typo (partition status path)
Change-Id: I7de7e713c6a448a833baaaee7d90f6e0e801dcc4
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Fri, 2 Sep 2022 06:35:04 +0000 (15:35 +0900)]
Fix hal APIs according to documentations
Documents of hal APIs can be found here: hal-api-device/include/hal-board.h
Change-Id: I3c0dff62ba8ca8360c417b8c032bbdd880c80f48
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
Marek Szulc [Tue, 30 Aug 2022 08:16:48 +0000 (10:16 +0200)]
add API functions get_upgrade_status(), set_partition_status(),
get_partition_status(), clear_boot_mode()
Change-Id: Ifc9c32d3c7c27d42cb907aabf769daa95fa2cefe
Signed-off-by: Marek Szulc <m.szulc3@samsung.com>
SangYoun Kwak [Wed, 17 Aug 2022 05:47:16 +0000 (14:47 +0900)]
Add hal api (get_boot_mode)
Change-Id: I7b4e338cd86e339dccc26319711b5be09c5d8a09
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Thu, 14 Jul 2022 04:47:20 +0000 (13:47 +0900)]
Add hal board functions to manipulate partition/upgrade parameters
Change-Id: Ie3946532dbb0c93026fe94156b32504bf3b45fe0
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Thu, 14 Jul 2022 01:46:05 +0000 (10:46 +0900)]
Add list of PARTLABEL and LABEL of a/b partitions
Change-Id: I50226ee8a39fef130201c1ea42b32897e13bce98
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Wed, 13 Jul 2022 04:46:46 +0000 (13:46 +0900)]
Add hal board function to get/switch partition_ab
Change-Id: Ic217a5077414e9f51c79c6394cff2429cc806e55
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
Youngjae Cho [Mon, 2 May 2022 07:16:13 +0000 (16:16 +0900)]
usb-gadget: remove usb-gadget and add configuration file
The actual operation of usb-gadget is no more hal dependent. Instead,
the deviced is now in charge of running usb-gadget. The hal backend
has changed to provide only target specific usb-gadget configurations.
If there is no target specific configurations, deviced runs usb-gadget
with default configurations.
Change-Id: Idb2ccbb9e4b19651fd2674ec932baac1f82f63e8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Thu, 3 Mar 2022 05:45:06 +0000 (14:45 +0900)]
display: separate rpi3/rpi4 nodepath
It creates two libraries that are exactly same except for brightness
nodepath. Each library is packaged into corresponding rpi3/rpi4 rpm.
Change-Id: I3c6498211d3e75eb7541ee1595aa25df070ab051
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Tue, 15 Feb 2022 06:24:55 +0000 (15:24 +0900)]
Update ABI version
Change-Id: If12534d556b067b2869085fe96c989bfad74e2b2
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Seung-Woo Kim [Fri, 11 Feb 2022 04:58:12 +0000 (13:58 +0900)]
memory: consider changed rpi4 dri node for gem_info
From rpi4 new vendor kernel release, dri nodes are changed between
v3d and vc4, so gem_info can be in card 1. Consider also the
changed sysfs node.
Change-Id: I33cf4f3a0fc515a04f7fb180309610b3db49b7b7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Youngjae Cho [Mon, 7 Feb 2022 04:11:34 +0000 (13:11 +0900)]
display: return -ENOTSUP if there is no brightness node
Change-Id: Ic42e6ca43297dc8a7e7c9ad8547b0397039e7dd5
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
INSUN PYO [Mon, 20 Dec 2021 04:41:16 +0000 (13:41 +0900)]
spec: add "ExclusiveArch: %{arm} aarch64"
Change-Id: I02c8ae54c35a4f39b21f40659c314ef2f347bd29
Youngjae Cho [Mon, 27 Sep 2021 05:51:49 +0000 (14:51 +0900)]
touchscreen: disable get/set state by kerenl version
Change-Id: I5fc2df8336470fb9e24efbebe819706ae9020031
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Mateusz Majewski [Tue, 27 Jul 2021 07:45:02 +0000 (09:45 +0200)]
Introduce separate package and config for RPi3/RPi4
Change-Id: Ibc6a1574ad4d872e21bd87ca4c4aa2fe92e10f46
Youngjae Cho [Mon, 2 Aug 2021 05:34:20 +0000 (14:34 +0900)]
thermal: rename device_thermal_e to hal_device_thermal_e
Change-Id: I57433638117491dfe64d4a2078ccc486697ebec8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Adrian Szyndela [Fri, 23 Jul 2021 12:01:35 +0000 (14:01 +0200)]
peripheral-io: add spaces to uart config
For better readability and aesthetics.
Change-Id: I3899f5449eba0f3d8d5bb03e20af1fb0409c1504
Adrian Szyndela [Wed, 21 Jul 2021 12:18:04 +0000 (14:18 +0200)]
peripheral-io: add config file for GPIO
Change-Id: I970d4c3488f57379e489e63954502a35dda390cf
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
Youngjae Cho [Fri, 2 Jul 2021 05:01:58 +0000 (14:01 +0900)]
peripheral-io: add uart port-devpath mapping file
Change-Id: If115206aaa3d5ea46c0c02d2469cb298f68cbb92
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Fri, 18 Jun 2021 02:52:45 +0000 (11:52 +0900)]
board: fix parameter of get_device_serial_number()
Change-Id: I33b2e37cc1b7b48c6cac7145d87e3077d46e7009
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Thu, 17 Jun 2021 05:22:25 +0000 (14:22 +0900)]
Add libsyscommon to required package to provide linker flag
For haltest, it cannot run by itself because it is not able to resolve
sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to
locate libsyscommon.so
Change-Id: Ic9b4cedce88c888a9925264cfd22ff3504ee5193
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Hyotaek Shim [Mon, 14 Jun 2021 02:10:44 +0000 (02:10 +0000)]
Merge "board: renaming get_device_serial_number" into tizen
Youngjae Cho [Mon, 14 Jun 2021 01:53:57 +0000 (10:53 +0900)]
board: renaming get_device_serial_number
Change-Id: I79a94dc5418c83994bd39fedf1504c6c59f32325
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
INSUN PYO [Mon, 7 Jun 2021 09:20:22 +0000 (18:20 +0900)]
reboot: support storage partition for delivering reboot parameters
In rpi, there is no way for the kernel and bootloader to pass the boot reason.
So, platform provides /mnt/inform (/dev/disk/by-label/inform) storage to kernel.
The kernel passes the reboot reason to the bootloader throught this.
Change-Id: I5f33b54ef653aff08d8e79d71b05f916f695fba7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Fri, 4 Jun 2021 08:55:57 +0000 (17:55 +0900)]
Initialization for platform/hal/backend/rpi/device-rpi
Change-Id: I293ccef227500f1da22558e16670d37002e60cdf
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Yunmi Ha [Fri, 12 Mar 2021 02:36:06 +0000 (11:36 +0900)]
memory: change return value when node is not supported
Change-Id: Ifb5ed73626186e5d250fc5141217c44423100edd
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Mon, 22 Feb 2021 02:37:15 +0000 (11:37 +0900)]
Fix svace issues
- memory: DIVISION_BY_ZERO
Change-Id: I17ff0853a48ff6c6c517e6bf97257fd8c02c7650
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Thu, 18 Feb 2021 06:07:18 +0000 (15:07 +0900)]
memory: add new halapi backend
Change-Id: Ib72bb4098024c5024e3c2bbeb3363ba9ea8282ff
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
lokilee73 [Mon, 15 Feb 2021 01:37:01 +0000 (10:37 +0900)]
Move common macro to device-common
Change-Id: I22c4cfda003ef78936cc179da4549b12b3532038
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
INSUN PYO [Wed, 10 Feb 2021 03:24:01 +0000 (12:24 +0900)]
Apply new hal-backend-common-usb_gadget.h header
Change-Id: I9e5fc51c5ffbd07e6f3fae269d26de50c7b46943
INSUN PYO [Wed, 3 Feb 2021 06:31:45 +0000 (15:31 +0900)]
spec: remove unused pkgconfig(libudev) build dependency
Change-Id: I0f054ccd8b2d2fad46605c5aac361be5a1a77528
lokilee73 [Tue, 26 Jan 2021 06:21:19 +0000 (15:21 +0900)]
Board : apply rpm macro of hal install path
Change-Id: Id7c08ce11073be919ce4efa58d812b2635669708
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Tue, 26 Jan 2021 05:43:38 +0000 (14:43 +0900)]
Apply rpm macro of hal install path
Change-Id: I852d4997ba918fd02205764825ef1af8c08fb585
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
INSUN PYO [Fri, 15 Jan 2021 11:34:17 +0000 (20:34 +0900)]
usb_gadget: apply next HAL architecture (hal api + backend)
Change-Id: Ibb580c5b4a59db583dd2986616eb7c79b5070dfa
Yunmi Ha [Tue, 19 Jan 2021 06:31:19 +0000 (15:31 +0900)]
Use file library of libsyscommon
Change-Id: Ie718cb852a6a6583a6fbcde1cf30f63ef4b73c87
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
lokilee73 [Mon, 18 Jan 2021 03:22:23 +0000 (12:22 +0900)]
Rework led hal
Change-Id: I83e2d93e589ef491cabdc6fef356269df0b2f9f2
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Thu, 14 Jan 2021 07:43:03 +0000 (16:43 +0900)]
Add FEATURE_DLOG and change LOG_TAG
Change-Id: Ib0e7dd2668afead137a6b60a7353e79e5bf5c540
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Yunmi Ha [Wed, 13 Jan 2021 12:14:04 +0000 (21:14 +0900)]
haptic: apply next HAL architecture (hal api + backend)
Change-Id: I2fdf1c8a5c244d40836df1962c82cf467dd7dc83
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
lokilee73 [Wed, 13 Jan 2021 04:43:17 +0000 (13:43 +0900)]
Change vender name
Change-Id: I211f45b164f1dde5a4c29fd0138d9e6c316a7482
lokilee73 [Tue, 12 Jan 2021 08:26:22 +0000 (17:26 +0900)]
Apply next HAL architecture (hal api + backend)
Change-Id: Ifec0a7e4acf0b296ca7b18814a94deaaf25e4b7a
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Hyotaek Shim [Tue, 25 Feb 2020 02:45:35 +0000 (11:45 +0900)]
Add board module
Change-Id: I32465c971caf578d11e6de94a12c8d5601d839f9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Thu, 6 Feb 2020 07:38:03 +0000 (16:38 +0900)]
Enable USB gadget for RPI4
You can use this usb hal with both RPI3 and RPI4.
////////////////////////////////////////////////////////////////////////////////////////////////////
RPI3 does not have /sys/kernel/config and usb initialization faiied.
So, usb is not enabled in RPI3.
Therefore, a single usb hal can be used in both RPI3 and RPI4.
Deviced internal design for extcon providing incomplete functionality
////////////////////////////////////////////////////////////////////////////////////////////////////
Excon does not work perfectly in RPI4
So I asked the kernel team to fix the extcon value to 1.
If extcon is always 1, deviecd will not recognize when usb is disconnected, but it will work normally.
Conclusion: For targets where extcon does not work perfectly, deviced do not support usb connect/disconnect.
Change-Id: Iea3ae481b3120432197a849956fc5332748957ad
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Hyotaek Shim [Fri, 7 Feb 2020 10:25:18 +0000 (10:25 +0000)]
Revert "Workaround for RPi4 bring-up"
This reverts commit
81c57d47fda09f53336023696fbd71098afa1d13.
Change-Id: If4e25f864efda2925d4c46b1d03369fdadcaef72
Youngjae Cho [Wed, 5 Feb 2020 08:00:27 +0000 (17:00 +0900)]
Add build option -Wall -Werror
Change-Id: Ic4cfc6347d38e0e7a59c8eb5f7fc2f12fecdc7a4
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Hyotaek Shim [Mon, 3 Feb 2020 05:29:58 +0000 (14:29 +0900)]
Workaround for RPi4 bring-up
Change-Id: Id772a00e3dee566643b2323143d2eb40e59a3488
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Youngjae Cho [Wed, 20 Nov 2019 05:51:27 +0000 (14:51 +0900)]
Fix logging location
Change-Id: I4646d7e6dd0706e90f68bfc6108a2159cf9ff36c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
lokilee73 [Fri, 11 Jan 2019 12:21:48 +0000 (21:21 +0900)]
Add thermal module for device_thermal_get_temperature
Change-Id: I575d6402d823ea1e53f738772b1ff3457603d54b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Thu, 27 Dec 2018 02:25:28 +0000 (11:25 +0900)]
Remove executable flag from non-executable files
Change-Id: I1001d32a54715d05d4189d3c407c20aa2482454b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Tue, 10 Jul 2018 06:28:18 +0000 (15:28 +0900)]
Move shared files to hwcommon package
Change-Id: I6e14eb3b3b765ba7e66bd433a575a24df1f004e7
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Wed, 27 Jun 2018 02:30:36 +0000 (11:30 +0900)]
Modify blinkm_led_stop_script
peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write().
Change-Id: If67f2b0fc03effbfd4e87d8c5a0737a581e1dfa6
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
INSUN PYO [Wed, 27 Sep 2017 06:45:02 +0000 (06:45 +0000)]
Merge "udev: Increase udev monitor buffer size" into tizen
INSUN PYO [Wed, 27 Sep 2017 05:13:06 +0000 (14:13 +0900)]
udev: Increase udev monitor buffer size
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I370ef29250c1b640af15fd2ef094eeef4a47fba3
KwangCheol Lee [Wed, 13 Sep 2017 10:53:04 +0000 (19:53 +0900)]
touchscreen: control interface change to sysfs
The control interface of touchscreen is changed from
the kernel module loading/unloading to sysfs enable interface.
Version changed to 0.0.2
Change-Id: Ifab000c27b17638ba1cf69583ab2fe79f49a1f4e
Signed-off-by: KwangCheol Lee <kclee@dignsys.com>
(cherry picked from commit
8d690c714b2544c11410ab7b41c10fe150a28821)
scott park [Wed, 19 Jul 2017 11:07:44 +0000 (20:07 +0900)]
led: Add LED HAL interface for RPI3 blinkm led device
This is the initial implementation of LED HAL using PIO interface.
The implemeted API is set_state.
Change-Id: Ie8438a3133498b9726130363c6491930dbefdf92
Signed-off-by: scott park <scott.park@dignsys.com>
KwangCheol Lee [Tue, 27 Jun 2017 03:20:55 +0000 (12:20 +0900)]
Add Display HAL and Touchscreen HAL
- Removed unused files:
battery, external_connection, usb_client and usb_gadget
- Removed unnecessary lines.
- Removed whitespaces.
- Remove redundant lines in CMakeLists.txt file.
- Remove unnecessary line in spec file.
Change-Id: I2074a4b1916110480b3d0ae272077b2380053d74
Tizen Infrastructure [Mon, 29 May 2017 23:12:58 +0000 (23:12 +0000)]
Initial empty repository