From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Lange Date: Wed, 04 Feb 2004 19:51:17 +0100 Subject: [U-Boot-Users] Can't get ide to work In-Reply-To: <603BA0CFF3788E46A0DB0918D9AA95100A097317@sj580004wcom.int.lantronix.com> References: <603BA0CFF3788E46A0DB0918D9AA95100A097317@sj580004wcom.int.lantronix.com> Message-ID: <40213F25.9010303@corelatus.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de tlb 20 is mapped to phy 0xF00000000 ( not used ) tlb 21 is mapped to phy 0xF40000000 ( not used ) tlb 22 is mapped to phy 0xF80000000 TLB 22 was enough to make CF work on my dbau1000 board ( only tested in big endian mode ). /Thomas Jerry Walden wrote: > Thanks for the response. > > Okay - I found the TLB mapping for CFG_PCMCIA_MEM_ADDR (0x20000000), > however the IDE device is at AU1X_SOCK0_IO (0xF00000000). True - the > PCMCIA is at 0x20000000, however not the ide device. If I look at the > YAMON source - there is a mapping done for 0xF00000000. > > I don't see it in u-boot. Where am I going wrong? > > Thanks > > -----Original Message----- > From: Thomas Lange [mailto:thomas at corelatus.se] > Sent: Tuesday, February 03, 2004 1:29 PM > To: Jerry Walden > Cc: u-boot-users at lists.sourceforge.net > Subject: Re: [U-Boot-Users] Can't get ide to work > > > TLB is created in board/dbau1x00/dbau1x00.c > > Could be an endian problem, i.e. you read the wrong byte. > > /Thomas > > Jerry Walden wrote: > >>Our board is based on the Alchemy DBAu1500 >> >>We are using a compact flash card that as an IDE drive (tied into the >>IDE interface of the CPU just like the DBAu1500). >> >>During ide_init, the ATA_STATUS byte is read, and there is a wait loop > > >>which waits for the status to be ready. This loop always times out. >>I am trying to debug this. Tracing through ide_inb, and ide_outb, the > > >>address of the interface is fine CFG_PCMCIA_MEM_ADDR (0x20000000). I >>know that there has to be some TLB mapping between CFG_PCMCIA_MEM_ADDR > > >>(0x20000000) and AU1X_SOCK0_IO >>(F00000000) - I just cannot find where this is done. >> >>Any suggestions? >> >>Thanks > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users >