
Hi Tom,
2016-02-25 15:30 GMT+01:00 Tom Rini trini@konsulko.com:
On Thu, Feb 25, 2016 at 02:58:24PM +0100, Michal Simek wrote:
Provide user option to skip SPL signature verification for cases where
u-boot is build with SPL support but full U-Boot is also verified without SPL.
If you want to support this feature please add env__spl_skipped = True to your boardenv configuration file.
For example Xilinx Zynq is using this feature where the same U-Boot binary is checked with SPL and without SPL(with FSBL).
Signed-off-by: Michal Simek michal.simek@xilinx.com
OK, so I'm quite confused as to why there's this patch and also https://patchwork.ozlabs.org/patch/584240/ which I am (or was) about to push (bisecting some patches that had problems, that I had hoped to push out has delayed me pushing a bunch of things). Does Heiko's patch also fix the problem you see? Is one of these better than the other? Thanks!
This is based on the top of Heiko patch. Heiko patch is fixing problem where you have SPL enabled but you don't have any SPL serial output which you can't track. My patch is fixing different problem which is that you have SPL enabled and SPL serial is also there but your booting flow has not SPL there. For example testing on QEMU. Testing without reruning SPL. Testing the same u-boot elf with different bootloader. That's why we talked about adding option to user to skip SPL checking via boardenv file.
Thanks, Michal