ZTE 320 Firmware Upgrade: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 817: Строка 817:
 
1 1 4 SMXA SMXA 3 V1.0.0 V2.1.0 INSERVICE
 
1 1 4 SMXA SMXA 3 V1.0.0 V2.1.0 INSERVICE
 
</PRE>
 
</PRE>
  +
=Patches=
  +
==v210_p006.spat==
  +
<PRE>
  +
patch active package v210_p006.spat
  +
</PRE>
  +
<PRE>
  +
Position PatchFile VerTag ActiveTime Status
  +
-------------------------------------------------------------------------------
  +
1/1/4 smxav210t37_r0.pat V2.1.0 2023-09-27 12:55:38 Success
  +
1/1/4 smxav210t37_r1.pat V2.1.0 2023-09-27 12:55:38 Reset
  +
1/1/4 smxav210t37_r2.pat V2.1.0 2023-09-27 12:55:38 Reset
  +
1/1/4 smxav210t37_r3.pat V2.1.0 2023-09-27 12:55:38 Reset
  +
</PRE>
  +
==v210_p018.spat==
  +
==v210_p030.spat==

Версия 12:58, 27 сентября 2023

ZTE C320 Firmware Upgrade

Смотрим список установленных карт

#show card
Rack Shelf Slot CfgType RealType Port    HardVer SoftVer         Status
-------------------------------------------------------------------------------
1    1     1    GTGH    GTGHK    16      151202  V1.2.5P3        INSERVICE
1    1     2    GTGH    GTGHK    16      151202  V1.2.5P3        INSERVICE
1    1     3    PRAM    PRAM     3               V1.01           INSERVICE
1    1     4    SMXA    SMXA     3       131201  V1.2.5P3        INSERVICE

GTGHK

ls -1
GTXK.BT
GTXK.FW
GTXK_LX.MVR
show version-running
PhyLoc  FileType   VerType    VerTag            BuildTime           VerLength
--------------------------------------------------------------------------------

1/1/1   GTGHK      MVR        V1.2.5P3          2017-05-16 04:34:12 6010580
1/1/1   GTXK       BT         V4.0.14           2017-09-04  0:52:45 524288
1/1/4   SMXA       MVR        V1.2.5P3          2015-01-05 03:50:18 14818071
1/1/4   SMXA       BT         V4.0.5            2014-12-10  9:13:26 524288
1/1/2   GTGHK      MVR        V1.2.5P3          2017-05-16 04:34:12 6010580
1/1/2   GTXK       BT         V4.0.14           2017-09-04  0:52:45 524288
C320-Donec#dir img
Directory of /flash/img/
attribute   size       date         time       name
-rwx        524288     AUG-15-2012  17:08:54   smxa.bt
-rwx        648494     AUG-15-2012  17:09:06   smxa.fw
-rwx        524288     AUG-15-2012  17:09:16   etghg.bt
-rwx        100675     AUG-15-2012  17:09:24   etghg.fw
-rwx        10207084   AUG-15-2012  17:10:50   etghg.mvr
-rwx        1527486    AUG-15-2012  17:11:10   etgo.fw
-rwx        5083571    AUG-15-2012  17:11:50   etgo.mvr
-rwx        253856     AUG-15-2012  17:11:58   etgod.bt
-rwx        524288     AUG-15-2012  17:12:10   etto.bt
-rwx        534532     AUG-15-2012  17:12:22   etto.fw
-rwx        5510212    AUG-15-2012  17:13:12   etto.mvr
-rwx        524288     AUG-15-2012  17:13:22   ftgkb.bt
-rwx        85188      AUG-15-2012  17:13:30   ftgkb.fw
-rwx        4803804    AUG-15-2012  17:14:18   ftgkb.mvr
-rwx        524288     AUG-15-2012  17:14:28   gtghg.bt
-rwx        100534     AUG-15-2012  17:14:38   gtghg.fw
-rwx        5338780    AUG-15-2012  17:15:32   gtghg.mvr
-rwx        524288     AUG-15-2012  17:15:44   gtgog.bt
-rwx        139509     AUG-15-2012  17:15:52   gtgog.fw
-rwx        5595416    AUG-15-2012  17:16:48   gtgog.mvr
-rwx        524288     AUG-15-2012  17:17:00   gtxog.bt
-rwx        8940762    AUG-15-2012  17:18:20   gtxog.fw
-rwx        5329580    AUG-15-2012  17:19:20   gtxog.mvr
-rwx        934        AUG-15-2012  17:19:30   pm.fw
-rwx        14818071   AUG-15-2012  17:33:44   smxa1.mvr
-rwx        14818071   AUG-15-2012  17:35:28   smxa0.mvr
-rwx        461545     MAR-26-2017  12:18:50   gtxk.fw
-rwx        524288     MAR-26-2017  12:20:32   gtxk.bt
-rwx        6010580    MAR-26-2017  12:22:06   gtghk.mvr
Current directory 29 files total

1

