flash layout have been changed since LinuxImage V2.7 where U-Boot 2016.11 is used. But it is still LinuxImageV2.6 on module. You can try to flashing in recovery mode with LinuxImage v2.7beta3.
Which version of the Colibri iMX7 module are you using exactly? The first samples (V1.1A and earlier) required a software workaround to boot U-Boot correctly. Newer images do not support these modules anymore.
thanks benjamin, the steps in the recovery mode link worked fine…I still used a new 2.6 image (for Java). I’m in the process of formalizing a process for production so I need something stable.
We plan to release a stable release with 2.7 images, so from that perspective it would be better if you can switch to 2.7.
According to the OpenEmbedded (core) article the issues were GCC6 related. The meta-java layer morty branch (the OE version we use in our 2.7 images) has some commits which should fix GCC6 issues, at least for openjdk-8. So presumably openjdk-8 should work with 2.7, but I haven’t verified this at this point.
In my case I was trying to use U-Boot from 2.7 but still had the flash_eth.scr file from the 2.6.1 distribution.
The U-Boot from 2.7 configures mtd partitions mx7-bcb, u-boot1, u-boot2, u-boot-env, and ubi. The old flash_eth.scr’s update_uboot command fails on nand erase.part u-boot. Updating the flash_eth.scr scripts to the ones from 2.7 changes this to nand erase.part u-boot1 (among other changes) so things now work.
The .scr files are in the meta-toradex-demos layer under recipes-images/images/files/{board}