May 22nd, 2008

ADSL модем D-Link DSL-2640U. Часть III. Boot Loader, OS Linux 2.6.8.1 и оболочка BusyBox 1.0.

Подключаем консольный кабель, запускаем терминал, включаем модем, не ждем загрузки ОС, а сразу жмем в терминале на клавишу Enter и получаем доступ в Boot Loader. В Broadcom'e он называется - CFE (Common Firmware Environment):
** Press Enter to stop auto run (3 seconds) ***
Auto run second count down: 3
web info: Waiting for connection on socket 0.
CFE>
CFE> help
Available commands:

w                   Write the whole image start from beginning of the flash
e                   Erase [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

Collapse )