mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch] [arm] support older plebs
@ 2003-03-25 16:13 Geoffrey Lee
  2003-03-25 16:38 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Geoffrey Lee @ 2003-03-25 16:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: pleb

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Hi all,


This patch has been in my patch directory for a while.

The PLEB is a SA-1100-based ARM computer developed at CSE at the
University of New South Wales.  I have discovered some of the earlier
models would not set register 1 properly, which was required for Linux
to boot.  This was inside their (very old) kernel tree but which they 
never submitted for inclusion (?)  It is a Photon1 with catapult
bootloader combination.


	- G.
	
-- 
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
  "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
  "\x80\xe8\xdc\xff\xff\xff/bin/sh";



[-- Attachment #2: arm-pleb.patch --]
[-- Type: text/plain, Size: 538 bytes --]

diff -urNp -X exclude linux-2.4.19-pleb.orig/arch/arm/kernel/head-armv.S linux-2.4.19-pleb/arch/arm/kernel/head-armv.S
--- linux-2.4.19-pleb.orig/arch/arm/kernel/head-armv.S	2002-10-29 18:57:10.000000000 +0800
+++ linux-2.4.19-pleb/arch/arm/kernel/head-armv.S	2002-10-29 19:18:42.000000000 +0800
@@ -130,6 +130,9 @@ __entry:
  */
 		mov	r1, #MACH_TYPE_L7200
 #endif
+#if defined(CONFIG_SA1100_PLEB)
+		mov	r1, #MACH_TYPE_PLEB
+#endif
 
 		mov	r0, #F_BIT | I_BIT | MODE_SVC	@ make sure svc mode
 		msr	cpsr_c, r0			@ and all irqs disabled

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-25 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-25 16:13 [Patch] [arm] support older plebs Geoffrey Lee
2003-03-25 16:38 ` Russell King
2003-03-25 23:55   ` Geoffrey Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®