Re: Embedded Linux and PCI (over AT91?)



On Fri, 28 Dec 2007 13:50:57 -0800 (PST), bill.valores@xxxxxxxxx wrote:

The first headache was to choose the processor. I was told that ARM9
is the preferred architecture (for historic reasons, so this issue is
open) and I'm pretty much in favor of Atmel AT91RM9200, mainly because
it appears to have some community mileage (see http://maxim.org.za/at91_26.html
).

[...]

1. Is trying to connect a PCI bus to a AT91 inherently stupid? If so,
why? (I mean, if it was such a good idea, I would expect it
implemented on development boards)

Not exactly stupid, but hard. None of the AT91 members has native PCI, and
so the AT91 Linux port doesn't. You'll have to add a LocalBus-PCI Host
Bridge (fixed-function chip or FPGA), and you'll have to add PCI support to
your Linux kernel. Good luck. I can't guantantee that you are even able to
implement the full PCI 2.2 standard, eg. when it comes to items like
busmaster DMA from/to DRAM.

I'd strongly advise you to stay away from this. If you feel you need PCI,
choose a controller with native PCI support. Even with ARM9 there are
several ones. And MIPS, PPC, Coldfire exist.

And if you need high-speed USB2.0 or Gigabit Ethernet, don't forget
performance. I'm unsure about high-speed USB, but at least for Ethernet the
controller won't gain much from a gigabit phy.

Mit freundlichen Grüßen

Frank-Christian Krügel
.



Relevant Pages

  • [2.6][NETFILTER][e1000 w/NAPI] repeatable deadlock in uP & SMP
    ... Adaptec 2000S ZCR card and two Intel 82544EI Gigabit Ethernet PCI cards ... Stepping- SERR+ FastB2B- ... 01:0c.0 VGA compatible controller: ATI Technologies Inc Rage XL ...
    (Linux-Kernel)
  • [BUG 2.6.23-rc6-mm1] NMI Watchdog detected LOCKUP on CPU 0
    ... 00:01.0 PCI bridge: Intel Corporation 82975X PCI Express Root Port ... 04:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller ... # IPVS transport protocol load balancing support ... # Device Drivers ...
    (Linux-Kernel)
  • [BUG] 2.6.11-rc2 ALSA
    ... AC'97 Audio Controller ... 0000:02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI ... Enabling unmasked SIMD FPU exception support... ... Initializing Cryptographic API ...
    (Linux-Kernel)
  • Kernel 2.6.11-1.27_FC3smp panic with 4Gb of RAM
    ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at e8000000 ... PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1 ... SELinux: Registering netfilter hooks ...
    (Fedora)
  • Sound not working correctly as of 2.6.15-rc1
    ... 00:00.0 Host bridge: VIA Technologies, ... 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge ... VIA VT6420 SATA RAID Controller ...
    (Linux-Kernel)