rtos/tinyara.git
7 years agosidk_s5jt200: clean up Make.defs files
Heesub Shin [Sat, 11 Mar 2017 08:43:34 +0000 (17:43 +0900)]
sidk_s5jt200: clean up Make.defs files

CONFIG_BOOT_RUNFROMFLASH is always set to 'y' for all S5J platforms.

Change-Id: I0ff35e49b279e6327378678ae1bc4cdcef051375
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agos5j: remove redundant code for booting from non-flash
Heesub Shin [Sat, 11 Mar 2017 08:38:39 +0000 (17:38 +0900)]
s5j: remove redundant code for booting from non-flash

Given that we always boot from flash, we do not need to consider the
cases of CONFIG_BOOT_RUNFROMFLASH=n. Let's remove them.

Change-Id: I2e2aba487ee7f61bfe0c51dab6e4cc1133ec79a7
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agos5j/mct: fix coding style issues
Ivan [Thu, 9 Mar 2017 13:50:11 +0000 (22:50 +0900)]
s5j/mct: fix coding style issues

To follow naming rules and code style MCT code was modified.

Change-Id: I8ccb8eaa4eb480dde9c013dd5c247b24a829d3ca
Signed-off-by: Ivan <ivan.galkin@samsung.com>
7 years agos5j/pwrcal: tidy up pwrcal framework, suitable for S5JT200
Jihoon Park [Thu, 9 Mar 2017 06:24:12 +0000 (15:24 +0900)]
s5j/pwrcal: tidy up pwrcal framework, suitable for S5JT200

S5JT200 doesn't use dfs, gate function on pwrcal platform, evan pll is
non chagned its value during working. To fit with this small system,
pwrcal trashes lot of function except clock enable, and clock set/get
rate for S5JT200 system.

The clock display function needs lot of sub function. For size reduction
work, s5jt200_tash.c will not refer clock display function as well.

Fixes: d144ec33("s5jt200/pwrcal: tidy up a bitRemove S5JT200 directory, dfs functions")
Change-Id: Icea1752ed3fc6b05398dcaa153268f4a1fee3862
Signed-off-by: Jihoon Park <jh6186.park@samsung.com>
7 years agosidk_s5jt200: enable GC of unsed input sections
Jihoon Park [Thu, 9 Mar 2017 07:26:28 +0000 (16:26 +0900)]
sidk_s5jt200: enable GC of unsed input sections

There are static fucntions not in use or referenced by others. In order
to reduce the size of .text, this commit changes the default build
option, specifying the linker to drop the unused input sections.

Change-Id: I945ddc24c7c56600ac9bc1c81253bfe4d40e83e9
Signed-off-by: Jihoon Park <jh6186.park@samsung.com>
7 years agosidk_s5jt200: add a new config sidk_tash_wlan
Jihoon Park [Wed, 8 Mar 2017 09:00:56 +0000 (18:00 +0900)]
sidk_s5jt200: add a new config sidk_tash_wlan

sidk_s5jt200_wlan config is added, TizenRT 1.0 doesn't have enough
files because migration job is still wokring, after migration full
configuration will be enabled from swr master branch.

Change-Id: I3b387deaddf31679b395d0c24c06edf8fa06af27
Signed-off-by: jh6186.park <jh6186.park@samsung.com>
7 years agonet/lwip: disable SLIP for sidk_s5jt200
EunBong Song [Fri, 17 Mar 2017 07:48:33 +0000 (16:48 +0900)]
net/lwip: disable SLIP for sidk_s5jt200

sidk_s5jt200 does not need to support SLIP function. So disable SLIP
function for sidk_s5jt200.

Change-Id: I80527814fce3de8d0951c93475a7e5be3d6a166c
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agodrivers/net: remove legacy NuttX SLIP driver
EunBong Song [Fri, 10 Mar 2017 06:04:26 +0000 (15:04 +0900)]
drivers/net: remove legacy NuttX SLIP driver

NuttX SLIP driver at os/drivers/net/slip.c is obsoleted. So, remove
this. SLIP is now supported by os/net/lwip/src/netif/slipif.c.

