bdi
GDB
for BDI3000 (QorIQ P3/P4/P5)
User Manual
13
© Copyright 1997-2012 by ABATRON AG Switzerland
V 1.03
4. Transmit the initial configuration parameters:
With "bdisetup -c" the configuration parameters are written to the flash memory within the BDI.
The following parameters are used to configure the BDI:
BDI IP Address
The IP address for the BDI3000. Ask your network administrator for as-
signing an IP address to this BDI3000. Every BDI3000 in your network
needs a different IP address.
Subnet Mask
The subnet mask of the network where the BDI is connected to. A subnet
mask of 255.255.255.255 disables the gateway feature. Ask your network
administrator for the correct subnet mask. If the BDI and the host are in
the same subnet, it is not necessary to enter a subnet mask.
Default Gateway
Enter the IP address of the default gateway. Ask your network administra-
tor for the correct gateway IP address. If the gateway feature is disabled,
you may enter 255.255.255.255 or any other value.
Config - Host IP Address Enter the IP address of the host with the configuration file. The configura-
tion file is automatically read by the BDI3000 after every start-up.
Configuration file
Enter the full path and name of the configuration file. This file is read via
TFTP. Keep in mind that TFTP has it’s own root directory (usual /tftpboot).
You can simply copy the configuration file to this directory and the use the
file name without any path.
For more information about TFTP use "man tftpd".
$ ./bdisetup -c -p/dev/ttyS0 -b115 \
> -i151.120.25.102 \
> -h151.120.25.112 \
> -fe:/bdi3000/mytarget.cfg
Connecting to BDI loader
Writing network configuration
Configuration passed
5. Check configuration and exit loader mode:
The BDI is in loader mode when there is no valid firmware loaded or you connect to it with the setup
tool. While in loader mode, the Mode LED is blinking. The BDI will not respond to network requests
while in loader mode. To exit loader mode, the "bdisetup -v -s" can be used. You may also power-off
the BDI, wait some time (1min.) and power-on it again to exit loader mode.
$ ./bdisetup -v -p/dev/ttyS0 -b115 -s
BDI Type : BDI3000 (SN: 30000154)
Loader : V1.00
Firmware : V1.00 bdiGDB for P4080
MAC : 00-0c-01-30-00-01
IP Addr : 151.120.25.102
Subnet : 255.255.255.255
Gateway : 255.255.255.255
Host IP : 151.120.25.112
Config : /bdi3000/mytarget.cfg
The Mode LED should go off, and you can try to connect to the BDI via Telnet.
$ telnet 151.120.25.102