[Skiboot] [PATCH] init: Display message before loading kernel

Joel Stanley joel at jms.id.au
Thu Apr 16 17:44:19 AEST 2015


Reassure the user that boot is still working when the payload load is
slow.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 core/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/init.c b/core/init.c
index 8d2a855..445272a 100644
--- a/core/init.c
+++ b/core/init.c
@@ -290,6 +290,8 @@ static bool load_kernel(void)
 	size_t ksize;
 	int loaded;
 
+	prlog(PR_NOTICE, "INIT: Loading kernel\n");
+
 	/* Try to load an external kernel payload through the platform hooks */
 	ksize = KERNEL_LOAD_SIZE;
 	loaded = start_preload_resource(RESOURCE_ID_KERNEL,
-- 
2.1.4



More information about the Skiboot mailing list