cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
935
Views
0
Helpful
0
Replies

Cisco SPA512G bricked after provisioning with language settings. Were stored it ONE byte with Dict Index ?

lexxai
Level 1
Level 1

Now device boot until logo of Cisco on display and nothing.
Main problem is error on deployment script that uploaded index Dict 1, as d1 and file as x3 for same language.
Now have brick.

DICT_getCurDictIndex, 1

Or easy ask how to find where is store ONE byte with Dict index for switch to base English language.
How to reset settings ?

Or how to re flash.

 

Or WHERE stored it ONE byte with Dict Index ?

 

I have connection: to RS232

photo_2021-07-14_20-08-13.jpg

console: 9600 8N1

 

Press ESC for monitor... 1
(psbl) help
reboot version info fa
printenv setenv setpermenv unsetenv
defragenv fmt fmtkosmos boot
dm oclk help ls
df cp cat rm
tftp upgrade
(psbl) printenv

BUILD_OPS 0x977
SOFT_RESET_SWR2 0
bootloaderVersion 1.8.0.6
HWRevision Unknown
SerialNumber none
IPA 169.254.87.1
MODETTY0 9600,n,8,1,hw
PATH /bin:/ttyS
CPUFREQ 162500000
MIPSFREQ 87500000
SYSFREQ 87500000
PROMPT (psbl)

tftp

(psbl) tftp -i 169.254.87.2 s.bin
Neither (null) nor SUBNET_MASK configured.

(psbl) setpermenv SUBNET_MASK 255.255.255.0
(psbl) tftp -i 169.254.87.2 s.bin

File format not supported

Unsupported file format download to RAM. Aborting. 

booting ...

load_image /bin/kosmos_ipp.st.gz

Booting... R12 now
MUSB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 512 Initialized
No OHCI host controller found
usbSpeakerDevInit() returned OK
Bulk Class Driver Successfully Initialized

Adding 11192 symbols for standalone.

========================================================
Board : TI TNETV1057 Communication Processor
SOC : Titan, ChipId: 0x7, Version: 2
Cache : Write-Back, Write-Allocate
PSP Version : 8.6.0.3
Type : BasePSP 8.6.0.3
PSPWIZ Version : 0.6
MIPS freq : 87500000 Hz,
System Freq : 87500000 Hz,
VBUS freq : 81250000 Hz
BasePSP mode : Routing
========================================================
Unable to delete route.
Model no: 1
Calling To Load Default provider

appCreate: autoBootLevel=2
MXP environment is created.
About to create Idle Task
About to create Measurement Task
Idle Measurement Tasks created
Panic button enabled
Heartbeat started
Creating Golden Gateway application...
730 Load sipapp.o.z
730 LoadProtocolModule /bin/sipapp.o.z entry - ffs_fread
1450 LoadProtocolModule after reading size=1217800
1450 LoadProtocolModule call ramfs_create fs_size=5242880
LoadProtocolModule 188: memFindMax 21824208
1450 Creating fs:/tmp 5242880
Instantiating /tmp as rawFs
Formatting /tmp for DOSFS
lcd show logo
MDC = GPIO4
MDIO = GPIO5
DSP core type (TITAN)
Retrieving DSP image
Instantiating /tmp as rawFs
Formatting...OK.
1960 Decompress app module.... start
7230 Decompress app module.... done. msize 4327508.
7240 loading sprvoip_app.os start
appmodule len=4327508
17310 loading sprvoip_app.os end
Instantiating /tmp as rawFs
17310 Creating fs:/DR 49152
Instantiating /DR as rawFs
Formatting /DR for DOSFS
Instantiating /DR as rawFs
Formatting...OK.
/DR created
17360 ========== app_main - call init_modules
17360 rate=100 kernel_tick=1736 user_tick=1736 gettime=1736
17360 ========== init_modules - call warmmem_mod_init
17360 ========== init_modules - call hal_board_init
17360 ========== init_modules - call init_const_table
decompress constdat successfully:317632
18180 ========== init_modules - call flash_init
flash_init . . .
-- flash_raw_init . . .
-- flash_fstr_init . . .
-- flash_fsm_init . . .
-- flash_license_init . . .
-- flash_fpar_init . . .
-- flash_custom_init . . .
-- flash_fprv_init . . .
-- flash_dhcp_prov_init . . .
flash_init done
25890 ========== init_modules - call pal_init
26630 ========== init_modules - call hal_board_init2
LED init..RJ_power, switch reset set to high ..Done
26630 ========== init_modules - call utl_init
0x95ffdd38 (tRootTask): Kosmos Timer Task created.
0x94a17400 (kosmosTimer): Timer message queue created.
26740 ========== init_modules - sysmsg_init
26740 ========== app_main - call nal_net_init
26740 ========== app_main - call SG_Init
DICT_getCurDictIndex, 1

