SUPERH platform development
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH 00/04] sh: romImage MMCIF boot patches V2
Date: Tue, 18 May 2010 14:42:29 +0000	[thread overview]
Message-ID: <20100518144229.29239.19891.sendpatchset@t400s> (raw)

sh: romImage MMCIF boot patches V2

[PATCH 01/04] sh: allow romImage data between head.S and the zero page
[PATCH 02/04] sh: prepare MMCIF driver header file
[PATCH 03/04] sh: add boot code to MMCIF driver header
[PATCH 04/04] sh: add romImage MMCIF boot for sh7724 and Ecovec V2

These patches makes it possible to build a Linux kernel that supports
loading itself over the MMCIF interface on sh7724 processors.

The SH kernel has been used as a boot loader ever since the romImage
build target was introduced. This patch extends the romImage code from
only supporting boot from NOR flash to support building a kernel image
that can be written directly to a MMC card and booted by the sh7724
processor.

Yes, on selected boards the upstream SH kernel can be booted without any
boot loader using the romImage build target. Work is currently being done
to support this feature on SH-Mobile ARM processors as well.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 Applies to the sh-2.6 git tree and the MMCIF driver from mmotd

 arch/sh/Kconfig                               |   11 +
 arch/sh/boot/romimage/Makefile                |   13 +-
 arch/sh/boot/romimage/head.S                  |   42 ++++++
 arch/sh/boot/romimage/mmcif-sh7724.c          |   72 +++++++++++
 arch/sh/boot/romimage/vmlinux.scr             |    2 
 arch/sh/include/cpu-sh4/cpu/sh7724.h          |    1 
 arch/sh/include/mach-common/mach/romimage.h   |   10 +
 arch/sh/include/mach-ecovec24/mach/romimage.h |   27 ++++
 arch/sh/include/mach-kfr2r09/mach/romimage.h  |   10 +
 drivers/mmc/host/sh_mmcif.c                   |  125 +++++++------------
 include/linux/mmc/sh_mmcif.h                  |  161 +++++++++++++++++++++++++
 11 files changed, 392 insertions(+), 82 deletions(-)

             reply	other threads:[~2010-05-18 14:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 14:42 Magnus Damm [this message]
2010-05-31  4:48 ` [PATCH 00/04] sh: romImage MMCIF boot patches V2 Paul Mundt

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=20100518144229.29239.19891.sendpatchset@t400s \
    --to=magnus.damm@gmail.com \
    --cc=linux-sh@vger.kernel.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