• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

bootloader_log_client.py

When the IP-STB is initially powered on, the IP-STB boot loader is responsible for locating and downloading a suitable boot image. There are several ways to transmit the boot image to the IP-STB (infocast, http, tftp...) and each have their own configuration and potential problems. The bootloader_log_client.py script is provided in the SDK to help debugging boot problems.

Difference from the regular log client

The logclient is used under normal STB operation, that is, once the KreaTV platform has been successfully booted. On the other hand, the boot loader logging is only available during the initial part of the boot up sequence, and only contains information on the booting process.

Logclient is an outgoing connection from your host PC. Logclient takes as an argument the IP of the STB you want to receive a log from, and then connects to the IP-STB. The IP-STB is always listening and ready for an incoming logclient connection.

bootloader_log_client.py listens passively for incoming connections to your host PC. The STB initiates the connection shortly after power on, and transmits the log to the host PC. If the host PC is not running the bootloader_log_client.py script, the log is lost.

Note that firewalls around your host PC or IP-STB may block one or both of these logging connections. bootloader_log_client.py should only be used in a lab setting, not in a live deployment

Configuring boot loader logging

As described above, the STB will initiate the boot loader log connection, and so needs to know the IP address of the host PC. This is sent to the IP-STB by configuring the DHCP message type option code 3 (option Kreatel.bootloader-log, see example DHCP config)

5.0.1

Copyright (c) 2016 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.