U-Boot runs code placed in (processor's) RAM, although it can also read data from other media. The boot process normally takes place in two steps:
- Reading the OS image from media (Ethernet, flash, USB, MMC) into RAM
- Jumping to the first instruction of the image in RAM
uImage
is the (most probably Linux) kernel.
xxx.dtb
is your device tree in compiled form. It contains the hardware information, so that the information can be kept separately from the kernel.
Now, to read an image from an MMC card formatted in FAT, the command is:
fatload mmc <dev>[:partition] <loadAddress> <bootfilename>
So the 2 fatload
commands are loading the 2 files from MMC card into the processor's memory/RAM.
Now, regarding the bootm
: This command starts a kernel image running. The syntax is :
bootm <address of kernel> <address of ramdisk> <address of dtb>
Addresses of ramdisk
and/or dtb
can be omitted if the kernel is configured in such a away that it doesn't need it/them.
In your case you are not using ramdisk
hence the dash -
in the middle.