5 using sata devices, Using sata devices, U-boot usage am4150 u-boot bootloader – Kontron AM4150 U-Boot Bootloader User Manual

Page 42

Advertising
background image

U-Boot Usage

AM4150 U-Boot Bootloader

Page 42

ID 1052-5678, Rev. 1.0

P R E L I M I N A R Y

6.5

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.

sata init

ext2ls sata 0

fatls sata 0

ext2load sata 0 1000000 kernel.bin

Advertising