[U-Boot] How !, Adding a New Device to U-Boot.

hi ,
I was wondering , is there any Discussion or document that describe the way how I can Add a new device to u-Boot.
For example , I have two sequoa based, Custom design.
1) . I have an FPGA Device at the EBC port of EPx in the second design.
2) . In a second case, I have an FPGA Device as the PCI card for ppc440EPx. (May be ok with Normal PCI Detection, but How to drive it ? Any standard approach).
As I wanted to detect the both the devices (both the cases) , where should I start with Or Whats the Standard procedure I need to follow.
I know that adding a Device to U-Boot is Simple (if you know how to do it :( ). In another thread, I found somebody adding memory Base to tlbentry() and all .. Is it the sufficient thing ? I have worked with U-Boot , but it was all small changes , wrt freq/ GPIO settings. Any Advice would be appreciated, and looking forward...

Dear renjith kumar,
In message a8474bd70903181921p383be5aatcf36a1727f8f3085@mail.gmail.com you wrote:
I was wondering , is there any Discussion or document that describe the way how I can Add a new device to u-Boot.
There is the README, and there is the U-Boot home page, especially http://www.denx.de/wiki/U-Boot/Patches
For example , I have two sequoa based, Custom design.
. I have an FPGA Device at the EBC port of EPx in the second design.
. In a second case, I have an FPGA Device as the PCI card for ppc440EPx.
(May be ok with Normal PCI Detection, but How to drive it ? Any standard approach).
If this is the only difference, then eventually a single new board configuration may be sufficient.
Best regards,
Wolfgang Denk

Dear Wolfgang Denk,
Yes , this is the main configuration changes that I need to worry abt. One quick Doubt, here.... Did you mean, a Same Sequoia configuration can still be OK for this, so that it can list out the two devices (FPGA in EBC and FPGA in PCI interfaces) ?? (provided the clock/Cristal values/settings remain same) .
2) Also , wish to know one more thing along side , Does U-Boot support PCI-SATA Device support , so that I can boot from a SATA - HDD ???
*

Dear renjith kumar,
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
And you not only top-post, you also full-quote. Please make sure to read http://www.netmeister.org/news/learn2quote.html
In message a8474bd70903190141t17658adaxc22437666be83b8d@mail.gmail.com you wrote:
Yes , this is the main configuration changes that I need to worry abt. One quick Doubt, here.... Did you mean, a Same Sequoia configuration can still be OK for this, so that it can list out the two devices (FPGA in EBC and FPGA in PCI interfaces) ?? (provided the clock/Cristal values/settings remain same) .
I don't know your hardware. I cannot comment on this.
Also , wish to know one more thing along side , Does U-Boot support PCI-SATA Device support , so that I can boot from a SATA - HDD ???
On some boards / for some S-ATA controllers it does.
[Full quote deleted.]
Best regards,
Wolfgang Denk

Dear Wolfgang Denk & friendz,
And you not only top-post, you also full-quote. Please make sure to read http://www.netmeister.org/news/learn2quote.html
I am sorry for my crazy randoms mails. Let me correct it henceforth. Thanking you for your supports.
participants (2)
-
renjith kumar
-
Wolfgang Denk