12 Jan 2007 08:53
Re: Re: at91rm9200 ide driver for harddis k
<jonghne <at> 163.com>
2007-01-12 07:53:51 GMT
2007-01-12 07:53:51 GMT
I followed your advice, add "#define DEBUG" on the very top of drivers/ide/ide.c anddrivers/ide/ide-probe.c , system run with information as follows: Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx multiIO: IDE driver, (c) 2006 imc Measurement & Control IDE: phys mem : 40000000...40000200 (size 0200) probing for hda: present=0, media=32, probetype=ATA probing for hda: present=0, media=32, probetype=ATAPI probing for hdb: present=0, media=32, probetype=ATA probing for hdb: present=0, media=32, probetype=ATAPI I use PD23 pin as the ide irq line, so in linux-2.6.15 , its irq no is AT91_PIN_PD23. Does this cause problem? In your codes sent to me, you did not configure the pin of AT91C_ID_IRQ5 for irq5, why it worked well? Best regards. 在2007-01-11,"Steven Scholz" <steven.scholz <at> imc-berlin.de> wrote: jonghne, first, it is absolutly fine to send a mail only ONCE! then, please read the Mailing Lists - Etiquette http://www.arm.linux.org.uk/mailinglists/etiquette.php > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 > ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx > multiIO: IDE driver, (c) 2006 imc Measurement & Control > IDE: phys mem : 40000000...40000200 (size 0200) > > Does the system find harddisk? If that's realy all you see then probably not! I compiled it as a kernel module (but that doesn't matter) and get: ~ # hdd start multiIO: IDE driver, (c) 2006 imc Measurement & Control IDE: phys mem : 30040000...30040200 (size 0200) hda: probing with STATUS(0x50) instead of ALTSTATUS(0x0a) hda: TOSHIBA MK2023GAS, ATA DISK drive irq30: nobody cared ide0 at 0xc385e000-0xc385e007,0xc385e010 on irq 30 hda: max request size: 128KiB hda: 39070080 sectors (20003 MB), CHS=38760/16/63 hda: cache flushes supported hda: hda1 ... Put a "#define DEBUG" on the very top of drivers/ide/ide.c and drivers/ide/ide-probe.c and examine the output. -- Steven ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
RSS Feed