Change-Id: I799f26991e83fdf70b5761c4fbc239c7f593bc3f
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agodrivers/net: remove legacy NuttX uIP based network device drivers
EunBong Song [Wed, 15 Mar 2017 04:09:09 +0000 (13:09 +0900)]
drivers/net: remove legacy NuttX uIP based network device drivers

This patch removes all network device drivers which is based on NuttX uIP.
These drivers are not integrated with LwIP and does not work.

Change-Id: Ia7334ffc56ebd6aed83623ce928ed5a49565eeb6
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agodrivers/net: remove skeleton driver
EunBong Song [Wed, 15 Mar 2017 02:05:22 +0000 (11:05 +0900)]
drivers/net: remove skeleton driver

os/drivers/net/skeleton.c is a skeleton for Nuttx legacy ethernet
driver and this does not work in TizenRT because it uses LwIP as a
network stack. This can confuse network driver developers. So, remove
this.

Change-Id: If8cd2ea6ec1b28654d75a3915a8bff5510c0052b
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: Kconfig: remove NET_ETH_TCP_RECVWNDO
EunBong Song [Fri, 10 Mar 2017 05:07:24 +0000 (14:07 +0900)]
net: Kconfig: remove NET_ETH_TCP_RECVWNDO

NET_ETH_TCP_RECVWNDO is legacy Nuttx uIP feature and not used anymore.
So this should be removed.

Change-Id: Ie793316d317a7ca747817802db58acd725d583b8
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove CONFIG_NET_ICMP and CONFIG_NET_ICMPv6
EunBong Song [Wed, 15 Mar 2017 02:20:07 +0000 (11:20 +0900)]
net: remove CONFIG_NET_ICMP and CONFIG_NET_ICMPv6

CONFIG_NET_ICMP and CONFIG_NET_ICMPv6 are legacy NuttX uIP features.
Let's remove this.

Change-Id: If70b49e5f6e363c4715a7d99359ba2818f5e27d8
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove CONFIG_NET_UDP
EunBong Song [Wed, 15 Mar 2017 01:52:57 +0000 (10:52 +0900)]
net: remove CONFIG_NET_UDP

CONFIG_NET_UDP is a Nuttx legacy feature and not supported anymore.
This patch removes all codes related CONFIG_NET_UDP.

Change-Id: Ife7134ad434eac0dd01bf4938a17e89aa643ae31
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove CONFIG_NET_STATISTICS
EunBong Song [Wed, 15 Mar 2017 01:38:34 +0000 (10:38 +0900)]
net: remove CONFIG_NET_STATISTICS

CONFIG_NET_STATISTICS is a Nuttx legacy feature and not supported anymore.
This patch removes all codes related CONFIG_NET_STATISTICS.

Change-Id: Ic1241cf6c5e649e56c4d89ad794e6a07b2f1b2ad
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove CONFIG_NET_TCPURGDATA
EunBong Song [Wed, 15 Mar 2017 01:13:47 +0000 (10:13 +0900)]
net: remove CONFIG_NET_TCPURGDATA

CONFIG_NET_TCPURGDATA is a Nuttx legacy feature and not supported anymore.

Change-Id: I9955b0c4c9e7002039d64dc23aea2c72f6c0fe9f
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove CONFIG_NET_TCP
EunBong Song [Mon, 13 Mar 2017 11:47:30 +0000 (20:47 +0900)]
net: remove CONFIG_NET_TCP

CONFIG_NET_TCP is a Nuttx legacy feature and not supported anymore.
Let's remove all codes which are related CONFIG_NET_TCP.

Change-Id: I2817d27336bd979ff330159d42dab922157f90ae
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove Nuttx legacy UDP checksum functions
EunBong Song [Wed, 15 Mar 2017 01:58:00 +0000 (10:58 +0900)]
net: remove Nuttx legacy UDP checksum functions

udp_ipv4_chksum and udp_ipv6_chksum is only declared in header file.
There is no implementation and also not used anymore. Let's remove this.

