From: Thomas Lange <thomas@corelatus.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Can't get ide to work
Date: Wed, 04 Feb 2004 19:51:17 +0100 [thread overview]
Message-ID: <40213F25.9010303@corelatus.se> (raw)
In-Reply-To: <603BA0CFF3788E46A0DB0918D9AA95100A097317@sj580004wcom.int.lantronix.com>
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
>
next prev parent reply other threads:[~2004-02-04 18:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 18:09 [U-Boot-Users] Can't get ide to work Jerry Walden
2004-02-04 18:51 ` Thomas Lange [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-02-05 0:13 Jerry Walden
2004-02-03 19:35 Jerry Walden
2004-02-03 18:15 Jerry Walden
2004-02-03 21:28 ` Thomas Lange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40213F25.9010303@corelatus.se \
--to=thomas@corelatus.se \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox