From e28d308b6f2f60ce42b6cda4d12f511aaeab268f Mon Sep 17 00:00:00 2001
From: Armin Luntzer <armin.luntzer@univie.ac.at>
Date: Thu, 11 Oct 2018 11:53:25 +0200
Subject: [PATCH] change init/main.c to execute "CrApp1" for testing with the
 SMILE application software

---
 init/main.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/init/main.c b/init/main.c
index 46027e6..64ba0ef 100644
--- a/init/main.c
+++ b/init/main.c
@@ -92,8 +92,9 @@ arch_initcall(kernel_init);
 #include <kernel/clockevent.h>
 int kernel_main(void)
 {
+#if 0
 	struct task_struct *t;
-
+#endif
 
 	printk(MSG "Loading module image\n");
 
@@ -138,7 +139,7 @@ int kernel_main(void)
 	void *addr;
 	struct elf_module m;
 
-	addr = module_read_embedded("executable_demo");
+	addr = module_read_embedded("CrApp1");
 
 	pr_debug(MSG "test executable address is %p\n", addr);
 	if (addr)
@@ -188,7 +189,7 @@ int kernel_main(void)
 
 
 	while(1) {
-		printk("|");
+	//	printk("|");
 		cpu_relax();
 	}
 
-- 
GitLab