C320-Donec#show  patch-running
Loc    FileName                       PatchTag   OperateTime         PatchState
-------------------------------------------------------------------------------
1/1/1 gtghkv125p3t29_r0.pat          2.0        2023-09-22 15:18:42 ACTIVE
1/1/2 gtghkv125p3t29_r0.pat          2.0        2023-09-22 15:18:49 ACTIVE
1/1/4 smxav125p3t13_r0.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r1.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r2.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r3.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r4.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r5.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r6.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r7.pat           2.0        2023-09-22 16:26:16 ACTIVE
1/1/4 smxav125p3t13_r10.pat          2.0        2023-09-22 16:26:16 ACTIVE

2

C320-Donec#show  patch-running
Loc    FileName                       PatchTag   OperateTime         PatchState
-------------------------------------------------------------------------------
1/1/1 gtghkv125p3t29_r0.pat          2.0        2023-09-22 15:18:42 ACTIVE
1/1/2 gtghkv125p3t29_r0.pat          2.0        2023-09-22 15:18:49 ACTIVE
1/1/4 smxav125p3t13_r0.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r1.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r2.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r3.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r4.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r5.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r6.pat           2.0        2023-09-22 16:26:15 ACTIVE
1/1/4 smxav125p3t13_r7.pat           2.0        2023-09-22 16:26:16 ACTIVE
1/1/4 smxav125p3t13_r10.pat          2.0        2023-09-22 16:26:16 ACTIVE
C320-Donec#deac
% Unrecognized command
C320-Donec#pat
C320-Donec#patch de
C320-Donec#patch deactive *

Error: ReturnCode of Execute Msg is error!
ReturnCode=268445696 CmdID=0x81011612

C320-Donec#patch deactive smxav125p3t13_r10.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deactive smxav125p3t13_r0.pat smxav125p3t13_r1.pat  smxav125p3t13_r2.pat smxav125p3t13_r3.pat
                                               ^
% Invalid input detected at '^' marker.
C320-Donec#patch deact
C320-Donec#patch deactive smxav125p3t13_r1.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deactive smxav125p3t13_r2.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deactivate smxav125p3t13_r3.pat
                        ^
% Invalid input detected at '^' marker.
C320-Donec#patch de
C320-Donec#patch deactive smxav125p3t13_r3.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch de
C320-Donec#patch deactive smxav125p3t13_r4.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deac
C320-Donec#patch deactive smxav125p3t13_r5.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deac
C320-Donec#patch deactive smxav125p3t13_r6.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deacti
C320-Donec#patch deactive smxav125p3t13_r7.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#patch deac
C320-Donec#patch deactive smxav125p3t13_r10.pat
Deactive patch in shelf 1 slot 4 terminated for patch already deactive
Deactive patch finished

C320-Donec#patch deactive gtghkv125p3t29_r0.pat
.Deactive patch shelf 1 slot 1 success
Deactive patch shelf 1 slot 2 success

C320-Donec#show  patch-running
Loc    FileName                       PatchTag   OperateTime         PatchState
-------------------------------------------------------------------------------
1/1/4 smxav125p3t13_r0.pat           2.0        2023-09-22 16:26:14 ACTIVE
C320-Donec#patch deactive smxav125p3t13_r0.pat
Deactive patch in shelf 1 slot 4 success
Deactive patch finished

C320-Donec#show  patch-running
Loc    FileName                       PatchTag   OperateTime         PatchState
-------------------------------------------------------------------------------
C320-Donec#

3

PhyLoc FileName    VerType VerTag            BuildTime           Length   Active
--------------------------------------------------------------------------------

1/1/4  gtghg.bt    BT      V4.0.7            2015-04-03 15:16:01 524288
1/1/4  gtghg.fw    FW      V2.1.0            2017-01-17 00:40:26 210990
1/1/4  gtghg.mvr   MVR     V2.1.0            2017-01-17 00:40:26 6933928
1/1/4  gtxk.bt     BT      V4.0.14           2017-09-04  0:52:45 524288
1/1/4  gtxk.fw     FW      V2.1.0            2017-07-03 00:28:55 462019
1/1/4  gtxk.mvr    MVR     V2.1.0            2017-07-03 00:28:55 7789380
1/1/4  pm.fw       FW      V4.0.13           2017-08-17 14:15:39 2067
1/1/4  smxa.bt     BT      V4.0.13           2017-04-26  9:53:13 524288
1/1/4  smxa.fw     FW      V2.1.0            2017-06-23 03:42:13 1720296
1/1/4  smxa0.mvr   MVR     V2.1.0            2017-01-17 01:04:45 24647784 1
1/1/4  smxa1.mvr   MVR     V2.1.0            2017-01-17 01:04:45 24647784 0

4

C320-Donec#reboot
Confirm to reboot? [yes/no]:yes
C320-Donec#
start...


KUBoot 2.02.10.P3-svn709 (Dec 10 2014 - 09:13:16)

