Automatically set u-boot

stereo_m
Is there any way to automate the whole process to write u-boot to NAND, do
the nand scrub and createbbt, and also set the "bootcmd", "bootargs" and
"setenv ethaddr" commands? Like a script for hyperterminal or minicom or
something? Switching the NAND/NOR switch need off course to be done
manually, but could at least the bootcmd and bootargs commands be set
automatically?