![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||||||||||||||
Solution Type Technical Instruction Sure Solution 1433903.1 : U-Boot Diagnostics on Oracle X86-based Systems
In this Document
Oracle Confidential PARTNER - Available to partners (SUN). Applies to:Sun Netra X4270 Server - Version Not Applicable and laterNetra Server X3-2 - Version Not Applicable and later Sun Netra X6270 M2 Server Module - Version Not Applicable and later Sun Blade X6270 Server Module - Version Not Applicable and later Sun Fire X4800 Server - Version Not Applicable and later Information in this document applies to any platform. GoalThis document explains how to access SP Preboot menu and manually run U-Boot diagnostics. The preboot menu described in this document and the examples are related to X86 platforms shipped with the AST2100 (or later) Service Processor chipset. Solution1. Oracle x86 diagnostics utilitiesOracle provides several diagnostic tools to identify possible hardware issues on X86 platforms and isolate hardware failure.
2. Uboot OverviewUboot is integrated in the Service Processor firmware and only available through local or remote serial connection.
3. Preboot menu OverviewPreboot menu can be accessed booting the SP and interrupting the boot process.
Note: The Preboot menu may vary depending on the SP chipset used (MPC8248/AST2000/AST2100/AST2300)
4. Initial set up (bootdelay/check_physical_presence)To access the preboot menu, you must boot the SP and interrupt the boot process. There are two ways to interrupt the ILOM boot process: -> reset /SP
Booting linux in 3 seconds...
Preboot> edit
Press Enter by itself to reach the next question. Press control-C to discard changes and quit. Values for baudrate are {[ 9600 ]| 19200 | 38400 | 57600 | 115200 }. Set baudrate? [9600] Values for serial_is_host are {[ 0 ]| 1 }. Set serial_is_host? [0] Values for bootdelay are { -1 | 3 | 10 | 30 }. Set bootdelay? [3] 30 Set bootdelay? [30] Values for bootretry are { -1 | 30 | 300 | 3000 }. Set bootretry? [-1] Values for diags_mode are {[ Normal ]| Quick | Extended | Skip }. Set diags_mode? [Normal] Values for preferred are {[ 0 ]| 1 }. Set preferred? [<not set>] Values for preserve_conf are {[ yes ]| no }. Set preserve_conf? [yes] Values for check_physical_presence are {[ yes ]| no }. Set check_physical_presence? [yes] no Set check_physical_presence? [no] Enter 'y[es]' to commit changes: [no] y Summary: Changed 2 settings. Preboot>
# fw_setenv bootdelay 10
# fw_setenv check_physical_presence no
5. How to manually execute Uboot and Preboot diagnosticsSP diagnostics are executed on any SP reset condition. The 3 available Diagnostics Modes are:
Normal mode is the default but diagnostic mode can be set to Quick or Extended during SP startup when you see the message: Enter Diagnostics Mode ['q'uick/'n'ormal(default)/e'x'tended(manufacturing mode)] ..... 3
Diagnostics Mode - NORMAL <DIAGS> Memory Data Bus Test ... PASSED <DIAGS> Memory Address Bus Test ... PASSED <DIAGS> Flash ID Test - Flash Bank 1 ... PASSED <DIAGS> PHY #0 R/W Test ... PASSED <DIAGS> PHY #0 Link Status ... PASSED <DIAGS> ETHERNET PHY #0, Internal Loopback Test ... PASSED Host in ON, Skipping HOST-based tests
Preboot> help
Commands and keywords are case-sensitive and do not abbreviate. Type "help cmd" [Enter] for summary of 'cmd' command. boot Boot ILOM (bootcmd="bootpkg"). vers {[ brief ]| all } Show versions. show {[ brief ]| all | date | env } Show settings. edit Change settings, other than SP network. diag { quick | normal | extended | help | test_* ... | util_* ... } Run pre-boot diagnostics or any "test_*" or "util_*" command. host { console | clearcmos | show | enable-on | hard-off } Connect to host console, clear CMOS settings, enable/kill power. net { config | dhcp | ping | flash } Type "help net FUNC" for help on that function. net config Change SP network settings (static? <Missing> on SP/NET0). net dhcp Request or renew a DHCP lease for "net" commands. net ping <192.168.33.44> Ping the IPv4 host (numeric). net flash <11.22.33.44> <tftpFile.flash> Download an ILOM flash image via TFTP and update ILOM in flash. reset {[ warm ]| cold } reset [warm] Warm-reset the SP. unconfig { ilom_conf | most | all } unconfig ilom_conf Set 'preserve_conf' to 'no' for next ILOM boot, but keep SP network and baudrate, preferred, check_physical_presence. help [cmd] h[elp] Print list of commands. Preboot>
Preboot> help diag
diag { quick | normal | extended | help | test_* ... | util_* ... } Run pre-boot diagnostics or any "test_*" or "util_*" command.
Preboot> diag help
test_all - Run all Tests test_bootflash - Boot Flash Test Commands test_ethernet - Ethernet PHY Test Commands test_fb_leds - Tests fan board leds test_fbf_leds - Tests fan board fail leds only test_hostmem - Test SPD content of RISER DIMM's test_i2c_busses - Test I2C Busses test_i2cprobe - Test I2C Probe test_mb_leds - Tests main board leds test_memory - Memory Test Commands test_pb - Tests various push buttons test_riser_leds - Tests riser board leds test_rtc - Diagnostics Tests for RTC DS1338 test_ssd_leds - Tests ssd leds test_usb11 - USB 1.1 Test Commands test_usb20 - USB 2.0 Test Commands test_watchdog - Probe WATCHDOG Addresses util_bootflash - Boot Flash Utility Commands util_ethernet - Ethernt PHY Utility Commands util_hostmem - Test VPD content of DIMM's util_memory - Memory Utility Commands util_pwrcpld - PowerCPLD Utility Commands Preboot>
6. ExamplesOutput from below examples and more can be found here: UBOOT_EXAMPLES Preboot> diag test_all run
Preboot> diag extended Preboot> diag test_i2c_busses
Preboot> diag util_memory meminfo
Preboot> diag util_pwrcpld version
Preboot> net dhcp
Preboot> net flash 10.8.173.25 images/system-rom.flash
Preboot> show all
Preboot> host clearcmos
Preboot> unconfig all
7. Restore ILOM firmware image using the preboot menuNote that the "net flash" option has been removed from ILOM preboot environment to prevent flashing unsigned packages, this will apply to both x5 and x6.
Bug 17382740 : PREBOOT "NET FLASH" COMMAND OPTION NEEDS TO BE REMOVED FROM HELP - Manually assign an IP to the ILOM using: Preboot> net dhcp
or Preboot> net config
Preboot> net ping IPaddress
Preboot> net flash IPaddress path/name.flash
Preboot> net flash 10.8.173.25 images/system-rom.flash
Preboot>
Preboot> reset
8. ReferencesOracle recommends to keep X86 platforms up to date. Refer to the Firmware Downloads and Release History for Sun Systems: Internal documents to assist Oracle engineers in diagnosis: How to perform onsite diagnosis for a down x86 AMD system <Document: 1383349.1> How to perform onsite diagnosis for a down x86 Intel system <Document: 1418253.1> Attachments This solution has no attachment |
||||||||||||||||||||||||||||||||
|