mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geoffrey Lee <glee@gnupilgrims.org>
To: linux-kernel@vger.kernel.org, pleb@cse.unsw.edu.au
Cc: linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: [Patch] [arm] support older plebs
Date: Wed, 26 Mar 2003 07:55:30 +0800	[thread overview]
Message-ID: <20030325235530.GA4438@anakin.wychk.org> (raw)
In-Reply-To: <20030325163843.D24418@flint.arm.linux.org.uk>

[cc-ing to linux-arm-kernel ]

On Tue, Mar 25, 2003 at 04:38:43PM +0000, Russell King wrote:
> On Wed, Mar 26, 2003 at 12:13:58AM +0800, Geoffrey Lee wrote:
> > 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.
> 
> I've been killing these - people should really be passing the right
> value of r1 to the kernel.  Think what happens when 200 different
> machine types add these 3 lines.
> 

I totally agree that it is wrong not to set r1.


Thank goodness that in 2.4.x not many arm boards need this hack :)

Anyway, inside the (very old) pleb kernel tree, it was marked as a "hack".  

> A saner solution would be to define this appropriately if we're only
> being built for one platform.
> 

Yes.  That sounds good.


	-- 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";



      reply	other threads:[~2003-03-25 23:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25 16:13 Geoffrey Lee
2003-03-25 16:38 ` Russell King
2003-03-25 23:55   ` Geoffrey Lee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030325235530.GA4438@anakin.wychk.org \
    --to=glee@gnupilgrims.org \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pleb@cse.unsw.edu.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®