CPU:     Unknown, Version: 2.1, (0x80ea0121)
Core:  E500, Version: 5.1, (0x80211051)
Clock Configuration:

       CPU0:1188 MHz, CCB: 396 MHz,
       DDR: 396 MHz (792 MT/s data rate) (Asynchronous), LBC:  49 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: P2020SMXA
DRAM:  Initializing....    DDR3: 2048 MB
Clear Mem OK!

Decompress kuboot
success!

Now running in RAM - U-Boot at: 0db70000
FLASH: 128 MB
L2 cache 512KB: enabled
Nvram Init succeed!
eTSEC2 is in sgmii mode.
eTSEC3 is in sgmii mode.
PCIE1: as Root Complex (base addr f400a000)
               Scanning PCI bus 01
        01  00  14e4  b445  0200  00
    PCIE1 on bus 00 - 01
PCIE2: as Root Complex (base addr f4009000)
    PCIE2 on bus 02 - 02
In:    serial
Out:   serial
Err:   serial
Net:   eTSEC2, eTSEC1, eTSEC3
VFS init succeed!
tffs fs detected
dosfs_var_init finish!
Un-Protect Flash Bank # 1
Start to initialize the DosFs...
|
verifyMap begin, needs about 1 minute!!
verifyMap is done
DiskOnChip Found
objCoreInit-1, pObjCore:0xcb715a8, pObjClass:0xdcc188c
objCoreInit-2
objCoreInit-1, pObjCore:0xcb715e0, pObjClass:0xcb715a8
objCoreInit-2
objCoreInit-1, pObjCore:0xcb71700, pObjClass:0xcb715a8
objCoreInit-2
Device / was created
//  - disk check in progress ...
//  - Volume is OK

          total # of clusters:  15,464
           # of free clusters:  7,130
            # of bad clusters:  0
             total free space:  57,040Kb
     max contiguous free space:  31,031,296 bytes
                   # of files:  27
                 # of folders:  8
         total bytes in files:  66,475Kb
             # of lost chains:  0
   total bytes in lost chains:  0
reservedSectors = (SectorNo) LE2(bpb->reservedSectors): 0x1
partEnableFF, reservedSectors:1
//  - disk check in progress ...
//  - Volume is OK

          total # of clusters:  15,464
           # of free clusters:  7,130
            # of bad clusters:  0
             total free space:  57,040Kb
     max contiguous free space:  31,031,296 bytes
                   # of files:  27
                 # of folders:  8
         total bytes in files:  66,475Kb
             # of lost chains:  0
   total bytes in lost chains:  0
tffs init succeed
<<<master>>>
telnetdIint
tcpip_thread
TCP/IP initialized.
Add netif ......
mac is ec:1d:7f:a:45:1e:
Speed: 100, full duplex
mac is 0:d0:d0:a1:aa:a0:
Speed: 100, full duplex
mac is 0:d0:d0:a2:aa:a0:
force setting: speed 100, duplexity 1
Speed: 1000, full duplex
Hit any key to stop autoboot:  0
This board not set cpld update!
fsType is 4
Actived ver /img/smxa0.mvr ...
FileRead size is 24647784
VerTag     :     V2.1.0T37
CreateTime :     2017-01-17 01:04:45
VerLen     :     24647784
MVR is a Linux Version, but file system is tffs.
tar and update start
open_archive
...........................................................................................................................................................................................................................................t
close_archive
name_close

tar over.
Un-Protect Flash Bank # 1
...........................................................................................................................................................................................................................................s
/format jffs2 part success!
jffs2 filesystem begin init!
[linux2.4_jffs2/build.c--jffs2_build_filesystem:388] Pass 1 complete
jffs2 filesystem init success!1-0:4009
\..
tar over.
.Erased 1 sectors
.Erased 1 sectors
|entry is 3df00004
mvrType is linux version.
## Booting kernel from Legacy Image at 3df00134 ...
   Image Name:   Linux-2.6.21.7-EMBSYS-SMXA-3.04.
   Created:      2017-01-16  17:04:45 UTC
   Image Type:   PowerPC Linux Unknown Image (gzip compressed)
   Data Size:    23598840 Bytes = 22.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
      Image 0: 1724336 Bytes =  1.6 MB
      Image 1: 21854007 Bytes = 20.8 MB
      Image 2: 20480 Bytes = 20 kB
   Verifying Checksum ... OK
   Uncompressing Unknown Image ...
OK
## Flattened Device Tree from multi component Image at 3DF00134
   Booting using the fdt at 0x3f57c86c
## Loading init Ramdisk from multi component Legacy Image at 3df00134 ...
   ramdisk start = 0x3e0a5134, ramdisk end = 0x3f57c86b
relocate: 1(bootmap_base:00000000)
   Loading Device Tree to 00ff8000, end 00ffffff ... OK
   Loading Ramdisk to 09696000, end 0ab6d737 ... OK
