Commit 53774b93 authored by Dietmar Muscholik's avatar Dietmar Muscholik

make it to build an image with kuk-kernel

parent 3af41e2e
......@@ -4,7 +4,8 @@
#@DESCRIPTION: Machine configuration for NXP i.MX 8M Mini Evaluation Kit with LPDDR4
#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
MACHINEOVERRIDES =. "mx8:mx8m:"
MACHINEOVERRIDES = "mx8:mx8m:"
#MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mm:"
#require include/imx8mm-evk.inc
#require conf/machine/include/imx8mm-evk.inc
......@@ -22,19 +23,29 @@ KERNEL_DEVICETREE += "keithkoep/kuk-trizeps8mini-ipant7.dtb"
#PREFERRED_PROVIDER_virtual/bootloader = "u-boot-kuk"
PREFERRED_PROVIDER_virtual/bootloader_mx8 = "u-boot-kuk"
#PREFERRED_PROVIDER_virtual/bootloader_mx8 = "u-boot-kuk"
UBOOT_MAKE_TARGET = "all"
#UBOOT_MAKE_TARGET = "all"
#UBOOT_CONFIG_BASENAME = "imx8mm_evk"
#UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig"
#UBOOT_MACHINE = "trizeps8mini"
UBOOT_CONFIG = "trizeps8mini_defconfig"
#UBOOT_CONFIG = "trizeps8mini_defconfig"
#UBOOT_MACHINE = "mx8"
UBOOT_SUFFIX = "bin"
#UBOOT_CONFIG_BASENAME = "trizeps8mini"
#UBOOT_CONFIG ??= "sd"
#UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard"
#UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"
UBOOT_CONFIG_BASENAME = "imx8mm_evk"
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard"
UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"
#UBOOT_MACHINE = "imx8mm_evk"
UBOOT_DTB_NAME = "imx8mm-evk.dtb"
SPL_BINARY = "spl/u-boot-spl.bin"
UBOOT_MAKE_TARGET = "all"
IMX_BOOT_SEEK = "33"
DDR_FIRMWARE_NAME = " \
lpddr4_pmu_train_1d_imem.bin \
......@@ -48,3 +59,6 @@ DDR_FIRMWARE_NAME = " \
ATF_PLATFORM = "imx8mm"
#ATF_LOAD_ADDR = "0x920000"
PLATFORM = "imx8mm"
ATF_MACHINE_NAME = "bl31-imx8mm.bin"
SOC_TARGET = "iMX8MM"
IMXBOOT_TARGETS = "flash_spl_uboot"
DESCRIPTION = "U-Boot for K&K boards."
PROVIDES += "u-boot"
require recipes-bsp/u-boot/u-boot.inc
#require u-boot-imx-common.inc
#require recipes-bsp/u-boot/u-boot-imx-common.inc
PROVIDES += "u-boot"
SRCBRANCH = "kuk_imx_v2019.04_5.4.3_2.0.0"
SRCPROTO = "ssh"
UBOOT_SRC = "git://git@gitlab.keith-koep.com:30001/imx/uboot-imx.git"
SRC_URI = "${UBOOT_SRC};protocol=${SRCPROTO};branch=${SRCBRANCH}"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
#do_compile_prepend() {
# cp ${S}/configs/${UBOOT_MACHINE}_defconfig ${D}/.config
#}
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
COMPATIBLE_MACHINE = "(trizeps8mini)"
COMPATIBLE_MACHINE = "(mx7|mx8|mx8m)"
UBOOT_INITIAL_ENV = ""
#UBOOT_BINARIES = "miniflash"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment