Ok so its very simple, if someone followed the archwiki instructions and wants u-boot to run a script that defines all the variables and boots the kernel all that needs to be done is:
on boot press any key to break into u-boot prompt enter commands:
$this->bbcode_second_pass_code('', '
setenv arch_boot 'mmc dev 0; ext2load mmc 0:1 40000000 boot.scr.uimg; source 40000000'
setenv bootcmd 'run arch_boot'
saveenv
')
this will boot the script /boot/scr.boot.uimg (instruction on previous post)
the script I run is:
$this->bbcode_second_pass_code('', '
setenv bootargs root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ro quiet
setenv mmc dev 0
ext2load mmc 0:1 42000000 vmlinux.uimg
ext2load mmc 0:1 44000000 uInitrd.uimg
bootm 42000000 44000000
')
This page specifies u-boot commands:
http://git.denx.de/?p=u-oot.git;a=blob_plain;f=README;hb=HEADI hope this will be usefull.