diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 02:50:19 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 02:50:19 +0200 |
commit | 01270b114be7a82a4dbeae7a3d40c83495224842 (patch) | |
tree | a1a37b6fbc3a7e09c47695a0ef980500ad258320 /conf | |
parent | 52bbf971706df3752d5a41879495740041a4a735 (diff) | |
parent | 5c6a2266ffa6780935959af6c96ffc8dd8e2dc1a (diff) |
Merge remote-tracking branch 'meta-bsp-rvphone/master'
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 12 | ||||
-rw-r--r-- | conf/machine/cl-imx8.conf | 54 |
2 files changed, 66 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..f87dbac --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,12 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory containing .bb and .bbappend files, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "rvphone-bsp" +BBFILE_PATTERN_rvphone-bsp := "^${LAYERDIR}/" +BBFILE_PRIORITY_rvphone-bsp = "9" + +LAYERSERIES_COMPAT_rvphone-bsp = "sumo" diff --git a/conf/machine/cl-imx8.conf b/conf/machine/cl-imx8.conf new file mode 100644 index 0000000..357b998 --- /dev/null +++ b/conf/machine/cl-imx8.conf @@ -0,0 +1,54 @@ +#@TYPE: Machine +#@NAME: rvPhone cl-imx8 +#@SOC: i.MX8MQ +#@DESCRIPTION: Machine configuration for rvPhone cl-imx8 +#@MAINTAINER: majstor <majstor@majstor.org> + +MACHINEOVERRIDES =. "mx8:mx8m:mx8mq:" + +require conf/machine/include/imx-base.inc +require conf/machine/include/arm/arch-arm64.inc + +MACHINE_FEATURES += " pci wifi bluetooth " + +KERNEL_DEVICETREE = "rvphone/cl-imx8.dtb" + +UBOOT_CONFIG ??= "cfg" +UBOOT_CONFIG[d1] = "cl-imx8_d1_defconfig,sdcard" +UBOOT_CONFIG[d2] = "cl-imx8_d2_defconfig,sdcard" +UBOOT_CONFIG[mfgtool] = "cl-imx8_defconfig" +SPL_BINARY = "spl/u-boot-spl.bin" + +# Set DDR FIRMWARE +DDR_FIRMWARE_NAME = " \ + lpddr4_pmu_train_1d_dmem.bin \ + lpddr4_pmu_train_1d_imem.bin \ + lpddr4_pmu_train_2d_dmem.bin \ + lpddr4_pmu_train_2d_imem.bin \ +" + +# Set u-boot DTB +UBOOT_DTB_NAME = "cl-imx8.dtb" + +# Set imx-mkimage boot target +IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi" + +# Set Serial console +SERIAL_CONSOLE = "115200 ttymxc2" + +IMAGE_BOOTLOADER = "imx-boot" + +BOOT_SPACE = "65536" + +LOADADDR = "" +UBOOT_SUFFIX = "bin" +UBOOT_MAKE_TARGET = "" +IMX_BOOT_SEEK = "33" + +MACHINE_FIRMWARE = " \ + linux-firmware-iwlwifi-8265 \ + linux-firmware-ibt \ +" + +OPTEE_BIN_EXT = "8mq" +PLATFORM_FLAVOR_cl-som-imx8 = "mx8mqevk" |