![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1005266.1 : Sun Ultra[TM] 45 Workstation: Analyzing Device Nodes
PreviouslyPublishedAs 207369 Applies to:Sun Ultra 45 Workstation - Version Not Applicable and laterAll Platforms GoalAs part of the boot process, a device tree mapping of the system devices is created. Each device needs to be recognized at the firmware level to be understood at the Solaris[TM] Operating System level. FixSteps to Follow CPU and Memory Address Mapping ============================== The system processors use the following base address, and are then mapped to individual address offsets, where you have the device type, here SUNW,UltraSPARC-IIIi, followed by the address information, which includes the processor number and the address offset: /SUNW,UltraSPARC-IIIi@0,0 ^^^^^^^^^^^^^^^^^^^^ ^ ^ | | | CPU device | Adress offset | | CPU number The memory controller uses the following base address, where the device name is memory-controller, followed by the processor number and the address offset: /memory-controller@0,0 ^^^^^^^^^^^^^^^^ ^ ^ | | | Memory controller | Adress offset device | | | CPU number The DIMMs are accessible through their FRUID, which is maintained by the I2C bus. DIMMs use the following base address, where the DIMM is located off one of the I2C busses. This is followed by the device name, dimm-spd, followed by an I2C address for that DIMM: /i2c@1f,520000/dimm-spd@0,a6 ^^^^^^^^^^^^^ ^ ^ | | | I2C bus | I2C address offset | | DIMM device In above case, the address maps to DIMM 3 on processor 0. The following table is the list of I2C address for the DIMMs: ----------------------------------------------------------- CPU0 | CPU1 ----------------------------------------------------------- I2C Address | DIMM Number | I2C Address | DIMM Number -------------|---------------|--------------|-------------- 0xa0 | DIMM0 | 0xa8 | DIMM4 -------------|---------------|--------------|-------------- 0xa2 | DIMM1 | 0xaa | DIMM5 -------------|---------------|--------------|-------------- 0xa4 | DIMM2 | 0xac | DIMM6 -------------|---------------|--------------|-------------- 0xa6 | DIMM3 | 0xae | DIMM7 -------------|---------------|--------------|-------------- PCI Address Mapping =================== There are six PCI-E busses and two PCI-X busses throughout the workstation, and each have their own individual address. Devices off the PCI path use the format /PCI_bus/device_driver@device_number.: /pci@1e,600000/pci@0/pci@9/pci@0,2/SUNW,XVR-100@2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^ | | | PCI bus Device Address The following table lists the 'Base PCI Slot paths' for PCI and PCI-E devices: -------------------------------------------------------- PCI Bus | Device Path -----------|-------------------------------------------- pci0 | /pci@1e,600000/pci@0/pci@9/pci@0,2/@2 -----------|-------------------------------------------- pci1 | /pci@1e,600000/pci@0/pci@9/pci@0,2/@1 -----------|-------------------------------------------- pci2 | /pci@1e,600000/pci@0/pci@3/@0 -----------|-------------------------------------------- pci3 | /pci@1e,600000/pci@0/pci@8/@0 -----------|-------------------------------------------- pci4 | /pci@1f,700000@0 -----------|-------------------------------------------- The devices on the PCI busses use the addresses shown in the following table: ----------------------------------------------------------------- Device Address Mapping ----------------------------------------------------------------- Device | Description | Device | Path Name | | Number | ----------------------------------------------------------------- | PCI-E slot | 1 |/pci@1f,700000/device@1 | PCI-E2 | | --------|-----------------|--------|-------------------------------------------- | PCI-E slot | 1 |/pci@1e,600000/pci@0/pci@3/device@1 | PCI-E1 | | --------|-----------------|--------|-------------------------------------------- | PCI-E slot | 1 |/pci@1e,600000/pci@0/pci@8/device@1 | PCI-E0 | | --------|-----------------|--------|-------------------------------------------- | PCI-X slot | 1 |/pci@1e,600000/pci@0/pci@9/pci@0,2/device@1 | PCI-X1 | | --------|-----------------|--------|-------------------------------------------- | PCI-X slot | 2 |/pci@1e,600000/pci@0/pci@9/pci@0,2/device@2 | PCI-X0 | | --------|-----------------|--------|-------------------------------------------- scsi | SCSI controller | 0 |/pci@1e,600000/pci@0/pci@9/pci@0/scsi@1 --------|-----------------|--------|-------------------------------------------- usb | USB controller | 0 |/pci@1e,600000/pci@0/pci@1/pci@0/usb@1c --------|-----------------|--------|-------------------------------------------- sound | Audio device | 0 |/pci@1e,600000/pci@0/pci@1/pci@0/sound@1d --------|-----------------|--------|-------------------------------------------- ide | IDE controller | 0 |/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f --------|-----------------|--------|-------------------------------------------- pmu | Power | 0 |/pci@1e,600000/pci@0/pci@1/pci@0/pmu@1e,1 | management | | | unit | | --------|-----------------|--------|-------------------------------------------- network | Network | 0 |/pci@1e,600000/pci@0/pci@2/pci@0/network@4 | interface 0 | | --------|-----------------|--------|-------------------------------------------- network | Network | 1 |/pci@1e,600000/pci@0/pci@2/pci@0/network@4,1 | interface 1 | | --------|-----------------|--------|-------------------------------------------- Note- Until a device is installed in a PCI slot, no device name will be visible for that device number. I2C and EBus Device Address Mapping =================================== There are three I2C busses for the workstation and one EBus path. The paths are listed in the following table: ---------------------------------------- I2C and EBus Base Device Paths ---------------------------------------- Bus | Base Path ----------|----------------------------- I2C 0 | /i2c@1f,520000 ----------|----------------------------- I2C 1 | /i2c@1f,530000 ----------|----------------------------- EBus | /ebus@1f,46400 ----------|----------------------------- Env_I2C | /ebus@1f,46400/i2c@3,80 ----------|----------------------------- There are several devices represented under the I2C busses. Each device has a unique address as defined in the following table. I2C Device Address Mapping ----------------------------------------------------------------------------- Device Bus | Device Name@Address | Description Base Path | | -----------|-----------------------------|----------------------------------- I2C 0 | dimm-spd@0,offset | DIMM device -----------|-----------------------------|----------------------------------- I2C 1 | gpio@0,30 | GPIO device |-----------------------------|----------------------------------- | motherboard-fru-prom@0,a2 | Motherboard FRU device -----------|-----------------------------|----------------------------------- Env_I2C | gpio@0,30 | GPIO device |-----------------------------|----------------------------------- | front-io-fru-prom@0,a4 | Front I/O board FRU device |-----------------------------|----------------------------------- | sas-backplane-fru-prom@0,a6 | SAS/SATA disk backplane FRU device |-----------------------------|----------------------------------- | psu-fru-prom@0,ae | Power supply unit FRU device -----------|-----------------------------|----------------------------------- The EBus device paths are listed in the following table: EBus Device Path --------------------------------------------------------------------------- Device Name | Description | Device | Path | | Number | ------------|-------------------|--------|--------------------------------- serial | Serial port 1 | 1 | /ebus@1f,46400/serial@2,0 ------------|-------------------|--------|--------------------------------- serial | Serial port 2 | 0 | /ebus@1f,46400/serial@2,80 ------------|-------------------|--------|--------------------------------- env-monitor | Environmental | 0 | /ebus@1f,464000/env-monitor@3,0 | monitoring device | | ------------|-------------------|--------|--------------------------------- power | Power button | 0 | /ebus@1f,464000/power@3,e0 ------------|-------------------|--------|---------------------------------
Attachments This solution has no attachment |
||||||||||||
|