commit | author | age
|
ad923e
|
1 |
#@TYPE : Machine |
G |
2 |
#@NAME : LingYun IoT Gatway Kits Boards based on i.MX8M Plus |
|
3 |
#@SOC : i.MX8M Plus |
281a7f
|
4 |
#@DESCRIPTION: Machine configuration for LingYun IGKBoard-IMX8MP 2GB LPDDR4, 8GB eMMC |
ad923e
|
5 |
#@MAINTAINER : Wenxue Guo <guowenxue@gmail.com> |
G |
6 |
#@REFERENCE : meta-freescale/conf/machine/imx8mp-lpddr4-evk.conf |
849fbd
|
7 |
|
ad923e
|
8 |
# Add new machine igkboard-imx8mp |
G |
9 |
MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:igkboardbase:igkboard-imx8mp:" |
849fbd
|
10 |
|
G |
11 |
require conf/machine/include/imx-base.inc |
|
12 |
require conf/machine/include/arm/armv8a/tune-cortexa53.inc |
|
13 |
|
281a7f
|
14 |
MACHINE_FEATURES:append = " wifi bluetooth ppp " |
G |
15 |
MACHINE_FEATURES:remove = " nxp8801-sdio nxp8987-sdio nxp8997-pcie nxp8997-sdio nxp9098-pcie nxp9098-sdio nxpiw416-sdio nxpiw612-sdio qemu-usermode " |
ad923e
|
16 |
|
G |
17 |
# linux kernel images |
|
18 |
KERNEL_DEVICETREE = "freescale/${MACHINE}.dtb" |
|
19 |
KERNEL_IMAGETYPE = "Image" |
|
20 |
|
|
21 |
# Uboot configuration |
|
22 |
UBOOT_DTB_NAME = "${MACHINE}.dtb" |
|
23 |
LOADADDR = "" |
|
24 |
UBOOT_SUFFIX = "bin" |
|
25 |
UBOOT_MAKE_TARGET = "" |
|
26 |
SPL_BINARY = "spl/u-boot-spl.bin" |
|
27 |
UBOOT_CONFIG ??= "sd" |
|
28 |
UBOOT_CONFIG[sd] = "${MACHINE}_defconfig,sdcard" |
|
29 |
SERIAL_CONSOLES = "115200;ttymxc1" |
849fbd
|
30 |
|
281a7f
|
31 |
# Set DDR FIRMWARE, Refer to: |
G |
32 |
# meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_*.bb |
|
33 |
# meta-imx/meta-bsp/recipes-bsp/firmware-imx/firmware-imx_*.bb |
849fbd
|
34 |
DDR_FIRMWARE_VERSION = "202006" |
281a7f
|
35 |
DDR_FIRMWARE_NAME = " \ |
849fbd
|
36 |
lpddr4_pmu_train_1d_dmem_${DDR_FIRMWARE_VERSION}.bin \ |
G |
37 |
lpddr4_pmu_train_1d_imem_${DDR_FIRMWARE_VERSION}.bin \ |
|
38 |
lpddr4_pmu_train_2d_dmem_${DDR_FIRMWARE_VERSION}.bin \ |
|
39 |
lpddr4_pmu_train_2d_imem_${DDR_FIRMWARE_VERSION}.bin \ |
|
40 |
" |
281a7f
|
41 |
|
849fbd
|
42 |
# Set ATF platform name |
G |
43 |
ATF_PLATFORM = "imx8mp" |
|
44 |
|
|
45 |
# Set imx-mkimage boot target |
|
46 |
IMXBOOT_TARGETS = "flash_evk" |
|
47 |
IMX_BOOT_SOC_TARGET = "iMX8MP" |
|
48 |
IMX_BOOT_SEEK = "32" |
|
49 |
OPTEE_BIN_EXT = "8mp" |
|
50 |
|
ad923e
|
51 |
# Add wic image in deploy folder |
849fbd
|
52 |
SOC_DEFAULT_IMAGE_FSTYPES:append = " wic" |
G |
53 |
|
|
54 |
# Boot partition size [in KiB] for kernel and other data |
|
55 |
# More refer to: meta-freescale/classes/image_types_fsl.bbclass |
|
56 |
BOOT_SPACE = "65536" |
|
57 |
|
|
58 |
# /etc/hostname |
281a7f
|
59 |
hostname:pn-base-files = "igkboard" |