Nada más encender el router, aparece la información del bootloader CFE (Common Firmware Environment) de Broadcom.
La versión de bootloader es la 3.9Sla y la dirección de arranque es 0xbfc00000.
Sagem CFE version: 3.9Sla Broadcom version 1.0.37-6.4 for BCM96338 (32bit,SP,BE) Build Date: Mon Sep 25 18:39:15 CST 2006 (yangj@svr1.sagemharbournetworks.com) Copyright (C) 2005-2006 Sagem communication. Boot Address 0xbfc00000 |
Presionar cualquier tecla para interrumpir el arranque y entrar en el menú bootloader.
*** Press any key to stop auto run (1 seconds) *** web info: Waiting for connection on socket 0. 1 Sagem CLI> |
Para listar los comandos disponible, escribir "help"
Sagem CLI> help Available commands: d Display the content of PSI or Backup, CFE version w Write the whole image start from beginning of the flash e Erase [t]backup [n]vram or [a]ll flash except bootrom r Run program from flash image or from host depend on [f/h] flag p Print boot line and board parameter info c Change booline parameters f Write image to the flash i Erase persistent storage data b Change board parameters reset Reset the board flashimage Flashes a compressed image after the bootloader. help Obtain help for CFE commands For more information about a command, enter 'help command-name' *** command status = 0 Sagem CLI> |
Opción "d", visualiza información de contenidos.
Sagem CLI> d d[isplay] the content of [p]SI or [b]ackup or the [v]ersion of cfe. *** command status = 0 Sagem CLI> |
Opción "d p", visualiza información de los contenidos PSI en formato XML.
A destacar el nombre de usuario "admin" y contraseña codificada que es la utilizada en la configuración por HTML y que se accede mediante 192.168.0.1.
Sagem CLI> d p
getShareBlks: i=34, sect_size=65536, end_blk=35
PSI content:
|
Opción "d b", visualiza información de los contenidos de la copia de seguridad en formato XML.
Sagem CLI> d b
getShareBlks: i=34, sect_size=65536, end_blk=35
Backup content:
|
Opciones "d v", muestra información acerca de las versiones de bootloader de Sagem y Broadcom.
Sagem CLI> d v Sagem CFE version: 3.9Sla Broadcom CFE version: 1.0.37 *** command status = 0 Sagem CLI> |
Opción "w", graba al inicio de la flash, una imagen desde un host.
Sagem CLI> w eg. w [hostip:]whole_image_file_name *** command status = -2 Sagem CLI> |
Opción "e", borra el contenido de nvram, memoria persistente o toda las flash excepto la zona de arranque.
Sagem CLI> e Erase [n]vram, [p]ersistent storage or [a]ll flash except bootrom usage: e [n/p/a] *** command status = 0 Sagem CLI> |
Opción "r", carga el contenido de la flash o bien una imagen desde el host.
Sagem CLI> r Code Address: 0x80010000, Entry Address: 0x8017d018 Decompression OK! Entry at 0x8017d018 Closing network. Starting program at 0x8017d018 .............. loading ..... |
Opción "p", visualiza contenidos de arranque e información del circuito.
Sagem CLI> p Enter readNvramData(CFE) Enter kerSysNvRamGet(CFE) getShareBlks: i=0, sect_size=16384, end_blk=1 kerSysNvRamGet(CFE) Mac address:00:19:4b:20:00:55, BoardId=F@ST1201S Enter readNvramData(CFE) Enter kerSysNvRamGet(CFE) getShareBlks: i=0, sect_size=16384, end_blk=1 kerSysNvRamGet(CFE) Mac address:00:19:4b:20:00:55, BoardId=F@ST1201S Board IP address : 192.168.1.1 Host IP address : 192.168.1.100 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 : F@ST1201S Psi size in KB : 24 Number of MAC Addresses (1-32) : 6 Base MAC Address : 00:19:4b:20:00:55 Ethernet PHY Type : Internal Memory size in MB : 8 CMT Thread Number : 0 *** command status = 0 Sagem CLI> |
Opción "c", cambiar parámetros de configuración.
Sagem CLI> c Enter readNvramData(CFE) Enter kerSysNvRamGet(CFE) getShareBlks: i=0, sect_size=16384, end_blk=1 kerSysNvRamGet(CFE) Mac address:00:19:4b:20:00:55, BoardId=F@ST1201S Press: |
Opción "f", grabar en flash una imagen.
Sagem CLI> f Loading 192.168.1.100:bcm963xx_fs_kernel ... Loading failed.: CFE error -21 *** command status = -21 Sagem CLI> |
Opción "i", borrar datos almacenados.
Sagem CLI> i Erase persisten storage data? (y/n):n *** command status = -1 Sagem CLI> |
Opción "b", cambiar identificador de router.
Sagem CLI> b Press: |
Opción "flashimage", grabar imagen comprimida después del bootloader.
Sagem CLI> flashimage eg. flashimage [hostip:]compressed_image_file_name *** command status = -2 Sagem CLI> |
0 comentarios:
Publicar un comentario