diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-29 14:23:26 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-29 14:23:26 -0500 |
commit | 9a919a109aff8005ec8f181d6ab3961ca7f5b374 (patch) | |
tree | a6a4a49a0266ba85f37bedbe2764f5ae47d94392 /meta-openbmc-bsp/meta-aspeed/meta-ast2400 | |
parent | ef552f65c3d54126b5ecc813bdd7265ed8f33e4b (diff) | |
parent | 940e097002829605e2b5ec36f02f59676b33aedc (diff) | |
download | talos-openbmc-9a919a109aff8005ec8f181d6ab3961ca7f5b374.tar.gz talos-openbmc-9a919a109aff8005ec8f181d6ab3961ca7f5b374.zip |
Add 'meta-openbmc-bsp/meta-aspeed/' from commit '940e097002829605e2b5ec36f02f59676b33aedc'
git-subtree-dir: meta-openbmc-bsp/meta-aspeed
git-subtree-mainline: ef552f65c3d54126b5ecc813bdd7265ed8f33e4b
git-subtree-split: 940e097002829605e2b5ec36f02f59676b33aedc
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 |