All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
To: linux-sh@vger.kernel.org
Subject: Kernel configurations for R2D PLUS with Compact Flush support
Date: Sun, 21 Sep 2008 08:55:06 +0000	[thread overview]
Message-ID: <48D60BEA.2040806@juno.dti.ne.jp> (raw)

Hello, all.

I have a plan to work on QEMU System Emulation for SH4.
Now I consider how add compact flush/CF card support for QEMU-SH.
If the CF would have supported, userland can be built on it.

But I have some troubles listed below.

- kernel configuration

  rts7751r2dplus_defconfig does not seem to enable CF support.
  I'm not sure what kind of configuration is correct for R2D PLUS.
  Enabling CONFIG_PCCARD or CONFIG_CF_ENABLER will be enough?
  Is there a sample configuration?

- CF driver

  The driver for the CF card will be a good reference to extend QEMU
  for CF.  But I'm not sure which driver module handles CF.

  R2D plus' CF area placed in area 5 which starts from 1400-0000, and
  when it is accessed via P2, the address start from b400-0000.
  The start up routine for R2D PLUS set traps for the region and 
  converted into the access to a region starts from c000-0000.

  Which driver accesses to c000-0000?  ATA drivers?

- CF interrupts handler

  The document on R2D plus says interrupts related to CF is invoked by 
  FPGA on the board.  And arch/sh/boards/mach-r2d/irq.c sets up
  IRQ_CF_CD(card detect), and IRQ_CF_IDE.  I want know which part
  of the kernel handles those interrupts.

Any help or comments will be welcome.  Thanks.

Regards,
Shin-ichiro KAWASAKI



             reply	other threads:[~2008-09-21  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-21  8:55 Shin-ichiro KAWASAKI [this message]
2008-09-21 10:01 ` Kernel configurations for R2D PLUS with Compact Flush support Paul Mundt
2008-09-21 13:24 ` Shin-ichiro KAWASAKI
2008-09-21 21:18 ` 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=48D60BEA.2040806@juno.dti.ne.jp \
    --to=kawasaki@juno.dti.ne.jp \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.