Kontron AM4150 U-Boot Bootloader Manuel d'utilisateur Page 41

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 48
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 40
AM4150 U-Boot Bootloader U-Boot Usage
ID 1052-5678, Rev. 1.0 Page 41
P R E L I M I N A R Y
6.3.2 Contacting the Server
In addition, to be able to transfer files from a tftp server to a module, the module’s IP address
(environment variable “ipaddr”) and the IP address of the server must be set (environment vari-
able “serverip”). Alternatively, it is possible to use the “dhcp” or “bootp” commands.
They can be set using the “setenv” command. Please note that these settings are lost after a
reset. To retain the environment permanently, use the command “saveenv”, which saves the
complete environment to flash.
To transfer a file from a tftp server to memory, the “tftpboot” command is used, for example:
6.4 Using SD Cards
SD cards are supported (read only) with the “ext2” or “fat” file system.
In both cases, the card must be rescanned first.
After that, the contents can be verified with:
in case of the ext2 file system, or with
in case of the fat file system.
To load a file into memory, the commands “ext2load” or “fatload” can be used, for example:
which loads the file “kernel.bin” from the SD card to memory address 0x100000.
tftpboot 100000 filename
mmc rescan 0
ext2ls mmc 0
fatls mmc 0
ext2load mmc 0 100000 kernel.bin
Vue de la page 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 47 48

Commentaires sur ces manuels

Pas de commentaire