Change-Id: I32ab21a5613bb5dc63ddcd3093e65b288e5b2202
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove netiob.h
EunBong Song [Tue, 14 Mar 2017 04:31:17 +0000 (13:31 +0900)]
net: remove netiob.h

netiob.h was from NuttX uIP and is currently not in use. Let's remove
it.

Change-Id: Ib3c917b6ab6db551500ab8b6bba14fb2e50a5efb
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agonet: remove to support CONFIG_NET_SENDFILE
EunBong Song [Mon, 13 Mar 2017 11:35:48 +0000 (20:35 +0900)]
net: remove to support CONFIG_NET_SENDFILE

CONFIG_NET_SENDFILE is a legacy feature from NutX and not supported
any more. Let's remove all codes which are related CONFIG_NET_SENDFILE.

Change-Id: I6deb2d7d2aa91a51096af61f0d055433900b006d
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agoapps: hello: simplify hello world example
EunBong Song [Mon, 13 Mar 2017 02:40:47 +0000 (11:40 +0900)]
apps: hello: simplify hello world example

'hello world' is an example for showing minimum binary footprint. As
sleep() goes with signaling and scheduling functions which are a little
bit heavy, using it in this example increases the footprint and is
inappropriate.

Change-Id: I4140bd6393f89762182fc1f883fad86b112de154
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agoapps/system: compile fs_getpath.c only when CONFIG_FS_CMDS=y
EunBong Song [Mon, 13 Mar 2017 02:26:40 +0000 (11:26 +0900)]
apps/system: compile fs_getpath.c only when CONFIG_FS_CMDS=y

If CONFIG_FS_CMDS is disabled, Compilation fails on fs_getpath.c. So,
fs_getpath.c should be compiled only when CONFIG_FS_CMDS is enabled.

Change-Id: I7c1340e3527d608924701b1e7caf977fad0b613b
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agofs/aio: remove legacy NuttX uIP based AIO
EunBong Song [Thu, 16 Mar 2017 03:59:39 +0000 (12:59 +0900)]
fs/aio: remove legacy NuttX uIP based AIO

AIO_HAVE_PSOCK is a legacy NuttX uIP feature and not supported anymore.
Let's remove this.

Change-Id: Ie058dcbb95493732c7cb4eddb45d9b8288274779
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agomqueue: fix compilation error when CONFIG_DISABLE_MQUEUE=y
EunBong Song [Mon, 13 Mar 2017 02:06:14 +0000 (11:06 +0900)]
mqueue: fix compilation error when CONFIG_DISABLE_MQUEUE=y

This patch fixes compilation error when CONFIG_DISABLE_MQUEUE is
enabled.

    In file included from group/group_leave.c:71:0:
    ./mqueue/mqueue.h:73:5: error: "CONFIG_MQ_MAXMSGSIZE" is not defined [-Werror=undef]
     #if CONFIG_MQ_MAXMSGSIZE > 0
         ^
    cc1: all warnings being treated as errors

Change-Id: I351fef2a2b4cf46caa54871c7170cf89bddc5abe
Signed-off-by: EunBong Song <eunb.song@samsung.com>
7 years agofs/smartfs: add to check if already formatted
Heesub Shin [Mon, 20 Mar 2017 07:25:53 +0000 (16:25 +0900)]
fs/smartfs: add to check if already formatted

Before formatting a volume, check if it is already formatted and then
skip, when 'force' is not true.

Change-Id: I6965b693005fc360e9977cc1fa79cdce29f30d04
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agofs/smartfs: revert changes by samsung
Heesub Shin [Mon, 20 Mar 2017 07:01:55 +0000 (16:01 +0900)]
fs/smartfs: revert changes by samsung

mksmartfs() accepts a boolean value that specifies how to behave when
the volume is already formatted, to prevent it from being damaged.
However, the way of checking whether the volume is formatted or not is
completely wrong. I never understand what the hell they thought when
they had done this.

Change-Id: Ic778c4ee66c0e66f3b50d97f02113f48117e82bf
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agofs/smartfs: remove unnecessary #ifdef
Heesub Shin [Mon, 20 Mar 2017 06:32:26 +0000 (15:32 +0900)]
fs/smartfs: remove unnecessary #ifdef

