I just tried to update U-Boot and the SPL with a built version as mentioned here: http://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code#UBoot
I built U-Boot from that version: http://git.toradex.com/cgit/u-boot-toradex.git/commit/?h=2011.12-colibri_vf&id=60021a4daa9720ae89e31def9483a09a78ead049
Why exactly are you giving the 2011.12-colibri_vf branch which pre-dates the Colibri iMX6?
Why exactly are you using an unsupported former beta version 2.7b2 and not the latest 2.7b3?
I used colibri_imx6_defconfig file and updated both u-boot.imx-spl and SPL in my colibri board.
I’m not sure whether you did the right thing. You would need to flash both SPL as well as u-boot.img. If using our legacy update procedure those would be called SPL and u-boot.imx-spl.
Probably the most straight forward solution would be to start off with our latest beta version 2.7b3 either flashed using our legacy update procedure or alternatively the new Toradex Easy Installer. Once you got that working you may replace desired parts thereof with your self-built ones.
It seems that the SPL file builded that way is not correct since I have that error now:
I don’t think so. The SPL is just not finding U-Boot proper in eMMC flash and therefore can’t boot any further.
I guess there is no other way to write back the original SPL. Am I right?
No, you just have to use the USB recovery mode again either using the legacy update procedure or the Toradex Easy Installer as mentioned above.