machine: add gw135 machine
GW201 GW305
This commit is contained in:
80
conf/machine/gw135.conf
Normal file
80
conf/machine/gw135.conf
Normal file
@ -0,0 +1,80 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: stm32mp1-disco
|
||||
#@DESCRIPTION: [EXAMPLE] STM32MP135F-DK board ONLY with Optee boot and SDcard support
|
||||
#@NEEDED_BSPLAYERS: layers/meta-openembedded/meta-oe layers/meta-openembedded/meta-python
|
||||
|
||||
include conf/machine/include/st-machine-common-stm32mp.inc
|
||||
include conf/machine/include/st-machine-providers-stm32mp.inc
|
||||
|
||||
# Define specific familly common machine name
|
||||
MACHINEOVERRIDES .= ":stm32mp1common:stm32mp13common"
|
||||
|
||||
# =========================================================================
|
||||
# Chip architecture
|
||||
# =========================================================================
|
||||
DEFAULTTUNE = "cortexa7thf-neon-vfpv4"
|
||||
include conf/machine/include/arm/armv7a/tune-cortexa7.inc
|
||||
|
||||
# =========================================================================
|
||||
# boot scheme
|
||||
# =========================================================================
|
||||
BOOTSCHEME_LABELS += "optee"
|
||||
|
||||
# =========================================================================
|
||||
# boot device
|
||||
# =========================================================================
|
||||
# Define the boot device supported
|
||||
BOOTDEVICE_LABELS += "emmc"
|
||||
#BOOTDEVICE_LABELS += "nand-4-256"
|
||||
#BOOTDEVICE_LABELS += "nor-sdcard"
|
||||
BOOTDEVICE_LABELS += "sdcard"
|
||||
|
||||
# =========================================================================
|
||||
# Machine settings
|
||||
# =========================================================================
|
||||
# Define list of devicetree per board
|
||||
# STM32MP_DT_FILES_DK += "stm32mp135f-dk"
|
||||
STM32MP_DT_FILES_EV += "stm32mp135d-gateway"
|
||||
|
||||
UBOOT_EXTLINUX_FDT = "/stm32mp135d-gateway.dtb"
|
||||
|
||||
# =========================================================================
|
||||
# Machine features
|
||||
# =========================================================================
|
||||
# MACHINE_FEATURES += "splashscreen"
|
||||
MACHINE_FEATURES += "watchdog"
|
||||
# MACHINE_FEATURES += "bluetooth"
|
||||
# MACHINE_FEATURES += "wifi"
|
||||
MACHINE_FEATURES += "nosmp"
|
||||
# MACHINE_FEATURES += "usbg0"
|
||||
MACHINE_FEATURES:remove= " alsa screen pci splashscreen usbgadget "
|
||||
|
||||
# Bluetooth
|
||||
# BLUETOOTH_LIST += "linux-firmware-bluetooth-bcm4343"
|
||||
# Wifi
|
||||
# WIFI_LIST += "linux-firmware-bcm43430"
|
||||
|
||||
# =========================================================================
|
||||
# Kernel
|
||||
# =========================================================================
|
||||
|
||||
# Define the devicetree for Linux A7 examples
|
||||
LINUX_A7_EXAMPLES_DT += "stm32mp135d-gateway"
|
||||
|
||||
# =========================================================================
|
||||
# WIC for sdcard raw image
|
||||
# =========================================================================
|
||||
WIC_CREATE_EXTRA_ARGS = "--no-fstab-update"
|
||||
WKS_FILE_DEPENDS ?= " \
|
||||
virtual/bootloader \
|
||||
virtual/trusted-firmware-a \
|
||||
${@bb.utils.contains('BOOTSCHEME_LABELS', 'optee', 'virtual/optee-os', '', d)} \
|
||||
st-image-bootfs \
|
||||
${@bb.utils.contains('ST_VENDORFS','1','st-image-vendorfs', '', d)} \
|
||||
st-image-userfs \
|
||||
"
|
||||
OPTEE_WIC_FILE = "${@bb.utils.contains('ST_VENDORFS','1','sdcard-stm32mp135f-dk-optee-vendorfs-1GB.wks.in','sdcard-stm32mp135f-dk-optee-1GB.wks.in',d)}"
|
||||
|
||||
# for generated a WIC file, please uncomment the 2 following lines or add them to local.conf
|
||||
#WKS_IMAGE_FSTYPES += "wic wic.bz2 wic.bmap"
|
||||
#WKS_FILE += "${OPTEE_WIC_FILE}"
|
||||
Reference in New Issue
Block a user