Change-Id: I1d38ea9161a5878bd3041fa66d77743d54983f9c
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agofs/mtd: enumerate one partition entry at a time
Heesub Shin [Sat, 18 Mar 2017 09:40:57 +0000 (18:40 +0900)]
fs/mtd: enumerate one partition entry at a time

part_procfs_read() tries to enumerate all partitions at a time when it
is requested to read its procfs node. This is problematic when the
caller did not provide enough output buffer. Though the buffer is not
overflowed, users can see only small part as much as it can put in the
buffer. If we enumerate only a single partition entry at a time, this
situation can be prevented, reading the node several times repeatedly.

This commit does not cause any functional differences except the change
of how many entries are enumerated at a time.

Change-Id: I8f152dbddc27caf192510a888422c0bba6a0e76c
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agofs/vfs: poll: fix resource leak and memory corruption
Wonsang Ryou [Fri, 24 Mar 2017 02:09:21 +0000 (11:09 +0900)]
fs/vfs: poll: fix resource leak and memory corruption

In case of poll() for multiple file descriptors, if 2nd fd's
poll_setup() fails after completing 1st fd's poll_setup(), poll()
returns error without releasing 1st fd's setup information. The 1st
fd's setup information will be garbage and can cause side effect such as
memory curruption.

Change-Id: I8bace85b3f8f59c01e3cd0f8888dc85f78739f49
[Ryou: backported from NuttX 157ac4fb and 48107bf0]
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
7 years agomtd/progmem: fix incorrect target address calculation
Heesub Shin [Sat, 18 Mar 2017 06:07:57 +0000 (15:07 +0900)]
mtd/progmem: fix incorrect target address calculation

progmem_read/write() is incorrectly calculating the target address,
expecting the offset argument is given in a block number. This is
completely wrong and as a result invalid flash region is accessed.
Byte-oriented read/write interfaces of mtd device accept the target
address in a byte offset, not a block number.

Change-Id: I6b3e731c48b707ecc8274b73723387fb92adf2aa
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agomtd/Kconfig: add missing Kconfig entry, MTD_PROGMEM
Heesub Shin [Sat, 18 Mar 2017 05:53:50 +0000 (14:53 +0900)]
mtd/Kconfig: add missing Kconfig entry, MTD_PROGMEM

This commit adds a Kconfig entry, MTD_PROGMEM, which enables the progmem
that provides the upper-half implementation for on-chip flash memories.

Change-Id: Ic652ae92bb7ea1dff0c5a5e47c29394f177cce12
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
7 years agoMerge pull request #45 from Samsung/shell
btheosam [Fri, 14 Apr 2017 08:55:09 +0000 (17:55 +0900)]
Merge pull request #45 from Samsung/shell

modify definition and config names for TASH

7 years agomodify definition name for tash task
sunghan [Fri, 14 Apr 2017 08:35:45 +0000 (17:35 +0900)]
modify definition name for tash task

Because TASH is launched as a task, not thread, we had better change definition name.

7 years agofix wrong name of tash config on defconfig
sunghan [Fri, 14 Apr 2017 08:33:09 +0000 (17:33 +0900)]
fix wrong name of tash config on defconfig

CONFIG_TASH_CMDTHREAD_XXX was changed to CONFIG_TASH_CMDTASK_XXX.

7 years agoMerge pull request #43 from Samsung/kernel_tools
sunghan-chang [Fri, 14 Apr 2017 08:23:01 +0000 (17:23 +0900)]
Merge pull request #43 from Samsung/kernel_tools

Fix bug in memstat tool

7 years agoMerge pull request #42 from Samsung/apps_example
btheosam [Fri, 14 Apr 2017 08:15:23 +0000 (17:15 +0900)]
Merge pull request #42 from Samsung/apps_example

modify dependancies of examples, proc_test and hello_tash

7 years agoMerge pull request #44 from Samsung/common_build
btheosam [Fri, 14 Apr 2017 08:14:17 +0000 (17:14 +0900)]
Merge pull request #44 from Samsung/common_build

