From 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd Mon Sep 17 00:00:00 2001 From: ToshikazuOhiwa Date: Mon, 30 Mar 2020 09:24:26 +0900 Subject: agl-basesystem --- bsp/meta-boundary/conf/machine/imx6-acl.conf | 52 +++++++++++++++++++++++++ bsp/meta-boundary/conf/machine/nitrogen8mm.conf | 43 ++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 bsp/meta-boundary/conf/machine/imx6-acl.conf create mode 100644 bsp/meta-boundary/conf/machine/nitrogen8mm.conf (limited to 'bsp/meta-boundary/conf/machine') 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 +# +# 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 + +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" -- cgit 1.2.3-korg