[3rdparty,v2,master,4/4] ccimx6ulsbcexpress: Add initial board configuration
Submitted by Gonzalez, Alex on Nov. 23, 2018, 4:54 p.m.
|
Patch ID: 156594
Details
Commit Message
new file mode 100644
@@ -0,0 +1,38 @@
+#@TYPE: Machine
+#@NAME: ConnecCore 6UL SBC Express
+#@SOC: i.MX6UL
+#@DESCRIPTION: Machine configuration for ConnectCore 6UL SBC Express board.
+#@MAINTAINER: Alex Gonzalez <alex.gonzalez@digi.com>
+
+MACHINEOVERRIDES =. "mx6:mx6ul:ccimx6ul:use-mainline-bsp:"
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa7.inc
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-digi"
+PREFERRED_PROVIDER_u-boot = "u-boot-digi"
+
+UBOOT_BOOTSCRIPT = "boot.scr"
+
+UBOOT_CONFIG ??= "ccimx6ulstarter1GB ccimx6ulstarter"
+UBOOT_CONFIG[ccimx6ulstarter1GB] = "ccimx6ulstarter1GB_defconfig"
+UBOOT_CONFIG[ccimx6ulstarter] = "ccimx6ulstarter_defconfig"
+
+MACHINE_EXTRA_RDEPENDS += " \
+ mtd-utils-ubifs \
+"
+# mkfs.ubifs parameters for boot partition (the one holding kernel and device tree files)
+# Max LEB count (-c 255) calculated for a partition of up to 32 MiB considering 128 KiB erase-block size.
+MKUBIFS_BOOT_ARGS ?= "-m 2048 -e 126976 -c 255"
+
+# mkfs.ubifs parameters for rootfs partition
+# Max LEB count (-c 8191) calculated for a partition of up to 1 GiB considering 128 KiB erase-block size.
+MKUBIFS_ARGS ?= "-m 2048 -e 126976 -c 8191"
+
+IMAGE_CLASSES += "image_types_digi"
+# Overwrite the defaults in imx-base not to include wic images
+IMAGE_FSTYPES = "tar.bz2 ubifs boot.ubifs"
+
+SERIAL_CONSOLE = "115200 ttymxc4"
+
+KERNEL_DEVICETREE = "imx6ul-ccimx6ulsbcexpress.dtb"
The ConnectCore 6UL Single Board Computer (SBC) Express contains the ConnectCore 6UL System-On-Module. Its hardware specifications are: * 256MB DDR3 memory * 256MB NAND flash * Single Ethernet * USB Host and USB-OTG * MicroSD external storage * Groove connectors and Raspberry Pi Hat compatible expansion heade The build artifacts are: U-Boot images: u-boot.imx Linux partition image: <image name>.boot.ubifs Root filesystem image: <image name>.ubifs Root filesystem tarball (for network booting): <image name>.tar.bz2 To program a board from the U-boot prompt, copy the U-Boot, Linux and root filesystem partition images to your TFTP server root and do: env set ipaddr <target ip address> env set serverip <TFTP server ip address> update uboot tftp u-boot.imx update linux tftp <image name>.boot.ubifs update rootfs tftp <image name>.ubifs More details about the SBC can be found at: https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-for-i-mx6ul-sbc-express The ConnectCore 6UL SBC Express includes a ConnectCore 6UL System-On-Module with the following specification: * Based on a NXP i.MX6UL SoC * Industrial temperature ranges (-40ºC to +85ºC) * Up to 1GB DDR3 memory * Up to 2GB NAND flash * Dual Ethernet * On module 802.11 WiFi and Bluetooth 4.2 (QCA6564) * On module NXP Kinetis KL03 * On module Microchip ATECC508A crypto element More details about the SOM can be found at: https://www.digi.com/products/embedded-systems/system-on-modules/connectcore-for-i-mx6ul Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> --- conf/machine/ccimx6ulsbcexpress.conf | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 conf/machine/ccimx6ulsbcexpress.conf