guowenxue
2024-09-26 2b179f80693db10cb5a93ee649917ae6988feaf2
commit | author | age
ad923e 1 #@TYPE       : Machine
G 2 #@NAME       : LingYun IoT Gatway Kits Boards based on i.MX6ULL
3 #@SOC        : i.MX6ULL
4 #@DESCRIPTION: Machine configuration for LingYun IGKBoard-IMX6ULL
5 #@MAINTAINER : Wenxue Guo <guowenxue@gmail.com>
6 #@REFERENCE  : meta-imx/meta-bsp/conf/machine/imx6ull9x9evk.conf
7
8 # Add new machine igkboard-imx6ull
9 MACHINEOVERRIDES =. "mx6:mx6ul:mx6ull:igkboardbase:igkboard-imx6ull"
10
11 include conf/machine/include/imx-base.inc
12 include conf/machine/include/arm/armv7a/tune-cortexa7.inc
13
14 # Device tree file generated during kernel compilation
15 KERNEL_DEVICETREE = "${MACHINE}.dtb"
16
17 # Device tree overlay files generated during kernel compilation
18 KERNEL_DTOVERLAY = " \
19     ${MACHINE}/adc.dtbo \
20     ${MACHINE}/cam.dtbo \
21     ${MACHINE}/can1.dtbo \
22     ${MACHINE}/can2.dtbo \
23     ${MACHINE}/i2c1.dtbo \
24     ${MACHINE}/lcd.dtbo \
25     ${MACHINE}/nbiot-4g.dtbo \
26     ${MACHINE}/pwm7.dtbo \
27     ${MACHINE}/pwm8.dtbo \
28     ${MACHINE}/spi1.dtbo \
29     ${MACHINE}/uart2.dtbo \
30     ${MACHINE}/uart3.dtbo \
31     ${MACHINE}/uart4.dtbo \
32     ${MACHINE}/uart7.dtbo \
33     ${MACHINE}/w1.dtbo \
34 "
35
36 # Uboot configuration
37 UBOOT_CONFIG ??= "sd"
38 UBOOT_CONFIG[sd] = "${MACHINE}_defconfig,sdcard"
39
40 # Add wic image in deploy folder
41 SOC_DEFAULT_IMAGE_FSTYPES:append = " wic"
42
43 # Define the kernel boot file
44 WKS_FILE_DEPENDS:append = " uenv"
45 IMAGE_BOOT_FILES = " \
46     ${KERNEL_IMAGETYPE} \
47     ${KERNEL_DEVICETREE} \
48     overlays/*;overlays/ \
49     config.txt \
50 "
51 # Remove unused optee bcm4339 bcm43455
52 MACHINE_FEATURES += "wifi bluetooth"
53
54 # Refer to linux-imx/drivers/tty/serial/imx.c
55 SERIAL_CONSOLES = "115200;ttymxc0"
56
57 # /etc/hostname (uname -a)
58 hostname:pn-base-files = "igkboard"