Hi Igor,
Yes, I did that, here is my uEnv.txt :
#u-boot mmc (SDcard) boot
kernel_file= zImage
#mmc (SDcard for bbb) parameters
mmcdev=0
mmcpart=1
loadzimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${kernel_file}
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${fdtfile}
#systemd boot
optargs=quiet init=/hello_s.out
console=ttyO0,115200n8
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext4 rootwait fixrtc
mmcargs=setenv bootargs console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} ${optargs}
#boot commands for compressed image kernel
uenvcmd=run loadzimage; run loadfdt; run mmcargs; bootz ${loadaddr} - ${fdtaddr}
In the first partition mmcblk0p1 I have my uEnv.txt and my zImage (I used a zImage combined with th fdt). In the second partition mmcblk0p2 I have the my rootfs. I tried with both, debian and a hello_s.out file which is a hello_world statically compiled. I always got he same error.
Nabil