This vendor U-Boot is based on v2017.03 and currently supports two ConnectCore 6UL memory variants, 256MB and 1GB.
To program this U-Boot from a running TFTP server type the following at the U-Boot prompt: env set ipaddr <target IP address> env set serverip <TFTP server IP address> update linux tftp <filename> Where filename is: * u-boot.imx-ccimx6ulstarter - for 256MB variants * u-boot.imx-ccimx6ulstarter1GB - for 1GB variants Signed-off-by: Alex Gonzalez <[email protected]> --- .../u-boot/u-boot-digi/ccimx6ul/bootscript.txt | 7 ++++ recipes-bsp/u-boot/u-boot-digi_2017.03.bb | 40 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt create mode 100644 recipes-bsp/u-boot/u-boot-digi_2017.03.bb diff --git a/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt b/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt new file mode 100644 index 000000000000..06b42bedcf9a --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-digi/ccimx6ul/bootscript.txt @@ -0,0 +1,7 @@ +# +# U-Boot bootscript for NAND images created by Yocto. +# + +setenv fdt_file imx6ul-ccimx6ulsbcexpress.dtb +setenv zimage zImage-ccimx6ulsbcexpress.bin +dboot linux nand ${mtdbootpart} diff --git a/recipes-bsp/u-boot/u-boot-digi_2017.03.bb b/recipes-bsp/u-boot/u-boot-digi_2017.03.bb new file mode 100644 index 000000000000..f73c2e306721 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-digi_2017.03.bb @@ -0,0 +1,40 @@ +# Copyright (C) 2018 Digi International +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "Bootloader for Digi platforms" +SECTION = "bootloaders" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" + +require recipes-bsp/u-boot/u-boot.inc + +DEPENDS = "u-boot-mkimage-native" + +PROVIDES += "u-boot" + +SRCBRANCH = "v2017.03/maint" +SRCREV = "${AUTOREV}" + +SRC_URI = "\ + git://github.com/digi-embedded/u-boot.git;protocol=git;branch=${SRCBRANCH} \ + file://bootscript.txt \ +" + +LOCALVERSION ?= "-${SRCBRANCH}" + +S = "${WORKDIR}/git" + +inherit dtc-145 fsl-u-boot-localversion + +UBOOT_ENV = "boot" +UBOOT_ENV_SUFFIX = "scr" + +do_compile_append () { + uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ + -n "boot script" -d ${WORKDIR}/bootscript.txt \ + ${WORKDIR}/${UBOOT_ENV_BINARY} +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +COMPATIBLE_MACHINE = "(ccimx6ul)" -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
