Message ID | 1541516922-22117-3-git-send-email-alex.gonzalez@digi.com |
---|---|
State | Superseded, archived |
Delegated to: | Otavio Salvador |
Headers | show |
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)"
On Tue, Nov 6, 2018 at 1:22 PM Alex Gonzalez <alex.gonzalez@digi.com> wrote: > > 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 <alex.gonzalez@digi.com> Has this been tested on master? Also, autorev is no-go!
On Fri, Nov 09, 2018 at 11:16:41PM -0200, Otavio Salvador wrote: >On Tue, Nov 6, 2018 at 1:22 PM Alex Gonzalez <alex.gonzalez@digi.com> wrote: >> >> 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 <alex.gonzalez@digi.com> > >Has this been tested on master? Also, autorev is no-go! > I will send a v2 without the autorev and details about the testing. > > >-- >Otavio Salvador O.S. Systems >http://www.ossystems.com.br http://code.ossystems.com.br >Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
This is a system generated Comment: Patch 156123 was automatically marked as superseded by patch 156592.
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 <alex.gonzalez@digi.com> --- .../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