Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Kaj-Michael Lang" <milang@tal.org>
To: <linux-mips@linux-mips.org>
Subject: O2 arcboot 32-bit kernel boot fix
Date: Mon, 16 Aug 2004 20:41:40 +0300	[thread overview]
Message-ID: <001401c483b8$51d289f0$54dc10c3@amos> (raw)

Hi

Played with arcboot today and fixed (for me atleast) loading of 32-bit
kernels.
I've also added a very simple progress thing so you know something is
happening when
the kernel is loaded.
Anyway, the patch can be found here:
http://fairytale.tal.org/pub/talinux/patches/arcboot-O2boot-and-progress.patch

The fix was quite simple, arcboot was loading the kernel over itself, the
 -	.base     = 0x80004000,
+	.base     = 0x80002000,

change is the actual fix. 64-bit kernels loads fine after the fix.

There is some extra stuff (a patch from gentoo, removal debuging from e2fs
lib, etc) too..

-- 
Kaj-Michael Lang , milang@tal.org

WARNING: multiple messages have this Message-ID (diff)
From: "Kaj-Michael Lang" <milang@tal.org>
To: linux-mips@linux-mips.org
Subject: O2 arcboot 32-bit kernel boot fix
Date: Mon, 16 Aug 2004 20:41:40 +0300	[thread overview]
Message-ID: <001401c483b8$51d289f0$54dc10c3@amos> (raw)
Message-ID: <20040816174140.kv85lmcQauAg8JW1-JJPb8NSTCQL-c6mfUc9SNwc2Dk@z> (raw)

Hi

Played with arcboot today and fixed (for me atleast) loading of 32-bit
kernels.
I've also added a very simple progress thing so you know something is
happening when
the kernel is loaded.
Anyway, the patch can be found here:
http://fairytale.tal.org/pub/talinux/patches/arcboot-O2boot-and-progress.patch

The fix was quite simple, arcboot was loading the kernel over itself, the
 -	.base     = 0x80004000,
+	.base     = 0x80002000,

change is the actual fix. 64-bit kernels loads fine after the fix.

There is some extra stuff (a patch from gentoo, removal debuging from e2fs
lib, etc) too..

-- 
Kaj-Michael Lang , milang@tal.org

             reply	other threads:[~2004-08-16 17:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-16 17:41 Kaj-Michael Lang [this message]
2004-08-16 17:41 ` O2 arcboot 32-bit kernel boot fix Kaj-Michael Lang
2004-08-17 14:55 ` Martin Michlmayr
2004-08-18 12:05 ` Max Zaitsev
2004-08-18 12:05   ` Max Zaitsev
2004-08-18 14:33   ` Kaj-Michael Lang
2004-08-18 14:33     ` Kaj-Michael Lang
2004-08-18 14:46     ` Max Zaitsev
2004-08-18 14:46       ` Max Zaitsev
2004-08-18 15:52       ` Maxim Zaitsev
2004-08-18 15:52         ` Maxim Zaitsev
2004-08-18 19:41         ` Kaj-Michael Lang

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='001401c483b8$51d289f0$54dc10c3@amos' \
    --to=milang@tal.org \
    --cc=linux-mips@linux-mips.org \
    /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