He seguido lo que indicaba el compañero, y aunque físicamente la ONT es diferente tiene un puerto RS232 en la placa a la que conecté un adaptador RS232-USB.También en lugar de usar putty usé minicom (soy linuxero…) a 115200 8 bit parity NONE y i bit de parada y sin control de flujo. Tengo cierta costumbre de uso de está interfaz USB-Serie pues es muy común desde toda la vida para flashear dispositivos de todo tipo (yo lo hacía con La Fonera…) y he visto cosas interesantes pero no soy capaz de ver ningún dato de IdONT.
Aqui lo que me parece sustancioso:
U-Boot 2013.04 (Nov 20 2019 - 14:04:46)
CPU : ZX279125@A9,600MHZ
Board: ZTE zx279125evb
I2C: ready
DRAM: 32 MiB
SF: Detected mx25l12805d with page size 64, total 16 MiB
In: serial
Out: serial
Err: serial
Net: eth0
Hit 1 to upgrade softwate version
Hit any key to stop autoboot: 0
Tras interrumpir el arranque se da help y se pueden ejecutar comandos, de los cuales he hecho un printenv:
=> printenv
baudrate=115200
bootcmd=setenv bootargs console=$(console) root=/dev/mtdblock7 ro rootfstype=jffs2 mem=$(memsize);boot;
bootdelay=3
bootfile=uboot.bin
console=ttyS0,115200n8
ethact=eth0
ethaddr=xx:xx:xx:xx:xx:xx
flashsize=16777216
fullfile=upgrade.bin
gatewayip=192.168.1.1
hostname=unknown
ipaddr=192.168.1.1
linuzfile=vmlinuz.bin
loadaddr=0x40600000
memsize=32M
netmask=255.255.255.0
netretry=5
rootfile=rootfs.img
serverip=192.168.1.100
stderr=serial
stdin=serial
stdout=serial
versioninfo=U-Boot V7.0.10T4 20191120140749 0x80000 0x0 0x8f 0x82
Por lo menos sabemos las IP del cacharro…!!!
Aqui están trozos de la traza del arranque:
…
BootImageNum=0x00000000,0
select = 0x0
read spi flash offset=0x80000, size=0x10e7d0,please waiting…down.
offset=200000, fs_size=4a0000
- - Booting kernel from Legacy Image at 40600100 …
Image Name: Linux Kernel Image
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 1107585 Bytes = 1.1 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum … OK
Uncompressing Kernel Image … OK
→setup versioninfo tag…
Starting kernel …
Linux version 2.6.32.61-EMBSYS-CGEL-4.03.20.P1.F0 (root@A000001) (gcc version 4.1.2 2011-06-24 ZTE Embs9
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=18c53c7d
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: ZX279125
Memory policy: ECC disabled, Data cache writeback
reserve bmu=b04000, oss=c000, base=414f0000
<io> io address fixed remap finished
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: console=ttyS0,115200n8 root=/dev/mtdblock7 ro rootfstype=jffs2 mem=32M
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 17640KB available (2819K code, 542K data, 84K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Experimental hierarchical RCU implementation.
Experimental hierarchical RCU init done.
NR_IRQS:256
Console: colour dummy device 80x30
Calibrating delay loop… 1196.03 BogoMIPS (lpj=5980160)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
…
I2C(info): zx_i2c at 0xf0802000 registered.
pon init
pon clk reset PIN mux
pp init
pp net init ok,208/184
switch init
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 34
io scheduler noop registered
io scheduler cfq registered (default)
loop: module loaded
i2c /dev entries driver
nf_conntrack version 0.5.0 (275 buckets, 1100 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
PPP generic driver version 2.4.2
NET: Registered protocol family 24
mtd.name = ZX9125spifc.0, .size = 0x1000000 (16MiB) .erasesize = 0x00010000 (64KiB) .numeraseregions = 0
Creating 9 MTD partitions on "ZX9125spifc.0":
0x000000000000-0x000001000000 : "whole flash"
0x000000000000-0x000000080000 : "uboot"
0x000000080000-0x000000200000 : "kernel0"
0x000000780000-0x000000900000 : "kernel1"
0x000000e80000-0x000000e90000 : "others"
0x000000e90000-0x000000ea0000 : "parameter tags"
0x000000ea0000-0x000001000000 : "usercfg"
0x000000200000-0x000000780000 : "rootfs0"
0x000000900000-0x000000e80000 : "rootfs1"
VFS: Mounted root (jffs2 filesystem) readonly on device 31:7.
Freeing init memory: 84K
CFS CPU scheduler.
zx_uart_startup:UART: uart1 is set for console!
init started: BusyBox v1.01 (2019.11.20-06:05+0000) multi-call binary
Starting pid 19, console /dev/ttyS0: '/etc/init.d/rcS'
Pre-initialization script …
Mounting ramdisk at /var
Mounting /dev/mtdblock6 to /userconfig
Empty flash at 0x00000078 ends at 0x00000100
Mount ok!
Configuring MAC interfaces
Bringing up interface lo
Bringing up interface mii0
Set promisc for device mii0
Configuring with no IP address (i.e. for PPP)
…
=== LowPower Module Initial End ====
zteGpmac_initModule begin…
ERROR: (chip_zx279100/kmodule/sdk/gmac/core/src/zteGponOnuInit.c:218) Onu Mac Ram Init Timeout
=== GponMac Supported MaxTcont: 16 MaxPLI: 800B ===
- - huoqf zteGponAsicStarttimeChkResultInit write cfg=10
- - huoqf zteGponAsicStarttimeChkResultInit read cfg=10
= PON Module Operate ended successfully =
create zteGpon_rei_task ok!
= GMAC Module SYS FS Init ended successfully =
zteGpmac_initModule end…
zx279100_gpon_Init ok
GN25L95 found.
bsp_i2c_probe 0x50 success!
vendor name = ZTE_B+_G
optical PN(0x60) =
optical PN(0x28) = GN25L95
===================================================================
region code:144
region name:SPAINDIGI
USER_CFG is same as ETC_CFG, donot need copy
===================================================================
Database default setting is [current : 144]
Starting pid 178, console /dev/ttyS0: '/sbin/getty'
…
=== GponMac Supported MaxTcont: 8 MaxPLI: 1536B ===
00:00:05 [pon_mgr][Error] [pon_gpon_zx2791(508)pon_EqdCtrl_ini] GetTagParam(TAG_ID_GPON_MAX_SN_ID) erro1
optical PN(0x60) =
optical PN(0x28) = GN25L95
device eth0 entered promiscuous mode
br0: port 1(eth0) entered forwarding state
br0: port 1(eth0) entered forwarding state
00:00:08 [OSS_fw_test][Error] [oss_common.c(480)ASEND] [fwupgrademgr][00900101] Send task Message[0X261!
!
<LOGID000000004>00:00:08 [KIGMPSNP][Error] [br_multicast_se(896)set_multicast_t] portNum = 0, tagstripe0
gpon_omci start==
Process_Perf's Event(4352) is not support !!
==========================sys process start=========================
Omci get Byte Order is Little-Endian
g_bByteSort(0)
omci sender process start
omci process start
OA_Sysdrv_GetTcontBufferSize: value(0) is out of range, use def value:256
[OA_Mng_Event_Cfg] Event (0x05010033) no found!
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=2
g_MeCtr_Configure=0x00000000,g_MeCtr_CreateMark1=0x00000000,g_MeCtr_CreateMark2=0x00000000
[OA_Mng_Event_Cfg] Event (0x0500000c) no found!
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=2
OA_Pondrv_GetTcontMax result:0 tcontmax:7
OA_Pondrv_GetTcontQueueMax result:0 tcontqueuemax:8
[GoldenSea]TcontID[1], policy:0, pqinfo:0
[GoldenSea]TcontID[2], policy:0, pqinfo:0
[GoldenSea]TcontID[3], policy:0, pqinfo:0
[GoldenSea]TcontID[4], policy:0, pqinfo:0
[GoldenSea]TcontID[5], policy:0, pqinfo:0
[GoldenSea]TcontID[6], policy:0, pqinfo:0
[GoldenSea]TcontID[7], policy:0, pqinfo:0
Open /proc/capability/battery fail
00:00:10 [omci][Error] [pon_baseinfo_cm(506)cmGetUPSInfo] cmGetUPSInfo: Get upsOnline error!
Call cmGPon7
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=255
[FWPM]cmFwListPm ret = 1
[FWIP]pInstList.dwCount = 0
[FWSC]pInstList.dwCount = 0
Sub_SNOntStaticDB:Don't create meclass:329!
Sub_SNOntStaticDB:Don't create meclass:350!
00:00:10 [omci][Error] [pon_upgrade_cma(240)CmGetPrivatePro] CmGetPrivateProfileInt: GetPri[ADAPTER]set!
vateProfileInt F====EVENT_O7_STATE_SAVE OFF====
FAILURE!
Call CmGreg state change: o1 ==> o2
etPrivateProfileInt error,iRet=-14,KeyNareg state change: o2 ==> o1
me=IsOmciUpgradireg state change: o1 ==> o2
ng
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=1
power status is 0x0!!!
[LHP]Update loid_authencation state wResult 0 G_ONU_REG_Authenstates 0
[OA_Mng_Event_Cfg] Event (0x05010029) no found!
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=2
- - Get management VLAN about HG failed!##-zhangyc
[OA_Mng_Event_Cfg] Event (0x0501002a) no found!
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=2
step into Clear_All_Dot1ag_MA
step into Clear_All_Dot1ag_MD
[OA_Mng_Event_Cfg] Event (0x03000012) no found!
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=2
[alecal]ZTE–pon link activate success!
[LHP]Update loid_authencation state wResult 0 G_ONU_REG_Authenstates 0
not support alarm event 0x1103.
Process_Perf's Event(4355) is not support !!
reg state change: o2 ==> o3
sn send interrupt happened !!
reg state change: o3 ==> o4
[LHP]Update loid_authencation state wResult 0 G_ONU_REG_Authenstates 0
rg send interrupt happened !!
reg state change: o4 ==> o5
Set register_authencation state 5
device nbif0 entered promiscuous mode
br0: port 2(nbif0) entered forwarding state
br0: port 2(nbif0) entered forwarding state
00:00:21 [OSS_cspd][Error] [oss_common.c(314)OSSSendAckData] [Cfm_Mgr]OSSSendAckData[9613] wAckLen = 48
DB_RECORD_NOT_EXIST2
[OA_manage_eth_link_alarm]GetMacBrPortMeIdFromUniMeId failed
[OA_Mng_Event_Cfg] Event (0x05000033) no found!
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=2
Set register_authencation state 1
Open /proc/capability/battery fail
00:00:23 [omci][Error] [pon_baseinfo_cm(506)cmGetUPSInfo] cmGetUPSInfo: Get upsOnline error!
Call cmGPon7
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=255
Sub_SNDB_IsRecordExist Can't Find MeClass(287);
[OE_mc_gem_iwtp_set_addr_tbl]:write!
usGemPortID=0x07ff,usSecondaryKey=0x0000!
DestIPStart:IPStackVersion 4(224 0 0 0)
DestIPEnd:IPStackVersion 4(239 255 255 255)
DB_RECORD_NOT_EXIST2
[OA_SysDrv_Mng_Pptp_Uni]GetMacBrPortMeIdFromUniMeId(UNI:257) failed
[OA_Chip_Mng_Event_CallBack]Call pFucMngExec ucRet=247
[LHP]Clear Old AccessControlTable Settings Port 0
00:00:24 [multicast_mgr][Error] [multicast_mgr.c(2037)igmpDealCtlMac] igmpAddCtlMac failed!
[Sub_SNCrea3
Calpath …
ExExExExEx - Step Into Omci Adapter!
[Omci_Hash_Icb_Deregister] error1
GPON Aes encrypted gemportID (282) valid (1)
GPON Aes encrypted gemportID (314) valid (1)
GPON Aes encrypted gemportID (315) valid (1)
__ratelimit: 782 callbacks suppressed
[yqs]disable cpu queue rate limit
F601
Login:
La consola está pues arrncada. Pruebo admin:admin y nada user:user y nada…
Lo importante es que no se ve ninguna linea que ponga set GPON up!!! ni ZX…GponStart con sn=… y password.
¿Quiere esto decir que el SN de la ONT es el que viene impreso en una etiqueta adhesiva en la parte trasera de la ONT? Si fuera si, solo nos quedaría saber como encontrarla…
Otra cosa que he visto es que la placa tiene otro adhesivo con un código de barras de la forma GPON123C201231030397 (numeros ficticios …) ¿Esto que es? Para leerlo hay que abrir la ONT y dudo que lo haga mucha gente…
Sigo abierto a ideas que pueda probar…Si hay temas delicados, por favor PM.