
On 19.7.2018 19:22, Luis Araneda wrote:
Hi Michal,
On Thu, Jul 19, 2018 at 2:16 AM Michal Simek michal.simek@xilinx.com wrote:
Also on zc706 without FULL_FIT my path in spl_load_fit_image is not jumping to "if (external_data) {" branch where spl_load_fpga_image is which is kind of interesting because it looks like you are going there.
To enter the path "if (external_data) {" branch where spl_load_fpga_image is}" you have to create the FIT image with the "-E" option, I'm creating it with:
./tools/mkimage -f <input_its_file> -E <output_file>
I started to use the option because my initial tests weren't entering the path either, and I found it when analyzing the (generated) .u-boot.img.cmd file.
I just tested your patch with and without the "-E" option, and it works on both cases :)
ok.
Thanks, Michal