Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0844 Datasheet(PDF) 17 Page - STMicroelectronics

Part # UM0844
Description  This manual provides application developers with a first introduction
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0844 Datasheet(HTML) 17 Page - STMicroelectronics

Back Button UM0844 Datasheet HTML 13Page - STMicroelectronics UM0844 Datasheet HTML 14Page - STMicroelectronics UM0844 Datasheet HTML 15Page - STMicroelectronics UM0844 Datasheet HTML 16Page - STMicroelectronics UM0844 Datasheet HTML 17Page - STMicroelectronics UM0844 Datasheet HTML 18Page - STMicroelectronics UM0844 Datasheet HTML 19Page - STMicroelectronics UM0844 Datasheet HTML 20Page - STMicroelectronics UM0844 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 43 page
background image
UM0844
The pre-flashed software
Doc ID 16544 Rev 3
17/43
# ifconfig eth0 192.168.1.1 broadcast 192.168.1.255 netmask
255.255.255.0
You have the option to configure the IP on the evaluation board side in a static or dynamic
way.
For a static configuration, the procedure is as follows:
1.
Reset the board and enter U-Boot mode
2.
Use the following commands to configure environment variables:
> setenv ipaddr 192.168.1.10
> setenv serverip 192.168.1.1
> setenv gatewayip 192.168.1.1
> setenv netmask 255.255.255.0
> setenv hostname SPEAR
> setenv ip_settings
\$(ipaddr):\$(serverip):\$(gatewayip):\$(netmask):\$(hostname):
\$(netdev):off
3.
Modify the existing "bootargs" variable by adding the "ip" argument, as in the following
example, then save the environment:
> setenv bootargs console=ttyS0 ... ip=$(ip_settings)
> saveenv
In this way, network settings work inside U-Boot and are also automatically passed to Linux.
The dynamic configuration requires a DHCP server running on the LAN (for example, on a
Linux host PC) so that the evaluation board automatically gets an IP address at each
bootstrap.
To check if DHCP server (daemon) support is available on the PC-side, use the following
command:
$ rpm -q dhcp
If the DHCP package is not available, install it on the PC from your distribution media (for
example, Fedora Linux CDROM or website).
The next step is to create or change the DHCP configuration file /etc/dhcp/dhcpd.conf that
matches a specific network setup, as shown in the following example:
#
# DHCP Server Configuration file.
#
see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
see 'man 5 dhcpd.conf'
#
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
allow bootp; #allows kernel download using tftp



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com