[U-Boot-Users] Hardhat Linux over-riding u-boot IRQ/ PCI configuration mappings

C Doyle cdoyle35 at hotmail.com
Thu Aug 14 17:06:09 CEST 2003


Hello all,
I'm using u-boot4 to boot an MPC8266ADS-PCI board, which does so 
successfully. I have a 4-port USB2.0 hub in one of the pci slots. The 
problem is twofold. 1. When I download hardhat linux to the board using NFS 
it seems to override u-boots PCI memory map, and 2. doesn't seem to pick up 
the Interrupt controller properly as it cannot assign an IRQ to the devices 
(or I am not assigning the IRQ properly). Does anyone know what I have to do 
to change the hardhat settings to either - correctly mirror what has been 
setup in u-boot, or ignore its own settings and simpliy use the existing 
bootloader configuration.  Thanks in advance for any correspondence.


CPU:   MPC8260 (Rev 14, Mask A.0(A) 2K25A) at 198 MHz
Board: Motorola MPC8266ADS
I2C:   ready
DRAM:  SDRAM configuration read from SPD
        Size per side = 16MB
        Organization: 1 sides, 2 banks, 9 Columns, 11 Rows, Data width = 64 
bits
        Refresh rate = 33, CAS latency = 2
        Total size: 16 MB
FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   FCC2 ETHERNET
Hit any key to stop autoboot:  0
TFTP from server 10.137.49.203; our IP address is 10.137.49.201
Filename 'image'.
Load address: 0x100000
Loading:
done
Bytes transferred = 1727680 (1a5cc0 hex)
## Booting image at 00100000 ...
   Image Name:   pciOrigHACK
   Image Type:   PowerPC Linux Kernel Image (uncompressed)
   Data Size:    1727616 Bytes =  1.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
OK
Memory BAT mapping: BAT2=8Mb, BAT3=4Mb, residual: 8Mb
Linux version 2.4.20-pre7 (root at MPC8266) (gcc version 2.95.3 20010315 
(release/MontaVista)) #6 Thu Aug 14 14:26:03 BST 2003
pcibios_alloc_controller
OUTPUT from pcibios_alloc_controllermpc82xx_bridge_init
hostbridge=18c01057


assigning resources

mpc82xx_bridge_init returned success
MPC82XXPCI.C pciauto_bus_scan

PCI Autoconfig: PCIAUTO_SETUP_BARS Found Bus 0, Device 23, Function 0
PCI Autoconfig: BAR 0x10, Mem size=0x1000, address=0xe2fff000
PCI Autoconfig: PCIAUTO_SETUP_BARS Found Bus 0, Device 23, Function 1
PCI Autoconfig: BAR 0x10, Mem size=0x1000, address=0xe2ffe000
PCI Autoconfig: PCIAUTO_SETUP_BARS Found Bus 0, Device 23, Function 2
PCI Autoconfig: BAR 0x10, Mem size=0x100, address=0xe2ffdf00
On node 0 totalpages: 3072
zone(0): 3072 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw mem=12M 
nfsroot=10.137.49.203:/tftpboot/SID 
ip=10.137.49.201:10.137.49.203::255.255.255.192:adsh
Warning: real time clock seems stuck!
Calibrating delay loop... 131.89 BogoMIPS
Memory: 9960k available (1236k kernel code, 540k data, 68k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI:00:00.0 Resource 0 [00000000-0001ffff] is unassigned
PCI:00:00.0 Resource 1 [00000000-00ffffff] is unassigned
PCI: bridge rsrc e1000000..e1ffffff (100), parent c015fd28
PCI: bridge rsrc e2000000..e2ffffff (200), parent c015fd44
PCI:00:17.0: Resource 0: e2fff000-e2ffffff (f=200)
PCI:00:17.1: Resource 0: e2ffe000-e2ffefff (f=200)
PCI:00:17.2: Resource 0: e2ffdf00-e2ffdfff (f=200)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
CPM UART driver version 0.01
ttyS0 on SCC1 at 0x8000, BRG1
ttyS1 on SCC2 at 0x8100, BRG2
pty: 256 Unix98 ptys configured
eth0: FCC ENET Version 0.3, 00:02:b3:b7:c9:41
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
hcd.c: Found HC with no IRQ.  Check BIOS/PCI 00:17.2 setup!
usb-uhci.c: $Revision: 1.275 $ time 17:58:58 Aug 13 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb-ohci.c: found OHCI device with no IRQ assigned. check BIOS settings!
DEBUG Device Disabled!!
usb-ohci.c: found OHCI device with no IRQ assigned. check BIOS settings!
DEBUG Device Disabled!!
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver stv680
stv680.c: [usb_stv680_init:1624] STV(i): usb camera driver version v0.25 
registering
stv680.c: STV0680 USB Camera Driver v0.25
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
IP-Config: Complete:
      device=eth0, addr=10.137.49.201, mask=255.255.255.192, 
gw=255.255.255.255,
     host=ads8266, domain=, nis-domain=(none),
     bootserver=10.137.49.203, rootserver=10.137.49.203, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 10.137.49.203
Looking up port of RPC 100005/1 on 10.137.49.203
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 68k init
init-2.05b#

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail





More information about the U-Boot mailing list