diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2020-02-12 10:35:26 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-14 13:07:23 +0000 |
| commit | 2fd5bda2b3780507d91ee392283df55ea918cc7f (patch) | |
| tree | 573357c1fa921c5471044c3b967b6e8753453175 /meta/classes/devicetree.bbclass | |
| parent | 36c879ca38d63c9664480521b2cca6d04f1a5c79 (diff) | |
| download | poky-2fd5bda2b3780507d91ee392283df55ea918cc7f.tar.gz | |
devicetree.bbclass: include symbols in base DT
When processing overlays, the base device tree must be compiled with
symbols, otherwise attempting to apply overlays in U-Boot will fail
with:
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
base fdt does did not have a /__symbols__ node
make sure you've compiled with -@
(From OE-Core rev: d075e39c05ace6dad2c66a5e8c4b1e75aa751b6a)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/devicetree.bbclass')
| -rw-r--r-- | meta/classes/devicetree.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass index d8779c7943..c772ab2ab9 100644 --- a/meta/classes/devicetree.bbclass +++ b/meta/classes/devicetree.bbclass | |||
| @@ -59,7 +59,7 @@ DT_BOOT_CPU ??= "0" | |||
| 59 | 59 | ||
| 60 | DTC_FLAGS ?= "-R ${DT_RESERVED_MAP} -b ${DT_BOOT_CPU}" | 60 | DTC_FLAGS ?= "-R ${DT_RESERVED_MAP} -b ${DT_BOOT_CPU}" |
| 61 | DTC_PPFLAGS ?= "-nostdinc -undef -D__DTS__ -x assembler-with-cpp" | 61 | DTC_PPFLAGS ?= "-nostdinc -undef -D__DTS__ -x assembler-with-cpp" |
| 62 | DTC_BFLAGS ?= "-p ${DT_PADDING_SIZE}" | 62 | DTC_BFLAGS ?= "-p ${DT_PADDING_SIZE} -@" |
| 63 | DTC_OFLAGS ?= "-p 0 -@ -H epapr" | 63 | DTC_OFLAGS ?= "-p 0 -@ -H epapr" |
| 64 | 64 | ||
| 65 | python () { | 65 | python () { |
