I had already told you!!!
And It is from u-boot document. It is a document!!!
If you check the u-boot help, you can easily find how to use ramdisk.
u-boot=> help booti
booti - boot Linux kernel 'Image' format from memory
Usage:
booti [addr [initrd[:size]] [fdt]]
- boot Linux 'Image' stored at 'addr'
The argument 'initrd' is optional and specifies the address
of an initrd in memory. The optional parameter ':size' allows
specifying the size of a RAW initrd.
Since booting a Linux kernel requires a flat device-tree, a
third argument providing the address of the device-tree blob
is required. To boot a kernel with a device-tree blob but
without an initrd image, use a '-' for the initrd argument.
If you check the uuu script 'example_kernel_emmc.uuu' in the binary release tar ball, you will find how to use the ramdisk.
FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f _Image
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f _board.dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f _initramfs.cpio.gz.uboot
#FB: ucmd setenv bootargs console=${console},${baudrate} earlycon=${earlycon},${baudrate}
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
u-boot=> help booti
booti - boot Linux kernel 'Image' format from memory
Usage:
booti [addr [initrd[:size]] [fdt]]
kboot here is booti
loadaddr here is addr
initrd_addr here is initrd and it is ramdisk and it could be core-image-tiny-initramfs.cpio.gz
fdt here is fdt_addr
Again, I had already told you everything!!!
"without an initrd image, use a '-' for the initrd argument."
That is why you often see the '-' in boot command line with linux kernel and device tree dts.
Because the most of time, no need ramdisk.
It is just a u-boot basic knowledge. Very basic.