I don't remember the behavior of this CFE. Probably restoring the default IP for CFE was made for ensuring you always could have the default IP available, for the cases you forgot the custom IP, or if the device is being configured by another owner.
Yes, probably this is good behaviour of CFE but i modified the source code, and now hold the RESET button for 6 seconds while power on router causes only break into CFE
In file: cfe_bcm63xx/cfe/cfe/arch/mips/board/bcm63xx_ram/src/bcm63xx_devs.c
simply need change value nInitPsiDelay greater than 2, eg. 30:
const int nInitPsiDelay = 30;
const int nBreakIntoCfeDelay = 5; //roy
Now have only break into CFE without reset to factory default:
CFE version 1.0.37-6.4 for BCM96358 (32bit,SP,BE)
Build Date: Wed Dec 7 02:54:07 CET 2016 (root@debian)
Copyright (C) 2016
Boot Address 0xbe000000
Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV320MT, id 0x2201, size 16384KB
Now initializing the switch......done
CPU type 0x2A010: 300MHz, Bus: 133MHz, Ref: 64MHz
Total memory: 67108864 bytes (64MB)
Total memory used by CFE: 0x80401000 - 0x80528A20 (1210912)
Initialized Data: 0x8041DB00 - 0x80420120 (9760)
BSS Area: 0x80420120 - 0x80426A20 (26880)
Local Heap: 0x80426A20 - 0x80526A20 (1048576)
Stack Area: 0x80526A20 - 0x80528A20 (8192)
Text (code) segment: 0x80401000 - 0x8041DB00 (117504)
Boot area (physical): 0x00529000 - 0x00569000
Relocation Factor: I:00000000 - D:00000000
*** Break into CFE console ***
Board IP address : 192.168.xxx.xxx:ffffff00
Host IP address : 192.168.xxx.xxx
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : HW553
Psi size in KB : 24
Number of MAC Addresses (1-32) : 4
Base MAC Address : 00:24:89:46:df:22
Ethernet PHY Type : Internal
Memory size in MB : 64
CMT Thread Number : 1
web info: Waiting for connection on socket 0.
CFE>
Changes:
RESET while power on causes only break into CFE
fixed blue POWER LED while run CFE like in OpenWrt
cfe6358_07122016.zip - token without NVRAM
(Last edited by Gelip on 9 Dec 2016, 17:42)