meta-yadro: initial bring up for VEGMAN machines
Introduce new meta-layer for Yadro VEGMAN servers family.
This brings initial image build information: layer meta-data, kernel
configuration and basic software set.
Change-Id: Iad21dc55dab0803ee7476f91861c6a07e9838e6d
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
diff --git a/meta-yadro/meta-vegman/conf/machine/include/vegman.inc b/meta-yadro/meta-vegman/conf/machine/include/vegman.inc
new file mode 100644
index 0000000..cc98dff
--- /dev/null
+++ b/meta-yadro/meta-vegman/conf/machine/include/vegman.inc
@@ -0,0 +1,18 @@
+OVERRIDES .= ":vegman"
+KMACHINE = "aspeed"
+KERNEL_DEVICETREE = "${KMACHINE}-bmc-${MACHINE}.dtb"
+UBOOT_MACHINE = "evb-ast2500_defconfig"
+UBOOT_DEVICETREE = "ast2500-evb"
+
+require conf/machine/include/ast2500.inc
+include conf/machine/include/vegman-bsp.inc
+require ${@bb.utils.contains('BSP_TYPE', 'vegman', '', 'conf/machine/include/obmc-bsp-common.inc', d)}
+
+SERIAL_CONSOLES = "115200;ttyS3 115200;ttyS4"
+FLASH_SIZE = "65536"
+
+IMAGE_FEATURES += "allow-root-login"
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-aspeed-sdk"
+PREFERRED_PROVIDER_u-boot = "u-boot-aspeed-sdk"
+PREFERRED_PROVIDER_u-boot-fw-utils = "u-boot-fw-utils-aspeed-sdk"
diff --git a/meta-yadro/meta-vegman/conf/machine/tatlin-archive-x86.conf b/meta-yadro/meta-vegman/conf/machine/tatlin-archive-x86.conf
new file mode 100644
index 0000000..743b4e0
--- /dev/null
+++ b/meta-yadro/meta-vegman/conf/machine/tatlin-archive-x86.conf
@@ -0,0 +1,5 @@
+require conf/machine/include/vegman.inc
+# Apply all the machine override from the VEGMAN Sx20, because
+# the TATLIN.ARCHIVE.xS have an exactly same hardware as the VEGMAN Sx20
+MACHINEOVERRIDES .= ":vegman-sx20"
+KERNEL_DEVICETREE = "${KMACHINE}-bmc-vegman-sx20.dtb"
diff --git a/meta-yadro/meta-vegman/conf/machine/vegman-n110.conf b/meta-yadro/meta-vegman/conf/machine/vegman-n110.conf
new file mode 100644
index 0000000..a14060b
--- /dev/null
+++ b/meta-yadro/meta-vegman/conf/machine/vegman-n110.conf
@@ -0,0 +1 @@
+require conf/machine/include/vegman.inc
diff --git a/meta-yadro/meta-vegman/conf/machine/vegman-rx20.conf b/meta-yadro/meta-vegman/conf/machine/vegman-rx20.conf
new file mode 100644
index 0000000..a14060b
--- /dev/null
+++ b/meta-yadro/meta-vegman/conf/machine/vegman-rx20.conf
@@ -0,0 +1 @@
+require conf/machine/include/vegman.inc
diff --git a/meta-yadro/meta-vegman/conf/machine/vegman-sx20.conf b/meta-yadro/meta-vegman/conf/machine/vegman-sx20.conf
new file mode 100644
index 0000000..a14060b
--- /dev/null
+++ b/meta-yadro/meta-vegman/conf/machine/vegman-sx20.conf
@@ -0,0 +1 @@
+require conf/machine/include/vegman.inc