znnnz 发表于 2014-09-03 18:58

T4-2升级固件记录

本帖最后由 znnnz 于 2014-09-03 19:00 编辑



-> set /SP/network commitpending=true
Set 'commitpending' to 'true'


-> set /SP/network pendingipaddress=192.168.0.96
Set 'pendingipaddress' to '192.168.0.96'


-> set /SP/network pendingipdiscovery=static
Set 'pendingipdiscovery' to 'static'


-> set /SP/network pendingipnetmask=255.255.255.0
Set 'pendingipnetmask' to '255.255.255.0'


-> set /SP/network pendingipgateway=192.168.0.1
Set 'pendingipgateway' to '192.168.0.1'



-> set /SP/network state=enabled
Set 'state' to 'enabled'




-> show /HOST obp_version

/HOST
    Properties:
      obp_version = OpenBoot 4.34.2.a 2012/11/02 08:26



-> show /HOST sysfw_version

/HOST
    Properties:
      sysfw_version = Sun System Firmware 8.2.2.c 2012/12/11 20:49


-> load -source tftp://192.168.0.198/Sun_System_Firmware-8_5_1_b-SPARC_T4-2.pkg

NOTE: An upgrade takes several minutes to complete. ILOM
      will enter a special mode to load new firmware. No
      other tasks can be performed in ILOM until the
      firmware upgrade is complete and ILOM is reset.

Are you sure you want to load the specified file (y/n)? y
Preserve existing configuration (y/n)? y
....................................................................................................................

Firmware update is complete.
ILOM will now be restarted with the new firmware.


-> /sbin/reboot
INSwitchinWatchdogd: Stopping patting ... Done
Stopping portmap daemon: portmap.
Stopping : consdDone
Stopping CDServer: cdserverDone
Stopping FDServer: fdserverDone
Stopping HIDServer: hidserver start-stop-daemon: warning: failed to kill 1390: No such process
Done
Stopping Network Interface Plugging Daemon: eth0.
Stopping Token Server: tokendDone
Stopping Video Server: adviserdDone
Stopping : webgoDone
Stopping the Health Monitor Daemon...
Stopping Serial Server: serialdDone
Stopping : eventmgrDone
Stopping IPMI Stack:Done
Stopping OpenBSD Secure Shell server: sshd.
Stopping bbrd...
Stopping periodic command scheduler: cron.
Stopping Host deamon: hostdDone
Saving the System Clock time to the Hardware Clock...
Hardware Clock updated to Wed Sep3 09:59:49 GMT 2014.
Stopping Platform Obfuscation Daemon: podDone
Stopping : vbscDone
Unmounting remote and non-toplevel virtual filesystems...done.
Created dump file: /coredump/sp_trace/reboot/dump.gz
Unmounting local filesystems...done.
Stopping : dynafrudDone
.
Sending all processes the TERM signal...done.
Sending all processes the KILL signal...done.
Rebooting... Restarting system.

Primary Bootstrap.


U-Boot 1.1.4

Custom AST2100 U-Boot 3.0 (Jul 11 2014 - 14:59:12) r90525

VGA buffer reserved 0x800000 bytes at 0x7800000
sptrace allocated 0x100000 bytes at 0x7700000
DRAM:119 MB
Flash bank 0 at 10000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz 64).
Flash bank 1 at 12000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz 64).
Flash: 64 MB
Protecting U-Boot flash sectors; monitor_base=11040000.
H/W:   AST2200 SP Service Processor; SOC: AST2200 Rev. 02 ('A0')
ARM restart caused by: watch-dog ExtRst# pin
Galactic1: 0x4002e9c0, Galactic2: 0x0
The host is OFF(S5) (hostWantsPwr=0, powerGood=0,
      allowPwrOn=1|0, outOfReset=0, fatalError=0).
Reset straps=0x08819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal speed
PCI w/VGA noVBIOS;NOR 38ns/byte;DRAM clock is M-PLL: 264 MHz (DDR2-528)
DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us refr, DQSipv=0x2020202

