pradeep.ns [Thu, 8 Jun 2017 16:12:32 +0000 (21:42 +0530)]
sem_holder : Modify the incorrect description
Return values are NULL, however it's mentioned as OK and ERROR, Correct the same
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
sunghan-chang [Thu, 8 Jun 2017 11:54:59 +0000 (20:54 +0900)]
Merge pull request #163 from junmin-kim/kernel_tc
Kernel tc
junmin kim [Thu, 8 Jun 2017 11:40:25 +0000 (04:40 -0700)]
Refactor tc_libc_mqueue
Split tc_libc_mqueue from tc_mqueue
Refactor tc to check all cases(condition and decision)
junmin kim [Thu, 8 Jun 2017 11:36:06 +0000 (04:36 -0700)]
Refactor tc_libc_signal
Refactor tc to check all cases(condition and decision)
junmin kim [Thu, 8 Jun 2017 11:35:44 +0000 (04:35 -0700)]
Refactor tc_libc_semaphore
Refactor tc to check all cases(condition and decision)
junmin kim [Thu, 8 Jun 2017 11:34:33 +0000 (04:34 -0700)]
Refactor tc_libc_sched
Refactor tc to check all cases(condition and decision)
junmin kim [Thu, 8 Jun 2017 11:33:46 +0000 (04:33 -0700)]
Refactor tc_libc_pthread
Refactor tc to check all cases(condition and decision)
junmin kim [Thu, 8 Jun 2017 11:33:05 +0000 (04:33 -0700)]
Refactor tc_libc_libgen
Refactor tc to check all cases(condition and decision)
btheosam [Thu, 8 Jun 2017 07:31:52 +0000 (16:31 +0900)]
Merge pull request #161 from sunghan-chang/typo
modify in-correct informations
btheosam [Thu, 8 Jun 2017 07:31:16 +0000 (16:31 +0900)]
Merge pull request #156 from pradeepns85/fix_overwriting_errorno
Fix: Avoid overwriting the first error set by sem_wait()
sunghan [Thu, 8 Jun 2017 04:49:06 +0000 (13:49 +0900)]
modify argument name of gettimeofday
In POSIX, tv and tz are used.
sunghan [Wed, 7 Jun 2017 12:12:01 +0000 (21:12 +0900)]
update README
sunghan [Wed, 7 Jun 2017 11:41:35 +0000 (20:41 +0900)]
fix typo
sunghan-chang [Wed, 7 Jun 2017 05:09:15 +0000 (14:09 +0900)]
Merge pull request #157 from Samsung/fs_example
Apply latest tc of fs
TaeJun Kwon [Mon, 5 Jun 2017 01:59:33 +0000 (10:59 +0900)]
Apply latest tc of fs
Remove aio feature, add description of Tizen Style
pradeep.ns [Fri, 2 Jun 2017 11:43:07 +0000 (17:13 +0530)]
Fix: Avoid overwriting the first error set by sem_wait()
Some functions (sem_trywait()) inside wd_delete() may fail and set the
errorno. this would override the any errors set by previous logic.
In recursice error scenario, catch the first error and set it as errorno
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
btheosam [Fri, 2 Jun 2017 11:03:35 +0000 (20:03 +0900)]
Merge pull request #154 from sunghan-chang/master
fix non-compliant POSIX
sunghan [Fri, 2 Jun 2017 09:17:53 +0000 (18:17 +0900)]
Non-compliant gettimeofday prototype fixed.
Signed-off-by: Tomasz Wozniak <t.wozniak@samsung.com>
Tomasz Wozniak [Mon, 10 Apr 2017 08:52:12 +0000 (10:52 +0200)]
Provided POSIX-mandated RAND_MAX definition.
Change-Id: I77b0250cd4277154635232cdfd0fd1ab3458ec68
Signed-off-by: Tomasz Wozniak <t.wozniak@samsung.com>
sunghan-chang [Fri, 2 Jun 2017 07:53:11 +0000 (16:53 +0900)]
Merge pull request #153 from pradeepns85/set_stkmon_flag
Set stkmon_started=FALSE in error case
pradeep.ns [Fri, 2 Jun 2017 07:47:11 +0000 (13:17 +0530)]
Set stkmon_started=FALSE in error case
pthread_cancel kills the thread and stkmon logging will be stopped immediately.
hence set the variable stkmon_started to FALSE so that user can re-attempt
command "stkmon" from tash
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
sunghan-chang [Fri, 2 Jun 2017 07:31:17 +0000 (16:31 +0900)]
Merge pull request #150 from jeongarmy/apps_sysinfo
Add '\t' to system info message for readability
sunghan-chang [Fri, 2 Jun 2017 07:31:00 +0000 (16:31 +0900)]
Merge pull request #149 from jeongarmy/fs_procfs
Modify values read from procfs to match output formats
Ahreum Jeong [Mon, 29 May 2017 06:51:40 +0000 (15:51 +0900)]
Add \t' to system info message for readability
Ahreum Jeong [Mon, 29 May 2017 06:39:52 +0000 (15:39 +0900)]
Modify values read from procfs to match output formats
Add or delete '\n' to values read from procfs
sunghan-chang [Fri, 2 Jun 2017 06:45:27 +0000 (15:45 +0900)]
Merge pull request #148 from junmin-kim/artik053_tc
Add artik053/tc build config
sunghan-chang [Fri, 2 Jun 2017 06:41:38 +0000 (15:41 +0900)]
Merge pull request #147 from lssgood/master
add network cancelation point and fix timeout handle logic in sys_arch.c
sunghan-chang [Fri, 2 Jun 2017 06:40:15 +0000 (15:40 +0900)]
Merge branch 'master' into master
junmin kim [Fri, 2 Jun 2017 06:37:26 +0000 (23:37 -0700)]
Add artik053/tc build config
It contains kernel, network, arastorage_utc, sysio_utc, fs_sample
Sangsoon Lim [Tue, 30 May 2017 07:11:25 +0000 (16:11 +0900)]
change sys_arch.c file permission to 644
Change-Id: I296e39aa90d85843184aaa45059aa0adf64a3038
Taejun-Kwon [Fri, 2 Jun 2017 03:39:52 +0000 (12:39 +0900)]
Merge pull request #144 from dr-venkman/master
Fixed build error in DM testcase, incorrect variable naming
btheosam [Thu, 1 Jun 2017 06:14:31 +0000 (15:14 +0900)]
Merge pull request #146 from pradeepns85/modify_comment_description
Correct the comment description for better understanding
lssgood [Thu, 1 Jun 2017 00:48:08 +0000 (09:48 +0900)]
Merge pull request #136 from sunghan-chang/mdnsd_error
fixup! netutils/mdns: add support for exposing services
pradeep.ns [Wed, 31 May 2017 18:23:55 +0000 (23:53 +0530)]
Correct the comment description for better understanding
sem_recover() => sem_post has been changed to sem_wait
sem_tickwait() => sem_timeout() return value is also considered
sem_timedwait() => hidden call to sem_trywait() is mentioned
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
dr-venkman [Wed, 31 May 2017 06:36:27 +0000 (15:36 +0900)]
Fixed build error in DM testcase, incorrect variable naming
btheosam [Wed, 31 May 2017 04:34:08 +0000 (13:34 +0900)]
Merge pull request #135 from sunghan-chang/artik053_download
support "make download ALL" for artik053 configuration sets
btheosam [Wed, 31 May 2017 04:33:05 +0000 (13:33 +0900)]
Merge pull request #140 from sunghan-chang/coding_rule
fix violations of coding rule
btheosam [Wed, 31 May 2017 04:25:59 +0000 (13:25 +0900)]
Merge pull request #132 from sunghan-chang/defconfig
update defconfig using latest Kconfig
sunghan-chang [Wed, 31 May 2017 03:34:54 +0000 (12:34 +0900)]
Merge pull request #139 from pradeepns85/ps_command_output_alignment
Cosmetic changes for "ps" command output
sunghan-chang [Wed, 31 May 2017 03:17:11 +0000 (12:17 +0900)]
Merge pull request #141 from jeongchanKim/kernel_pthread
Fix a problem in pthread_trylock()
jc_.kim [Wed, 31 May 2017 02:44:05 +0000 (11:44 +0900)]
Modify the tc name because of the API name change(pthread_sem_take, pthread_sem_give)
jc_.kim [Wed, 31 May 2017 02:40:48 +0000 (11:40 +0900)]
Rename pthread_takesemaphore, pthread_givesemaphore to pthread_sem_take, pthread_sem_give
jc_.kim [Wed, 31 May 2017 00:34:52 +0000 (09:34 +0900)]
Fix a problem in pthread_trylock()
When CONFIG_PTHREAD_MUTEX_UNSAFE=y, the special return value
EAGAIN was not being detected due to differences in reporting of returned values.
pradeep.ns [Mon, 29 May 2017 16:41:33 +0000 (22:11 +0530)]
Cosmetic changes for "ps, heapinfo and stkmon" command output
New changes can be verified using TASH
1) with CONFIG_TASK_NAME_SIZE=0
TASH>>ps
PID | PRIO | FLAG | TYPE | NP | STATUS
------|------|------|---------|----|--------
0 | 0 | FIFO | KTHREAD | | READY
1 | 224 | RR | KTHREAD | | WAITSIG
3 | 125 | RR | TASK | | RUNNING
2) with CONFIG_TASK_NAME_SIZE=31
TASH>>ps
PID | PRIO | FLAG | TYPE | NP | STATUS | NAME
----|------|------|---------|----|----------|----------
0 | 0 | FIFO | KTHREAD | | READY | Idle Task
1 | 224 | RR | KTHREAD | | WAITSIG | hpwork
3 | 125 | RR | TASK | | RUNNING | tash
heap output can be verified as follows
TASH>>heapinfo -a
TASH>>heapinfo -f
TASH>>heapinfo -p
stack monitor output can be verified as follows
TASH>>stkmon
TASH>>Stack Monitor: Running
=============================================================================
PID | STATUS | SIZE | PEAK_STACK | PEAK_HEAP | TIME | THREAD NAME
------|----------|----------|------------|------------|---------|------------
44 | INACTIVE | 2028 | 556 | 0 | 4390 | waiter
46 | INACTIVE | 2044 | 500 | 0 | 6639 | <pthread>
45 | INACTIVE | 2044 | 500 | 0 | 6639 | <pthread>
58 | INACTIVE | 2044 | 452 | 0 | 6795 | <pthread>
47 | INACTIVE | 2044 | 452 | 0 | 6795 | <pthread>
------|----------|----------|------------|------------|---------|------------
0 | ACTIVE | 1024 | 1024 | 59504 | 20740 | Idle Task
1 | ACTIVE | 2028 | 156 | 0 | 20742 | hpwork
3 | ACTIVE | 4076 | 876 | 3584 | 20742 | tash
71 | ACTIVE | 1020 | 524 | 0 | 20743 | StackMonitor
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
chaehee.hong [Fri, 3 Feb 2017 07:28:27 +0000 (23:28 -0800)]
[Title] Merge Posix cancellation point
[Description] for network
[Module] network
[Board] ARTIK051
[Verification] na
[Reference] na
[Author] Chaehee Hong
Change-Id: Ic440908ff05fa02684ace61ee15164b508856e1b
Conflicts:
os/net/lwip/sys/arch/sys_arch.c
Jaesik [Thu, 25 May 2017 08:26:23 +0000 (17:26 +0900)]
have unified consistency about error code setting
Tinyara uses get_errno and set_errno.
So I modified the logic consistently for the error code
Change-Id: If2864da0e5253e53ceb2d0fa7308d0168be2fce6
Signed-off-by: Jaesik <jaesick.shin@samsung.com>
Sangsoon Lim [Fri, 26 May 2017 07:12:04 +0000 (16:12 +0900)]
LwIP: fix timeout handle logic in sys_arch_sem_wait()
Currently, sem_tickwait() sets errno to ETIMEOUT when the timeout occurs.
After the timeout of sem_tickwait(), we can get the errno by using get_errno().
This patch just adopts the previous timeout handle logic.
Change-Id: I4e9e8069a1d0f90aad6658dec59077be92977501
Conflicts:
os/net/lwip/sys/arch/sys_arch.c
sunghan-chang [Tue, 30 May 2017 04:23:02 +0000 (13:23 +0900)]
Merge pull request #133 from jeongchanKim/kernel_semaphore
Remove unnecessary code in sem_wait and sem_post
sunghan-chang [Tue, 30 May 2017 04:18:25 +0000 (13:18 +0900)]
Merge pull request #138 from pradeepns85/fix_kill_kernelthreads
Fix: use task_delete() to kill kernel threads and tasks
jc_.kim [Mon, 29 May 2017 10:48:09 +0000 (19:48 +0900)]
Remove unnecessary code in sem_wait and sem_post
sem_wait_for_isr and sem_post_from_isr are not needed
because of using sem protocol
sunghan-chang [Tue, 30 May 2017 04:10:21 +0000 (13:10 +0900)]
Merge pull request #137 from pradeepns85/follow_codingstyle
Follow coding style in task_delete.c
sunghan-chang [Tue, 30 May 2017 04:07:07 +0000 (13:07 +0900)]
Merge pull request #130 from pradeepns85/bugfix_pthread_schedsetup
Set correct errno in task_schedsetup and pthread_schedsetup
sunghan [Mon, 29 May 2017 13:53:32 +0000 (22:53 +0900)]
fix violations of coding rule
no space after type casting
pradeep.ns [Mon, 29 May 2017 16:18:06 +0000 (21:48 +0530)]
Fix: use task_delete() to kill kernel threads and tasks
pthread_cancel() shouldn't be used to kill kernel threads, it raises
assert if tcb type is other than TCB_FLAG_TTYPE_PTHREAD. refer line no
125 in pthread_cancel.c
task_delete() API takes care of deleting tasks and kernel threads.
refer lineno 151 in task_delete.c
we can verify it using following commands from TASH
killall -9 <kernel thread name> or
kill -9 <pid of kernel thread>
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
pradeep.ns [Mon, 29 May 2017 14:48:55 +0000 (20:18 +0530)]
Follow coding style in task_delete.c
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
sunghan [Mon, 29 May 2017 13:31:00 +0000 (22:31 +0900)]
update defconfig using latest Kconfig for artik053
sunghan [Mon, 29 May 2017 13:11:54 +0000 (22:11 +0900)]
fixup! netutils/mdns: add support for exposing services
services, member of struct mdnsd was added in CONFIG_NETUTILS_MDNS_RESPONDER_SUPPORT.
But codes calling this were added without CONFIG.
It makes compilation error like below when extra defconfig is used.
mdnsd.c:1357:30: error: 'struct mdnsd' has no member named 'services'
struct rr_list *svc_le = svr->services;
^
make[2]: *** [mdnsd.o] Error 1
sunghan [Mon, 29 May 2017 13:05:46 +0000 (22:05 +0900)]
support "make download ALL" for artik053 configuration sets
sunghan [Mon, 29 May 2017 06:25:02 +0000 (15:25 +0900)]
update defconfig using latest Kconfig for sidk_s5jt200
Taejun-Kwon [Mon, 29 May 2017 06:19:12 +0000 (15:19 +0900)]
Merge pull request #131 from sunghan-chang/sidk_tash_wlan_download
support "make download ALL" for sidk_tash_wlan configuration sets
sunghan [Mon, 29 May 2017 05:58:18 +0000 (14:58 +0900)]
support "make download ALL" for sidk_tash_wlan configuration sets
pradeep.ns [Fri, 26 May 2017 12:48:14 +0000 (18:18 +0530)]
Set correct errno in task_schedsetup and pthread_schedsetup
Both task_schedsetup() and pthread_schedsetup() sets wrong
error number incase of failure. error no set during invalid
priority check is not considered. And proper error no was not
set if system fails to assign unique new pid to task/thread.
This patch fixes the wrong error no set and sets the correct
error no.
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
Taejun-Kwon [Fri, 26 May 2017 11:26:05 +0000 (20:26 +0900)]
Merge pull request #129 from dr-venkman/master
Modified DM utc to fix build errors
dr-venkman [Fri, 26 May 2017 07:27:00 +0000 (16:27 +0900)]
Modified DM utc to fix build errors
Taejun-Kwon [Fri, 26 May 2017 05:43:53 +0000 (14:43 +0900)]
Merge pull request #126 from sunghan-chang/kconfig
modify Kconfig
Taejun-Kwon [Fri, 26 May 2017 05:42:06 +0000 (14:42 +0900)]
Merge pull request #125 from dr-venkman/master
Added functions to read RSSI and IP address into LWM2M connectivity o…
sunghan-chang [Thu, 25 May 2017 07:48:13 +0000 (16:48 +0900)]
Merge pull request #124 from lssgood/slimLocal
Add brief description of header files for doxygen
sunghan-chang [Thu, 25 May 2017 07:47:38 +0000 (16:47 +0900)]
Merge pull request #123 from jeongarmy/fs_mount
Add and Modify comment about returned value in fs mount function
sunghan-chang [Thu, 25 May 2017 07:47:08 +0000 (16:47 +0900)]
Merge pull request #122 from jeongarmy/utils_kdbg
Update usage and syntax for some kdbg commands
sunghan-chang [Thu, 25 May 2017 07:45:04 +0000 (16:45 +0900)]
Merge pull request #113 from heesub/sprint4-for-swc
Sprint4 for swc
dr-venkman [Thu, 25 May 2017 03:29:06 +0000 (12:29 +0900)]
Added functions to read RSSI and IP address into LWM2M connectivity object
sunghan-chang [Thu, 25 May 2017 02:09:40 +0000 (11:09 +0900)]
Merge pull request #121 from junmin-kim/kernel_pthread
Fix error in pthread_condwait
Sangsoon Lim [Wed, 24 May 2017 10:21:40 +0000 (19:21 +0900)]
Add brief description of header files for doxygen
Ahreum Jeong [Mon, 22 May 2017 23:04:52 +0000 (08:04 +0900)]
Add and Modify comment about returned value in fs mount function
Ahreum Jeong [Thu, 18 May 2017 11:45:05 +0000 (20:45 +0900)]
Modify syntax and usage of kill and killall commands
Support a case that no signal is specified for kill, killall commands
Ahreum Jeong [Fri, 19 May 2017 02:26:41 +0000 (11:26 +0900)]
Modify usage of date command, kdbg_date
Ahreum Jeong [Fri, 19 May 2017 05:12:59 +0000 (14:12 +0900)]
Modify usage of heapinfo and stkmon commands, kdbg_heapinfo, kdbg_stkmon
sunghan [Wed, 24 May 2017 05:30:51 +0000 (14:30 +0900)]
remove duplicated comments for syslog
System Logging Device Options
System Logging
sunghan [Wed, 24 May 2017 05:25:52 +0000 (14:25 +0900)]
add a comment for wireless driver
Because of missing title(comment) of wireless, wireless is under ttrace.
sunghan [Wed, 24 May 2017 05:22:34 +0000 (14:22 +0900)]
modify sentence of Kconfig for syntax
junmin kim [Wed, 24 May 2017 04:32:55 +0000 (21:32 -0700)]
Fix error in pthread_condwait
pthread_condwait should give mutex, take cond->sem, then take mutex
sunghan-chang [Wed, 24 May 2017 03:58:30 +0000 (12:58 +0900)]
Merge pull request #119 from youngeunpark/master
Update memstats_gnueabil.py to print objects sizes in a sorted manner
Heesub Shin [Fri, 19 May 2017 03:48:28 +0000 (12:48 +0900)]
netcmd: do not print broadcast address
cmd_ifconfig() prints incorrect broadcast address on its output. This is
mainly because SIOCGIFBRDADDR is not currently implemented in
netdev_ioctl(). Until we can handle it, do not print the broadcast
address on ifconfig.
Change-Id: I63030f551459df2f73f579ab4b85ae449adee056
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Jin-Seong Kim [Tue, 16 May 2017 09:49:39 +0000 (18:49 +0900)]
netcmd/dhcpd: fix minor bugs on start/stop dhcpd
This commit is fix minor bugs on start/stop dhcpd
- before running dhcpd, interface flags should be IFF_UP
- if dhcpd is not running, dhcpd stop command shows proper log
Change-Id: Ia21f7a90b38b84702a1f672a0143dabf6d720677
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
Heesub Shin [Thu, 18 May 2017 08:26:57 +0000 (17:26 +0900)]
net: fix duplicated ioctl codes
Some IOCTLs are defined to have duplicated values, overlapping each
other. This should be fixed.
Change-Id: Ied4ddf3799abc2f02104558a61f4f9cb47b11b77
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 18 May 2017 16:26:36 +0000 (01:26 +0900)]
net/netdev: rework SIOCGIFCONF support
I do not know the background history on netdev_foreach_sync(), but it is
reinventing the wheel which we should avoid as always as possible.
TizenRT already provides a general interface, netdev_foreach() and thus
it does not make any sense to introduce netdev_foreach_sync(), breaking
the OS design. Adding a new API or code in such a way all the time will
make the OS bigger and bigger.
This commit also fixes a buffer overflow issue that might occur when not
enough buffer were passed to ioctl().
Change-Id: Id52c328919efc8d5ba57548af323e3d69335ff9e
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 18 May 2017 07:30:13 +0000 (16:30 +0900)]
net/netdev: simplify netdev_findbyname()
This commit simplifies internal logic of netdev_findbyname() for better
readability.
Change-Id: Ice458a799fd708a127bbb705f99be1eb692caed2
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 18 May 2017 07:26:30 +0000 (16:26 +0900)]
net/netdev: do not use printf()
Calling printf() in kernel routine seems insane or crazy.
Change-Id: I61f07d3176d133aa331d5f59f0c7a33879721b21
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 18 May 2017 07:06:07 +0000 (16:06 +0900)]
net/netdev: drop netdev_findbyaddr.c
Functions defined in netdev_findbyaddr.c are currently not in use. It
has been left abandoned for a long time. Let's remove it for better
maintainability.
Change-Id: Id37c95e6c668b6e72a5344f6b2b39c1398966188
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Heesub Shin [Thu, 18 May 2017 05:24:25 +0000 (14:24 +0900)]
net/netdev: get rid of uIP-related debris
ipv4_input() and ipv6_input() are driver functions of uIP that was
dropped from TizenRT. Declaring function prototypes of which that are
not actually provided has no point. Let's remove it.
Change-Id: I3e2bdfe495aab312326d8b5592cb6280f2bfc453
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junyeon LEE [Thu, 18 May 2017 03:46:57 +0000 (12:46 +0900)]
examples/tls: add dependency in examples
This commit addes TLS configuration dependencies in Kconfig and
example source code.
Change-Id: Ic8342bc0a1bf63fa665ec0c239d6eb0375d8f603
Signed-off-by: Junyeon LEE <junyeon2.lee@samsung.com>
Junhwan Park [Fri, 19 May 2017 05:09:41 +0000 (14:09 +0900)]
artik053: enable CONFIG_S5J_SPI by default
This patch enables CONFIG_S5J_SPI.
Change-Id: I3cbd510bb778d0df5fa462eef6170e4e9b498be7
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Fri, 19 May 2017 02:42:08 +0000 (11:42 +0900)]
artik053: enable CONFIG_S5J_I2C by default
This patch enables CONFIG_S5J_I2C. To create i2c devices at boot time.
Change-Id: I39a62973d2de0e399d92fe837fcc5bd455312d3f
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
Junhwan Park [Wed, 17 May 2017 06:17:37 +0000 (15:17 +0900)]
artik053: register i2c devices at boot
Register I2Cs at board_initialize().
TASH>>ls /dev
i2c-0
i2c-1
Change-Id: I71cb13ab205eeb893f74d18d8c777866fa0cbbb6
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>
kim jin hong [Fri, 12 May 2017 07:55:50 +0000 (16:55 +0900)]
artik053: sidk_s5jt200: initialize ramfs on booting
Initialize rammtd and mount ramfs on booting. Because application cannot
access kernel or driver function. If user enable CONFIG_RAMMTD, It
automacally enable ramfs and mount to RAMMTD_MOUNT_POINT. Application
write or erase file on runtime by file description.
Change-Id: I03e8d979d8514b1659d0eddb82397a38cf25b115
Signed-off-by: kim jin hong <jh0703.kim@samsung.com>
EunBong Song [Wed, 17 May 2017 05:09:47 +0000 (14:09 +0900)]
examples: introduce mtdpart
This patch introduces mtdpart example. This comes from nuttx community.
This examples can test rammtd, bch, mtdpart functions.
Change-Id: Iaee478d202151a770ccd93b74ab14fd62e499059
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Tue, 16 May 2017 11:47:41 +0000 (20:47 +0900)]
drivers/bch: fix incorrect return value on DIOC_GETPRIV
bch_ioctl() should return OK, if DIOC_GETPRIV command succeeds.
Change-Id: I71a315a5932699eacdf7ff214376b4501d205fc6
Signed-off-by: EunBong Song <eunb.song@samsung.com>
EunBong Song [Tue, 16 May 2017 11:28:42 +0000 (20:28 +0900)]
drivers/bch: fix linking error
This patch fixes a linking error of bchdev_unregister.c.
Change _err to fdbg.
Change-Id: I7643bada69bf8dba80ec3bc441ca4c9933e12e6d
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Heesub Shin [Wed, 17 May 2017 08:32:15 +0000 (17:32 +0900)]
artik053: sidk_s5jt200: adjust CONFIG_USEC_PER_TICK
We use an external crystal of 32,768Hz as a source clock of RTC which
generates the systick. As its resolution is quite low, OS time tick
cannot be generated exactly at 10ms period. Thus, we need to adjust
CONFIG_USEC_PER_TICK to make it have more accurate value.
Change-Id: I4ecd8ac25eba27ded9a15f5f016d7611ffa4affc
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Junhwan Park [Wed, 17 May 2017 10:08:58 +0000 (19:08 +0900)]
s5j/i2c: delete debug memssages
Debug messages from bsp are unnecessary.
Change-Id: I209251faf8875485fbff4f89fd4ae1b7231562dd
Signed-off-by: Junhwan Park <junhwan.park@samsung.com>