TaeJun Kwon [Thu, 13 Apr 2017 08:30:28 +0000 (17:30 +0900)]
Fix memory leak in fs_clean
if smart_clean failed, inode never released
Juitem JoonWoo Kim [Thu, 13 Apr 2017 07:19:20 +0000 (16:19 +0900)]
Merge pull request #37 from Samsung/common_readme
modify README for examples
Juitem JoonWoo Kim [Thu, 13 Apr 2017 07:18:46 +0000 (16:18 +0900)]
Merge pull request #38 from Samsung/tools_version
modify version.sh
sunghan [Thu, 13 Apr 2017 05:23:56 +0000 (14:23 +0900)]
set BUILD variable to NA(Not Available) when there is no .git
If Tizen RT is tried to build without .git, below error is shown.
We should make Tizen RT can be built regardless of existing of .git.
No .version file found, creating one
GIT version information is not available
chmod: cannot access ‘.version’: No such file or directory
make: *** [/os/.version] Error 1
sunghan-chang [Thu, 13 Apr 2017 05:17:36 +0000 (14:17 +0900)]
Merge pull request #36 from Samsung/common_typo
Modify typing error in procfs
sunghan [Thu, 13 Apr 2017 05:15:41 +0000 (14:15 +0900)]
modify README for examples
split README for each example and add configs to use each example
Ahreum Jeong [Thu, 13 Apr 2017 05:13:51 +0000 (14:13 +0900)]
Modify typing error in procfs
Juitem JoonWoo Kim [Wed, 12 Apr 2017 06:32:57 +0000 (15:32 +0900)]
Merge pull request #35 from Samsung/common_readme
modify contents of libraries's README
sunghan [Wed, 12 Apr 2017 06:28:41 +0000 (15:28 +0900)]
modify contents of libraries's README
modify legacy explanations and add a method to add external libraries
sunghan-chang [Tue, 11 Apr 2017 04:24:37 +0000 (13:24 +0900)]
Merge pull request #34 from Samsung/common_build
Locate setenv.sh in os/tools
btheosam [Fri, 7 Apr 2017 09:21:17 +0000 (18:21 +0900)]
Merge pull request #32 from Samsung/common_typo
fix typo
lssgood [Fri, 7 Apr 2017 08:22:28 +0000 (17:22 +0900)]
Merge pull request #31 from Samsung/network_iotivity
Delete Iotivity apps
sunghan [Fri, 7 Apr 2017 07:33:08 +0000 (16:33 +0900)]
fix typo on up_udelay
Jaesik [Fri, 7 Apr 2017 06:33:12 +0000 (15:33 +0900)]
fix typo about invalid define name
change SIZEOF_MM_MALLOC_DEBUG_INO to SIZEOF_MM_MALLOC_DEBUG_INFO.
sunghan [Fri, 7 Apr 2017 06:06:35 +0000 (15:06 +0900)]
fix typo for environ
CONFIG_DISABLE_ENIVRON is a typo of CONFIG_DISABLE_ENVIRON.
Taejun-Kwon [Fri, 7 Apr 2017 05:26:27 +0000 (14:26 +0900)]
Merge pull request #30 from Samsung/common_readme
modify readme for tizen wiki and sidk_s5jt200
Heejin Kim [Fri, 7 Apr 2017 05:16:40 +0000 (22:16 -0700)]
Delete Iotivity apps
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 10:31:17 +0000 (19:31 +0900)]
add README for sidk_s5jt200
sunghan [Wed, 5 Apr 2017 10:25:34 +0000 (19:25 +0900)]
modify the link for wiki to tizen.org and add the link of README for sidk_s5jt200
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