diff options
author | George Hung <george.hung@quantatw.com> | 2021-03-09 08:39:42 +0300 |
---|---|---|
committer | George Hung <george.hung@quantatw.com> | 2021-03-09 11:46:58 +0300 |
commit | e0dab98ac45d06451672cb19297d3573c3bccd85 (patch) | |
tree | 0d6996d8a3e874beb5e0dd7dcc245db33f2f5d1f /meta-quanta/meta-gbs | |
parent | cb27e7330da067b7d0d70a7672e49c1ead07ce29 (diff) | |
download | openbmc-e0dab98ac45d06451672cb19297d3573c3bccd85.tar.xz |
meta-quanta: gbs: add gbmc distro override
1. add gbmc distro override
2. add GBMC_NCSI_IF_NAME to enable gbmc-ncsi-config
3. enable kernel netfilter configurations to be compatible
with gbmc network config rules
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5b36f79d4a6dcb31753deb860d2e0c7f3349efbd
Diffstat (limited to 'meta-quanta/meta-gbs')
-rw-r--r-- | meta-quanta/meta-gbs/conf/local.conf.sample | 2 | ||||
-rw-r--r-- | meta-quanta/meta-gbs/conf/machine/gbs.conf | 2 | ||||
-rw-r--r-- | meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg | 20 |
3 files changed, 23 insertions, 1 deletions
diff --git a/meta-quanta/meta-gbs/conf/local.conf.sample b/meta-quanta/meta-gbs/conf/local.conf.sample index 02e786914..787ab301b 100644 --- a/meta-quanta/meta-gbs/conf/local.conf.sample +++ b/meta-quanta/meta-gbs/conf/local.conf.sample @@ -1,5 +1,5 @@ MACHINE ??= "gbs" -DISTRO ?= "openbmc-phosphor" +DISTRO ?= "gbmc" PACKAGE_CLASSES ?= "package_rpm" SANITY_TESTED_DISTROS_append ?= " *" EXTRA_IMAGE_FEATURES = "debug-tweaks" diff --git a/meta-quanta/meta-gbs/conf/machine/gbs.conf b/meta-quanta/meta-gbs/conf/machine/gbs.conf index d5a6e7859..241905262 100644 --- a/meta-quanta/meta-gbs/conf/machine/gbs.conf +++ b/meta-quanta/meta-gbs/conf/machine/gbs.conf @@ -10,6 +10,8 @@ MACHINEOVERRIDES .= ":npcm7xx" require conf/machine/include/npcm7xx.inc require conf/machine/include/obmc-bsp-common.inc +GBMC_NCSI_IF_NAME = "eth0" + # Overwrite flash offsets FLASH_ROFS_OFFSET = "7296" FLASH_RWFS_OFFSET = "61440" diff --git a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg index edd009c47..57ccc5e55 100644 --- a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg +++ b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg @@ -88,6 +88,26 @@ CONFIG_GPIO_PCA953X_IRQ=y CONFIG_GPIO_PCA953X=y CONFIG_GPIO_PCF857X=y +# NetFilter Configuration +CONFIG_NETFILTER=y +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_MARK=y +CONFIG_NF_TABLES=y +CONFIG_NFT_CT=y +CONFIG_NF_TABLES_INET=y +CONFIG_NFT_REJECT=y +CONFIG_NFT_LOG=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_NF_LOG_IPV4=y +CONFIG_NFT_FIB_IPV4=y +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_TARGET_REJECT=y +CONFIG_IP6_NF_IPTABLES=y +CONFIG_NF_LOG_IPV6=y +CONFIG_NFT_FIB_IPV6=y +CONFIG_IP6_NF_FILTER=y +CONFIG_IP6_NF_TARGET_REJECT=y + # Misc CONFIG_OVERLAY_FS=y CONFIG_JFFS2_FS=y |