[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] IDE ATA-4, ATA-5 interface for microblaze?
Hi Roman, John,
John Williams wrote:
> Roman Wojnar wrote:
>> I have intention to port IDE ATA-4 or ATA-5 interface to microblaze.
>> Have anybody any experience with IDE drivers for uClinux?
>> Are there any differences against Linux driver?
>
>
> I haven't done it, but I think some of SnapGear's m68knommu/Coldfire
> uClinux targets have IDE support in them. I don't think there's any
> rocket science, you'll just need to tweak the lowest driver level to
> talk to your interface core.
Yeah, I have done it on ColdFire based harwdare. There is no difference
with standard IDE drivers for Linux. Ofcourse you generally need a
bottom end driver stub to cater for the exact interface to you
specific hardware.
>> I have checked settings in "menuconfig" and there are missing support for
>> IDE-ATA interface. Why?
>
>
> menuconfig -> kernel config -> general setup -> [X] disk hardware support
>
> then back out to the main kernel menu, scroll down to ATA/IDE/MFM/RLL
> support - more options than you could ever hope for! :)
You will need a low level driver stub, and you will have to code that.
Look at examples from the m68knommu arch, code in:
linux-2.4.x/drivers/ide/legacy/uclinux.c
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
SnapGear -- a CyberGuard Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/