int6kf(1) | Qualcomm Atheros Open Powerline Toolkit | int6kf(1) |
int6kf - INT6300 Flash Utility for Linux
int6kf [options] -C file -N file -P file
This program is deprecated. Use int6kboot when downloading firmware 3.3.4 or later on INT6300 devices or later.
Download and start runtime firmware on a local Atheros powerline device that is in bootloader mode. A device stays in bootloader mode when it cannot load firmware from NVRAM. That can happen because there is no NVRAM or because the NVRAM is blank or corrupted. The bootloader only understands a subset of Atheros message types and cannot flash NVRAM. This program uses that subset to download runtime firmware and start execution. Optionally, it will proceed to flash NVRAM after the firmware has started.
Booting a device is a two part operation. The first part downloads SDRAM configuration parameters then download runtime firmware and parameters into SDRAM and starts the firmware. The second part downloads runtime firmare and parameters (again) into scratch buffers and instructs the firmware to write them into to NVRAM. This program can perform the first part alone or the first then the second part but not the second part alone. The second part can be performed alone using program int6k.
This program is part of the Atheros Powerline Toolkit. See the AMP man page for compilation and installation instructions.
None.
See the Atheros HomePlug AV Firmware Technical Reference Manual for more information.
The -C, -N and -P options are always required. Their order is not important. Notice that no MAC address is needed because devices use address 00:B0:52:00:00:01, the program default address, when in bootloader mode.
int6kf -C test.cfg -N test.nvm -P test.pib
> eth0 00:B0:52:00:00:01 Write SDRAM Configuration
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Write to device memory
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Write to device memory
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Start Firmware
> eth0 00:B0:52:00:00:01 Started.
Downloads SDRAM configuration file test.cfg with VS_SET_SDRAM then firmware from file test.nvm with VS_WR_MEM then PIB from file test.pib then starts firmware execution with VS_ST_MAC. This operation is common on flash-less systems.
int6kf -C test.cfg -N test.nvm -P test.pib -F
> eth0 00:B0:52:00:00:01 Write SDRAM Configuration
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Write to device memory
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Write to device memory
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Start Firmware
> eth0 00:B0:52:00:00:01 Started.
> eth0 00:B0:52:00:00:01 Write MAC as module
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Write PIB as module
> eth0 00:B0:52:00:00:01 Written.
> eth0 00:B0:52:00:00:01 Flash Device
> eth0 00:B0:52:00:00:01 Flashed.
Perform the same actions as before with some extra steps. After starting firmware execution, the same firmware and PIB are downloaded again, using VS_WR_MOD instead of VS_WR_MEM, and written to NVRAM using VS_MOD_NVM with force. The force option is only recognized by firmware that has been started by the bootloader and will fail when no flash memory is present.
Atheros HomePlug AV Vendor Specific Management Message Entry structure and content is proprietary to Atheros Communications, Ocala FL USA. Consequently, public information may not be available. Atheros Communications reserves the right to modify message structure and content in future firmware releases without any obligation to notify or compensate users of this program.
AMP(1), int6k(1), int6kid(1), int6krate(1), int6kwait(1)
Charles Maier
November 2013 | open-plc-utils-0.0.3 |