[Avila] My patch for Gateworks IDE/CF driver does not probe for devices at boot

Loft Loft at nc.rr.com
Mon Nov 27 16:21:56 EST 2006


David Acker wrote:
> Petros wrote:
>> Hello!
>>
>> I' m trying to make a patch that adds the original gateworks ide/cf 
>> driver in kernel 2.6 (2.6.14.7). I build it in the kernel, but it 
>> does not probe for the avila ide at boot (no relevant printk messages 
>> are shown). A reason for this could be that the code also depends on 
>> other parts of the kernel that I forget to enable or parts that need 
>> to be modified. For example, there is also an ide-arm.c file in 
>> drivers/ide/arm/ which is not built. I' m not sure if this is needed 
>> for Avila ide to be probed at boot. This is regulated in 
>> drivers/ide/Kconfig as:
>> ------------------------------------------------------------------------- 
>>
>> config IDE_ARM
>>   def_bool ARM && (ARCH_A5K || ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK)
>> ------------------------------------------------------------------------- 
>>
>> Do I need to add ARCH_AVILA?
>>
>> Any other ideas? Please, help me make this patch work!
>>
>
You don't want the .19 patch as that's based on the new libata system 
which deprecates the old IDE system.

The .18 patch works for LE (hence the patch file name). However, the BE 
patch which is more applicable to your system isn't in our repository.

Tom
> Check out the nslu2 folks.  They have working gateworks patches:
> http://svn.nslu2-linux.org/svnroot/kernel/trunk/patches/2.6.19/
> or
> http://svn.nslu2-linux.org/svnroot/kernel/trunk/patches/2.6.18/
>
> These might lead to what is missing in your patch.
> -Ack
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
>





More information about the Avila mailing list