linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: vb <vb-gSajP0OrAZc@public.gmane.org>
To: Rob Landley <rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
Cc: Adrian Bunk <bunk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org
Subject: Re: problems bringing up CF based file system (2.6.25)
Date: Wed, 28 May 2008 21:55:47 -0700	[thread overview]
Message-ID: <f608b67d0805282155w5a34a6d1uf4959ac2c6172e9@mail.gmail.com> (raw)
In-Reply-To: <200805282217.49143.rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>

On Wed, May 28, 2008 at 8:17 PM, Rob Landley <rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org> wrote:

>
> Is it even possible to use just _parts_ of the SCSI layer, without sucking in
> the whole thing?
>
> I think the fact it's called a "layer" is a bit of a hint, actually.  Don't
> embedded folks generally try to _avoid_ unnecessary layering, and pulling in
> large code libraries to perform a small task?
>


Good questions, it does seem quite excessive. Interestingly enough,
there is a platform option for the IDE driver as well
(CONFIG_BLK_DEV_PLATFORM): could it be the a better way to drive the
CF card in true IDE mode?

I must be missing something very basic, but can't get over this hurdle:

if I enable PATA platofrm, and define the card local bus/card in the
dts file, the card gets detected and properly recognized, but no
device seems to be created in /dev, so the card does not get mounted
when the board comes up.


If I enable CONFIG_BLK_DEV_PLATFORM instead (and no dts file
definitions), I can't get the probe function to be invoked, so the
card does not even get detected.

People, does anyone have CF card up and running in 2.6.25 - please,
share your secrets! :-)

Seriously, it is quite frustrating, I would really appreciate any extra hints,

TIA,
vadim

> Rob
> --
> "One of my most productive days was throwing away 1000 lines of code."
>  - Ken Thompson.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2008-05-29  4:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f608b67d0805221022n18199654n457c47459375213c@mail.gmail.com>
     [not found] ` <f608b67d0805271547t4469fe39xab541cdbd995dc65@mail.gmail.com>
     [not found]   ` <20080527230457.GH11310@cs181133002.pp.htv.fi>
     [not found]     ` <20080527230457.GH11310-Aar9JVdAhcRoA3hw4S0G5QR5/fbUUdgG@public.gmane.org>
2008-05-29  3:17       ` problems bringing up CF based file system (2.6.25) Rob Landley
     [not found]         ` <200805282217.49143.rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org>
2008-05-29  4:55           ` vb [this message]

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=f608b67d0805282155w5a34a6d1uf4959ac2c6172e9@mail.gmail.com \
    --to=vb-gsajp0orazc@public.gmane.org \
    --cc=bunk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rob-VoJi6FS/r0vR7s880joybQ@public.gmane.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;
as well as URLs for NNTP newsgroup(s).