All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Chris Tapp <opensource@keylevel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Help debugging CF support under 3.0.18
Date: Tue, 10 Apr 2012 13:23:03 -0600	[thread overview]
Message-ID: <4F848897.6030102@mlbassoc.com> (raw)
In-Reply-To: <43CD100C-560F-49EF-BCD7-8687A44010F9@keylevel.com>

On 2012-04-10 13:19, Chris Tapp wrote:
> On 10 Apr 2012, at 18:11, Gary Thomas wrote:
>
>> On 2012-04-10 11:03, Chris Tapp wrote:
>>> I've been trying to get a BSP running under 6.0.1 using kernel 3.0.18 for an ALIX 3D3 board. I've done this before under 4.0.1 using 2.6.34.
>>>
>>> It's nearly working, but I can't get partitions on the CF card (which works under 2.6.34) to show.
>>>
>>> - The controller (CS5536) is showing as loaded in dmesg.
>>> - hda is reported as using UDMA/33, but hda1 is not mentioned.
>>> - /proc/partions does not show hda1.
>>> - cat'ing /proc/ide/ide0/hda/model reports 'CF 1GB', which is what the CF is.
>>> - The following kernel options are on : CONFIG_PCI, CONFIG_PCI_QUIRKS, CONFIG_BLK_IDEPCI, CONFIG_IDEPCI_PCIBUS_ORDER, CONFIG_BLK_DEV_IDEDMA.
>>>
>>> I suspect I've turned 'something' off in the kernel configuration that I need, but it's not obvious (to me) what it could be. What's the best way of tracking this down? I'll start again using a base .config file, but it takes a long time to rebuild the kernel (I need a faster machine!) and it'll take a while to work out what I've touched in error.
>>>
>>> On a related note, I use SRCREV_machine_pn-linux-yocto_mybsp ?= "d7e81e7f975c57c581ce13446adf023f95d9fd9f" in my kernel bbappend (base 3.0.18 kernel). If I do a 'cleanall' and then build I have to wait for the kernel to be downloaded, even though I have a DL_DIR specified. Is it possible to stop this happening? If not, is there a better way to rebuild the kernel and get a new image in deploy/install?
>>
>> Do you have CONFIG_HOTPLUG=y?
>
> Yes, that's set. However, CONFIG_HOTPLUG_PCI isn't.
>
> Do I need hotplug? The CF card is the boot media (currently booting from USB while getting this fixed) and is present when the system starts.

I think so, yes, that's [part of] the machinery the kernel uses to find
and create devices, etc.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


      reply	other threads:[~2012-04-10 19:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 17:03 Help debugging CF support under 3.0.18 Chris Tapp
2012-04-10 17:11 ` Gary Thomas
2012-04-10 19:19   ` Chris Tapp
2012-04-10 19:23     ` Gary Thomas [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=4F848897.6030102@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=opensource@keylevel.com \
    --cc=yocto@yoctoproject.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.