| поискавой системы для электроныых деталей |
|
UM1535 датащи(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1535 датащи(HTML) 30 Page - STMicroelectronics |
|
30 / 39 page ![]() Working with customized kernels UM1535 30/39 Doc ID 023036 Rev 2 or change it into a comment line by putting a hash character in front of it. An example of TFTP file configuration is shown below: service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -c -v -s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 } Also, make sure that the /tftpboot directory exists and is word-readable (permissions at least "dr-xr-xr-x"), and remember to disable the firewall if present (or make new rules to allow TFTP traffic). The firewall can be disabled as in the following example command: # /etc/init.d/iptables stop Please note that server_args keeps the default search path for TFTP daemon. This is useful for specifying file names omitting this path on the TFTP client side (target). After this, restart the xinetd daemon to force it to reload the new configuration. Type the following command from the host PC prompt: # service xinetd restart Stopping xinetd: [OK] Starting xinetd: [OK] 6.3.2 Updating the kernel on Flash memory by U-Boot You can use U-Boot and TFTP transfer to write a new kernel image on Flash memory. For example, use the following procedure to update the kernel on serial NOR Flash for the SPEAR1300EVAL evaluation board: 1. Press the space key to enter U-Boot autoboot 2. Configure network parameters (statically or with DHCP, see relevant sections) 3. Start the TFTP server on the host machine 4. Place the desired image in the host PC TFTP root directory (for example, /tftpboot/uImage_new.img) 5. From the U-Boot console, download the image to RAM (here we use address 0x0) with TFTP client: > tftp 0x0 uImage_new.img 6. Erase the specified kernel area on serial NOR: > erase 0:5-31 Write the image on serial NOR (you need to know the image size). In this example we copied 1663104 bytes (0x196080 in hexadecimal) to the start of the kernel area on serial NOR (0xF8050000 in hexadecimal): > cp.b 0x0 0xF8050000 0x196080 7. Reboot the evaluation board |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |