meta-quanta: Add meta-f0b machine
Initial introduction of Quanta F0B family equipped with Aspeed 2500 BMC SoC.
Tested: Build Quanta F0B board and load on the target hardware.
Ensure that BMC boots to console.
(From meta-quanta rev: b0d87650a1f20510596881a37c6a4424c6c5781a)
Change-Id: Ieb5aad2f897dc8fb1840e0db2929b9350e3fa063
Signed-off-by: PKLee-Quanta <p.k.lee@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-quanta/meta-f0b/recipes-kernel/linux/linux-aspeed/f0b.cfg b/meta-quanta/meta-f0b/recipes-kernel/linux/linux-aspeed/f0b.cfg
new file mode 100644
index 0000000..a875ae0
--- /dev/null
+++ b/meta-quanta/meta-f0b/recipes-kernel/linux/linux-aspeed/f0b.cfg
@@ -0,0 +1,38 @@
+CONFIG_DEVMEM=y
+CONFIG_DEVKMEM=y
+CONFIG_STRICT_DEVMEM=y
+CONFIG_IO_STRICT_DEVMEM=y
+CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
+CONFIG_I2C_SLAVE=y
+CONFIG_I2C_SLAVE_MQUEUE=y
+CONFIG_SENSORS_TPS53622=y
+CONFIG_SENSORS_TPS53659=y
+CONFIG_SENSORS_TPS53679=y
+CONFIG_SENSORS_INA2XX=y
+CONFIG_EEPROM_AT24=y
+CONFIG_IPV6_ROUTER_PREF=y
+CONFIG_IPV6_ROUTE_INFO=y
+CONFIG_IPV6_OPTIMISTIC_DAD=y
+CONFIG_INET6_AH=y
+CONFIG_INET6_ESP=y
+CONFIG_INET6_IPCOMP=y
+CONFIG_IPV6_SIT=y
+CONFIG_IPV6_SIT_6RD=y
+CONFIG_IPV6_MULTIPLE_TABLES=y
+CONFIG_IPV6_SUBTREES=y
+CONFIG_IPV6_MROUTE=y
+CONFIG_IPV6_MROUTE_MULTIPLE_TABLES=y
+CONFIG_IPV6_PIMSM_V2=y
+CONFIG_IPV6_SEG6_LWTUNNEL=y
+CONFIG_IPV6_SEG6_HMAC=y
+CONFIG_MODULES=y
+CONFIG_ARM_MODULE_PLTS=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
+CONFIG_USB_ASPEED_VHUB=m
+CONFIG_USB_LIBCOMPOSITE=m
+CONFIG_USB_F_MASS_STORAGE=m
+CONFIG_USB_GADGETFS=m
+CONFIG_USB_MASS_STORAGE=m
+CONFIG_CONFIGFS_FS=m
diff --git a/meta-quanta/meta-f0b/recipes-kernel/linux/linux-aspeed_%.bbappend b/meta-quanta/meta-f0b/recipes-kernel/linux/linux-aspeed_%.bbappend
new file mode 100644
index 0000000..6d7b906
--- /dev/null
+++ b/meta-quanta/meta-f0b/recipes-kernel/linux/linux-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI += " file://f0b.cfg"