forked from victronenergy/meta-victronenergy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeaglebone.conf
43 lines (31 loc) · 1.24 KB
/
beaglebone.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#@TYPE: Machine
#@NAME: Beaglebone
#@DESCRIPTION: Machine configuration for the Beaglebone
SOC_FAMILY = "ti335x"
TARGET_ARCH = "arm"
DEFAULTTUNE ?= "cortexa8hf-neon"
require conf/machine/include/soc-family.inc
require conf/machine/include/tune-cortexa8.inc
MACHINE_FEATURES = "ext2 serial usbhost vfat"
# Inputs for machine-conf-runtime recipe
MACHINE_FEATURES += "headless"
VE_MKX_PORT = "/dev/ttyO5"
VE_VEDIRECT_PORTS = "/dev/ttyO2 /dev/ttyO4"
VE_RELAYS = "/sys/class/gpio/gpio68 /sys/class/gpio/gpio67"
PREFERRED_PROVIDER_virtual/kernel = "linux-bbb"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-bbb"
IMAGE_FSTYPES = "wic.gz tar"
UBOOT_ENTRYPOINT = "0x80008000"
UBOOT_LOADADDRESS = "0x80008000"
UBOOT_MACHINE = "am335x_boneblack_config"
UBOOT_SUFFIX = "img"
SPL_BINARY = "MLO"
# Used by wic
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} MLO uEnv.txt"
# Added dosfstools-native and mtools-native since wic otherwise
# fails on the build machine
EXTRA_IMAGEDEPENDS += "u-boot-bbb dosfstools-native mtools-native"
SERIAL_CONSOLE = "115200 ttyO0"
# Note that this variable only affects images based on packagegroup-base, which
# does not include the core-image-minimal or core-image-full-cmdline images.
MACHINE_EXTRA_RDEPENDS += "kernel-modules kernel-image"