On 4/16/07, Aurelien Jarno <[EMAIL PROTECTED]> wrote:
Blue Swirl a écrit :
> The Sparc64 image can be booted using either VGA or serial. In both
> cases, entering the Forth interpreter fails.
>

Is it possible (even hackish) to ignore openbios an jump directly to the
kernel when using -kernel?

You can try this patch. It bypasses the Forth setup and jumps to a
hard coded kernel start address.
Index: openbios-quilt/arch/sparc64/openbios.c
===================================================================
--- openbios-quilt.orig/arch/sparc64/openbios.c	2007-04-14 19:39:24.000000000 +0000
+++ openbios-quilt/arch/sparc64/openbios.c	2007-04-16 14:34:45.000000000 +0000
@@ -112,7 +112,13 @@
 #ifdef CONFIG_DEBUG_BOOT
 	printk("done\n");
 #endif
+        {
+            int (*entry)(const void *romvec, int p2, int p3, int p4, int p5);
 
+            printk("[sparc64] Kernel already loaded\n");
+            entry = (void *) 0x404000;
+            entry(0, 0, 0, 0, 0);
+        }
 	PUSH_xt( bind_noname_func(arch_init) );
 	fword("PREPOST-initializer");
 	

Reply via email to