mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: torvalds@osdl.org, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, linux-am33-list@redhat.com,
	dhowells@redhat.com
Subject: [PATCH 0/2] MN10300: Add the MN10300 architecture to Linux kernel [try #3]
Date: Wed, 07 Nov 2007 17:43:23 +0000	[thread overview]
Message-ID: <20071107174323.31820.65054.stgit@warthog.procyon.org.uk> (raw)



These patches add the MEI/Panasonic MN10300/AM33 architecture to the Linux
kernel.

The first patch suppresses AOUT support in the kernel if CONFIG_BINFMT_AOUT=n
and CONFIG_IA32_AOUT=n.  MN10300 does not support the AOUT binfmt, so the ELF
binfmt should not be permitted to go looking for AOUT libraries to load, nor
should random bits of the kernel depend on asm/a.out.h.

The second patch adds the architecture itself, to be selected by ARCH=mn10300
on the make command line.

The patches can also be downloaded from:

	http://people.redhat.com/~dhowells/mn10300/mn10300-arch.tar.bz2


A suitable toolchain can be downloaded from:

	ftp://ftp.redhat.com/pub/redhat/gnupro/AM33/

The latest is currently:

	am33-04r2-5/tools/i686-pc-linux-gnulibc2.3-x-am33_2.0-linux-gnu.tar.bz2

Changes:

 (*) After discussing it with MEI, I've flattened the asm/cpu/ include dir into
     asm/ and also renamed mn103e010-{watchdog,serial} to
     mn10300-{watchdog,serial}.

     The asm/proc/ dir still exists, but what it contains is in the nature of
     configuration.

 (*) CONFIG_FPU now depends on CONFIG_PROC_MN103E010 rather than being
     automatically selected if the AM33V2 CPU core is enabled as some AM33V2
     cores aren't packaged with an FPU.

 (*) A bit of cleaning up.

 (*) Made sure it compiles with allnoconfig, allyesconfig and allmodconfig.

David

             reply	other threads:[~2007-11-07 17:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 17:43 David Howells [this message]
2007-11-07 17:43 ` [PATCH 1/2] Suppress A.OUT library support in ELF binfmt if !CONFIG_BINFMT_AOUT " David Howells
2007-11-07 17:52   ` Mike Frysinger
2007-11-07 22:07   ` David Woodhouse
2007-11-07 23:30   ` David Howells
2007-11-07 23:54   ` Adrian Bunk
2007-11-08  4:13 ` [PATCH 0/2] MN10300: Add the MN10300 architecture to Linux kernel " Adrian Bunk
2007-11-08 14:00 ` David Howells
2007-11-09 11:02   ` Adrian Bunk

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=20071107174323.31820.65054.stgit@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-am33-list@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®