I have added to u-boot versatile pb config file located in include/configs/versatile.h this lines:
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION 1
to add fatload command to u-boot. So I have fatload command suported. And I'm starting u-boot this way:
qemu-system-arm -M versatilepb -m 128M -nographic -kernel u-boot
Now question is how to pass to qemu file that contains fat filesystem with kernel ( im interested in booting FreeBSD kernel, but i think example with loading Linux could help me too ) and then load kernel and boot it under u-boot.