junmin kim [Thu, 6 Apr 2017 04:59:01 +0000 (21:59 -0700)]
Locate setenv.sh in os/tools
Add usage for setenv.sh. Remove default toolchain path
Juitem JoonWoo Kim [Wed, 5 Apr 2017 10:55:41 +0000 (19:55 +0900)]
Merge pull request #29 from Samsung/kernel_sem
remove unncessary codes
sunghan [Wed, 5 Apr 2017 06:34:53 +0000 (15:34 +0900)]
remove unncessary codes
CONFIG_TINYARA_DEBUG is not supported
sunghan-chang [Tue, 4 Apr 2017 11:54:16 +0000 (20:54 +0900)]
Merge pull request #28 from Samsung/kernel_pipe
fix typo on pipe_common
jc_.kim [Tue, 4 Apr 2017 10:39:30 +0000 (19:39 +0900)]
fix typo on pipe_common
btheosam [Tue, 4 Apr 2017 10:21:47 +0000 (19:21 +0900)]
Merge pull request #24 from Samsung/common_Kconfig
refactoring for Kconfig
sunghan [Tue, 4 Apr 2017 07:02:31 +0000 (16:02 +0900)]
change a title from "System Type" to "Chip Selection" for arch Kconfig
Under arch, we can select core and chip configurations.
"Chip Selection" is easier to understand and
we use "Board Selection" for board configurations.
sunghan [Tue, 4 Apr 2017 06:52:17 +0000 (15:52 +0900)]
add DEBUG condition to select debug configuration by default
DEBUG_MM_HEAPINFO can be enabled when DEBUG is enabled.
warning: (ENABLE_HEAPINFO) selects DEBUG_MM_HEAPINFO which has unmet direct dependencies (DEBUG)
Juitem JoonWoo Kim [Mon, 3 Apr 2017 08:33:55 +0000 (17:33 +0900)]
Merge pull request #27 from Samsung/fs_smartfs
Fix potential memory leakage
TaeJun Kwon [Mon, 3 Apr 2017 08:30:17 +0000 (17:30 +0900)]
Fix potential memory leakage
There are potential memory leakage in rmdir & unlink in smartfs
sunghan-chang [Mon, 3 Apr 2017 08:28:53 +0000 (17:28 +0900)]
Merge pull request #26 from Samsung/fs_smartfs
Fix lseek's bug in smartfs
TaeJun Kwon [Mon, 3 Apr 2017 08:11:11 +0000 (17:11 +0900)]
Fix lseek's bug in smartfs
lseek should set the file offset to the size of the file plus offset
Juitem JoonWoo Kim [Mon, 3 Apr 2017 07:39:42 +0000 (16:39 +0900)]
Merge pull request #25 from Samsung/fs_journaling
Modify Journaling structure to apply mtd partition
TaeJun Kwon [Mon, 3 Apr 2017 07:28:40 +0000 (16:28 +0900)]
Modify Journaling structure to apply mtd partition
Move journal manager into fs's private data and Disable journal area if there's not enough space.
sunghan [Mon, 3 Apr 2017 06:33:42 +0000 (15:33 +0900)]
remove folder path for configs
In Kconfig, configs folder is not used anymore.
sunghan [Mon, 3 Apr 2017 06:30:25 +0000 (15:30 +0900)]
move Kconfig for board configurations to arch
Board folder was moved to arch, not configs so that Kconfig should be at arch
btheosam [Mon, 3 Apr 2017 04:34:46 +0000 (13:34 +0900)]
Merge pull request #23 from Samsung/common_error
fix errors on distclean
sunghan-chang [Mon, 3 Apr 2017 04:16:12 +0000 (13:16 +0900)]
Merge pull request #20 from Samsung/kernel_heapinfo
modify the omitted about heapinfo_parse in mm_malloc and update the c…
jc_.kim [Mon, 3 Apr 2017 04:09:42 +0000 (13:09 +0900)]
modify the omitted about heapinfo_parse in mm_malloc
modified heapinfo_parse needs 3-params, but in mm_malloc, it is not updated
jc_.kim [Thu, 30 Mar 2017 06:52:59 +0000 (15:52 +0900)]
update the copyright year which modified
update the copyright year : 2016 to 2016-2017
sunghan [Fri, 31 Mar 2017 10:41:45 +0000 (19:41 +0900)]
fix errors on distclean
If distclean is excuted before configuring,
we can meet errors on pm, fs, logm and apps/platform like belows.
make[1]: Entering directory `/home/sunghan/Work/TinyAra/TizenRT/os/logm'
Makefile:19: /home/sunghan/Work/TinyAra/TizenRT/os/Make.defs: No such file or directory
make[1]: *** No rule to make target `/home/sunghan/Work/TinyAra/TizenRT/os/Make.defs'. Stop.
Taejun-Kwon [Fri, 31 Mar 2017 07:23:39 +0000 (16:23 +0900)]
Merge pull request #22 from Samsung/common_warnings
fix build error on procfs
sunghan [Fri, 31 Mar 2017 07:16:04 +0000 (16:16 +0900)]
fix build error on procfs
Some variables are only used when CONFIG_FS_PROCFS_EXCLUDE_PROCESS is disabled.
procfs/fs_procfs.c: In function 'procfs_opendir':
procfs/fs_procfs.c:439:13: error: unused variable 'flags' [-Werror=unused-variable]
irqstate_t flags;
^
procfs/fs_procfs.c: In function 'procfs_readdir':
procfs/fs_procfs.c:590:8: error: unused variable 'pid' [-Werror=unused-variable]
pid_t pid;
^
procfs/fs_procfs.c:589:13: error: unused variable 'flags' [-Werror=unused-variable]
irqstate_t flags;
^
procfs/fs_procfs.c:586:20: error: unused variable 'tcb' [-Werror=unused-variable]
FAR struct tcb_s *tcb;
Juitem JoonWoo Kim [Thu, 30 Mar 2017 12:44:40 +0000 (21:44 +0900)]
Merge pull request #21 from Samsung/common_typo
fix typo on pthread
sunghan [Thu, 30 Mar 2017 12:36:01 +0000 (21:36 +0900)]
fix typo on pthread
sunghan [Thu, 30 Mar 2017 06:01:33 +0000 (15:01 +0900)]
refactoring programming scripts for sidk_s5jt200
remove CR, spaces and codes
sunghan-chang [Thu, 30 Mar 2017 04:21:24 +0000 (13:21 +0900)]
Merge pull request #19 from Samsung/common_openocd
Return exit code 0 after using openocd script
junmin kim [Wed, 29 Mar 2017 12:13:33 +0000 (05:13 -0700)]
Return exit code 0 after using openocd script
Shutdown after catching halt
btheosam [Wed, 29 Mar 2017 10:53:53 +0000 (19:53 +0900)]
Merge pull request #18 from Samsung/common_flash_script
refactoring programming scripts for sidk_s5jt200
sunghan [Wed, 29 Mar 2017 10:31:54 +0000 (19:31 +0900)]
refactoring programming scripts for sidk_s5jt200
remove unnecessary codes and modify path of binary
sunghan-chang [Wed, 29 Mar 2017 06:15:35 +0000 (15:15 +0900)]
Merge pull request #17 from Samsung/kernel_heapinfo
add the feature to show the details per pid in heapinfo
jc_.kim [Wed, 29 Mar 2017 06:02:07 +0000 (15:02 +0900)]
add the feature to show the details per pid in heapinfo
in heapinfo, there are 4 options
i: initialize the heapinfo
a: show the all allocation details
p(#): show the specific pid allocation details
f: show the free list
sunghan-chang [Tue, 28 Mar 2017 08:37:03 +0000 (17:37 +0900)]
Merge pull request #14 from Samsung/common_make
Update App structure
jc_.kim [Tue, 28 Mar 2017 08:30:37 +0000 (17:30 +0900)]
fix the duplicated adding size in realloc
when failed to expand neighbor in realloc, try to malloc using wrong size
which is aligned with adding chunck size
sunghan-chang [Tue, 28 Mar 2017 08:15:35 +0000 (17:15 +0900)]
Merge pull request #15 from Samsung/kernel_debug
Fix build warning regarding define syntax in debug.h
junmin kim [Tue, 28 Mar 2017 05:09:31 +0000 (22:09 -0700)]
Use directory.mk for recursive dir makefiles
Update nuttx-7.17 app structure
Ahreum Jeong [Tue, 28 Mar 2017 06:28:41 +0000 (15:28 +0900)]
Fix build warning regarding define syntax in debug.h
junmin kim [Mon, 27 Mar 2017 13:12:13 +0000 (06:12 -0700)]
Autogenerate apps/Kconfig
Update nuttx-7.17 app structure
Juitem JoonWoo Kim [Mon, 27 Mar 2017 12:15:21 +0000 (21:15 +0900)]
Merge pull request #13 from Samsung/common_warnings
Common warnings
junmin kim [Mon, 27 Mar 2017 12:12:17 +0000 (05:12 -0700)]
Remove hardcoded directories in apps/Makefile
Update nuttx-7.11 app structure
junmin kim [Mon, 27 Mar 2017 11:20:22 +0000 (04:20 -0700)]
Make the full tree use wildcards make.defs
Update nuttx-7.17 app structure
sunghan [Mon, 27 Mar 2017 11:12:32 +0000 (20:12 +0900)]
fix menuconfig warning on Kconfig
add type of config
sunghan [Mon, 27 Mar 2017 11:09:56 +0000 (20:09 +0900)]
fix compilation warning on include
check whether it is defined or not, because __WORDSIZE can be undefined.
sunghan [Mon, 27 Mar 2017 11:07:10 +0000 (20:07 +0900)]
fix compilation warning on init
The pid variable is only used when TASH or User Workqueue is enabled.
btheosam [Mon, 27 Mar 2017 09:41:16 +0000 (18:41 +0900)]
Merge pull request #12 from Samsung/common_kconfig
Common kconfig
jc_.kim [Mon, 27 Mar 2017 01:43:10 +0000 (10:43 +0900)]
fix the typing error about fscmd in kconfig and defconfig
jc_.kim [Mon, 27 Mar 2017 01:25:21 +0000 (10:25 +0900)]
remove unnecessary config in apps Kconfig and Makefile
remove unnecessary if~endif in apps Kconfig and unnecessary configs in makefile
sunghan [Fri, 24 Mar 2017 10:39:22 +0000 (19:39 +0900)]
remove unused and wrong config
There are unnecessary if~endif, usused configs and wrong character
on lib and os except arch and net.
btheosam [Fri, 24 Mar 2017 10:20:42 +0000 (19:20 +0900)]
Merge pull request #11 from Samsung/README
modify README.md
sunghan [Fri, 24 Mar 2017 10:09:42 +0000 (19:09 +0900)]
modify README.md
The project name is changed to TizenRT
btheosam [Wed, 22 Mar 2017 08:16:59 +0000 (17:16 +0900)]
Merge pull request #8 from Samsung/common_type
remove duplicated type definition for uint
btheosam [Wed, 22 Mar 2017 08:15:40 +0000 (17:15 +0900)]
Merge pull request #9 from Samsung/kernel_config
remove unsupported configuration
sunghan [Wed, 22 Mar 2017 05:16:31 +0000 (14:16 +0900)]
remove unsupported configuration
latency and debug are not supported so that configurations are needed.
sunghan [Wed, 22 Mar 2017 05:03:44 +0000 (14:03 +0900)]
remove duplicated type definition for uint
It is at line 298 and 322 and it should be in __ASSEMBLY__.
jeongchanKim [Mon, 20 Mar 2017 06:15:26 +0000 (15:15 +0900)]
Merge pull request #5 from Samsung/kernel_stkmon
Expand to show the peak size of heap
jc_.kim [Mon, 20 Mar 2017 06:11:06 +0000 (15:11 +0900)]
Merge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon
jc_.kim [Mon, 20 Mar 2017 06:03:14 +0000 (15:03 +0900)]
Merge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon
Conflicts:
apps/system/utils/kdbg_stackmonitor.c
jc_.kim [Mon, 20 Mar 2017 06:03:14 +0000 (15:03 +0900)]
Merge branch 'kernel_stkmon' of https://github.com/Samsung/TinyAra into kernel_stkmon
Conflicts:
apps/system/utils/kdbg_stackmonitor.c
jc_.kim [Fri, 10 Mar 2017 05:11:46 +0000 (14:11 +0900)]
Expand to show the peak size of heap
When enable CONFIG_DEBUG_MM_HEAPINFO, stackmonitor can show the peak size of heap per thread
Juitem JoonWoo Kim [Mon, 20 Mar 2017 03:33:28 +0000 (12:33 +0900)]
Merge pull request #4 from Samsung/kernel_pthread
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
jc_.kim [Fri, 10 Mar 2017 05:11:46 +0000 (14:11 +0900)]
Expand to show the peak size of heap and remove the printed task name in stack monitor
When enable CONFIG_DEBUG_MM_HEAPINFO, stackmonitor can show the peak size of heap per thread
junmin kim [Fri, 10 Mar 2017 04:11:27 +0000 (20:11 -0800)]
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
Update Nuttx commit
d16053c33cdf3f570d347b29f809cd69a6d916c0
Juitem JoonWoo Kim [Thu, 9 Mar 2017 07:54:26 +0000 (16:54 +0900)]
Merge pull request #3 from Samsung/kernel_kernel_sample
Update the cancel.c in kernel_sample
jc_.kim [Thu, 9 Mar 2017 07:28:44 +0000 (16:28 +0900)]
Update the cancel.c in kernel_sample
Extend the pthread cancellation test in kernel_sample cancel.c referenced by NuttX 7.18(committed 8586535)
Juitem JoonWoo Kim [Thu, 9 Mar 2017 06:18:58 +0000 (15:18 +0900)]
Merge pull request #2 from Samsung/kernel_cancellation
Merge 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
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
sunghan [Tue, 7 Mar 2017 06:13:45 +0000 (15:13 +0900)]
Create README.md
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
sunghan [Wed, 22 Feb 2017 04:55:38 +0000 (13:55 +0900)]
check a priority requested before filling tcb
Change-Id: Ie0787ea2ced7f5f07619fab8d57903283339b48f
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
TaeJun Kwon [Tue, 21 Feb 2017 07:21:38 +0000 (16:21 +0900)]
Invalidate d-cache when flash erased
Change-Id: I519f56401ae04d7fa7ccadd143e26a9977ce9d62
sunghan [Tue, 21 Feb 2017 05:05:50 +0000 (14:05 +0900)]
fix typo
Change-Id: I317eb792b5440eabbba6d04d1b223dec4013f598
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
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
sunghan [Fri, 17 Feb 2017 05:00:29 +0000 (14:00 +0900)]
remove wrong comments on s5j
Change-Id: If50037e5224428eb8b72b5df4f040a94e5d321d7
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
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
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
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"
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
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
Juitem JoonWoo Kim [Tue, 24 Jan 2017 07:55:45 +0000 (23:55 -0800)]
Merge "Fix logm for stackdump and interrupt status"
Ahreum Jeong [Thu, 19 Jan 2017 01:06:12 +0000 (10:06 +0900)]
Implement processing aggregation value in cursor
Change-Id: I60ad115405742144e1b0814bd8f618af15768879
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
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
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
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
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
Sunghan Chang [Fri, 30 Dec 2016 06:28:44 +0000 (22:28 -0800)]
Merge "Remove unnessasary commands in logm configuration"
Sunghan Chang [Fri, 30 Dec 2016 06:28:37 +0000 (22:28 -0800)]
Merge "Change TASH task priority"
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
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
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
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>
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
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
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
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
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>