RE: [U-Boot-Users] Silicon Image 0680A and CF-ATA drive

Didn't implement anything at all. I just used the generic IDE driver already present in U-Boot. All I had to change were those four #defines.
-----Original Message----- From: Sam Pham [mailto:anhmn@yahoo.com] Sent: Monday, July 25, 2005 12:47 To: Rune Torgersen; u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] Silicon Image 0680A and CF-ATA drive
--- Rune Torgersen runet@innovsys.com wrote:
I use a 0680A under u-boot, using the standard IDE driver. Works perfect. Only had to give the IDE driver the address of the register base. #define CFG_ATA_BASE_ADDR 0xa0000000 // BaseAddress 5 #define CFG_ATA_REG_OFFSET 0x80 #define CFG_ATA_DATA_OFFSET 0x80 #define CFG_ATA_ALT_OFFSET 0x80
It's good to know that somebody had implemented uboot for the Sil 0680A controller. Do you have a patch for this driver? I'd like compare it with my implementation to see if I'm missing anything because I can't test my implementation until the eval board arrives. Also, did you implement POST for this controller? I plan to do this as well.
Thanks.
Sam
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net]
On Behalf
Of Sam Pham Sent: Tuesday, July 05, 2005 12:12 To: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Silicon Image 0680A
and CF-ATA drive
--- Wolfgang Denk wd@denx.de wrote:
In message
20050705161452.30133.qmail@web54108.mail.yahoo.com
you wrote:
My custom board has the PCI to ATA chip
Silicon
Image
0680A, which connects to the CompactFlash
Storage
Card
that acts as a standard IDE disk if configured
right.
Anyone knows if U-boot already had the
implementation
for the Silicon Image 0680A and CF-ATA drive?
I
No.
looked through the source code but didn't find anything. If not, any recommendations of how
to
implement them?
Find the Linux driver for this controller,
analyze
it, and port the unavoidable parts of it to U-Boot.
Thanks. This would help for starting.
Sam
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax:
(+49)-8142-66989-80
Email: wd@denx.de To know how another being, another creature
feels -
that is impos- sible. - Terry Pratchett, _The
Dark
Side of the Sun_
Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy
Football
SF.Net email is sponsored by: Discover Easy Linux
Migration Strategies
from IBM. Find simple to follow Roadmaps,
straightforward articles,
informative Webcasts and more! Get everything you
need to get up to
speed, fast.
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id%16492&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

On 7/25/05, Rune Torgersen runet@innovsys.com wrote:
Didn't implement anything at all. I just used the generic IDE driver already present in U-Boot. All I had to change were those four #defines.
If you turned on PCI_CONFIG_PNP this might break, especially if the ide adapter was on a card and/or there were other cards as options.
For a generic driver it might be better to use pci_find_device() to fetch the register addressing.
participants (2)
-
Andrew Dyer
-
Rune Torgersen