From 498cd0e551db323de222ad7b49d45fc27a16ac0d Mon Sep 17 00:00:00 2001 From: Benjamin Fair Date: Wed, 8 Aug 2018 14:16:03 -0700 Subject: meta-nuvoton: evb-npcm750: disable MTD image generation The OpenBMC build system doesn't currently generate a flash image usable by NPCM7XX BMCs, and the OpenBMC Nuvoton kernel doesn't have an MTD SPI-NOR driver. The MTD image generation build step is failing for the NPCM750 eval board, so disable it and instead generate a rootfs cpio suitable for loading from u-boot. Tested: Built for evb-npcm750 and was able to netboot the board Change-Id: I8b6275979d78b7d5657e77d25bd74f933c740ea8 Signed-off-by: Benjamin Fair --- meta-openbmc-bsp/meta-nuvoton/conf/machine/evb-npcm750.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-openbmc-bsp/meta-nuvoton/conf') diff --git a/meta-openbmc-bsp/meta-nuvoton/conf/machine/evb-npcm750.conf b/meta-openbmc-bsp/meta-nuvoton/conf/machine/evb-npcm750.conf index e06e93a7c..38c02ed19 100644 --- a/meta-openbmc-bsp/meta-nuvoton/conf/machine/evb-npcm750.conf +++ b/meta-openbmc-bsp/meta-nuvoton/conf/machine/evb-npcm750.conf @@ -7,3 +7,7 @@ FLASH_SIZE = "32768" require conf/machine/include/npcm7xx.inc require conf/machine/include/obmc-bsp-common.inc + +# Don't generate MTD flash images until we're able to include the primary +# bootloader and the Linux MTD driver is ready. +IMAGE_FSTYPES = "cpio.${INITRAMFS_CTYPE}.u-boot" -- cgit v1.2.1