summaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-02-22 15:30:55 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-22 15:33:37 +0100
commit5c126258230b2490133ef2f6f9fffb1a6a4e6053 (patch)
tree51bc665a8b653a4ff675bdec1b782febd6526104 /target/arm
parentf7e85105e77f72a1d779d9dd64231970bb91d3e0 (diff)
raspberry-pi3: fix mini.config bootup
- cmdline.txt is not required with full device tree capable kernel - force 270x option for mkknlimg trailer - we need ext4 filesystem support in the kernel other filesystems are rarely used at the moment - ATAGS and CMDLINE_FROM_BOOTLOADER not required with device tree capable kernel - overlay dtb files are renamed to dtbo suffix
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 9b9d7bf4f..527c4a4f1 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -138,7 +138,7 @@ endif
kernel-strip:
ifeq ($(ADK_TARGET_KERNEL_GIT_REPO_NAME),rpi)
@echo adding DT trailer to kernel $(MAKE_TRACE)
- PATH='$(HOST_PATH)' perl $(LINUX_DIR)/scripts/mkknlimg --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
+ PATH='$(HOST_PATH)' perl $(LINUX_DIR)/scripts/mkknlimg --270x --dtok $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
else
@cp $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL)
endif
@@ -172,8 +172,8 @@ ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
dtbs $(MAKE_TRACE)
mkdir -p $(FW_DIR)/overlays
- for x in $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtb; do \
- [[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtb $(FW_DIR)/overlays; \
+ for x in $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo; do \
+ [[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/overlays/*.dtbo $(FW_DIR)/overlays; \
break; \
done
endif