FPGA Version : 4.4.4.6
### Warning: RTC oscillator has/was stopped
Date: 2014-09-03 (Wednesday)    Time: 10:00:05
Net:   faradaynic#0, faradaynic#1
Enter Diagnostics Mode ['q'uick/'n'ormal(default)/e'x'tended(manufacturing mode)] .....   0
Diagnostics Mode - NORMAL
<DIAGS> Memory Data Bus Test ... PASSED
<DIAGS> Memory Address Bus Test ... PASSED
I2C Probe Test - SP
      Bus   Device                        Address Result
      ===   ============================    ======= ======
         6                  SP FRUID (U1101)    0xA0    PASSED
         6               DS1338(RTC) (U1102)    0xD0    PASSED

<DIAGS> PHY #0 R/W Test ... PASSED
<DIAGS> PHY #0 Link Status ... PASSED
<DIAGS> ETHERNET PHY #0, Internal Loopback Test ... PASSED
checking for abnormal reboots: 0.
Booting linux in 0 seconds...
Un-Protect Flash Bank # 1
Un-Protect Flash Bank # 2
flctrl: Recovery U-Boot (r77667) at 0x10040000 is valid (min. r39727).
Trying primary image...
Trying to boot package at 110a0000
Found kernel image at 110a2000
Found root image at 111f5a6c
copying 0x00054040 bytes from 0x111f5a6c to 0x00800000
bootargs= root=/dev/ramramdisk_size=336console=ttyS0,9600 bigphysarea=6144 ractrends.mtdblocks=env,0x20000,0x20000,realroot,0x1340000,0xc40000,vbscdir,0x1fa0000,0x40000,params,0x2000000,0x400000,persist,0x2400000,0x1000000,coredump,0x3400000,0xc00000,
## Booting image at 110a2000 ...
   Image Name:   Linux-2.6.27.43
   Created:      2014-07-1121:53:00 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1391148 Bytes =1.3 MB
   Load Address: 00008000
   Entry Point:00008000
   Verifying Checksum ... OK
OK
do_bootm_linux() armlinux.c:109
bootm
0x110a2000
0x00800000
theKernel=00008000
do_bootm_linux() armlinux.c:126 - 9
## Loading Ramdisk Image at 00800000 ...
do_bootm_linux() armlinux.c:160 - 10
   Image Name:
   Created:      2014-07-1122:45:24 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    344064 Bytes = 336 kB
   Load Address: 00000000
   Entry Point:00000000
   Verifying Checksum ... OK
do_bootm_linux() armlinux.c:187 - 11
do_bootm_linux() armlinux.c:250 - 15
arch_number = 0x00000386
env_t       = 0x01ED0008
boot_params = 0x40000100
DRAM bank   = 0x00000000
-> start    = 0x00000000
-> size   = 0x07700000
ethaddr   = 00:10:E0:3A:58:F3
eth1addr    = 00:10:E0:3A:58:F2
ip_addr   = 0.0.0.0
baudrate    = 9600 bps
Sun extensions:
bi_UBootEnvAddr   = 0x10020000
bi_UBootEnvSize   = 0x00020000
bi_flashstart       = 0x10000000
bi_flashsize      = 0x04000000
bi_flashbanksize    = 0x02000000
bi_flashbanks       = 0x02
bi_flashbankwidth   = 0x01
bi_flashsectorsize= 0x00020000
bi_flashsectorcount = 0x00000200
bi_boottype         = 0x02
bi_primarytype      = 0x02
bi_secondarytype    = 0x02
bi_booted         = 0x110a0000
bi_primary          = 0x11040000
bi_secondary      = 0x10040000
bi_primaryhdr       = 0x110a0000
bi_secondaryhdr   = 0x100a0000
bi_imagearea0       = 0x10040000
bi_imagearea1       = 0x11040000
bi_maximagesize   = 0x00fc0000
bi_min_firmware_rev = 0
bi_sptrace_base   = 0x07700000
bi_sptrace_len      = 0x00100000
bi_vga_driver_base= 0x00000000
bi_vga_driver_len   = 0x00000000
bi_apbclockhz       = 0x03ef1480

H/W:   AST2200 SP Service Processor; SOC: AST2200 Rev. 02 ('A0')
The host is OFF(S5) (hostWantsPwr=0, powerGood=0,
      allowPwrOn=1|0, outOfReset=0, fatalError=0).
