Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM1535 Datasheet(PDF) 16 Page - STMicroelectronics

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

UM1535 Datasheet(HTML) 16 Page - STMicroelectronics

Back Button UM1535 Datasheet HTML 12Page - STMicroelectronics UM1535 Datasheet HTML 13Page - STMicroelectronics UM1535 Datasheet HTML 14Page - STMicroelectronics UM1535 Datasheet HTML 15Page - STMicroelectronics UM1535 Datasheet HTML 16Page - STMicroelectronics UM1535 Datasheet HTML 17Page - STMicroelectronics UM1535 Datasheet HTML 18Page - STMicroelectronics UM1535 Datasheet HTML 19Page - STMicroelectronics UM1535 Datasheet HTML 20Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 39 page
background image
Working with pre-flashed software
UM1535
16/39
Doc ID 023036 Rev 2
As an example, let's assume an IPv4 local area network with the following characteristics:
Network IPs:
192.168.1.X
Host PC IP:
192.168.1.1
Evaluation board IP:
192.168.1.10
On a Linux PC, configure the host address as follows:
# ifconfig eth0 192.168.1.1 broadcast 192.168.1.255 netmask
255.255.255.0
In this example we are assuming that evaluation board is connected to Ethernet port 0
(eth0) of the host machine.
You can 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
3.
Set the root path as path of your NFS file system. If you are using STLinux2.4 as NFS
file system then your root path will be:
–
For Armv5 SoCs:
> setenv rootpath /opt/STM/STLinux-2.4/devkit/armv5/target
–
For Armv7 SoCs:
> setenv rootpath /opt/STM/STLinux-2.4/devkit/armv7/target
Default bootargs contain an environment variable named nfsboot. This variable uses
the environment variables above. If extra information is required, the environment
variable othbootargs can be used.
4.
As final step, modify bootargs with nfsboot. Execute the following command for this
> run nfsboot
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 the 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:
#



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


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