[Arm-netbook] SD card issue

Luke Kenneth Casson Leighton luke.leighton at googlemail.com
Mon Mar 29 21:29:04 BST 2010


On Mon, Mar 29, 2010 at 7:42 PM, Ben Dooks <ben at fluff.org> wrote:
> On Mon, Mar 29, 2010 at 01:06:53PM +0000, Luke Kenneth Casson Leighton wrote:
>> On Mon, Mar 29, 2010 at 10:27 AM, Ben Dooks <ben at fluff.org> wrote:
>> > On Mon, Mar 29, 2010 at 02:19:35AM +0100, Frans Pop wrote:
>> >> There's something really weird with the recognition of the NAND and
>> >> external SD card in the kernel.
>> >>
>> >> If no external SD card is inserted, then the NAND is not recognized...
>> >
>> > IIRC, it isn't really a NAND chip, it is a board-mounted SD style device,
>>
>>  yes.  Sandisk.
>>
>> > and it may be that the system is sharing the card-detect lines.
>>
>>  ohh... wait.... there may be differences in the setup of the hsmmc
>> devices, between mer-smartq, 2.6.24-samsung and 2.6.24-chitech.
>> certainly the mer-smartq guys had to mess about somewhat with the
>> hsmmc setup (pulling some gpios not others) and whoever did the kernel
>> for the ctpc89e also i believe did likewise [mess about].
>>
>>  so it could be something as simple as the card-detect lines are
>> swapped, or were _disabled_ for the NAND but not SD card.  or
>> something ugly.
>
> There is one GPIO capable of card-detect, which has both HSMMC0
> and HSMMC1's card detects on it. You get to choose one.

 ahhh.  that explains it.

> If no-one's implemented card-permanently-inserted for the s3c-sdhci
> driver, then this is the time to do it.

 looovely :)



More information about the Arm-netbook mailing list