ARM Control reg: RR=0 HV=0 IC=1 BPd=0 RomP=0 SysP=0 BE=0 WB=1 DC=0 AlinFlt=1 MMU=0
Cache Type reg: CType=0xe WB, sep.; I: 16KB of 32B lines 4-way; D: 16KB of 32B lines 4-way
      IC locked ways(3:0): 0000b, DC locked ways: 0000b
Reset straps=0x08819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal speed
H-PLL (params=0x04291) 264.000 MHz, M-PLL params=0x04120-->264.000 MHz
CPUCLK: H-PLL/1=264 MHz, AHB HCLK: CPUCLK/2=132 MHz, APB PCLK: H-PLL/4= 66 MHz
PCI w/VGA noVBIOS;NOR 38ns/byte;DRAM clock is M-PLL: 264 MHz (DDR2-528)
Bus-master-mode clocks: LPC LHCLK= 33 MHz
Stopped clocks: vidCap-1, SP-Display, HACE
DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us refr, DQSipv=0x2020202
Reset controls: HACE, PwmFt, PECI, displays, MDMA
Register protect: SCU UNprot, DMC prot, AHBC prot, VIC U-prot
Ethernet MAC-PHY interface mode=6 (RMII + RMII), no MII2DC+DIO pins
do_bootm_linux() armlinux.c:266
do_bootm_linux() armlinux.c:269
do_bootm_linux() armlinux.c:273
do_bootm_linux() armlinux.c:277
do_bootm_linux() armlinux.c:289
do_bootm_linux() armlinux.c:293
do_bootm_linux() armlinux.c:297
do_bootm_linux() armlinux.c:305
Galactic register 1: 400329c0
Starting watchdog timer.
ast_init_watchdog: SCU registers are already unlocked.

Starting kernel at 0x00008000...

