diff options
Diffstat (limited to 'meta-openbmc-bsp/meta-aspeed/meta-ast2400')
5 files changed, 42 insertions, 0 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/conf/layer.conf b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/conf/layer.conf new file mode 100644 index 000000000..ce5a49bfd --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/conf/layer.conf @@ -0,0 +1,9 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "ast2400" +BBFILE_PATTERN_ast2400 = "" diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/conf/machine/include/ast2400.inc b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/conf/machine/include/ast2400.inc new file mode 100644 index 000000000..492b47350 --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/conf/machine/include/ast2400.inc @@ -0,0 +1,12 @@ +#@TYPE: Machine +#@NAME: Aspeed AST2400 +#@DESCRIPTION: Common machine configuration for the Aspeed AST2400 Chip + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-obmc" +KERNEL_CONFIG_COMMAND ?= "oe_runmake aspeed_defconfig" + +UBOOT_MACHINE ?= "versatileab_config" +UBOOT_ENTRYPOINT ?= "0x40001000" +UBOOT_LOADADDRESS ?= "0x40001000" + +require conf/machine/include/tune-arm926ejs.inc diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc.bbappend b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc.bbappend new file mode 100644 index 000000000..065b1c420 --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0000-config.patch" diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/0000-config.patch b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/0000-config.patch new file mode 100644 index 000000000..04611eec8 --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/0000-config.patch @@ -0,0 +1,17 @@ +--- a/arch/arm/configs/aspeed_defconfig ++++ b/arch/arm/configs/aspeed_defconfig +@@ -1,12 +1,12 @@ + CONFIG_CROSS_COMPILE="arm-linux-" +-CONFIG_LOCALVERSION="-joel" ++# CONFIG_LOCALVERSION is not set + CONFIG_KERNEL_XZ=y + # CONFIG_SWAP is not set + CONFIG_SYSVIPC=y + CONFIG_IRQ_DOMAIN_DEBUG=y + CONFIG_LOG_BUF_SHIFT=14 + CONFIG_BLK_DEV_INITRD=y +-CONFIG_INITRAMFS_SOURCE="~/ibm/openbmc/buildroot-arm-rootfs.cpio.gz" ++# CONFIG_INITRAMFS_SOURCE is not set + CONFIG_CC_OPTIMIZE_FOR_SIZE=y + CONFIG_KALLSYMS_ALL=y + CONFIG_EMBEDDED=y diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes.txt b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes.txt new file mode 100644 index 000000000..db84c6f88 --- /dev/null +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes.txt @@ -0,0 +1 @@ +recipes-kernel - The kernel and generic applications/libraries with strong kernel dependencies |