summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Fair <benjaminfair@google.com>2018-08-08 14:16:03 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-21 19:29:02 +0000
commit498cd0e551db323de222ad7b49d45fc27a16ac0d (patch)
tree48a6e91406a28d7bad4f5563249363abd7af1cae
parent167d2462ad81c52c8df7506c94d1886c241e300f (diff)
downloadtalos-openbmc-498cd0e551db323de222ad7b49d45fc27a16ac0d.tar.gz
talos-openbmc-498cd0e551db323de222ad7b49d45fc27a16ac0d.zip
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 <benjaminfair@google.com>
-rw-r--r--meta-openbmc-bsp/meta-nuvoton/conf/machine/evb-npcm750.conf4
1 files changed, 4 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud