summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/am335x-evm.conf
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2022-02-22 04:13:45 +0000
committerRyan Eatmon <reatmon@ti.com>2022-02-22 12:01:38 -0600
commit20f3191aeb592dd889eeaf96a31526297de95306 (patch)
treeaec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/conf/machine/am335x-evm.conf
parentbea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff)
downloadmeta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/am335x-evm.conf')
-rw-r--r--meta-ti-bsp/conf/machine/am335x-evm.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/am335x-evm.conf b/meta-ti-bsp/conf/machine/am335x-evm.conf
new file mode 100644
index 00000000..469c4d37
--- /dev/null
+++ b/meta-ti-bsp/conf/machine/am335x-evm.conf
@@ -0,0 +1,35 @@
1#@TYPE: Machine
2#@NAME: AM335x EVM
3#@DESCRIPTION: Machine configuration for the TI AM335x EVM
4
5require conf/machine/include/ti33x.inc
6
7MACHINE_GUI_CLASS = "smallscreen"
8MACHINE_FEATURES += "touchscreen"
9
10IMAGE_FSTYPES += "ubifs ubi"
11
12# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
13SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"
14SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
15
16# UBI information. Note that this is board and kernel specific. Changes
17# in your kernel port may require changes in these variables. For more
18# details about this board please see
19# http://processors.wiki.ti.com/index.php/UBIFS_Support
20
21# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
22# From dmesg:
23# UBI: smallest flash I/O unit: 2048
24# UBI: logical eraseblock size: 126976 bytes
25# from ubiattach stdout:
26# UBI device number 0, total 1988 LEBs
27MKUBIFS_ARGS ?= "-F -m 2048 -e 126976 -c 9900"
28
29# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
30# from dmesg:
31# UBI: smallest flash I/O unit: 2048
32# UBI: physical eraseblock size: 131072 bytes (128 KiB)
33# UBI: sub-page size: 512
34# UBI: VID header offset: 2048 (aligned 2048)
35UBINIZE_ARGS ?= "-m 2048 -p 128KiB -s 512 -O 2048"