Alias in redboot

There is a command named alias in RedBoot. Each shorthand can be alias. The alias command is identical to the commands of environment variables in u-boot.

By using of alias it is convenient to execute commands which entry is too long and it is difficult to remember it. For example the alias creation looks like the following for data copying from the flash area to a random access memory:

RedBoot> alias cp_img "mcopy -s 0x40080000 -d 0x80040000 -l 0x200000"

For alias execution the following command is to be run:

RedBoot> %{cp_img}

For alias displaying the following command is to be used:

RedBoot> alias cp_img