summaryrefslogtreecommitdiffstats
path: root/bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf')
-rw-r--r--bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf b/bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf
new file mode 100644
index 00000000..4c9ae2e0
--- /dev/null
+++ b/bsp/meta-freescale-3rdparty/conf/machine/cubox-i.conf
@@ -0,0 +1,43 @@
+#@TYPE: Machine
+#@NAME: SolidRun CuBox-i and HummingBoard
+#@SOC: i.MX6 Q/DL
+#@DESCRIPTION: Machine configuration for SolidRun CuBox-i and HummingBoard machines
+#@MAINTAINER: Carlos Rafael Giani <dv@pseudoterminal.org>
+
+# Machine config for the SolidRun CuBox-i and HummingBoard machines.
+# They all use the same machine config, since the u-boot SPL
+# autodetects the machine type upon booting. MACHINEOVERRIDES includes
+# all SoCs from all of these machines to let recipes include firmware
+# etc. for all of these SoCs.
+
+MACHINEOVERRIDES =. "mx6:mx6dl:mx6q:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/tune-cortexa9.inc
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
+
+UBOOT_MAKE_TARGET = ""
+UBOOT_SUFFIX = "img"
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "mx6cuboxi_defconfig,sdcard"
+UENV_FILENAME = "uEnv-${MACHINE}.txt"
+SPL_BINARY = "SPL"
+WKS_FILES = "imx-uboot-spl.wks"
+
+UBOOT_EXTLINUX = "1"
+UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
+
+KERNEL_IMAGETYPE = "zImage"
+KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb"
+
+MACHINE_FEATURES += "pci wifi bluetooth alsa irda serial usbhost"
+MACHINE_EXTRA_RRECOMMENDS += "bcm4330-nvram-config bcm4329-nvram-config"
+
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
+ kernel-image \
+ kernel-devicetree \
+ u-boot-fslc \
+"