| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UM0844 bảng dữ liệu(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0844 bảng dữ liệu(HTML) 17 Page - STMicroelectronics |
|
17 / 43 page ![]() 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 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| 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 |