summaryrefslogtreecommitdiffstats
path: root/bsp/meta-boundary/conf/machine
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-boundary/conf/machine
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'bsp/meta-boundary/conf/machine')
-rw-r--r--bsp/meta-boundary/conf/machine/imx6-acl.conf52
-rw-r--r--bsp/meta-boundary/conf/machine/nitrogen8mm.conf43
2 files changed, 95 insertions, 0 deletions
diff --git a/bsp/meta-boundary/conf/machine/imx6-acl.conf b/bsp/meta-boundary/conf/machine/imx6-acl.conf
new file mode 100644
index 00000000..a1a32a3d
--- /dev/null
+++ b/bsp/meta-boundary/conf/machine/imx6-acl.conf
@@ -0,0 +1,52 @@
+#@TYPE: Machine
+#@NAME: Boundary Devices ACL
+#@SOC: i.MX6 Q/DL
+#@DESCRIPTION: Machine configuration for Boundary Devices ACL
+#@MAINTAINER: Gary Bisson <gary.bisson@boundarydevices.com>
+#
+# By default, this machine will build for the standard Solo, 512M
+# option. To build U-Boot for other CPU or memory combinations,
+# you can set the UBOOT_MACHINE variable in your local.conf
+# according to the following table:
+#
+# Processor Memory Configuration
+# -------------- ------ --------------------
+# i.MX6Quad 2GB acl_q2g_defconfig
+# i.MX6Solo 512MB acl_s512m_defconfig
+#
+
+MACHINEOVERRIDES =. "mx6:mx6dl:mx6q:"
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa9.inc
+
+KERNEL_DEVICETREE = "imx6dl-acl.dtb \
+ imx6q-acl.dtb \
+"
+KERNEL_IMAGETYPE = "zImage"
+
+PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-boundary"
+
+# Use SPI NOR U-Boot by default
+IMAGE_BOOTLOADER ?= ""
+
+IMAGE_FSTYPES = "sdcard.gz"
+
+# Shorten boot volume ID (FAT limitation)
+BOOTDD_VOLUME_ID = "Boot"
+
+# Ensure boot scripts will be available at rootfs time
+do_rootfs[depends] += "u-boot-script-boundary:do_deploy"
+
+# Boot scripts to install
+BOOT_SCRIPTS = "6x_bootscript-${MACHINE}:6x_bootscript"
+
+UBOOT_MACHINE ?= "acl_512m_defconfig"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_EXTRA_RRECOMMENDS += " linux-firmware-gslx680 \
+ libiio libiio-iiod libiio-tests \
+ libmdi2300 libmdi2300-examples \
+ printer-tools kernel-iio "
diff --git a/bsp/meta-boundary/conf/machine/nitrogen8mm.conf b/bsp/meta-boundary/conf/machine/nitrogen8mm.conf
new file mode 100644
index 00000000..446fe9db
--- /dev/null
+++ b/bsp/meta-boundary/conf/machine/nitrogen8mm.conf
@@ -0,0 +1,43 @@
+#@TYPE: Machine
+#@NAME: Boundary Devices Nitrogen8M
+#@SOC: i.MX8 MQ
+#@DESCRIPTION: Machine configuration for Boundary Devices Nitrogen8M
+#@MAINTAINER: Chris Dimich <chris.dimich@boundarydevices.com>
+
+MACHINEOVERRIDES =. "mx8:mx8mm:mx8m:mx8mq:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+# Kernel configuration
+PREFERRED_PROVIDER_virtual/kernel ??= "linux-boundary"
+KERNEL_DEVICETREE = "freescale/imx8mq-nitrogen8m.dtb \
+ freescale/imx8mq-nitrogen8m-m4.dtb \
+ freescale/imx8mm-nitrogen8mm.dtb \
+"
+KERNEL_IMAGETYPE = "Image"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
+
+# U-Boot configuration
+PREFERRED_PROVIDER_u-boot ??= "u-boot-boundary"
+PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-boundary"
+SPL_BINARY = "spl/u-boot-spl.bin"
+UBOOT_DTB_NAME ?= "imx8mm-nitrogen8mm.dtb"
+UBOOT_MACHINE ?= "nitrogen8mm_2g_defconfig"
+UBOOT_MAKE_TARGET = ""
+UBOOT_SUFFIX = "bin"
+
+# wic support
+WKS_FILE = "sdimage-bootpart.wks"
+IMAGE_BOOT_FILES_append = " \
+ boot.scr-${MACHINE};boot.scr \
+"
+WKS_FILE_DEPENDS_mx8 += " \
+ u-boot-script-boundary \
+ e2fsprogs-native \
+ bmap-tools-native \
+"
+
+SERIAL_CONSOLE ?= "115200 ttymxc0"
+
+MACHINE_FEATURES += " pci wifi bluetooth"