summaryrefslogtreecommitdiffstats
path: root/bsp/meta-ti/conf/machine/am37x-evm.conf
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-ti/conf/machine/am37x-evm.conf
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'bsp/meta-ti/conf/machine/am37x-evm.conf')
-rw-r--r--bsp/meta-ti/conf/machine/am37x-evm.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/bsp/meta-ti/conf/machine/am37x-evm.conf b/bsp/meta-ti/conf/machine/am37x-evm.conf
new file mode 100644
index 00000000..e9d1838a
--- /dev/null
+++ b/bsp/meta-ti/conf/machine/am37x-evm.conf
@@ -0,0 +1,31 @@
+#@TYPE: Machine
+#@NAME: AM37x EVM
+#@DESCRIPTION: Machine configuration for the TI AM37x EVM
+
+require conf/machine/include/omap3.inc
+
+MACHINE_GUI_CLASS = "smallscreen"
+MACHINE_FEATURES += "touchscreen ethernet"
+
+IMAGE_FSTYPES += "ubi tar.gz"
+EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
+
+KERNEL_DEVICETREE = "omap3-evm-37xx.dtb"
+
+SERIAL_CONSOLES = "115200;ttyS0"
+
+# NOTE: there are NAND and OneNAND versions of this board...
+# do ubiattach /dev/ubi_ctrl -m 4
+# From dmesg:
+# UBI: smallest flash I/O unit: 2048
+# UBI: logical eraseblock size: 129024 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1996 LEBs
+MKUBIFS_ARGS = "-m 2048 -e 129024 -c 1996"
+
+# 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: 512
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"