Tlb Load Exception
Exception Program Counter: 0x94275148
Status Register: 0x10008c01
Cause Register: 0x10000008
Access Address : 0x00000000
Task: 0x95ffdd38 "tRootTask"
0x95ffdd38 (tRootTask): task 0x95ffdd38 has had a failure and has been stopped.
0x95ffdd38 (tRootTask): fatal kernel task-level exception!
0000012191 - ROOT: Shell priority set to low  

 

Flash Allocation:

(psbl) fa                                                                       
Current Flash Allocation:                                                       
                                                                                
section :   PSBL, base : 0xb0000000, size :     262144 bytes                    
section :    ENV, base : 0xb0040000, size :     131072 bytes                    
section : RECOVERY, base : 0xb0060000, size :     262144 bytes                  
section :    KOS, base : 0xb00a0000, size :    2097152 bytes                    
section :    FFS, base : 0xb0ae0080, size :    5245904 bytes                    
                                                                                
unallocated Space Start: 0xb02a0000                                             
unallocated Space End  : 0xb0ae0000 

 

list of /

(psbl) ls

FlashDiskDump for /
drwxrwxrwx 0:0 a: 0 i:0 Jul 27, 1999 2:17:40am 2 bin
drwxrwxrwx 0:0 a: 0 i:0 Jul 27, 1999 2:17:40am 2 etc
drwxrwxrwx 0:0 a: 0 i:0 Jul 27, 1999 2:17:40am 2 ttys
rwxrwxrwx 0:0 a: -1 i:1 Jan 1, 1970 12:00:00am 1948109 kosmos_ipp.st.gz
rwxrwxrwx 0:0 a: -1 i:1 Jan 1, 1970 12:00:00am 188709 libtr69_cpe.o.z
rwxrwxrwx 0:0 a: -1 i:1 Jan 1, 1970 12:00:00am 1217802 sipapp.o.z
rwxrwxrwx 0:0 a: -1 i:1 Jan 1, 1970 12:00:00am 754757 spcpapp.o.z
rwxrwxrwx 0:0 a: -1 i:1 Jan 1, 1970 12:00:00am 3930 update
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 1248 ca_crt.der
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 15174 ca_crt.pem
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 252221 constdat.gz
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 8000 Double-Low-Twelve-Times.raw
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 8880 Eleven-Regular-Sharp-Very-Loud-Factory-Floor.raw
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 15520 Musical-Four-Reverb.raw
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 119304 nmm.conf
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 330011 pt5.ld
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 7200 Pulse1.raw
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 4000 Ring7.raw
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 349184 spa500ds_image.dat
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 3692 spa500ds_iso8859all10mono.dat
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 3692 spa500ds_iso8859all12bmono.dat
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 3692 spa500ds_iso8859all8mono.dat
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 1241 spa_crt.der
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 608 spa_key.der
rwxrwxrwx 0:0 a: -1 i:2 Jan 1, 1970 12:00:00am 8160 Ten-Medium-Warble.raw


How to force boot at RECOVERY section or SOS mode ?

 

help boot                                                                
boot: Boot the OS image according to settings in 'BOOTCFG' 

 

0 Replies 0