Update tegra to use binman for image creation. This still includes the current Makefile logic, but a later patch will remove this. Three output files are created, all of which combine SPL and U-Boot: u-boot-tegra.bin - standard image u-boot-dtb-tegra.bin - same as u-boot-tegra.bin u-boot-nodtb-target.bin - includes U-Boot without the appended device tree The latter is useful for build systems where the device is appended later, perhaps after being modified. Signed-off-by: Simon Glass <sjg@chromium.org>master
parent
39c1502ccc
commit
f2faffecb0
@ -0,0 +1,40 @@ |
||||
#include <config.h> |
||||
|
||||
/ { |
||||
binman { |
||||
multiple-images; |
||||
image1 { |
||||
filename = "u-boot-tegra.bin"; |
||||
pad-byte = <0xff>; |
||||
u-boot-spl { |
||||
}; |
||||
u-boot { |
||||
pos = <(CONFIG_SYS_TEXT_BASE - |
||||
CONFIG_SPL_TEXT_BASE)>; |
||||
}; |
||||
}; |
||||
|
||||
/* Same as image1 - some tools still expect the -dtb suffix */ |
||||
image2 { |
||||
filename = "u-boot-dtb-tegra.bin"; |
||||
pad-byte = <0xff>; |
||||
u-boot-spl { |
||||
}; |
||||
u-boot { |
||||
pos = <(CONFIG_SYS_TEXT_BASE - |
||||
CONFIG_SPL_TEXT_BASE)>; |
||||
}; |
||||
}; |
||||
|
||||
image3 { |
||||
filename = "u-boot-nodtb-tegra.bin"; |
||||
pad-byte = <0xff>; |
||||
u-boot-spl { |
||||
}; |
||||
u-boot-nodtb { |
||||
pos = <(CONFIG_SYS_TEXT_BASE - |
||||
CONFIG_SPL_TEXT_BASE)>; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
@ -0,0 +1,3 @@ |
||||
#include <config.h> |
||||
|
||||
#include "tegra-u-boot.dtsi" |
@ -0,0 +1,3 @@ |
||||
#include <config.h> |
||||
|
||||
#include "tegra-u-boot.dtsi" |
@ -1,8 +1,3 @@ |
||||
/ { |
||||
host1x@50000000 { |
||||
u-boot,dm-pre-reloc; |
||||
dc@54200000 { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
}; |
||||
}; |
||||
#include <config.h> |
||||
|
||||
#include "tegra-u-boot.dtsi" |
||||
|
@ -0,0 +1,3 @@ |
||||
#include <config.h> |
||||
|
||||
#include "tegra-u-boot.dtsi" |
@ -0,0 +1,3 @@ |
||||
#include <config.h> |
||||
|
||||
#include "tegra-u-boot.dtsi" |
Loading…
Reference in new issue