aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/k2e-evm.conf
blob: 662f5c890cff9028dcfbb46913991784649ad16f (plain)
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
#@TYPE: Machine
#@NAME: Keystone 2 K2E machine
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM

require conf/machine/include/k2e.inc

KERNEL_DEVICETREE = "keystone-k2e-evm.dtb"

UBOOT_MACHINE = "k2e_evm_config"

BOOT_MONITOR_MAKE_TARGET = "k2e"

IMAGE_FSTYPES += "ubifs ubi tar.xz"

SERIAL_CONSOLES = "115200;ttyS0"

SYSVINIT_ENABLED_GETTYS = ""

# do ubiattach /dev/ubi_ctrl -m 4
# From dmesg:
# UBI: smallest flash I/O unit:    2048
# UBI: logical eraseblock size:    126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 3856 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"

# do ubiattach /dev/ubi_ctrl -m 4
# from dmesg:
# UBI: smallest flash I/O unit:    2048
# UBI: physical eraseblock size:   131072 bytes (128 KiB)
# UBI: sub-page size:              2048
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"