entry_args = {
'atf-bl31-path': 'bl31.elf',
}
- data = self._DoReadFileDtb('291_template_phandle.dts',
+ data = self._DoReadFileDtb('309_template_phandle.dts',
entry_args=entry_args)
fname = tools.get_output_filename('image.bin')
out = tools.run('dumpimage', '-l', fname)
'atf-bl31-path': 'bl31.elf',
}
with self.assertRaises(ValueError) as e:
- self._DoReadFileDtb('292_template_phandle_dup.dts',
+ self._DoReadFileDtb('310_template_phandle_dup.dts',
entry_args=entry_args)
self.assertIn(
'Duplicate phandle 1 in nodes /binman/image/fit/images/atf/atf-bl31 and /binman/image-2/fit/images/atf/atf-bl31',
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0+
-
-/dts-v1/;
-
-/ {
- #address-cells = <1>;
- #size-cells = <1>;
-
- binman {
- multiple-images;
-
- ti_spl_template: template-1 {
- fit {
- description = "test-desc";
- #address-cells = <1>;
- images {
- atf {
- description = "atf";
- ti-secure {
- type = "collection";
- content = <&atf>;
- keyfile = "key.pem";
- };
- atf: atf-bl31 {
- description = "atf";
- };
- };
- };
- };
- };
-
- image {
- insert-template = <&ti_spl_template>;
- fit {
- images {
- fdt-0 {
- description = "fdt";
- ti-secure {
- type = "collection";
- content = <&foo_dtb>;
- keyfile = "key.pem";
- };
- foo_dtb: blob-ext {
- filename = "vga.bin";
- };
- };
- };
- };
- };
- };
-};
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0+
-
-/dts-v1/;
-
-/ {
- #address-cells = <1>;
- #size-cells = <1>;
-
- binman {
- multiple-images;
-
- ti_spl_template: template-1 {
- fit {
- description = "test-desc";
- #address-cells = <1>;
- images {
- atf {
- description = "atf";
- ti-secure {
- type = "collection";
- content = <&atf>;
- keyfile = "key.pem";
- };
- atf: atf-bl31 {
- description = "atf";
- };
- };
- };
- };
- };
-
- image {
- insert-template = <&ti_spl_template>;
- fit {
- images {
- fdt-0 {
- description = "fdt";
- ti-secure {
- type = "collection";
- content = <&foo_dtb>;
- keyfile = "key.pem";
- };
- foo_dtb: blob-ext {
- filename = "vga.bin";
- };
- };
- };
- };
- };
-
- image-2 {
- insert-template = <&ti_spl_template>;
- fit {
- images {
- fdt-0 {
- description = "fdt";
- blob-ext {
- filename = "vga.bin";
- };
- };
- };
- };
- };
- };
-};
--- /dev/null
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ multiple-images;
+
+ ti_spl_template: template-1 {
+ fit {
+ description = "test-desc";
+ #address-cells = <1>;
+ images {
+ atf {
+ description = "atf";
+ ti-secure {
+ type = "collection";
+ content = <&atf>;
+ keyfile = "key.pem";
+ };
+ atf: atf-bl31 {
+ description = "atf";
+ };
+ };
+ };
+ };
+ };
+
+ image {
+ insert-template = <&ti_spl_template>;
+ fit {
+ images {
+ fdt-0 {
+ description = "fdt";
+ ti-secure {
+ type = "collection";
+ content = <&foo_dtb>;
+ keyfile = "key.pem";
+ };
+ foo_dtb: blob-ext {
+ filename = "vga.bin";
+ };
+ };
+ };
+ };
+ };
+ };
+};
--- /dev/null
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ multiple-images;
+
+ ti_spl_template: template-1 {
+ fit {
+ description = "test-desc";
+ #address-cells = <1>;
+ images {
+ atf {
+ description = "atf";
+ ti-secure {
+ type = "collection";
+ content = <&atf>;
+ keyfile = "key.pem";
+ };
+ atf: atf-bl31 {
+ description = "atf";
+ };
+ };
+ };
+ };
+ };
+
+ image {
+ insert-template = <&ti_spl_template>;
+ fit {
+ images {
+ fdt-0 {
+ description = "fdt";
+ ti-secure {
+ type = "collection";
+ content = <&foo_dtb>;
+ keyfile = "key.pem";
+ };
+ foo_dtb: blob-ext {
+ filename = "vga.bin";
+ };
+ };
+ };
+ };
+ };
+
+ image-2 {
+ insert-template = <&ti_spl_template>;
+ fit {
+ images {
+ fdt-0 {
+ description = "fdt";
+ blob-ext {
+ filename = "vga.bin";
+ };
+ };
+ };
+ };
+ };
+ };
+};