U�ͥ�� P2020 DS machine description
Memory CAM mapping: CAM0=256Mb, CAM1=16Mb, CAM2=16Mb residual: 16Mb
Linux version 2.6.21.7-EMBSYS-CGEL-3.04.10.P5 (dailybuild@ ) (gcc version 4.1.2 2014-03-20  Embsys-TSP V3.03.20_P1) #1 PREEMPT Tue Dec 13 10:52:33 CST 2016
Found initrd at 0xc9696000:0xcab6d737
setup_arch: bootmem
mpc85xx_ds_setup_arch()
Found FSL PCI host bridge at 0x00000000f400a000.Firmware bus number: 0->255
 ->Hose at 0xc03c0000, cfg_addr=0xfdffd000,cfg_data=0xfdffd004
Found FSL PCI host bridge at 0x00000000f4009000.Firmware bus number: 0->255
 ->Hose at 0xc03c0100, cfg_addr=0xfdfeb000,cfg_data=0xfdfeb004
MPC85xx DS board from Freescale Semiconductor
arch: exit
Top of RAM: 0x13000000, Total RAM: 0x13000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA             0 ->    73728
  Normal      73728 ->    73728
  HighMem     73728 ->    77824
early_node_map[1] active PFN ranges
    0:        0 ->    77824
calculate_node_totalpages:On node 0 totalpages: 77824
Built 1 zonelists.  Total pages: 77216
Kernel command line: mottsec(1,0)host:vxWorks h=192.168.0.1 e=192.168.0.2:0xffffff00 u=lzq pw=lzq mem=304m
mpic: Setting up MPIC " OpenPIC  " version 1.2 at f4040000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
hwtimer: Added openpic_timer (PowerPC kernel OpenPIC timer) at index=0
PID hash table entries: 2048 (order: 11, 8192 bytes)

Using P2020 DS machine description
Memory CAM mapping: CAM0=256Mb, CAM1=16Mb, CAM2=16Mb residual: 16Mb
Linux version 2.6.21.7-EMBSYS-CGEL-3.04.10.P5 (dailybuild@ ) (gcc version 4.1.2 2014-03-20  Embsys-TSP V3.03.20_P1) #1 PREEMPT Tue Dec 13 10:52:33 CST 2016
Found initrd at 0xc9696000:0xcab6d737
Found FSL PCI host bridge at 0x00000000f400a000.Firmware bus number: 0->255
 ->Hose at 0xc03c0000, cfg_addr=0xfdffd000,cfg_data=0xfdffd004
Found FSL PCI host bridge at 0x00000000f4009000.Firmware bus number: 0->255
 ->Hose at 0xc03c0100, cfg_addr=0xfdfeb000,cfg_data=0xfdfeb004
MPC85xx DS board from Freescale Semiconductor
Top of RAM: 0x13000000, Total RAM: 0x13000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA             0 ->    73728
  Normal      73728 ->    73728
  HighMem     73728 ->    77824
early_node_map[1] active PFN ranges
    0:        0 ->    77824
calculate_node_totalpages:On node 0 totalpages: 77824
Built 1 zonelists.  Total pages: 77216
Kernel command line: mottsec(1,0)host:vxWorks h=192.168.0.1 e=192.168.0.2:0xffffff00 u=lzq pw=lzq mem=304m
mpic: Setting up MPIC " OpenPIC  " version 1.2 at f4040000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
hwtimer: Added openpic_timer (PowerPC kernel OpenPIC timer) at index=0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 282856k/311296k available (3472k kernel code, 44468k reserved, 108k data, 184k bss, 156k init)
Mount-cache hash table entries: 512
--------V1.1 get u2k page base addr = 0xcfff3000 magic = 0x12345678
NET: Registered protocol family 16
Registering platform serial ports
in file: /home/work/LINUX_trunk_new/kernel/linux/arch/powerpc/sysdev/fsl_soc.c begin register platform_device
in file:/home/work/LINUX_trunk_new/kernel/linux/arch/powerpc/sysdev/fsl_soc.c i2c====> i2c_irq = 43
in file:/home/work/LINUX_trunk_new/kernel/linux/arch/powerpc/sysdev/fsl_soc.c i2c====> i2c_irq = 43
InitWatchDog Ok
powerpc_sdhc_init
###fsl-nand fsl_elbc_of_init
  ###fsl-nand elbc irq_num = 19
###fsl-nand: register fsl-elbc platform-device success
###fsl-nand fsl_elbc_of_init  step2
  ###fsl-nand r.start = 0xe8000000 r.end=0xe81fffff len=0x200000
###fsl-nand: chip_data.name = nandflash
###fsl-nand: chip_data.partitions_str =
###fsl-nand platform device register success !!
###fsl-nand fsl_elbc_of_init  step3
  <6>PCI: Probing PCI hardware
PCI: 0000:00:00.0: class b20 doesn't match header type 01. Ignoring class.
PCI: 0001:02:00.0: class b20 doesn't match header type 01. Ignoring class.
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 21341k freed
sys_bbx_init
[Kern_ExcInit]Prompt: Exception module initialize successfully!
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (C) 2001-2006 Red Hat, Inc.



YAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.