do_bootm_linux() armlinux.c:330
do_bootm_linux() armlinux.c:334 (0x00000386,0x40000100)
Uncompressing Linux.......................................................................................... done, booting the kernel.
Linux version 2.6.27.43 (ilom@oracle) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 Fri Jul 11 14:52:48 PDT 2014
CPU: ARM926EJ-S revision 5 (ARMv5TEJ), cr=00053177
Machine: ASPEED-AST2100
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 30226
Kernel command line: root=/dev/ramramdisk_size=336 console=ttyS0,9600 bigphysarea=6144 ractrends.mtdblocks=env,0x20000,0x20000,realroot,0x1340000,0xc40000,vbscdir,0x1fa0000,0x40000,params,0x2000000,0x400000,persist,0x2400000,0x1000000,coredump,0x3400000,0xc00000,
PID hash table entries: 512 (order: 9, 2048 bytes)
console enabled
mach/timer.c: Just lost 86 clock interrupts.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119MB = 119MB total
Memory: 92756KB available (2564K code, 232K data, 120K init)
Calibrating delay loop... 131.48 BogoMIPS (lpj=657408)
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: Testing write buffer coherency: ok
net_namespace: 804 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 336K
NetWinder Floating Point Emulator V0.97 (double precision)
bigphysarea: Allocated 6144 pages at 0xc0855000.
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 182
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered (default)
ttyS0 at MMIO 0x1e783000 (irq = 9) is a GUC-ASPEED UART
ttyS1 at MMIO 0x1e784000 (irq = 10) is a GUC-ASPEED UART
brd: module loaded
loop: module loaded
FTGMAC100: ASPEED FTGMAC Driver, (Linux Kernel 2.6.28.9) 09/18/2010 - by ASPEED (NAPIv1.1 delay-work, bgt-16,periodic-1,2,3,4,WqJed)
FTGMAC100: eth0: at 0xfe660000 IRQ:2 noWait:0, MAC 00:10:e0:3a:58:f3
FTGMAC100: eth0:ftgmac100_reset, phyAddr=0x0, miiPhyId=0x0040_61e4
FTGMAC100: lp->rx_descs = ffc00000, lp->rx_rx_descs_dma = 7172000
FTGMAC100: lp->rx_buf = 00000000, lp->rx_buf_dma = 0
FTGMAC100: lp->tx_descs = ffc01000, lp->tx_rx_descs_dma = 7184000
FTGMAC100: lp->tx_buf = 00000000, lp->tx_buf_dma = 0
ftgmac100_init: dev->priv5 is c704d000
FTGMAC100: eth1: at 0xfe680000 IRQ:3 noWait:0, MAC 00:10:e0:3a:58:f2
FTGMAC100: eth1:ftgmac100_reset, phyAddr=0xff, miiPhyId=0x0000_0002
FTGMAC100: lp->rx_descs = ffc02000, lp->rx_rx_descs_dma = 7189000
FTGMAC100: lp->rx_buf = 00000000, lp->rx_buf_dma = 0
FTGMAC100: lp->tx_descs = ffc03000, lp->tx_rx_descs_dma = 719c000
FTGMAC100: lp->tx_buf = 00000000, lp->tx_buf_dma = 0
ftgmac100_init: dev->priv5 is c7188800
Ractrends Flash mapping: 0x2000000 at 0x10000000
Bank #0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Bank #0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
Ractrends Flash mapping: 0x2000000 at 0x12000000
Bank #1: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Bank #1: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
Number of banks found = 2
Concatenating MTD devices:
(0): "Bank #0"
(1): "Bank #1"
into device "Concatenated Flash Banks"
GetMTDPartitions() says string is "env,0x20000,0x20000,realroot,0x1340000,0xc40000,vbscdir,0x1fa0000,0x40000,params,0x2000000,0x400000,persist,0x2400000,0x1000000,coredump,0x3400000,0xc00000,"
MTD Partition 0 : fullpart @ 0x0 of Size 0x4000000
MTD Partition 1 : env @ 0x20000 of Size 0x20000
MTD Partition 2 : realroot @ 0x1340000 of Size 0xc40000
MTD Partition 3 : vbscdir @ 0x1fa0000 of Size 0x40000
MTD Partition 4 : params @ 0x2000000 of Size 0x400000
MTD Partition 5 : persist @ 0x2400000 of Size 0x1000000
MTD Partition 6 : coredump @ 0x3400000 of Size 0xc00000
FlashSize=0x2000000, PartitionCount=7
Creating 7 MTD partitions on "Concatenated Flash Banks":
0x00000000-0x04000000 : "fullpart"
0x00020000-0x00040000 : "env"
0x01340000-0x01f80000 : "realroot"
0x01fa0000-0x01fe0000 : "vbscdir"
0x02000000-0x02400000 : "params"
0x02400000-0x03400000 : "persist"
0x03400000-0x04000000 : "coredump"
wdt: WDT is installed.
wdt: WDT nowayout = 1, heartbeat = 30 secs
wdt: WDT guardstartupshutdown = 1
wdt: WDT startuptimeout = 600, shutdowntimeout = 60
wdt: WDT was enabled at driver start, time remaining 53 secs.
wdt: Guarding startup, setting watchdog for 600 seconds.
nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 333KiB into ram disk... done.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 120K
INIT: version 2.88 booting
Creating /var tmpfs
Creating directories in /var...done.
Creating /var/log tmpfs...done.
Running ldconfig...done
Starting early kernel log daemon: klogd.
Cleaning up ifupdown....
Calculating module dependencies... done.
Loading kernel module flashinfo.
Loading kernel module helper.
Loading kernel module dbgpersist.
Loading kernel module gpiomgr.
Loading kernel module gpioint.
Loading kernel module fpga.
Loading kernel module fpgaflash.
Loading kernel module i2c-core.
Loading kernel module i2c-dev.
Loading kernel module i2c-algo-as.
Loading kernel module i2c-aspeed.
Loading kernel module i2c-boardinfo.
Loading kernel module videocap.
Loading kernel module usb.
Loading kernel module sptrace.
Mounted vbsc
00:00:32 Checking device file systems
00:00:33 Checking persist...
00:00:41 Checking params...
00:00:45 Checking coredump...
00:00:50 Finished check of device file systems

