EP405 (PowerPC) PCI problem

EP405 (PowerPC) PCI problem

Post by Toni Van Remorte » Tue, 01 Apr 2003 19:03:08



Hi all,

When I try to compile the linuxppc_2_4_devel kernel for my EP405 board, I
get this error:

  ppc_4xx-gcc -D__KERNEL__ -I/opt/linuxppc_2_4_devel/include -Wall
  -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
  -fomit-frame-pointer -I/opt/linuxppc_2_4_devel/arch/ppc -fsigned-char
  -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
  -Wa,-m405   -nostdinc -I
  /opt/eldk/usr/lib/gcc-lib/ppc-linux/2.95.4/include
  -DKBUILD_BASENAME=quirks  -c -o quirks.o quirks.c quirks.c:693:
  `PCI_DEVICE_ID_ATI_RADEON_IGP' undeclared here (not in a function)
  quirks.c:693: initializer element is not constant quirks.c:693: (near
  initialization for `pci_fixups[45].device') make[3]: *** [quirks.o]
  Error 1
  make[3]: Leaving directory `/opt/linuxppc_2_4_devel/drivers/pci'
  make[2]: *** [first_rule] Error 2
  make[2]: Leaving directory `/opt/linuxppc_2_4_devel/drivers/pci'
  make[1]: *** [_subdir_pci] Error 2
  make[1]: Leaving directory `/opt/linuxppc_2_4_devel/drivers' make: ***
  [_dir_drivers] Error 2

Seems a PCI-problem somehow. But I wonder why this
PCI_DEVICE_ID_ATI_RADEON_IGP shows up.
Any ideas?
--
Greetings, ToniVR

 
 
 

EP405 (PowerPC) PCI problem

Post by Toni Van Remorte » Tue, 01 Apr 2003 23:02:44



> Hi all,

> When I try to compile the linuxppc_2_4_devel kernel for my EP405 board,
> I get this error:

>   ppc_4xx-gcc -D__KERNEL__ -I/opt/linuxppc_2_4_devel/include -Wall
>   -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
>   -fno-common -fomit-frame-pointer -I/opt/linuxppc_2_4_devel/arch/ppc
>   -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
>   -mmultiple -mstring -Wa,-m405   -nostdinc -I
>   /opt/eldk/usr/lib/gcc-lib/ppc-linux/2.95.4/include
>   -DKBUILD_BASENAME=quirks  -c -o quirks.o quirks.c quirks.c:693:
>   `PCI_DEVICE_ID_ATI_RADEON_IGP' undeclared here (not in a function)
>   quirks.c:693: initializer element is not constant quirks.c:693: (near
>   initialization for `pci_fixups[45].device') make[3]: *** [quirks.o]
>   Error 1
>   make[3]: Leaving directory `/opt/linuxppc_2_4_devel/drivers/pci'
>   make[2]: *** [first_rule] Error 2
>   make[2]: Leaving directory `/opt/linuxppc_2_4_devel/drivers/pci'
>   make[1]: *** [_subdir_pci] Error 2
>   make[1]: Leaving directory `/opt/linuxppc_2_4_devel/drivers' make: ***
>   [_dir_drivers] Error 2

> Seems a PCI-problem somehow. But I wonder why this
> PCI_DEVICE_ID_ATI_RADEON_IGP shows up. Any ideas?

Problem solved by commenting out line 693 :-)

--
Greetings, ToniVR


 
 
 

EP405 (PowerPC) PCI problem

Post by Johannes Hausensteine » Tue, 27 May 2003 15:55:10


Hi there,

I have an IBM "Walnut" development system for embedded IBM PowerPC.
The board has a GP405 processor an is mounted into an ATX case.
As I do not need it anymore I want to sell it.

Please email me:


Thanks,

Johannes

 
 
 

1. EP405 and PCI and IRQ problem

Hi All,
    Currently, I am using Embedded Planet's EP405 development board.  I
would like to use a USB device with it, but there is no USB connection on
the EP405 board.  So I connect a PCI to PC104-plus adapter to the EP405,
then connnect a PCI to USB 2.0 card.  But right now the USB driver is
complain about it can't not get a irq.

    I have tried to move the jumper on the adapter to different setting, but
there is no use.  Also, I have changed the register on the EP405 board to
the appropriate setting, like enable local PCI IRQ controller and changed
the PCI  (INTA compliment) to enable.  But it still not working.

    Have anyone does anything similar to this or can give me hint or
pointer?  I am running out of idea.

The following is the info and the bootup log

kernel version : 2.4.22 download from http://penguinppc.org/
USB 2.0 board is using VIA chipset
the PCI to PC104-plus adapter is Sensoray's Model 328.

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
hcd.c: Found HC with no IRQ.  Check BIOS/PCI 00:0a.2 setup!
host/usb-uhci.c: $Revision: 1.275 $ time 18:49:57 Sep 16 2003
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
host/usb-ohci.c: found OHCI device with no IRQ assigned. check BIOS
settings!
host/usb-ohci.c: found OHCI device with no IRQ assigned. check BIOS
settings!
usb.c: registered new driver hiddev
usb.c: registered new driver hid

hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

The following is the info I got from /proc after it boots up.

PCI devices found:
  Bus  0, device  10, function  0:
    USB Controller: NEC Corporation USB (rev 65).
      Master Capable.  Latency=128.  Min Gnt=1.Max Lat=42.
      Non-prefetchable 32 bit memory at 0xbffff000 [0xbfffffff].
  Bus  0, device  10, function  1:
    USB Controller: NEC Corporation USB (#2) (rev 65).
      Master Capable.  Latency=128.  Min Gnt=1.Max Lat=42.
      Non-prefetchable 32 bit memory at 0xbfffe000 [0xbfffefff].
  Bus  0, device  10, function  2:
    USB Controller: NEC Corporation USB 2.0 (rev 2).
      Master Capable.  Latency=128.  Min Gnt=16.Max Lat=34.
      Non-prefetchable 32 bit memory at 0xbfffdf00 [0xbfffdfff].

and the following is the info I get after I mount the usbfs and look at the
driver file

         usbdevfs
         hub
 96-111: hiddev
         hid
         usb-storage

Thank you very much

Shih-Ying Chou

2. fdisk and partitions

3. Problem with EP405's PCI

4. rpc.mountd cannot connect

5. Problem regrading EP405, PCI and IRQ

6. NT 4.0 bluescreens after installing over linux

7. powerpc-linux, powerpc-eabi, powerpc-eabisim

8. kpackage?

9. Need help for pci driver on powerpc

10. Here's some tips for PCI network cards and the PowerPC!

11. PowerPC Linux and PCI

12. Powerpc PCI Ethernet

13. EP405 Kernel Panic