io scheduler noop registered (default)
Time: timebase clocksource has been installed.
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
RAMDISK driver initialized: 4 RAM disks of 4096K size 1024 blocksize
thread-exit capture initialized!
i2c /dev entries driver
f8000000.boot: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
f8000000.boot: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
physmap-flash f8000000.boot: Using OF partition information
Creating 1 MTD partitions on "f8000000.boot":
0x00000000-0x00200000 : "boot"
mtd: Giving out device 0 to boot
e0000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
e0000000.flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
physmap-flash e0000000.flash: Using OF partition information
Creating 3 MTD partitions on "e0000000.flash":
0x00000000-0x07e00000 : "jffs2"
mtd: Giving out device 1 to jffs2
0x07e00000-0x07fc0000 : "rsv"
mtd: Giving out device 2 to rsv
0x07fc0000-0x08000000 : "nvram"
mtd: Giving out device 3 to nvram
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, ec:1d:7f:0a:45:1e
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 00:d0:d0:a1:aa:a0
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
eth2: Gianfar Ethernet Controller Version 1.2, 00:d0:d0:a2:aa:a0
eth2: Running with NAPI enabled
eth2: 256/256 RX/TX BD ring size
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO map 0xf4004500 mem 0xd3000500 (irq = 42) is a 16550A
serial8250.0: ttyS1 at MMIO map 0xf4004600 mem 0xd3002600 (irq = 42) is a 16550A
Virtual pic init...
pro_limit init start...
pro-limit init end...
typeb netlink init...
mmc0: SDHCI controller on f402e000.sdhci [f402e000.sdhci] using DMA
hddled blink module init
bsp_haddled_task running ..... OK
###fsl-nand: fsl_lbc_ctrl_dev->irq = 19
###fsl-nand: fsl_lbc_ctrl_probe() .....ok
###fsl-nand fsl_elbc_nand_probe()
fsl-elbc fsl-elbc.0: address did not match any chip selects
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
NET: Registered protocol family 17
Total 3 real net device found.
set netlink_wq prio 96
Nld ready to receive ...
Netlink Daemon start OK.
Freeing unused kernel memory: 156k init
init started: BusyBox V2.08.10_B1 (2016-12-13 11:00:51 CST
starting pid 26, tty '
starting pid 30, tty '
##########localaddr.sin_port is 11001
PHY: f4024520:05 - Link is Up - 100/Full

create jffs2_gcd_mtd1
starting pid 35, tty '


BusyBox V2.08.10_B1 (2016-12-13 11:00:51 CST) built-in shell (ash)
Enter 'helpp' for a list of built-in commands.


-n Processing /etc/profile...
Done



value = 0 = 0xmap_mem:start:2810d000 ,pg=f4000 ,size=100000,prot= 297
0
exporting *:map_mem:start:2820d000 ,pg=20000 ,size=60000000,prot= 17
/flash/logalm
map_mem:start:8820d000 ,pg=f8000 ,size=200000,prot= 297
exportfs: m
map_mem:start:8840d000 ,pg=f0000 ,size=100000,prot= 297

exporting *:/fmap_mem:start:8850d000 ,pg=f1000 ,size=200000,prot= 297
lash/logdbg
exportfs: m

exporting *:/flash/logrun
exportfs: m

exporting *:/flash/perfmp
exportfs: m

exporting *:/flash/user
exporting *:/flash/data
exporting *:/flash/cfg
exporting *:/flash/img
#
# DDR is 2GB
IMMR  base virtual addr 0x2810d000
RESV  base virtual addr 0x2820d000
BOOT  base virtual addr 0x8820d000
CPLD  base virtual addr 0x8840d000
FPGA  base virtual addr 0x8850d000
sysMemParaBase virtual addr 0x880fd000
Scanning function 0 of PCI busses 0-1, devices 0-0
bus dev fn venID devID class  rev MBAR0    MBAR1    iPIN iLINE devCtrl
00  00  00 1957  0072  0b2000 21  00000000 00000000 00   00    0800
01  00  00 14e4  b445  020000 11  80000004 00000000 01   00    0000

nvram check ... done.
bd check ... done.
ifconfig eth1 down
ifconfig eth1 hw ether ec:1d:7f:a:45:1e
ifconfig eth1 136.1.1.100
ifconfig eth0 6.0.1.129
ifconfig eth0 down
ifconfig eth0 hw ether 0:1:c:d:0:a6
ifconfig eth0 up
Monitor Shell Started!!
##########localaddr.sin_port is 11002
virtual_pic_open, major = 254, minor = 0
pro_limit_open, major = 234, minor = 0


SMXA>eth0            Link encap:Ethernet  HWaddr 00:01:0C:01:06:00
          inet addr:6.0.1.129  Bcast:6.0.1.255  Mask:255.255.255.0
          inet6 addr: fe80::201:cff:fe01:600/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5576 (5.4 KiB)  TX bytes:648 (648.0 B)

Tyepb irq_recv_packet task Init succeed
/dev/virtual-pic has open,ready.
open sucess.
/dev/pro_limit has open,ready.
InitRtcTime version 2  OK


SMXA>Get default FirmLogoInfo.
PHY: f4024520:05 - Link is Up - 100/Full

Assertion failed: file=/home/dailyman/work/C300V300/IAPV2.0_CODE_MAIN/src_ios/ros/source/rosrdreg.c, line=182, expression='pPRT->Used == 0x7F'
PatchFileAdd: patchCfgForNpNext.txt patch check failed.
PatchFileAdd: patchCfgForOam.txt patch check failed.
PatchFileAdd: patchCfgForNpLast.txt patch check failed.
PatchFileAdd: patchCfgNext.txt patch check failed.
PatchFileAdd: patchCfgLast.txt patch check failed.
PatchFileAdd: patchCfg.txt patch check failed.
PatchFileAdd: patchCfgForNp.txt patch check failed.
PatchNpBootSyncProc:sync finished. PatchModuleContinue.
Cpld update start
updateflag = 0x0
This board not set cpld update
DRV: (0)
##########localaddr.sin_port is 11003
##########localaddr.sin_port is 11004

bshell>


SMXA>DRV: boardType=SMXA[unit=1]
DRV: (1)
linux_kernel_bdem: module license 'Proprietary' taints kernel.
Broadcom Device Enumerator (linux-kernel-bde)
DMA Memory (kernel): 8388608 bytes, 0 used, 8388608 free
Devices:
        0 (swi) : PCI device 0x14e4:0xb445:17:0x80000000:0x00000000:18
Broadcom Device Enumerator (linux-user-bmap_mem:start:91ac2000 ,pg=80000 ,size=40000,prot= 297
de)
        0: Interrmap_mem:start:91b02000 ,pg=8c80 ,size=800000,prot= 17
upt mode CMICm

LINUX MMAP: pbase = 0x80000000, vbase = 0x91ac2000, size = 262144
DMA pool size: 8388608

Attaching SOC unit 0... OK.
slot 3 receive bootp request,GTGHK,gtxk.mvr
DRV: (2)
DRV: mmu init...DRV: (3)
 board mac msg register!!!!
DRV: (4)
BSP:[nvram_lib.c][334]:inband mac is 0xec1d7f0a,0x451d0000


value = 0 = 0x0
DRV: (5)
DRV: (6)
DRV: (7)
slot 20 receive bootp request,GTGHK,gtxk.mvr
slot 3 receive bootp request,GTGHK,gtxk.mvr
slot 20 receive bootp request,GTGHK,gtxk.mvr
Write file /flash/img/bcm56440_b0_0.srec ...
...Done
soc uc start at 0x0
SSPDrvInit OK!
DRV: (8)
DRV: ends init[use=1065]
Initialize License module...
No license has been installed before.
Initialize license status(0x1000401f)
.


                      Restricted Rights Legend

         Use, duplication, or disclosure by the Government is
         subject to restrictions as set forth in subparagraph
         (c) of the Commercial Computer Software - Restricted
         Rights clause at FAR sec. 52.227-19 and subparagraph
         (c) (1) (ii)  of the Rights in  Technical  Data  and
         Computer Software clause at DFARS sec. 252.227-7013.
                                            ZTE  Corporation.
                               YuHua District, Nanjing, China



ZXR10 ROS Version  V4.8.35(RELEASE SOFTWARE)
Copyright (c) 2001-2017 by ZTE Corporation
Compiled Jan 17 2017, 01:02:55

nl_socket init ok for eth1.
bbx_viraddr_init[1283]
------version start-----
hardName:SMXA
hardVer:131201
MVerFuncVerName:SMXA
MVerTag:V2.1.0T37
MVerCreateTime:2017-01-17 01:04:45
------version end-----
Switch Chip Temperature 36
==\ Ros_MONSysExcInit Entry! /==
Kernel Magic 0xffffffff!
<--- buf:2146435072, len:11
<--- buf:16384, len:6
Initialize monitor process.
Initialize monitor process timer.monInit: Out

Synchronizing
Synchronizing Rsl_PostLoConnected VirtualPic IRQ - 21
cal Ros_GetPno for CALLCTL error CpuNode mod 0 unit 1
Sysctrl notify msg 33046 to task CALLCTL failed for 1 times in SctlNotifyExec!
Sctl update shelf phy info
Get shelf mfgdata OK!!!
Rsl_PostLocal Ros_GetPno for CALLCTL error CpuNode mod 0 unit 1
Sysctrl notify msg 33046 to task CALLCTL failed for 2 times in SctlNotifyExec!
##########localaddr.sin_port is 11004
##########localaddr.sin_port is 11005
SysMonEntry get handle failed, curState:1, msgId:0x239!
Master Database Power on!!!!!!!!!!!!!
Database read Nvram data OK!!!!!!!!!!!!!
>>MUX_INIT:muxLagInit,Init OK.
Rsl_PostLocal Ros_GetPno for CALLCTL error CpuNode mod 0 unit 1
Sysctrl notify msg 33046 to task CALLCTL failed for 3 times in SctlNotifyExec!
SetPRWGSTrapFlag
SetPRWGSTrapFlag
SetPRWGSTrapFlag
protocol master goto WAIT_STATE
Hello

...........................-OK!

************************************************
Welcome to ZXAN product C320 of ZTE Corporation
************************************************

C320-Donec>en
Password:
C320-Donec#show card
Rack Shelf Slot CfgType RealType Port  HardVer SoftVer         Status
-------------------------------------------------------------------------------
1    1     1    GTGH             16                            HWONLINE
1    1     2    GTGH             16                            HWONLINE
1    1     3    PRAM    PRAM     3     V1.0.0  V1.01           INSERVICE
1    1     4    SMXA    SMXA     3     V1.0.0  V2.1.0          INSERVICE
C320-Donec#show card
Rack Shelf Slot CfgType RealType Port  HardVer SoftVer         Status
-------------------------------------------------------------------------------
1    1     1    GTGH             16                            HWONLINE
1    1     2    GTGH             16                            HWONLINE
1    1     3    PRAM    PRAM     3     V1.0.0  V1.01           INSERVICE
1    1     4    SMXA    SMXA     3     V1.0.0  V2.1.0          INSERVICE
C320-Donec#show card
Rack Shelf Slot CfgType RealType Port  HardVer SoftVer         Status
-------------------------------------------------------------------------------
1    1     1    GTGH    GTGHK    16    V1.0.0  V2.1.0          HWONLINE
1    1     2    GTGH    GTGHK    16    V1.0.0  V2.1.0          HWONLINE
1    1     3    PRAM    PRAM     3     V1.0.0  V1.01           INSERVICE
1    1     4    SMXA    SMXA     3     V1.0.0  V2.1.0          INSERVICE
C320-Donec#show ver
C320-Donec#show version-r
C320-Donec#show version-running
PhyLoc  FileType   VerType    VerTag            BuildTime           VerLength
-------------------------------------------------------------------------------
1/1/1   GTXK       MVR        V2.1.0            2017-07-03 00:28:55 7789380
1/1/1   GTXK       BT         V4.0.14           2017-09-04  0:52:45 524288
1/1/2   GTXK       MVR        V2.1.0            2017-07-03 00:28:55 7789380
1/1/2   GTXK       BT         V4.0.14           2017-09-04  0:52:45 524288
1/1/4   SMXA       MVR        V2.1.0            2017-01-17 01:04:45 24647784
1/1/4   SMXA       BT         V4.0.5            2014-12-10  9:13:26 524288
1/1/4   SMXA       FW         V2.1.0            2017-06-23 03:42:13 1720296
C320-Donec#show logg
C320-Donec#show logging al
C320-Donec#show logging alarmlog
Max alarmlog number is 2000
Current alarmlog and notifylog total number is 27
Current log precent is 1.35%
 An alarm 33038 level notification occurred at 12:27:05  Wed  Sep 27  2023  KIEV  %s Sysctl inform msg when master core card warm start in shelf 1 slot 4
 An alarm 33065 level critical occurred at 12:27:05  Wed  Sep 27  2023  KIEV cleared at 12:31:05  Wed  Sep 27  2023  KIEV  %s Sysctl alarm : board out of use in shelf 1 slot 1
 An alarm 33065 level critical occurred at 12:27:05  Wed  Sep 27  2023  KIEV cleared at 12:31:05  Wed  Sep 27  2023  KIEV  %s Sysctl alarm : board out of use in shelf 1 slot 2
 An alarm 33065 level critical occurred at 12:27:05  Wed  Sep 27  2023  KIEV cleared at 12:27:07  Wed  Sep 27  2023  KIEV  %s Sysctl alarm : board out of use in shelf 1 slot 4
 An alarm 34816 level notification occurred at 12:27:05  Wed  Sep 27  2023  KIEV  %s rs232 Serial Interface login
 An alarm 50952 level warning occurred at 12:27:06  Wed  Sep 27  2023  KIEV cleared at 12:27:34  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50954 level warning occurred at 12:27:06  Wed  Sep 27  2023  KIEV  %s No power input in power 4, shelf 1
 An alarm 33074 level notification occurred at 12:27:07  Wed  Sep 27  2023  KIEV  %s Sysctl inform msg when card resource added in shelf 1 slot 4
 An alarm 50973 level major occurred at 12:27:08  Wed  Sep 27  2023  KIEV cleared at 12:27:37  Wed  Sep 27  2023  KIEV  %s Temperature inside the chassis abnormal
 An alarm 42240 level warning occurred at 12:27:13  Wed  Sep 27  2023  KIEV cleared at 12:28:17  Wed  Sep 27  2023  KIEV  %s NTP inform msg when the offset exceeding the alarm Threshold

 An alarm 34816 level notification occurred at 12:27:26  Wed  Sep 27  2023  KIEV  %s rs232 Serial Interface login
 An alarm 50952 level warning occurred at 12:27:34  Wed  Sep 27  2023  KIEV cleared at 12:27:55  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:27:55  Wed  Sep 27  2023  KIEV cleared at 12:28:16  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:28:16  Wed  Sep 27  2023  KIEV cleared at 12:28:30  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:28:30  Wed  Sep 27  2023  KIEV cleared at 12:28:50  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:28:50  Wed  Sep 27  2023  KIEV cleared at 12:29:11  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:29:11  Wed  Sep 27  2023  KIEV cleared at 12:29:31  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:29:31  Wed  Sep 27  2023  KIEV cleared at 12:29:51  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:29:51  Wed  Sep 27  2023  KIEV cleared at 12:30:11  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:30:11  Wed  Sep 27  2023  KIEV cleared at 12:30:31  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:30:31  Wed  Sep 27  2023  KIEV cleared at 12:30:51  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 50952 level warning occurred at 12:30:51  Wed  Sep 27  2023  KIEV cleared at 12:31:12  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 33074 level notification occurred at 12:31:05  Wed  Sep 27  2023  KIEV  %s Sysctl inform msg when card resource added in shelf 1 slot 2
 An alarm 33074 level notification occurred at 12:31:05  Wed  Sep 27  2023  KIEV  %s Sysctl inform msg when card resource added in shelf 1 slot 1
 An alarm 35273 level critical occurred at 12:31:05  Wed  Sep 27  2023  KIEV cleared at 12:31:14  Wed  Sep 27  2023  KIEV  %s GPON alarm olt los: shelf 1 slot 1 olt 1 onu 0 level 0 Probable Cause : Offline

 An alarm 50952 level warning occurred at 12:31:12  Wed  Sep 27  2023  KIEV cleared at 12:31:32  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 35319 level notification occurred at 12:31:15  Wed  Sep 27  2023  KIEV  %s GPON detect onu first online: shelf 1 slot 1 olt 1 onu 4 level 6 Type:GPON_ONE_ETH_PORT, RegistrationInfo:1,HWTC9E825F7C

 An alarm 35319 level notification occurred at 12:31:18  Wed  Sep 27  2023  KIEV  %s GPON detect onu first online: shelf 1 slot 1 olt 1 onu 1 level 6 Type:GPON_ONE_ETH_PORT, RegistrationInfo:1,ZTEGC6E0EBD1

 An alarm 36610 level minor occurred at 12:31:20  Wed  Sep 27  2023  KIEV  %s <gpon-onu_1/1/1:4> port:1 Onu Uni lan los
 An alarm 36633 level notification occurred at 12:31:20  Wed  Sep 27  2023  KIEV  %s GponRm notify: <gpon-onu_1/1/1:4> SubType:36610 Pos:1 ONU Uni lan los. alarm

 An alarm 35319 level notification occurred at 12:31:26  Wed  Sep 27  2023  KIEV  %s GPON detect onu first online: shelf 1 slot 1 olt 1 onu 2 level 6 Type:GPON_ONE_ETH_PORT, RegistrationInfo:1,GPON02220318

 An alarm 36610 level minor occurred at 12:31:26  Wed  Sep 27  2023  KIEV  %s <gpon-onu_1/1/1:2> port:1 Onu Uni lan los
 An alarm 36633 level notification occurred at 12:31:26  Wed  Sep 27  2023  KIEV  %s GponRm notify: <gpon-onu_1/1/1:2> SubType:36610 Pos:1 ONU Uni lan los. alarm

 An alarm 50952 level warning occurred at 12:31:32  Wed  Sep 27  2023  KIEV  %s Power 3 over voltage in shelf 1
 An alarm 35319 level notification occurred at 12:31:35  Wed  Sep 27  2023  KIEV  %s GPON detect onu first online: shelf 1 slot 1 olt 1 onu 3 level 6 Type:GPON_ONE_ETH_PORT, RegistrationInfo:1,JY2308035095

C320-Donec#show
C320-Donec#show cvar
%Error 20206: Unrecognized command
C320-Donec#show car
C320-Donec#show card
Rack Shelf Slot CfgType RealType Port  HardVer SoftVer         Status
-------------------------------------------------------------------------------
1    1     1    GTGH    GTGHK    16    V1.0.0  V2.1.0          INSERVICE
1    1     2    GTGH    GTGHK    16    V1.0.0  V2.1.0          INSERVICE
1    1     3    PRAM    PRAM     3     V1.0.0  V1.01           INSERVICE
1    1     4    SMXA    SMXA     3     V1.0.0  V2.1.0          INSERVICE

Patches

v210_p006.spat

patch active package v210_p006.spat
Position PatchFile                   VerTag      ActiveTime          Status
-------------------------------------------------------------------------------
1/1/4    smxav210t37_r0.pat          V2.1.0      2023-09-27 12:55:38 Success
1/1/4    smxav210t37_r1.pat          V2.1.0      2023-09-27 12:55:38 Reset
1/1/4    smxav210t37_r2.pat          V2.1.0      2023-09-27 12:55:38 Reset
1/1/4    smxav210t37_r3.pat          V2.1.0      2023-09-27 12:55:38 Reset

v210_p018.spat

v210_p030.spat