Skip to main content
Documentation
CONTENTS

Kernel Configuration and Transfer

Kernel Configuration and Transfer

Kernel Network Transfer

Speedgoat real-time target machines are pre-configured with a default kernel. Using the Speedgoat utility speedgoatkerneltransfer, a new kernel image can be created and sent to the target machine.

To transfer a new kernel using the Host-Target link, proceed as follows:

  1. At the MATLAB command prompt type speedgoatkerneltransfer. With this command a graphical user interface is opened which allows the kernel image to be configured and transferred to the target machine.

  2. Once the graphical interface is loaded, the tool will attempt to connect to the selected target. If it is successful, the option 'Acquire settings' will be set to 'From target machine'. This option will enable to read certain settings from the target machine, which are specific for each target machine.

  3. Under New kernel settings, configure the kernel image.

  4. Next select 'Ethernet transfer' as Transfer option.

  5. Press Send to create and transfer the new kernel image to the target machine.

  6. After a successful transfer the target machine will reboot with the new kernel image

Kernel USB Transfer

Speedgoat real-time target machines are pre-configured for USB kernel transfer method, using the Speedgoat utility speedgoatkerneltransfer.

To transfer a new kernel using a USB flash drive, proceed as follows:

  1. Insert the provided USB flash drive into one of the USB ports of your development computer.

  2. At the MATLAB command prompt type speedgoatkerneltransfer. With this command a graphical user interface is opened which allows the kernel image to be configured and transferred to the USB flash drive.

  3. Under New kernel settings - Mode: Choose Normal or Standalone mode

  4. Set the network settings and choose the additional options for the kernel.

  5. If there's no connection between the your development computer and the target machine, the tool will automatic set 'Acquire settings' under User options to manual. This will enable the settings for target driver and Ethernet index.

  6. Choose 'Destination' as transfer option and browse for the USB drive.

  7. Press the Create button to generate the kernel.

  8. Two files are written to the USB flash drive:

    • xpckrnl.rtb

    • dos.sg

  9. Now insert the USB drive into the target machine and power-up or reboot the target machine.

  10. A message on the target screen will confirm that the kernel is transferred, and ask you to reboot the target machine. Remove the USB flash drive and reboot the target machine.

  11. The target machine will boot with the new kernel image.

Stand Alone Mode

During model build, instead of generating the real-time application, you can generate an embedded kernel, which includes the real-time application. You can then transfer the embedded kernel to the target machine. Every time you reboot the target machine, the kernel will automatically load the application and start. If needed, you can connect with your development PC at any time to control the application.

To generate a standalone application, proceed as follows:

  1. Open the Speedgoatkerneltransfer tool

  2. Under New kernel settings - Mode:

    1. Choose the standalone option.

    2. Browse and select the Simulink-Real-Time model to be integrated in the standalone kernel.

  3. Set the network settings and choose the additional options for the kernel.

  4. Under Transfer options:

    Choose Destination and browse to the folder if you want to store the kernel locally or choose Ethernet transfer to send the kernel over the host-link.

  5. Press the Create/Send button to generate the kernel

For more information please see Standalone Mode or Standalone Mode (web)

Kernel Network Boot

Your target machine can be configured for network boot. As Speedgoat pre-configure the target machine with a DOS boot loader, the BIOS settings must be modified if you wish to use network boot option.

BIOS configuration is slightly different depending on the target machine configuration. Please refer to the mainboard manufacturer OEM Reference Manual for detailed information.

To configure the BIOS for network boot, proceed as follow:

  1. Enter speedgoatkerneltransfer at the MATLAB command prompt.

  2. Under New kernel settings – Mode: Choose the Networkboot option.

  3. Set the network settings and choose the additional options for the kernel.

  4. Press the Create button to generate a boot server.

  5. Connect a monitor and keyboard to your target machine.

  6. Power-up the target machine, and keep DEL pressed on the keyboard to enter the BIOS.

  7. Enable the LAN boot option for the Ethernet controller used for communications between the development computer and the target machine

  8. Select the LAN boot option as the first boot device

  9. Save the BIOS settings and reboot the target machine

The network boot should start automatically.

For further information please contact Speedgoat.

Please do not modify other parameters on the BIOS. Speedgoat optimize the BIOS for real-time execution. Note that if you select "Load default" or "Load optimized configuration" in the BIOS, you will load the default manufacturer settings, which are not the optimized settings provided by Speedgoat.