diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-22 15:30:55 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-22 15:33:37 +0100 |
commit | 5c126258230b2490133ef2f6f9fffb1a6a4e6053 (patch) | |
tree | 51bc665a8b653a4ff675bdec1b782febd6526104 /target | |
parent | f7e85105e77f72a1d779d9dd64231970bb91d3e0 (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')
-rw-r--r-- | target/arm/Makefile | 6 | ||||
-rw-r--r-- | target/config/Config.in.rootfs | 10 |
2 files changed, 9 insertions, 7 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 diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs index 9b6a007ab..d4bae7822 100644 --- a/target/config/Config.in.rootfs +++ b/target/config/Config.in.rootfs @@ -145,16 +145,18 @@ config ADK_TARGET_ROOTFS_INITRAMFSARCHIVE Use this option if your planning to create a initramfs. config ADK_TARGET_ROOTFS_ARCHIVE - bool "Archive usable for different filesystems" + bool "Archive usable for ext4 filesystems" select ADK_HOST_NEED_GENEXT2FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX - select ADK_KERNEL_EXT2_FS if ADK_TARGET_QEMU || ADK_TARGET_VBOX - select ADK_TARGET_QEMU_WITH_BLOCK + select ADK_KERNEL_EXT4_FS + select ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_QEMU depends on !ADK_TARGET_SIM \ && !ADK_TARGET_ARCH_NDS32 \ && !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208 \ && !ADK_TARGET_SYSTEM_QEMU_METAG help - Use this option if your root filesystem is ext2/ext3/ext4/xfs. + Use this option if your root filesystem is ext4 and you use + for example install.sh to install firmware on a block device + connected to your development machine. config ADK_TARGET_ROOTFS_GENIMAGE bool "Create a disk image for the target" |