mirror of
https://github.com/revyos/thead-kernel.git
synced 2026-06-21 09:12:26 +02:00
scripts: add more options like -@ to build dtbo
It fixes the issue that u-boot failed to load dtbo like this:
Retrieving file: /dtbs/linux-image-5.10.113-lpi4a/thead/overlays/meles-wifibt-external-antenna.dtbo
715 bytes read in 4 ms (173.8 KiB/s)
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
base fdt does did not have a /__symbols__ node
make sure you've compiled with -@
Failed to apply overlay /dtbs/linux-image-5.10.113-lpi4a/thead/overlays/meles-wifibt-external-antenna.dtbo, skipping
ERROR: Did not find a cmdline Flattened Device Tree
Loading Ramdisk to 1fa22000, end 1ffff820 ... OK
Device tree not found or missing FDT support
### ERROR ### Please RESET the board ###
Signed-off-by: Haaland Chen <haaland@milkv.io>
This commit is contained in:
committed by
Han Gao/Revy/Rabenda
parent
71b7c456fa
commit
fa953236e1
@@ -317,6 +317,9 @@ endif
|
||||
DTC ?= $(objtree)/scripts/dtc/dtc
|
||||
DTC_FLAGS += $(call dtc-option,-Wno-interrupt_provider)
|
||||
|
||||
# Overlay support
|
||||
DTC_FLAGS += -@ -Wno-unit_address_format -Wno-simple_bus_reg
|
||||
|
||||
# Disable noisy checks by default
|
||||
ifeq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
|
||||
DTC_FLAGS += $(call dtc-option,-Wno-unit_address_vs_reg) \
|
||||
|
||||
Reference in New Issue
Block a user