commit | author | age
|
849fbd
|
1 |
#@TYPE: Machine |
281a7f
|
2 |
#@NAME: IoT Gatway Kits Boards based on i.MX8M Plus |
849fbd
|
3 |
#@SOC: i.MX8M Plus |
281a7f
|
4 |
#@DESCRIPTION: Machine configuration for LingYun IGKBoard-IMX8MP 2GB LPDDR4, 8GB eMMC |
849fbd
|
5 |
#@MAINTAINER: Wenxue Guo <guowenxue@gmail.com> |
G |
6 |
#@REFERENCE: meta-freescale/conf/machine/imx8mp-lpddr4-evk.conf |
|
7 |
|
|
8 |
MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:" |
|
9 |
MACHINEOVERRIDES =. "igkboardbase:igkboard-imx8mp:" |
|
10 |
|
|
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 " |
849fbd
|
16 |
|
281a7f
|
17 |
# Set DDR FIRMWARE, Refer to: |
G |
18 |
# meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_*.bb |
|
19 |
# meta-imx/meta-bsp/recipes-bsp/firmware-imx/firmware-imx_*.bb |
849fbd
|
20 |
DDR_FIRMWARE_VERSION = "202006" |
281a7f
|
21 |
DDR_FIRMWARE_NAME = " \ |
849fbd
|
22 |
lpddr4_pmu_train_1d_dmem_${DDR_FIRMWARE_VERSION}.bin \ |
G |
23 |
lpddr4_pmu_train_1d_imem_${DDR_FIRMWARE_VERSION}.bin \ |
|
24 |
lpddr4_pmu_train_2d_dmem_${DDR_FIRMWARE_VERSION}.bin \ |
|
25 |
lpddr4_pmu_train_2d_imem_${DDR_FIRMWARE_VERSION}.bin \ |
|
26 |
" |
281a7f
|
27 |
|
849fbd
|
28 |
# Set linux DTB |
281a7f
|
29 |
KERNEL_DEVICETREE = "freescale/igkboard-imx8mp.dtb" |
849fbd
|
30 |
KERNEL_IMAGETYPE = "Image" |
G |
31 |
|
281a7f
|
32 |
# Set u-boot DTB |
G |
33 |
UBOOT_DTB_NAME = "igkboard-imx8mp.dtb" |
849fbd
|
34 |
LOADADDR = "" |
G |
35 |
UBOOT_SUFFIX = "bin" |
|
36 |
UBOOT_MAKE_TARGET = "" |
|
37 |
SPL_BINARY = "spl/u-boot-spl.bin" |
|
38 |
UBOOT_CONFIG ??= "sd" |
281a7f
|
39 |
UBOOT_CONFIG[sd] = "igkboard-imx8mp_defconfig,sdcard" |
849fbd
|
40 |
SERIAL_CONSOLES = "115200;ttymxc1" |
G |
41 |
|
|
42 |
# Set ATF platform name |
|
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 |
|
|
51 |
SOC_DEFAULT_IMAGE_FSTYPES:append = " wic" |
|
52 |
|
|
53 |
# Boot partition size [in KiB] for kernel and other data |
|
54 |
# More refer to: meta-freescale/classes/image_types_fsl.bbclass |
|
55 |
BOOT_SPACE = "65536" |
|
56 |
|
|
57 |
# /etc/hostname |
281a7f
|
58 |
hostname:pn-base-files = "igkboard" |