Heesub Shin [Tue, 16 May 2017 07:48:04 +0000 (16:48 +0900)]
s5j/mac: drop udp_initialize() and udp_free()
udp_initialize() and udp_free() are never called and not in use.
Change-Id: I230ce1837f5cde920d9d7a1656cdf79a4a9d3950
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 07:44:22 +0000 (16:44 +0900)]
s5j: fix trivial coding style issues
Fixes trivial coding style issues like indentation.
Change-Id: I1335726d95d8fe44be015152dbfa56a8803b5401
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 06:23:57 +0000 (15:23 +0900)]
kernel/Kconfig: make ARCH_HAVE_TICKLESS invisible
CONFIG_ARCH_HAVE_TICKLESS should be invisible and selected only by
another Kconfig entry that is architecture-specific. In other words, it
is not a user-configurable kconfig entry.
Change-Id: Icfd9ebb64618cc5e94bd21a6ab5113a32092ba0b
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 06:07:46 +0000 (15:07 +0900)]
s5j: do not set ARCH_HAVE_FPU=y
Cortex-R4 core in S5J does not have floating-point unit. Setting
ARCH_HAVE_FPU=y in defconfig is misleading users.
Change-Id: I5596cb99ac7f0e12bd5db0d2b20c6a29f29f99af
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 05:11:18 +0000 (14:11 +0900)]
s5j/gpio: add to support drive strength on pins
This commit introduces s5j_setdrv() that sets the slew rates on each
GPIO pin when it is configured as an output or an alternative function.
Change-Id: Ide2a9ad13e64ffb98af0b308753f5bfcde5e0be7
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 05:05:52 +0000 (14:05 +0900)]
s5j/gpio: specify default drive strength values
So far, the driver strength has been ignored or not set when we
configure GPIO pins. As a preparation step for supporting it, this
commit specifies default value of slew rate for each GPIO pins when it
is configured as an alternative function. This commit will not have any
effects until subsequent commit is merged.
Change-Id: Idcf6b1365ed8d9abae40377565b0c1702860fc19
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 05:02:22 +0000 (14:02 +0900)]
s5j/gpio: remove constants redundantly defined
GPIO_PWM_TOUTx are redundantly defined in s5jt200_pinconfig.h.
Change-Id: Id33d0e1fb5a14418fef7899cc985a564f294e7dd
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 04:58:20 +0000 (13:58 +0900)]
s5j/gpio: fix GPIO_DRV_PIN_XXX() macros
GPIO_DRV_PIN_SHIFT() and GPIO_DRV_PIN_MASK() macros have been broken for
a long time since they were first introduced. Their definitions are
completely wrong. Let's fix them.
Change-Id: Ia4be3edccbae4eadac251205d723c6555ee57f70
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Wonsang Ryou [Fri, 12 May 2017 12:08:13 +0000 (21:08 +0900)]
netutils/mqtt: fix violations of coding style
This patch fixes violations of coding style.
Change-Id: I06dd744e37f61eb8244f664f5e0574727d7c9232
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
EunBong Song [Tue, 16 May 2017 01:28:50 +0000 (10:28 +0900)]
lwip: fix wrong error return process of sem_tickwait
In case of timeout, sem_tickwait returns -ETIMEDOUT and does not set
errno to ETIMEDOUT. But sys_arch_sem_wait decides timeout by errno. This
patch fixes this problem.
Change-Id: I26f609b64647035e8d8c14016f81f33b00dce1d4
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Fri, 12 May 2017 09:24:31 +0000 (18:24 +0900)]
lwip: change stats_display() to original prototype
This patch change stats_display() to original LwIP open source.
Change-Id: Ic7564e2082f8d36eaf66491fe564a9ad7a10cd6e
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Fri, 12 May 2017 08:26:12 +0000 (17:26 +0900)]
lwip: fix up lwip debug macros
For turning on/off debug, should use LWIP_DBG_ON/LWIP_DBG_OFF.
Change-Id: Ic4764da6eb924a80e7843b206a4ef01c2791f114
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Fri, 12 May 2017 08:24:45 +0000 (17:24 +0900)]
lwip: add Kconfig knobs for adjusting debug level
This patch adds LwIP debug level menu.
Change-Id: I3927b249b97c4c4a9cfc1ad3fa02f339854bc071
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Fri, 12 May 2017 08:23:33 +0000 (17:23 +0900)]
lwip: fix typos and remove unused code
Change CONFIG_DEBUG_LWIP_ERROR to CONFIG_NET_LWIP_DEBUG.
DEBUG_LWIP_WARN, DEBUG_LWIP_INFO, DEBUG_LWIP_ERROR are not used anymore
so remove it.
Change-Id: I4b49822670c4d5904b1d36c8be34ad0230ac89a5
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Jin-Seong Kim [Thu, 20 Apr 2017 04:22:56 +0000 (13:22 +0900)]
netutils/dhcpd: change select timeout from 60s to 10s
This commit is to change select timeout from 60s to 10s
- 60s timeout is too long to stop dhcpd
- 10s is enough time to wait for a dhcp handshake
Change-Id: I0d1f7d1b86ba6e46ac874fa364e86e9e9418a642
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Wonsang Ryou [Fri, 12 May 2017 11:52:53 +0000 (20:52 +0900)]
netutils/mqtt: set the mqtt protocol version when initilizing mqtt
This patch makes mqtt_init_client() set the mqtt protocol version.
Change-Id: Ib8bcc9377ae63f9245c8ce3df16481358c399956
Signed-off-by: Wonsang Ryou <wonsang.yoo@samsung.com>
Junyeon LEE [Mon, 15 May 2017 11:11:13 +0000 (20:11 +0900)]
artik053: sidk_s5jt200: change maximum tasks to 32
This commit changes the maximun number of tasks from 16 to 32. 16 tasks
are too small to operate HTTPS server with WiFi.
Change-Id: I6ce0998ff177ddf9e1e954000a53d10ce1b42f52
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Fri, 19 May 2017 16:17:52 +0000 (01:17 +0900)]
netutils/webserver: fix webserver closing bug
This commit fixes an unresolved webserver issue. When closing webserver,
http_server_stop() repeats pthread_kill() every 100ms regardless of
webserver's thread status. Because this repeatation has possibilities
to make improper thread and webserver status, clean up it.
Change-Id: I84fc088dc3c36f0ae0da5b2fe9443ca5a71c7db1
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Fri, 12 May 2017 15:39:20 +0000 (00:39 +0900)]
netutils/webserver: fix closing function
When closing a webserver, sometimes the closing function ends up
in an infinite loop. This commit fixes the way of closing webserver.
Change-Id: Iff1d6420aa07e4fcbb4aef1252296d8c3e236a84
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Fri, 12 May 2017 15:35:06 +0000 (00:35 +0900)]
examples/http: clean up the usage
This commit cleans up the webserver and client examples usage and
improvement to check wrong input parameter.
Change-Id: Ie06315c4c18adc54bf5a2f030676ba75196f5eb0
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Fri, 12 May 2017 14:49:14 +0000 (23:49 +0900)]
examples/websocket: clean up the usage
This commit cleans up the websocket example usage and
improvement to check wrong input parameter.
Change-Id: I2b35bc3ecf03f1a26867a1d64de40783ea678ec8
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Fri, 12 May 2017 14:34:11 +0000 (23:34 +0900)]
examples/tls: supporting ECDSA ciphersuites
With this commit, tls server and client examples support
the ECDSA releated ciphersuite and unsupport ECDH-ECDSA suite
with HW_ECDH_PARAM.
Change-Id: I832d710b4cc76917a97842def9297c1f4512ae2e
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junhwan Park [Mon, 15 May 2017 08:04:34 +0000 (17:04 +0900)]
examples/slsiwifi: fix ThreadEXEC option
slsi_wifi_main should work with SYNC. Otherwise, the normal operation of
wifi does not work.
Change-Id: I3d0a4db510f31a0280a0338ce3886e6b06b4781a
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Heesub Shin [Mon, 15 May 2017 08:47:18 +0000 (17:47 +0900)]
artik053/openocd: apply custom patches when building
In order to use OpenOCD on ARTIK-053, we need custom modification to it.
This commit changes the build script so that our custom patches could be
applied before building.
Change-Id: Ia8f7fcd91fec2761b4fe29018ad1856b979d9f39
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Mon, 15 May 2017 08:41:36 +0000 (17:41 +0900)]
artik053/openocd: introduce custom patches artik-specific
Patch files that contain custom modification that is artik-specific will
be managed under 'patches' directory. For now, there is only 1 that
fixes errors when creating tap, but will be added more in the future.
Change-Id: I5cac91f1afa87fbf8fbc497dab8c428bd8a0fa38
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Mon, 15 May 2017 07:43:28 +0000 (16:43 +0900)]
artik053: sidk_s5jt200: set CONFIG_BUILTIN_APPS=y by default
Recently, a Kconfig knob CONFIG_BUILTIN_APPS has been added, but it is
not in defconfig, resulting in missing tash commands.
Change-Id: Id70deb96320391ccfde6b7a3d0eac6994fc941d3
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Fri, 12 May 2017 07:15:13 +0000 (16:15 +0900)]
s5j: remove CONFIG_S5J_DMA
For now, driver implementation for DMA-330 (aka PL-330) is missing in
S5J, but Kconfig entry for it remains, making users confused. Let's
remove it. This also fixes compilation errors when CONFIG_S5J_DMA=y:
make[1]: *** No rule to make target 's5j_dma.c', needed by 's5j_dma.o'. Stop.
make[1]: Leaving directory '/home/heesub/Documents/artik053/tizenrt/os/arch/arm/src'
LibTargets.mk:236: recipe for target 'arch/arm/src/libarch.a' failed
make: *** [arch/arm/src/libarch.a] Error 2
Change-Id: I0761e9d877fa1c972627bfec0ba691d29672a93f
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Fri, 12 May 2017 08:57:52 +0000 (17:57 +0900)]
examples/timer: fix resource leak
This patch include preventing reasource leak.
Change-Id: I98bd1abf25e5e4371c75ae03b6e8744b70fd2da3
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Jihun Ahn [Fri, 12 May 2017 06:53:34 +0000 (15:53 +0900)]
examples/timer: initialize index of options
Currently, index isn't initialized, it caused abnormal behavior after
someone calls getopt().
So, this commit add initialize the optind.
Change-Id: I71afe5a90827cf5719ef28c56d5202af2e587d7f
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
Jihun Ahn [Thu, 4 May 2017 12:53:02 +0000 (21:53 +0900)]
examples: add a sample application for showing timer usage
This commit adds an example project that performs timer control,
triggering timers and registering callback that is executed when the
timer expires. In order to use it, CONFIG_TIMER should be enabled.
Change-Id: I9feee9b90ec940d71b33bea5753edfbd92c29684
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
Jihun Ahn [Mon, 8 May 2017 08:50:26 +0000 (17:50 +0900)]
sidk_s5jt200: initialize timers at boot
Now that the MCT of S5J is supported, let's initialize timers at boot so
that users may access them through /dev/timerN.
Change-Id: If10e25b3b0633071a21b875fc81263c80925c238
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Jihun Ahn [Mon, 8 May 2017 08:39:08 +0000 (17:39 +0900)]
artik053: initialize timers at boot
Now that the MCT of S5J is supported, let's initialize timers at boot so
that users may access them through /dev/timerN.
Change-Id: I48adf261e9c4358070b5992e51a3385013ffd55a
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Jihun Ahn [Mon, 8 May 2017 08:38:21 +0000 (17:38 +0900)]
s5j: add device driver for mct
S5J has the Multi-core Timer which consists of one global timer and four
local timers. This commit introduces a device driver implementation for
it. For now, only local timers are supported.
Change-Id: I49bb642e9d4f65ba680aefb9798619e899f7d126
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Tue, 16 May 2017 03:49:07 +0000 (12:49 +0900)]
fs/mtd: fix malformed output of /proc/partitions
Output of /proc/partitions is malformed due to incorrect buffer
handling. This commit fixes it.
Change-Id: I4e79d9e40c6ccd3c0698c461ef4a1d0f02db461d
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Thu, 11 May 2017 10:21:49 +0000 (19:21 +0900)]
fs: add filesystem usage command
This patch includes filesystem usage command. It similar to 'df' in
linux.
TASH>>df -h
TASH>>df
Change-Id: I69e424337223eb556ad7c3c1ec4a258d1f85daa3
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Heesub Shin [Thu, 11 May 2017 02:46:13 +0000 (11:46 +0900)]
s5j/serial: fix trivial coding style issues
Fixes trivial coding style issues.
Change-Id: I1611293045d1b24971e7fde884db1e82a1732086
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Jin-Seong Kim [Wed, 10 May 2017 00:22:20 +0000 (09:22 +0900)]
kernel/pthread: fix pthread_cond_wait() to prevent deadlock
This commit is patch for pthread_cond_wait to prevent dead lock
- after release mutex, pthread_cond_wait should wait cond->sem
but previous pthread_cond_wait still takes mutex
when other thread wants to take mutex, dead lock can be happened
due to waiting mutex on pthread_cond_wait
Change-Id: I023465e01267e6b0e66a23e43254e7a26873a23c
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Junhwan Park [Wed, 10 May 2017 10:58:08 +0000 (19:58 +0900)]
artik053: add description on artik053
The details of ARTIK 053 were updated.
Change-Id: I410b5ab43aeaf1e994c3070b6bd0c8443a935363
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Joohwan Kim [Wed, 10 May 2017 06:52:48 +0000 (15:52 +0900)]
net/tls: support brainpool256 curve for ecc
Brainpoopl256 curve is used for TLS connection with artik cloud.
So, this commit adds MBEDTLS_ECP_DP_BP256R1_ENABLED config.
Change-Id: I7303ae05336016749948f19fc381e8d3b491e66f
Signed-off-by: Joohwan Kim <joohwani.kim@samsung.com>
Junyeon LEE [Wed, 10 May 2017 15:39:34 +0000 (00:39 +0900)]
examples/tls: tls initialize failure without psk
This commit fixes tls example's minor bug.
. without psk tls initilze failed
. wrong parameter in examples make data abort
Change-Id: Ic2238c138430bf762293c0338e5c878dbe3dbeb3
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junyeon LEE [Wed, 10 May 2017 15:38:43 +0000 (00:38 +0900)]
net/tls: fix ECDSA signature authentication failure
This commit fixes misuse of ECDSA signature function in security api.
If we use see_get_ecdsa_signature() function with mbedTLS library,
it will do hash two times and make wrong signature.
Change-Id: Idc5471255c94bfc91cbe7febb46a0e38deb1094a
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junhwan Park [Mon, 1 May 2017 07:56:11 +0000 (16:56 +0900)]
examples: add an application for libtuv
This patch includes an example application for libtuv.
Change-Id: I28f5921aeec8b4b245c3c4daf6b31afb339c3bc8
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Mon, 1 May 2017 07:51:00 +0000 (16:51 +0900)]
external: add libtuv
For looping function of LWM2M, ported libuv based eventloop. libtuv is a
customized open source based on libuv on samsung.
I deleted the unnecessary files. I have included only the minimum number
of files I need.
Change-Id: I3f24e5f88025328351b7866520d60a28a07a64f2
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Jin-Seong Kim [Wed, 10 May 2017 01:01:30 +0000 (10:01 +0900)]
netutils/wifi: add to support auto-connection
This commit is minor patch to support auto-connection of Wi-Fi
- after disassociation from connected AP,
it will restart scan and try to re-join to the AP
Change-Id: I8569370b02d2c1e872eb10ec7cc553c5bd54e693
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Junhwan Park [Mon, 8 May 2017 10:40:35 +0000 (19:40 +0900)]
examples/smart_test: add an application for smart_test
This patch includes and example application for smart_test.
Change-Id: Ie54a17c53c1e7ac8c1bd926ed48bb69a23680b82
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Jihun Ahn [Tue, 2 May 2017 11:14:24 +0000 (20:14 +0900)]
drivers/timer: fix build errors when CONFIG_TIMER=y
tmrinfo() and tmrerr() do not exist. They seem to be added accidentally.
This commit also fixes build errors due to this.
Change-Id: I42ac8a7f323ca98b5d002714c9253b7f8fc40894
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
sunghan-chang [Tue, 23 May 2017 10:40:46 +0000 (19:40 +0900)]
Merge pull request #120 from jsdosa/unsupportedfeature
remove the comment for unsupported features
Jaesik [Tue, 23 May 2017 10:26:30 +0000 (19:26 +0900)]
fix violations of coding rule in mkconfig
fix violations of coding rule about space in mkconfig
Signed-off-by: Jaesik <jaesick.shin@samsung.com>
Jaesik [Tue, 23 May 2017 10:22:01 +0000 (19:22 +0900)]
remove the comment for unsupported features
removed the comment for unsupported features
about FLAT & CONFIG_DEBUG_GRAPHICS
Signed-off-by: Jaesik <jaesick.shin@samsung.com>
sunghan-chang [Tue, 23 May 2017 07:54:39 +0000 (16:54 +0900)]
Merge pull request #117 from junmin-kim/lib_pthread
pthread : Add null check at pthread_getstacksize
junmin kim [Tue, 23 May 2017 04:15:52 +0000 (21:15 -0700)]
pthread : Add null check at pthread_getstacksize
Without this condition, null dereference assert will occur
sunghan-chang [Tue, 23 May 2017 07:41:45 +0000 (16:41 +0900)]
Merge pull request #115 from jsdosa/filepermission
change invalid permission about file
Jaesik [Sun, 21 May 2017 23:07:14 +0000 (08:07 +0900)]
change invalid permission about file
change the file permission to 644.
lssgood [Fri, 19 May 2017 09:49:08 +0000 (18:49 +0900)]
Merge pull request #108 from sunghan-chang/master
modify ttrace
sunghan-chang [Fri, 19 May 2017 07:31:00 +0000 (16:31 +0900)]
Merge pull request #111 from chanijjani/kernel_wdog
fix violations of coding style in wdog
sunghan-chang [Fri, 19 May 2017 07:21:57 +0000 (16:21 +0900)]
Merge pull request #110 from junmin-kim/kernel_sched
Make a build error when CONFIG_MAX_TASKS is not power of 2
sunghan-chang [Fri, 19 May 2017 07:21:30 +0000 (16:21 +0900)]
Merge pull request #109 from jeongarmy/fs_procfs
fix incorrect config dependency in fs_procfsuptime.c
Chanhee [Fri, 19 May 2017 07:20:08 +0000 (16:20 +0900)]
fix violations of coding style in wdog
Positions of 'else' and parentheses near the else are fixed following coding rules.
junmin kim [Mon, 13 Mar 2017 04:10:59 +0000 (21:10 -0700)]
Make a build error when CONFIG_MAX_TASKS is not power of 2
Max number of tasks should be power of 2
Ahreum Jeong [Mon, 15 May 2017 05:37:11 +0000 (14:37 +0900)]
fix incorrect config dependency
It brings build error that uptime_operations is not found when CONFIG_FS_PROCFS_EXCLUDE_PROCESS is enabled
sunghan [Fri, 19 May 2017 06:55:49 +0000 (15:55 +0900)]
fix compilation error at lib_ttrace
Then gettimeofday function requires two arguments. But lib_ttrace gives
just one argument.
sunghan [Fri, 19 May 2017 06:46:57 +0000 (15:46 +0900)]
add Make.defs at ttrace
Make.defs is missing at "Support T-Trace" commit
Juitem JoonWoo Kim [Fri, 19 May 2017 06:36:28 +0000 (15:36 +0900)]
Merge pull request #107 from sunghan-chang/master
Support T-Trace
Gihun Chang [Fri, 6 Jan 2017 08:53:41 +0000 (17:53 +0900)]
Support T-Trace
T-Trace is a tool to check performance, lantency and so on.
Signed-off-by: Gihun Chang <gihun.chang@samsung.com>
Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com>
sunghan-chang [Fri, 19 May 2017 04:24:26 +0000 (13:24 +0900)]
Merge pull request #106 from jeongarmy/kdbg_uptime
Add uptime to TASH commands
Ahreum Jeong [Tue, 4 Apr 2017 00:17:19 +0000 (09:17 +0900)]
Add uptime to TASH commands
uptime print how long the system has been running
sunghan-chang [Fri, 19 May 2017 04:14:51 +0000 (13:14 +0900)]
Merge pull request #105 from jeongarmy/kdbg_fscmd
Use arguments as function parameters directly in tash_cat function.
ahreum.jeong [Wed, 19 Apr 2017 01:29:42 +0000 (10:29 +0900)]
Use arguments as function parameters directly in tash_cat function.
That can be validated by argc.
sunghan-chang [Thu, 18 May 2017 06:52:25 +0000 (15:52 +0900)]
Merge pull request #99 from junmin-kim/common_doxygen
Add brief description of header files for doxygen
sunghan-chang [Thu, 18 May 2017 06:51:48 +0000 (15:51 +0900)]
Merge pull request #102 from jeongarmy/master
Modify message of kdbgs for env variables and the syntax of getenv to print all env variables
Ahreum Jeong [Wed, 17 May 2017 09:39:59 +0000 (18:39 +0900)]
[Title] Modify usage of kdbgs for environment variables and syntax of getenv to print all environment variables
[Description] modify usages of setenv, getenv and unsetenv and a syntax of getenv to display all environment variables
[Module] utils/kdbg
[Board] all
[Reference] none
[Author] ahreum.jeong
Change-Id: I9e063e8fcbde40fcf122d2e970dcd682296643f3
Signed-off-by: ahreum.jeong <ahreum.jeong@samsung.com>
junmin kim [Wed, 17 May 2017 06:23:13 +0000 (23:23 -0700)]
Add brief description of header files for doxygen
sunghan-chang [Thu, 18 May 2017 03:16:42 +0000 (12:16 +0900)]
Merge pull request #101 from manoharahk/arch-code-cleanup
armv7-r : use appropriate DECODEFIQ config in armv7-r
Manohara HK [Wed, 17 May 2017 11:36:37 +0000 (17:06 +0530)]
armv7-r : use appropriate DECODEFIQ config in armv7-r
Currently wrong configuration CONFIG_ARMV7A_DECODEFIQ is used in armv7-r
This patch changes it to use the appropriate config CONFIG_ARMV7R_DECODEFIQ.
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
sunghan-chang [Wed, 17 May 2017 10:32:01 +0000 (19:32 +0900)]
Merge pull request #100 from jsdosa/os/tools
change wrong comment in mkconfig
Jaesik [Wed, 17 May 2017 10:01:08 +0000 (19:01 +0900)]
change wrong comment in mkconfig
remove slash about comment in mkconfig
sunghan-chang [Wed, 17 May 2017 01:26:34 +0000 (10:26 +0900)]
Merge pull request #98 from pradeepns85/pid_validation
Add missing boundary validation for pid
sunghan-chang [Wed, 17 May 2017 01:03:49 +0000 (10:03 +0900)]
Merge pull request #89 from JunhwanPark/fix_testcase
Fix testcase
pradeep.ns [Tue, 16 May 2017 12:47:31 +0000 (18:17 +0530)]
Add missing boundary validation for pid
valid pid range is from 0 to g_lastpid. anything beyond
this range is invalid pid. Hence add proper validation
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
Junhwan Park [Fri, 12 May 2017 14:34:43 +0000 (23:34 +0900)]
examples/testcase: fix inet_ntoa tc
The return value of the inet_ntoa function is a pointer variable. To fix
the build error, I changed it to a pointer variable.
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Fri, 12 May 2017 14:25:21 +0000 (23:25 +0900)]
examples/testcase: fix daysbeforemonth tc
The time conversion has changed in libc/time. The testcase has been
modified to accommodate the changes.
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Juitem JoonWoo Kim [Tue, 16 May 2017 12:00:58 +0000 (21:00 +0900)]
Merge pull request #97 from sunghan-chang/readme_download
modify README.md at build/configs to notice how to program a binary
sunghan [Tue, 16 May 2017 10:28:17 +0000 (19:28 +0900)]
modify README.md at build/configs to notice how to program a binary
sunghan-chang [Tue, 16 May 2017 11:00:11 +0000 (20:00 +0900)]
Merge pull request #93 from jeongarmy/master
Update logm module
Ahreum Jeong [Tue, 16 May 2017 05:11:42 +0000 (14:11 +0900)]
Update logm module
. Change logic of buffer usage
. Support tash commands for logm configuration in run-time
. Support prepending timestamp to messages
. Clean unnessasary codes
sunghan-chang [Tue, 16 May 2017 10:05:37 +0000 (19:05 +0900)]
Merge pull request #96 from pradeepns85/semtickwait_wdogcancel
Stop the watchdog timer even when sem_wait() fails
sunghan-chang [Tue, 16 May 2017 10:01:38 +0000 (19:01 +0900)]
Merge pull request #95 from manoharahk/arch_dabort_stack
arch : move dataabort stack config to arm/Kconfig
pradeep.ns [Tue, 16 May 2017 09:29:45 +0000 (14:59 +0530)]
Stop the watchdog timer even when sem_wait() fails
Since wdog_timer has been started before waiting for semaphore and
if Sem_wait fails, wdog timer should be canceled before attempting
for delete operation. Though wdog_delete API takes care of canceling
an active timer, One must consider canceling the timer as soon as
possible to avoid calling wdog timeout handler and overwrite the
sem_wait error value as ETIMEOUT.
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
Manohara HK [Fri, 12 May 2017 07:45:45 +0000 (13:15 +0530)]
arch : move dataabort stack config to arm/Kconfig
seperate dataabort stack is implemented only for armv7-r.
This patch moves dataabort stack config to arm/Kconfig and enables
only for armv7-r processors
Change-Id: Icf703dac4904a595a8420e4039527b8795614573
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
sunghan-chang [Tue, 16 May 2017 07:59:21 +0000 (16:59 +0900)]
Merge pull request #94 from dr-venkman/dm_fixwifi_config
Added a condition check for DM wifi setting. This will replace a lot of undeclared variable errors with a more understandable #error statement
dr-venkman [Tue, 16 May 2017 06:08:37 +0000 (15:08 +0900)]
enabling of WAKAAMA and DM_WIFI config parameters under DM
sunghan-chang [Mon, 15 May 2017 06:15:29 +0000 (15:15 +0900)]
Merge pull request #90 from Samsung/g_irqvector_sizelimit
Limit the g_irqvector size to NR_IRQS
pillip8282 [Mon, 15 May 2017 05:04:52 +0000 (14:04 +0900)]
Merge pull request #91 from Samsung/recover_master
Recover master
pradeep.ns [Fri, 12 May 2017 14:57:14 +0000 (20:27 +0530)]
Limit the g_irqvector size to NR_IRQS
NR_IRQS value is already incremented by last irq + 1
hence, there is no need to initialize g_irqvector as
NR_IRQS + 1. Save memory br limiting the g_irqvector
size to NR_IRQS
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
sunghan-chang [Fri, 12 May 2017 04:20:34 +0000 (13:20 +0900)]
Merge pull request #84 from Samsung/arch_dataabort_stack
arch : prevention of adjacent stack access during data abort
sunghan-chang [Fri, 12 May 2017 04:17:37 +0000 (13:17 +0900)]
Merge pull request #83 from Samsung/irq_detach_argChange
Change the irq_detach argument from isr to irq
sunghan-chang [Fri, 12 May 2017 04:16:03 +0000 (13:16 +0900)]
Merge pull request #81 from Samsung/watchdog_freelist_bug
Decrement the g_wdnfree variable only if there is a valid wdog node i…
sunghan-chang [Fri, 12 May 2017 04:11:01 +0000 (13:11 +0900)]
Merge pull request #79 from Samsung/watchdog_irqrestore_fix
Restore the interrupts if wdog is created statically
Manohara HK [Thu, 6 Apr 2017 13:12:38 +0000 (18:42 +0530)]
arch : prevention of adjacent stack access during data abort
This patch adds a seperate stack for data abort handling.
Reason for adding a seperate stack for data abort handling is as below.
When a task's execution consumes all of its stack, example if its stack size
is 2K and stack is almost used (2K - 8) bytes. During this time if any data
abort happened, data abort handling code uses task's stack for storing context
and as well as for its execution. In that case data abort handling code might
corrupt adjacent stack area.
If an application's intention is to corrupt the other application's stack,
it would do it by overflowing its stack and hence corrupting the adjacent stack.
This scenario of adjacent stack corruption by stack overflow can be avoided
using this patch with MPU_STACKGAURD feature.
Change-Id: I61f80da6b6bbdd0d8d7375438a1bc5f44edd5b32
Signed-off-by: Manohara HK <manohara.hk@samsung.com>
sunghan-chang [Fri, 12 May 2017 02:32:21 +0000 (11:32 +0900)]
Merge pull request #82 from JunhwanPark/fix_email
drivers: modify author's email address