layerscape: add multiple-configuration generator for FIT images
authorMathew McBride <matt@traverse.com.au>
Mon, 30 Apr 2018 12:43:29 +0000 (22:43 +1000)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:53:57 +0000 (10:53 +0200)
commit481f870a02a29974eca943f3b926434d5e517679
treef2fec8b030c7fc85fadc5b96b09d51f053b76de4
parent2203815f05162c357fbf96b3da8098f687a86d04
layerscape: add multiple-configuration generator for FIT images

This is required for the Traverse LS1043 family, we generate a FIT image
that works on all boards across the family. This is done by creating
multiple configurations that select the right DTB for the board.

The bootloader on these boards is configured to boot like this:
bootm $kernel_load#ls1043s
bootm $kernel_load#ls1043v

This is based on earlier work by Jason Wu for Zynq:
https://lists.openwrt.org/pipermail/openwrt-devel/2016-March/040460.html

Modified to add FDT load addresses and multiple configurations with DTB.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
target/linux/layerscape/image/mkits-multiple-config.sh [new file with mode: 0755]