Page 2
Trademarks AMD, the AMD Arrow logo, and combinations thereof, and Geode, GeodeLink, Virtual System Architecture, and XpressGRAPHICS are trademarks of Advanced Micro Devices, Inc. Windows is a registered trademark of Microsoft Corporation in the United States and/or other jurisdictions.
Overview Introduction This document describes the changes needed for GeodeROM and other BIOSs to support the AMD Geode™ GX proces- sor and the AMD Geode™ CS5535 companion device. GeodeROM requires modifications for hardware initialization and specific implementations. Each section targets the GeodeROM changes needed to support the GX processor/CS5535 device system. Where appro- priate, the changes list the “Entry Conditions”...
MSR_CPUID1 RDMSR edx, ‘duol’ WRMSR ; Done AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide 2.0Model Specific Registers ; get values ; write edx:eax to MSR in ecx. No change to eax. ; No change to eax 32430C...
Page 12
32430C Model Specific Registers AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide...
GeodeLink™ Architecture GeodeLink™ architecture connects the internal modules of the AMD Geode™ GX processor using the data channels pro- vided by GeodeLink Interface Units (GLIUs). GeodeLink modules are connected to GLIU ports 1 – 7 as shown in Figure 3- 1.
• Base Mask - Covers an I/O range that is a power of 2 in size. • Swiss Cheese - Covers an 8-byte region split into 1-byte pieces to a module or the subtractive port. AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide GeodeLink™ Architecture...
Initialization Processor Initialization The AMD Geode™ GX processor contains many of the components normally found in system support chipsets. GeodeROM must set up these components, including the DRAM controller, L1 cache controller, clock control, and PCI con- troller as well as some proprietary systems like GeodeLink™ architecture.
Page 16
The SDRAM clock is set up prior to reset by the clock initialization. • Address, bank, registered/unbuffered, and other values read from the SPD. • Size memory in DIMM socket(s). • Program Memory Controller. • Set default refresh to an appropriate value. AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide Initialization...
Page 17
— Set the refresh rate of the DIMM – SPD byte 12: Refresh Rate/Type. — Load RDSYNC counter with sync value. Note: See the AMD Geode™ GX Processors Data Book (publication ID 31505) for bit descriptions and allocation. 4.1.4 Test Extended DRAM Entry Conditions: 4 GB descriptor in FS Core register.
Page 18
Each GeodeLink module has standard MSRs. GLD_MSR_CONFIG is one of the standard registers located at address 2001h in the GX processor and 0001h in the CS5535 companion device. Two fields in some of the GLD_MSR_CONFIG registers can affect the module priority: Priority Level (PRI0) and Priority Domain (PID). These values default to zero. In the case of data starvation or saturation on the GLIU, GeodeROM can adjust these values as recommended by AMD.
Page 19
P2D_BMO 10000026h 10000027h P2D_R 10000028h P2D_RO 10000029h 1000002Ah 1000002Bh P2D_SC 1000002Ch AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide GLIU0 00000000h-00007FFFh 00080000h-0009FFFFh 4FFFC000h-4FFFFFFFh 000A0000h-000BFFFFh Not used by GeodeROM. Not used by GeodeROM. 40400000h-4043FFFFh Not used by GeodeROM. 00100000h-0E7BFFFFh 50000000h-517FFFFFh 4FFF8000h-4FFFBFFFh Not used by GeodeROM.
The Diverse Device (DD) is a collection of new and legacy devices that are located in I/O space and connected by the Local bus. It is also the subtractive decode port of the CS5535. Any memory or I/O not claimed by the DD is passed on to the Low Pin Count (LPC) bus.
Page 21
GPIOs 0 through 15 while the High bank deals with GPIOs 16 through 31. Be aware of specification update issue #113 in certain silicon revisions (as of this writing, see AMD Geode™ CS5535 Companion Device Specification Update Silicon Revision A3 (publication ID 31534)).
Page 22
Initialize COM ports, LPT ports, RTC. Initialization: These devices are initialized in the same fashion as with a normal SuperI/O and CS5535. Any MSR reg- ister settings will be done in chipset individualization. GeodeROM can handle multiple devices and loca- tions by design.
Page 23
6600h Flash BAR 6700h Flash BAR 9C00h ACPI - Subdivide to support GX processor and CS5535 companion device 9D00h Power Management Logic - Placed at the end of ACPI 4.2.5 ATA-5 / Hard Drive Initialization Hard drive initialization is handled by a system ROM that is loaded by GeodeROM. The hard drive ROM contains the hard drive initialization, the PIO modes support, and the interrupt support.
PCI Bus Initialization The GX processor does not incorporate a standard PCI bus controller. The GX processor and CS5535 devices do not have PCI headers. VSA emulates all the PCI headers and the GeodeLink is configured to route memory and I/O for those mod- ules.
SoftVG needs an extra hole at B000h-B7FFh when a mono card is present. 4.5.1.2 Dual Monitor Support GeodeROM provides dual monitor support. GeodeROM assumes that the external card is the primary graphics card and that the XpressGRAPHICS™ system is secondary. AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide 32430C...
5.1.3 Post Codes Post codes are sent out to port 80 throughout GeodeROM. A Post codes list is available in the AMD Geode™ GeodeROM Functional Specification (publication ID 32087) to help users debug their problems. AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide 32430C 5.0Implementation...
— Default: disabled • LPT enable/disable — Default: 378 Note: If a setting is incorrect and the system cannot boot three times, CMOS is reset to the default setup options. AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide 32430C 6.0Setup Options...
Figures 7-1, 7-2, and 7-3 show the system memory. Figure 7-1 is the GLIU Descriptor Map, Figure 7-2 shows the Core Cache descriptors, and Figure 7-3 on page 32 shows the Core cache region configurations. Figure 7-4 on page 33 shows the flow of GeodeROM in the GX processor/CS5535 system. Frame Buffer Offset...
Page 32
Frame Buffer Extended Memory System and Option ROMs Conventional Memory SMM and DMM header and table walk properties Not Used AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide Memory Map FFFC0000h 50000000h 40400000h subtracted from Extended Memory Top of DRAM...
Page 33
SKUs for each revision of the CPU. PLL settings can be set manually for debug. Figure 7-4. GeodeROM Flow - GX Processor/CS5535 Device AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide Reset Fetch CPU ID Correct?
Page 34
Northbridge Initialization and CPU Bug Fixes CS5535 descriptor Chipset set here, Initialization after shadow. SuperI/O Initialization Figure 7-4 "GeodeROM Flow - GX Processor/CS5535 Device" (Continued) Enable Interrupts Initialization System ROM Initialization PCI and Video Option ROM Initialization Keyboard F1 Pressed?
Need help?
Do you have a question about the CS5535 and is the answer not in the manual?
Questions and answers