[Boottime] add syslog info in system bootup stages

N/A

Add syslog in nuttx kernel entry and init start entry.

Change-Id: I014c58528e6f474d68d9664224a3c50937967a04
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao
2021-01-21 15:51:09 +08:00
committed by 刘海涛
parent 673526fc74
commit b8423e9681
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -251,6 +251,7 @@ static inline void nx_start_application(void)
*/
sinfo("Starting init thread\n");
syslog(LOG_INFO, "Starting init thread\n");
#ifdef CONFIG_BUILD_PROTECTED
DEBUGASSERT(USERSPACE->us_entrypoint != NULL);
+2
View File
@@ -373,6 +373,7 @@ void nx_start(void)
int i;
sinfo("Entry\n");
syslog(LOG_INFO, "NuttX RTOS Initializtion Entry\n");
/* Boot up is complete */
@@ -825,6 +826,7 @@ void nx_start(void)
/* When control is return to this point, the system is idle. */
sinfo("CPU0: Beginning Idle Loop\n");
syslog(LOG_INFO, "CPU0: Beginning Idle Loop\n");
for (; ; )
{
/* Perform any processor-specific idle state operations */