beautypg.com

6 using sata devices, 7 using usb devices, Using sata devices – Kontron COMe-bP5020 User Manual

Page 60: Using usb devices

background image

www.kontron.com

60

User Guide

COMe-bP5020

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.

6.5.6 Using SATA Devices

SATA devices are supported (read only) with the “ext2” or “fat” file system.

In both cases, the SATA devices must be initialized 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 SATA device to memory address 0x1000000.

6.5.7 Using USB Devices

USB devices are supported (read only) with the “ext2” or “fat” file system.

In both cases, the USB devices must be initialized 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 USB device to memory address 0x1000000.

ext2load mmc 0 100000 kernel.bin

sata init

ext2ls sata 0

fatls sata 0

ext2load sata 0 1000000 kernel.bin

usb start

ext2ls usb 0

fatls usb 0

ext2load usb 0 1000000 kernel.bin