rtos/tinyara.git
7 years agoMerge Posix Cancellation Point
jc_.kim [Thu, 9 Mar 2017 06:03:03 +0000 (15:03 +0900)]
Merge Posix Cancellation Point

Merge Posix Cancellation Point referenced by Nuttx 7.18

7 years agoMerge pull request #1 from Samsung/common_readme
Juitem JoonWoo Kim [Tue, 7 Mar 2017 06:24:41 +0000 (15:24 +0900)]
Merge pull request #1 from Samsung/common_readme

Create README.md

7 years agoCreate README.md
sunghan [Tue, 7 Mar 2017 06:13:45 +0000 (15:13 +0900)]
Create README.md

7 years agochange a checking method for priority, same as sched_setpriority 95/115995/2
sunghan [Wed, 22 Feb 2017 09:01:48 +0000 (18:01 +0900)]
change a checking method for priority, same as sched_setpriority

Change-Id: Id077e23a5b849a9bbf9016742ada4d2154dfed34

7 years agocheck a priority requested before filling tcb 13/115913/2
sunghan [Wed, 22 Feb 2017 04:55:38 +0000 (13:55 +0900)]
check a priority requested before filling tcb

Change-Id: Ie0787ea2ced7f5f07619fab8d57903283339b48f

7 years agochange a variable from pointer to local 59/115759/2
sunghan [Tue, 21 Feb 2017 08:16:48 +0000 (17:16 +0900)]
change a variable from pointer to local

pthread_addr_t is a pointer type so that * is not needed.

Change-Id: I859a0d76eb3c6a476fddd97203709b089f5e4eb3

7 years agoInvalidate d-cache when flash erased 47/115747/1
TaeJun Kwon [Tue, 21 Feb 2017 07:21:38 +0000 (16:21 +0900)]
Invalidate d-cache when flash erased

Change-Id: I519f56401ae04d7fa7ccadd143e26a9977ce9d62

7 years agofix typo 84/115684/1
sunghan [Tue, 21 Feb 2017 05:05:50 +0000 (14:05 +0900)]
fix typo

Change-Id: I317eb792b5440eabbba6d04d1b223dec4013f598

7 years agochange a value to initial on mutex unlock 24/115324/1
sunghan [Fri, 17 Feb 2017 09:45:50 +0000 (18:45 +0900)]
change a value to initial on mutex unlock

same purpose as commit 80aec2d

Change-Id: Idcb4b15a776a40c0fed48a54c4f9d77b256dcb6d

7 years agoblock some commands to flash LED, SSS, WLAN F/W on cmm 49/115249/4
sunghan [Fri, 17 Feb 2017 05:11:40 +0000 (14:11 +0900)]
block some commands to flash LED, SSS, WLAN F/W on cmm

Change-Id: I6f928cc443b1a40177a1e326c2faae36c1aaad68

7 years agoremove wrong comments on s5j 45/115245/1
sunghan [Fri, 17 Feb 2017 05:00:29 +0000 (14:00 +0900)]
remove wrong comments on s5j

Change-Id: If50037e5224428eb8b72b5df4f040a94e5d321d7

7 years agoRefactor tc; output format and tc scenario 97/114297/1
junmin.kim [Mon, 13 Feb 2017 01:38:42 +0000 (17:38 -0800)]
Refactor tc; output format and tc scenario

Apply output format : [test name] PASS/FAIL
And make sure tc work well when cancellation point is set

Change-Id: I50d38587cba38a64603a281f60a773acb1201662

7 years agoFor supporting day of week and year in time structure. 90/113290/5
jc_.kim [Tue, 7 Feb 2017 05:49:03 +0000 (14:49 +0900)]
For supporting day of week and year in time structure.

This allows integration with 3rd party libraries that expect the tm struct to contain these members.
Merge code related to CONFIG_TIME_EXTENDED from Nuttx 7.19

Change-Id: I00c37c1175cb6eaaacbfb8d0d738760c924dfe71

7 years agochange an initial value of pid variable of mutex structure to -1 81/113381/2
sunghan [Tue, 7 Feb 2017 08:49:59 +0000 (17:49 +0900)]
change an initial value of pid variable of mutex structure to -1

The pid variable of mutex structure is initialized to 0 at mutex_init function.
PID 0 means Idle task. Due to this, when we use mutex at idle task,
mutex returns deadlock error.

Change-Id: Ie73339c9dc80d6fea63c0fab95075cbaa7419aaa

7 years agoMerge "Change to using tcb info and Add Non-scheduled resource info in Heapinfo"
Juitem JoonWoo Kim [Fri, 3 Feb 2017 09:21:41 +0000 (01:21 -0800)]
Merge "Change to using tcb info and Add Non-scheduled resource info in Heapinfo"

7 years agomake a task to execute tash command instead of pthread. 27/112327/1
sunghan [Tue, 31 Jan 2017 07:54:18 +0000 (16:54 +0900)]
make a task to execute tash command instead of pthread.

1. Almost Async commands are independant applications.
2. Because of parent-child relationship on pthread, kill command does not work properly.

Change-Id: I2275c8efdb9c8c04b2882181e69653bd36a85b55

7 years agoFix incorrect logic and Add omitted include statement in logm 39/110939/3
Ahreum Jeong [Thu, 19 Jan 2017 01:23:45 +0000 (10:23 +0900)]
Fix incorrect logic and Add omitted include statement in logm

Fix incorrect logic for truncated messages and remove unnessary logic.
Add include statement for configuration

Change-Id: Ie7eec7c4ee8814e7030ab8c33e8417efbacce98d

7 years agoMerge "Fix logm for stackdump and interrupt status"
Juitem JoonWoo Kim [Tue, 24 Jan 2017 07:55:45 +0000 (23:55 -0800)]
Merge "Fix logm for stackdump and interrupt status"

7 years agoImplement processing aggregation value in cursor 37/110937/3
Ahreum Jeong [Thu, 19 Jan 2017 01:06:12 +0000 (10:06 +0900)]
Implement processing aggregation value in cursor

Change-Id: I60ad115405742144e1b0814bd8f618af15768879

7 years agoImplement indexing for an old relation which has tuples in arastorage 46/107646/2
ahreum.jeong [Thu, 29 Dec 2016 05:05:43 +0000 (14:05 +0900)]
Implement indexing for an old relation which has tuples in arastorage

Change-Id: I353e4170c3d0c7bf11a02a2ef2e01b1d962250a5

7 years agoChange to using tcb info and Add Non-scheduled resource info in Heapinfo 59/111059/2
jc_.kim [Thu, 19 Jan 2017 08:43:56 +0000 (17:43 +0900)]
Change to using tcb info and Add Non-scheduled resource info in Heapinfo

- Add Non-scheduled info:group res, child task's res and leaks
Parent res will not be released before all child tasks are terminated
- Modify calculation in mm_realloc and mm_memalign
- Display ppid instead of gid in kdbg_heapinfo

Change-Id: Ifc2b9b7c4f31561b39184e92e4c4164d38ca4e94

7 years agoFix logm for stackdump and interrupt status 38/110938/2
Ahreum Jeong [Thu, 19 Jan 2017 01:12:54 +0000 (10:12 +0900)]
Fix logm for stackdump and interrupt status

Stackdump messages are not shown on assertion
Because logm's print buffer can't be flushed after assert.
These messages should be delivered with low output directly.

Change-Id: Ifaca4b60bed8999307672d8905e4c53cbafa2072

7 years agoChange dbg to lldbg in function for mpu info 40/110940/1
Ahreum Jeong [Thu, 19 Jan 2017 01:34:07 +0000 (10:34 +0900)]
Change dbg to lldbg in function for mpu info

This function is called by up_dumpstate when assert.
So these log messages should be printed by low output directly.

Change-Id: If849aaa71ddf2818ff99c170a4611f587183524e

7 years agoModify inappropritate condition check for task_create in tc_task 84/107984/1
jc_.kim [Mon, 2 Jan 2017 07:52:46 +0000 (16:52 +0900)]
Modify inappropritate condition check for task_create in tc_task

task_create doesn't return the errno. when failed to create task,
it returns ERROR and sets errno.

Change-Id: I33750705143b6cbdd8c40510470cdaf5adf8615d

7 years agoMerge "Remove unnessasary commands in logm configuration"
Sunghan Chang [Fri, 30 Dec 2016 06:28:44 +0000 (22:28 -0800)]
Merge "Remove unnessasary commands in logm configuration"

7 years agoMerge "Change TASH task priority"
Sunghan Chang [Fri, 30 Dec 2016 06:28:37 +0000 (22:28 -0800)]
Merge "Change TASH task priority"

7 years agoChange TASH task priority 16/107816/4
ahreum.jeong [Fri, 30 Dec 2016 05:13:35 +0000 (14:13 +0900)]
Change TASH task priority

Assert when pm_update is called before pm_worker is executed.
Because TASH priority(252) is higher than HPWORK priority(224).
So we need to decrease TASH priority to make it lower value than kernel thread priority

Change-Id: Ia4f3a88eba964c31da5f001006a17089d31d5e9e

7 years agoRemove unnessasary commands in logm configuration 15/107815/3
ahreum.jeong [Fri, 30 Dec 2016 05:08:36 +0000 (14:08 +0900)]
Remove unnessasary commands in logm configuration

It is duplicated operation as below
If logm is enabled, these configuations are enabled by default value.
Change-Id: I066f64f9e4402b7d0bc0e92c4cf306d4fe540ec6

7 years agoDecrease maximum value of TASH commands in configuration 17/107817/2
ahreum.jeong [Fri, 30 Dec 2016 05:15:36 +0000 (14:15 +0900)]
Decrease maximum value of TASH commands in configuration

This is enough to use TASH commands for these applications
Change-Id: I48bb70ea213222e646283f35d62730121f2a5aa0

7 years agoMake logm to spit a message, before dropping messages if buffer overflows. 75/107675/6
Shivam Garg [Thu, 29 Dec 2016 07:00:07 +0000 (16:00 +0900)]
Make logm to spit a message, before dropping messages if buffer overflows.

Change-Id: I6438fb53b11626a4f742c28cfd16ffe5d1832999
Signed-off-by: Shivam Garg <garg.shivam@samsung.com>
7 years agoModify remove operation in arastorage 02/107602/1
ahreum.jeong [Thu, 29 Dec 2016 00:33:47 +0000 (09:33 +0900)]
Modify remove operation in arastorage

Modify some operations and fix bugs in removing tuples

Change-Id: I71bf9173825daa7d72def2d8e482d6552673e8ee

7 years agoEnsure pipe returns 0 if input read/write len is 0 96/107396/1
junmin.kim [Wed, 28 Dec 2016 00:07:05 +0000 (16:07 -0800)]
Ensure pipe returns 0 if input read/write len is 0

This commit is from nuttx 7.18(0a939ff218972d517cbca942543e1e45b0d3df76)
Pipes: Fix zero-lenth writes.  From  Jussi Kivilinna

Change-Id: I7f1032f13b72e85c2a23b6540b6371a52c1dd100

7 years agoLet clock_systimespec() return "RTC time - basetime" when RTC is used 28/107028/11
junmin.kim [Mon, 26 Dec 2016 07:13:19 +0000 (23:13 -0800)]
Let clock_systimespec() return "RTC time - basetime" when RTC is used

This commit is from nuttx 7.18(4521e082a92ebad3e1ab64e4fc96ade1a978080b)
When an RTC is used, clock_systimespec() must subtract the basetime from the RTC time
Verification: sidk_s5jt200, and local config with CONFIG_RTC_HIRES=y
Change-Id: I5d39beee9f833efa2fc8268ba746db51fb0bc910

7 years agoModify printed RTC format for year in board_app_initialize 51/106951/1
jc_.kim [Mon, 26 Dec 2016 01:55:22 +0000 (10:55 +0900)]
Modify printed RTC format for year in board_app_initialize

RTC year is based on CONFIG_RTC_BASE_YEAR

Change-Id: I6b3e805aa57b0f9a8b16fef9e8007a73837600c0

7 years agoThe first commit of Tizen RT 1.0 M1 85/106885/3 1.0_Public_M1
junmin.kim [Fri, 23 Dec 2016 10:13:53 +0000 (02:13 -0800)]
The first commit of Tizen RT 1.0 M1

Initial Support for Tizen RT including IoT Data Management,
Device Management , IP Network Stack, and IoTivity 1.1.
Also includes IoTBus and Device Management Framework

Change-Id: I48feaa5e9cdc961de9172969939abfb1eb9ba6f8
Signed-off-by: junmin.kim <junmindd.kim@samsung.com>
7 years agoInitial empty repository
Jong Jeong Kim [Tue, 30 Aug 2016 07:57:22 +0000 (00:57 -0700)]
Initial empty repository