From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Lange Date: Tue, 03 Feb 2004 22:28:51 +0100 Subject: [U-Boot-Users] Can't get ide to work In-Reply-To: <603BA0CFF3788E46A0DB0918D9AA95100A09CA13@sj580004wcom.int.lantronix.com> References: <603BA0CFF3788E46A0DB0918D9AA95100A09CA13@sj580004wcom.int.lantronix.com> Message-ID: <40201293.2010509@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 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