Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Adam Nielsen <a.nielsen@shikadi.net>
To: linux-mips@linux-mips.org
Subject: Can you add a signature to the kernel ELF image?
Date: Wed, 25 Nov 2009 08:46:51 +1000	[thread overview]
Message-ID: <4B0C625B.5070408@shikadi.net> (raw)

Hi all,

I'm trying to port the kernel to an NCD HMX X-Terminal (MIPS R4600), but the 
one thing I have to do before I can actually boot the image is attach a 
signature to it. I have the signature 'code' in assembly[1], but I'm not sure 
how to link it so that it ends up as the first bit of code in the ELF image 
(the very first instruction is a 'b' to jump over the actual signature text.)

Without this the boot monitor will refuse to boot the kernel.  Any suggestions 
as to how I might accomplish this?

Many thanks,
Adam.

[1] http://www.linux-mips.org/wiki/HMX

             reply	other threads:[~2009-11-24 23:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 22:46 Adam Nielsen [this message]
2009-11-24 23:39 ` Can you add a signature to the kernel ELF image? David Daney
2009-11-24 23:44 ` Ralf Baechle
2009-11-25 11:34   ` Adam Nielsen

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=4B0C625B.5070408@shikadi.net \
    --to=a.nielsen@shikadi.net \
    --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