modify codes for programming on sidk_s5jt200

7 years agochanges to check if Linux is 32-bit or 64-bit and use appropriate openocd binary...
sunghan [Fri, 14 Apr 2017 08:12:12 +0000 (17:12 +0900)]
changes to check if Linux is 32-bit or 64-bit and use appropriate openocd binary for programming

There are two binaries for 32-bit and 64-bit. When we use "make download",
it should be checked and should be used appropriate binaray automatically.

7 years agoadd DOWNLOAD definition at Make.defs of sidk_s5jt200 for programming on make
sunghan [Thu, 13 Apr 2017 12:36:28 +0000 (21:36 +0900)]
add DOWNLOAD definition at Make.defs of sidk_s5jt200 for programming on make

It makes we can download a binary using "make download ALL" for sidk_s5jt200.

7 years agoFix bug in memstat tool
Chanhee [Thu, 13 Apr 2017 12:00:06 +0000 (21:00 +0900)]
Fix bug in memstat tool

text size is calculated incorrectly if more than one lib has objects of same name

7 years agoMerge pull request #41 from Samsung/fs_smartfs_journaling
sunghan-chang [Thu, 13 Apr 2017 09:06:18 +0000 (18:06 +0900)]
Merge pull request #41 from Samsung/fs_smartfs_journaling

Fix journaling bug

7 years agoAdd transaction logging for chaining
TaeJun Kwon [Thu, 13 Apr 2017 08:59:50 +0000 (17:59 +0900)]
Add transaction logging for chaining

There no Transaction Logging when chaining

7 years agoAllow mount even if restore failed.
TaeJun Kwon [Thu, 13 Apr 2017 08:54:48 +0000 (17:54 +0900)]
Allow mount even if restore failed.

Even if restore failed, clean journal area & execute bind when mount

7 years agomodify dependancies of examples, proc_test and hello_tash
sunghan [Thu, 13 Apr 2017 08:52:00 +0000 (17:52 +0900)]
modify dependancies of examples, proc_test and hello_tash

TASH for hello_tash and DISABLE_MOUNTPOINT, FS_PROCFS for proc_test are needed.
There is no meaningful operation without those configs.

7 years agoFix journaling's restore bug
TaeJun Kwon [Thu, 13 Apr 2017 08:49:27 +0000 (17:49 +0900)]
Fix journaling's restore bug

When logging area changed, wrong sector&offset returned, fixed it.

7 years agoMerge pull request #40 from Samsung/fs_smartfs_journaling
sunghan-chang [Thu, 13 Apr 2017 08:45:36 +0000 (17:45 +0900)]
Merge pull request #40 from Samsung/fs_smartfs_journaling

Execute Journal operation even if actual smartfs operation failed.

7 years agoMerge pull request #39 from Samsung/fs_common
sunghan-chang [Thu, 13 Apr 2017 08:41:16 +0000 (17:41 +0900)]
Merge pull request #39 from Samsung/fs_common

Fix memory leak in fs_clean

7 years agoExecute Journal operation even if actual smartfs operation failed.
TaeJun Kwon [Thu, 13 Apr 2017 08:39:25 +0000 (17:39 +0900)]
Execute Journal operation even if actual smartfs operation failed.
Journal transaction should be finished, once it created

7 years agoFix memory leak in fs_clean
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

7 years agoMerge pull request #37 from Samsung/common_readme
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

7 years agoMerge pull request #38 from Samsung/tools_version
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

7 years agoset BUILD variable to NA(Not Available) when there is no .git
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

7 years agoMerge pull request #36 from Samsung/common_typo
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

7 years agomodify README for examples
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

7 years agoModify typing error in procfs
Ahreum Jeong [Thu, 13 Apr 2017 05:13:51 +0000 (14:13 +0900)]
Modify typing error in procfs

7 years agoMerge pull request #35 from Samsung/common_readme
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

7 years agomodify 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

7 years agoMerge pull request #34 from Samsung/common_build
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

7 years agoMerge pull request #32 from Samsung/common_typo
btheosam [Fri, 7 Apr 2017 09:21:17 +0000 (18:21 +0900)]
Merge pull request #32 from Samsung/common_typo