Checking configuration files state ...
Image date:Fri Jul 11 15:44:26 PDT 2014       Image revision: 90525
Conf date:   Tue Dec 11 20:47:22 PST 2012       Conf revision: 77667
upgrading configuration data
Running: program to save /conf on upgrade: saveConfOnUpgrade.
Copying new /conf files
Configuration files state good after upgrade.
Setting the system clock.
System Clock set to: Wed Sep3 10:01:20 UTC 2014.
Initializing SP Trace Buffers
Setting up networking....
Will now mount local filesystems:.
Will now activate swapfile swap:done.
Cleaning up temporary files...Cleaning /var/run...done.
Cleaning /var/lock...done.
.
Starting capidirect daemon: capidirectd . Done

Starting Platform Initialization: platinit.
Verifying platform...done.
Setting hostname to 'ORACLESP-AK00131754'...Hostname: ORACLESP-AK00131754.

done.
Configuring IPv6...done
Calling iptables-restore
Calling ip6tables-restore
Configuring network interfaces...SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
Failed to bring up eth1.
done.
Setting kernel variables ... /etc/sysctl.conf...net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
kernel.core_pattern = |/usr/local/sbin/process_coredump /coredump/%h.%e.core.%p
done.
Initializing random number generator...done.
Starting portmap daemon....
Starting NFS common utilities:.
Cleaning up temporary files....
Mounted all disk partitions.
Created links for vbsc
Starting ILOM Watchdog daemon.
Done
populating memstore vars from disk
Running plat...Preparsing sensor.xml... ( took 4 seconds ) done
Probing frus ...done
Done running plat
Identifying Product Data...Done
Setting poweron delay...
Starting Dynamic FRUID Daemon early init: dynafrud_early_initDone (0)
INIT: Entering runlevel: 3
Preparsing sensor.xml... ( took 0 seconds ) done
Starting Event Manager: eventmgr. Done
Starting ipmi log manager daemon: logmgr . Done
Starting portmap daemon...Already running..
Starting NFS common utilities:.
Starting Boot Timer.
Network Interface Plugging Daemon...start eth0...done.
Starting system log daemon....
Starting user mgmt upgrade program: usrmgt_upgrade.
Starting kernel log daemon....
SSH2 RSA key file already exists; Skipping key creation ...
SSH2 DSA key file already exists; Skipping key creation ...
Starting OpenBSD Secure Shell server: sshd.
Starting the Health Monitor Daemon...
Starting Host Console Daemon: consd . Done
Starting Error Telemetry Collection Daemon: etcd . Done
Starting Fault Diagnosis Daemon: fdd . Done
Starting IPMI Stack: . Done
Starting BBR daemon...
bbrd started after 1 seconds.
Starting SP fishwrap cache daemon: fishwrapd . Done
Starting Host daemon: hostd . Done
Starting Network Controller Sideband Interface Daemon: ncsid . Done
Starting Platform Obfuscation Daemon: pod . Done
Starting vbsc daemon: vbsc . Done
Starting lu main daemon: lumain . Done
Starting Serial Server: seriald . Done
Starting HT sign on daemon: htsignond . Done
Starting webgo Web Server: webgo . Done
Starting Detection/Diagnosis After System Boot: dasbootDone
Starting Servicetags discoverer: stdiscoverer.
Starting Servicetags listener: stlistener.
Starting Dynamic FRUID Daemon: dynafrudDone
waiting for GM ready ...GM is ready

ORACLESP-AK00131754 login: root
Password:
Detecting screen size; please wait...done

Oracle(R) Integrated Lights Out Manager

Version 3.2.1.9.b r90525

Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.

Warning: password is set to factory default.

Hostname: ORACLESP-AK00131754

-> show /HOST sysfw_version

/HOST
    Properties:
      sysfw_version = Sun System Firmware 8.5.1.b 2014/07/11 15:46


-> show /HOST obp_version

/HOST
    Properties:
      obp_version = OpenBoot 4.36.1 2014/06/26 12:18

->

DC_楚楚 发表于 2014-09-03 21:03

赞一个~~~~

119beyond 发表于 2014-09-04 09:46

顶         一                  个,

kwtip 发表于 2014-09-04 09:48

配置了网络为什么不在WEB里升呢。

znnnz 发表于 2014-09-04 09:50

回复 4# kwtip


    这是一个很好的问题~:hug:

DC_楚楚 发表于 2014-09-04 11:20

回复 4# kwtip


    web里面升级方便,命令行升级直观~ 都会最好了
页: [1]
查看完整版本: T4-2升级固件记录