Thread (8 messages) read the whole thread 8 messages, 3 authors, 2008-07-25

Re: can't boot mpc5200, powerpc: Enable AT_BASE_PLATFORM aux vector

From: Nathan Lynch <hidden>
Date: 2008-07-25 22:00:38

Jon Smirl wrote:
I've lost my ability to boot on the mpc5200. Reverting this patch fixes it.
How does it fail?

quoted hunk ↗ jump to hunk
@@ -1652,6 +1655,14 @@ struct cpu_spec * __init identify_cpu(unsigned
long offset, unsigned int pvr)
 			} else
 				*t = *s;
 			*PTRRELOC(&cur_cpu_spec) = &the_cpu_spec;
+
+			/*
+			 * Set the base platform string once; assumes
+			 * we're called with real pvr first.
+			 */
+			if (powerpc_base_platform == NULL)
+				powerpc_base_platform = t->platform;
+
Hmm, maybe this needs RELOC/PTRRELOC tricks?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help