fix typo

7 years agoMerge pull request #31 from Samsung/network_iotivity
lssgood [Fri, 7 Apr 2017 08:22:28 +0000 (17:22 +0900)]
Merge pull request #31 from Samsung/network_iotivity

Delete Iotivity apps

7 years agofix typo on up_udelay
sunghan [Fri, 7 Apr 2017 07:33:08 +0000 (16:33 +0900)]
fix typo on up_udelay

7 years agofix typo about invalid define name
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.

7 years agofix typo for environ
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.

7 years agoMerge pull request #30 from Samsung/common_readme
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

7 years agoDelete Iotivity apps
Heejin Kim [Fri, 7 Apr 2017 05:16:40 +0000 (22:16 -0700)]
Delete Iotivity apps

7 years agoLocate setenv.sh in os/tools
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

7 years agoMerge pull request #29 from Samsung/kernel_sem
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

7 years agoadd README for sidk_s5jt200
sunghan [Wed, 5 Apr 2017 10:31:17 +0000 (19:31 +0900)]
add README for sidk_s5jt200

7 years agomodify the link for wiki to tizen.org and add the link of 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

7 years agoremove unncessary codes
sunghan [Wed, 5 Apr 2017 06:34:53 +0000 (15:34 +0900)]
remove unncessary codes

CONFIG_TINYARA_DEBUG is not supported

7 years agoMerge pull request #28 from Samsung/kernel_pipe
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

7 years agofix typo on pipe_common
jc_.kim [Tue, 4 Apr 2017 10:39:30 +0000 (19:39 +0900)]
fix typo on pipe_common

7 years agoMerge pull request #24 from Samsung/common_Kconfig
btheosam [Tue, 4 Apr 2017 10:21:47 +0000 (19:21 +0900)]
Merge pull request #24 from Samsung/common_Kconfig

refactoring for Kconfig

7 years agochange a title from "System Type" to "Chip Selection" for arch 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.

7 years agoadd DEBUG condition to select debug configuration by default
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)

7 years agoMerge pull request #27 from Samsung/fs_smartfs
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

7 years agoFix 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

7 years agoMerge pull request #26 from Samsung/fs_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

7 years agoFix 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

7 years agoMerge pull request #25 from Samsung/fs_journaling
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

7 years agoModify 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.

7 years agoremove folder path for configs
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.

7 years agomove Kconfig for board configurations to arch
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

7 years agoMerge pull request #23 from Samsung/common_error
btheosam [Mon, 3 Apr 2017 04:34:46 +0000 (13:34 +0900)]
Merge pull request #23 from Samsung/common_error

fix errors on distclean

7 years agoMerge pull request #20 from Samsung/kernel_heapinfo
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…

7 years agomodify the omitted about heapinfo_parse in mm_malloc
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

7 years agoupdate the copyright year which modified
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

7 years agofix errors on distclean
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.

7 years agoMerge pull request #22 from Samsung/common_warnings
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

7 years agofix 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;

7 years agoMerge pull request #21 from Samsung/common_typo
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

7 years agofix typo on pthread
sunghan [Thu, 30 Mar 2017 12:36:01 +0000 (21:36 +0900)]
fix typo on pthread

7 years agorefactoring programming scripts for sidk_s5jt200
sunghan [Thu, 30 Mar 2017 06:01:33 +0000 (15:01 +0900)]
refactoring programming scripts for sidk_s5jt200

remove CR, spaces and codes

7 years agoMerge pull request #19 from Samsung/common_openocd
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

7 years agoReturn 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

7 years agoMerge pull request #18 from Samsung/common_flash_script
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

7 years agorefactoring 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

7 years agoMerge pull request #17 from Samsung/kernel_heapinfo
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

7 years agoadd 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

7 years agoMerge pull request #14 from Samsung/common_make
sunghan-chang [Tue, 28 Mar 2017 08:37:03 +0000 (17:37 +0900)]
Merge pull request #14 from Samsung/common_make

Update App structure

7 years agofix the duplicated adding size in realloc
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