huangjian
271aad4995
buildinfo.sh:add ro.build.channel
...
N/A
Change-Id: I382784a2358e367b6bf56aff5a73bd84e6b6d334
Signed-off-by: huangjian <huangjian@xiaomi.com >
(cherry picked from commit 8ee043c505c7625b23b92344be533dc3d4b35bb7)
2021-03-09 20:32:31 +08:00
Jiuzhu Dong
d96aa75a20
fs/aio: unify socket into fs operate
...
N/A
Change-Id: I3aa88a47d88feaa7fd156caea9e0425b20554eee
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-03-09 12:03:49 +08:00
Fotis Panagiotopoulos
d02b63d6ed
Re-arranged syslog fields.
2021-03-09 00:53:28 +08:00
chao.an
413405fb6e
drivers/syslog: Prepend Process ID to syslog message
...
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-09 00:53:22 +08:00
Fotis Panagiotopoulos
fb8b50c300
Added color output to syslog.
2021-03-09 00:53:16 +08:00
Fotis Panagiotopoulos
0acea9c4a4
Added printing of log priority in syslog.
2021-03-09 00:53:07 +08:00
Fotis Panagiotopoulos
5c4ee27398
Added formatted timestamps in syslog.
2021-03-09 00:52:59 +08:00
chao.an
4b5f6b138e
Revert "drivers/syslog: Prepend Process ID to syslog message"
...
This reverts commit 0cd3389459 .
2021-03-09 00:52:51 +08:00
丁欣童
c52a65890b
drivers/sensor: fakesensor support batch.
...
N/A
Change-Id: I8377e359ceb111519c4da7d84c2e0dc3b7234ad3
Signed-off-by: 丁欣童 <dingxintong@xiaomi.com >
2021-03-08 16:02:19 +08:00
chao.an
b8a4d9c043
tools/Makefile: increase the incremental compile speed
...
Change-Id: I7ec2df10dee6b6f713cca7b51358e90cf3eb74c9
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-08 14:04:16 +08:00
chao.an
92b0b1d0f2
mm/iob: iob_get_queue_count() should return the iob count
...
Change-Id: Ief7b98589613c59754f1a4d265aaa4760ad3d209
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-08 13:59:12 +08:00
chao.an
c52fc22af1
Revert "net/tcp: return ENOTCONN if the connect migrate to the closed state"
...
This reverts commit 3d0775e79a .
2021-03-08 11:53:30 +08:00
Huang Qi
7a44b007c7
libc/machine: introduce memchr/memmove/memset/strlen from newlib for armv8-m
...
N/A
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Change-Id: Ie63c8f23126d9ca415609b4ab935d0a5dcc6f376
2021-03-08 09:43:55 +08:00
chao.an
3d0775e79a
net/tcp: return ENOTCONN if the connect migrate to the closed state
...
Change-Id: I15ee2a7ccbdc792c2c910ee9632714622bc5e0fd
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-06 18:37:15 +08:00
ligd
8d1ec7b2d0
serial/serial_dma.c: fix warnnings
...
serial/serial_dma.c: In function ‘uart_recvchars_done’:
serial/serial_dma.c:407:7: warning: implicit declaration of function ‘nxsig_kill’ [-Wimplicit-function-declaration]
407 | nxsig_kill(dev->pid, signo);
| ^~~~~~~~~~
Change-Id: I9e1c0341ecce3033889d11fff9ec2b9e3dfe303b
Signed-off-by: ligd <liguiding1@xiaomi.com >
2021-03-06 17:35:56 +08:00
ligd
28a667f3f8
drivers/serial/Kconfig: fix configure warnning
...
warning: (TTY_SIGINT) selects SIG_SIGKILL_ACTION which has unmet direct dependencies (SIG_DEFAULT)
Change-Id: Ied9899d18156742ce4998b40d53a481262dcd84a
Signed-off-by: ligd <liguiding1@xiaomi.com >
2021-03-06 17:35:56 +08:00
chao.an
19947e0414
net/tcp: correct the port byte order
...
1. correct the port byte order
2. Do not re-select the port if the local port has been bind()
Change-Id: Ia83f7d1aab5c2c0007eb4141fcdaa9ccaea3d319
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-06 15:57:41 +08:00
chao.an
c2707b2886
libc: fix compile warning
...
Makefile: 131: target 'bin/lib_strcpy.o' given more than once in the same rule
Makefile: 131: target 'bin/lib_strlen.o' given more than once in the same rule
Change-Id: I45b7640f7986895e4d406a1494616aba65a92453
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-06 13:27:14 +08:00
chao.an
92baf97625
sim: add fluoride config into etc
...
Change-Id: I08958d352b0e2f85524fac5599e6bb8be7acd240
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-05 22:35:38 +08:00
Huang Qi
ab81410372
libc/machine: introduce memchr/memmove/memset/strlen from newlib for armv7-m
...
N/A
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Change-Id: If901402e3dc4e6776521ac18fcd2c61e06e6493b
2021-03-05 18:34:49 +08:00
Jiuzhu Dong
817bf3b28b
sched/wqueue: don't distinguish between primary thread and other thread.
...
N/A
Change-Id: Ibcdf0738a330d352200b97aa38b04d943af369e2
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-03-05 16:01:23 +08:00
Jiuzhu Dong
46a3d95047
telent: fix crash about telnet client connect
...
N/A
Change-Id: I9afa15a3d8848e77a70f33f5429b6942e6cf8773
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-03-05 10:33:18 +08:00
Huang Qi
7bb419dae1
libc/machine: Use strcmp from newlib for better performance
...
N/A
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Change-Id: Idbdea04f748243fb9baf7b39d0ed997f7e9a8e3c
2021-03-04 16:44:13 +08:00
Xiang Xiao
5aa9333731
mtd/progmem: Add up_progmem_read callback guarded by ARCH_HAVE_PROGMEM_READ
...
since sometime platform code need do some special action during memcpy
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
Change-Id: Id108ef4232376feab3e37e9b3aee9a7927a03bd4
2021-03-04 11:54:59 +08:00
Xiang Xiao
af81097850
mtd/progmem: Let MTD_PROGMEM depend on ARCH_HAVE_PROGMEM
...
and remove the reference of CONFIG_ARCH_HAVE_PROGMEM from code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
Change-Id: I89a73f138d54718ee8bc9345958675d7a2a34ba8
2021-03-04 11:51:25 +08:00
Huang Qi
9fce262860
libc/machine: Use memcpy from newlib for better performance
...
N/A
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Change-Id: Icf49b938e582e46c68a03852a3364c62e7f83976
2021-03-04 10:15:11 +08:00
dongjiuzhu1
4438681a51
mm/umm_heap: move memory-related api from libc/stdlib to umm
...
N/A
Change-Id: I4cf7f2586c8b476336e7d32e518b2c774e6ce746
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-03-03 22:24:49 +08:00
dongjiuzhu1
3615d34665
net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
...
N/A
Change-Id: I85c3fdb651fbe5e36540747be92ee75d652f984d
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-03-03 22:24:42 +08:00
dongjiuzhu1
bb65de6cae
net: unify socket info file descriptor
...
MIRTOS-255
Change-Id: Iee680c8ac07fe87fb6e7900b4f792e0f1ff5036d
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-03-03 22:23:44 +08:00
ligd
49389e2695
mm/net/sched: fix warnings
...
Change-Id: I92db0e2cb7ff9e63eef8086a7cc084f67045d69c
Signed-off-by: ligd <liguiding1@xiaomi.com >
2021-03-03 19:26:43 +08:00
mage1
15fc1cb23f
mm: add kconfig option to control the memory manger strategy choice.
...
since will will porvide more the one strategy in future.
Change-Id: I73b900c6571f9b71b8239dd72006bdd0a68ee64d
2021-03-03 15:04:27 +08:00
chao.an
60f7f71e6c
net/tcp: fix invaild application preload
...
Change-Id: Ifebe4c2715ccfc0e11d8b45792d51912f110d92e
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-03 00:25:35 +08:00
mage1
465f98384b
mm: Move mm_heap_s related stuff to private header file
...
since it will improve the modularity and reduce the inforamtion explosion
Change-Id: I085b36adb38993a979625a1f4c252d364a15afa1
2021-03-02 22:21:46 +08:00
Peter Bee
a2a31c735e
net/socket: move si_send/recv into sendmsg/recvmsg
...
MIRTOS-272
Implement si_send/sendto/recvfrom with si_sendmsg/recvmsg, instead of
the other way round.
Change-Id: I7b858556996e0862df22807a6edf6d7cfe6518fc
Signed-off-by: Peter Bee <bijunda1@xiaomi.com >
2021-03-02 17:33:01 +08:00
chao.an
800421e231
net/tcp: cache the drop packet to avoid retransmit
...
Change-Id: Ia27ed17a7708df8481ac96d9a3a870b6ccef4d24
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-02 10:12:56 +08:00
chao.an
608f380aee
binfmt/Makefile: remove the specified prefix from target variables
...
Change-Id: Ic79368950a543ab5c39e286e4b5d062529a83a3c
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-01 21:11:16 +08:00
chao.an
0a1ba622b1
make/clean: clean the OBJ directly if declare in subdirectory
...
Change-Id: I9b78e83f571f9e427a49af04e0b718d941f003e4
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-01 21:10:53 +08:00
chao.an
9c946e2af6
make/archive: replace the dependency to preprequisite list
...
Change-Id: Id63f3cd32906461a54cb016ef8078d4d922845e2
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-01 21:10:15 +08:00
chao.an
bbdf87247f
tools/mkdeps: generate the full path dependencies
...
Change-Id: I60ff42c40ea8071ac86e6e06aafeb2a9f4ec3698
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-01 21:09:49 +08:00
chao.an
3a658ee32c
mm/circbuf: fix compile warning
...
circbuf/circbuf.c:133:14: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
133 | circ->head = len;
| ~~~~~~~~~~~^~~~~
circbuf/circbuf.c:106:10: note: 'len' was declared here
106 | size_t len;
| ^~~
Change-Id: I60e42b88e98838f5654d84b70f109a4df5a7ff26
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-03-01 16:14:25 +08:00
ligd
43742ca827
debug tools: add heap & stack check in idle thread
...
N/A
Change-Id: Iba6f5cdffb1336697096c71fca86c9ece584225f
Signed-off-by: ligd <liguiding1@xiaomi.com >
2021-03-01 10:41:09 +08:00
chao.an
87de0294a0
mm/iob: add iob_free_queue() interface
...
Change-Id: Ic06d9725e6b7ff4aac554f735d4c88bdec519d18
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-02-26 21:58:25 +08:00
chao.an
af341ee4fc
mm/iob: rename the iob_free_queue() to iob_destroy_queue()
...
make the semantics more precise
Change-Id: Ie3ac87d6a478cdd65e9129e708afc833f0a124b0
Signed-off-by: chao.an <anchao@xiaomi.com >
2021-02-26 20:38:44 +08:00
liuhaitao
63829c6895
Revert "net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS"
...
This reverts commit a0be36d9c2 .
2021-02-26 10:24:26 +08:00
ligd
df76063a35
Revert "net: unify socket info file descriptor"
...
This reverts commit 27b332283e .
2021-02-26 10:21:02 +08:00
ligd
a25ad34d82
Revert "mm/umm_heap: move memory-related api from libc/stdlib to umm"
...
This reverts commit 187b6c0742 .
2021-02-26 10:20:08 +08:00
Jiuzhu Dong
187b6c0742
mm/umm_heap: move memory-related api from libc/stdlib to umm
...
N/A
Change-Id: Ie10393fc8630016dbca27f3c327431fad3b375fb
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-02-25 16:54:05 +08:00
Jiuzhu Dong
27b332283e
net: unify socket info file descriptor
...
N/A
Change-Id: I9bcd21564e6c97d3edbb38aed1748c114160ea36
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-02-25 16:53:58 +08:00
Jiuzhu Dong
a0be36d9c2
net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
...
N/A
Change-Id: I7d10ec460c351e4fbcdc19b3a8284dcb77073722
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com >
2021-02-25 16:53:55 +08:00
Peter Bee
ad5c34bde1
boards/sim: add delay to allow kvdbd fully startup
...
N/A
This allows some persist.*.disable properties to work correctly.
Change-Id: Ie81f0d6da04b998175475be56b694768f8b2235b
Signed-off-by: Peter Bee <bijunda1@xiaomi.com >
2021-02-25 11:54:02 +08:00