Skip to contentSkip to conversation

am43xx: Added machine config for am437x HS evm

PATCH In review Rajasekar 1 participant 1 message Dec 6, 2013

lore
Share & tools
lore

Rajasekar

author
#0 lore raw

PATCH 2/2 am43xx: Added machine config for am437x HS evm

From: Deepak M <[email protected]>

---
 conf/machine/am437x-hs-evm.conf |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 conf/machine/am437x-hs-evm.conf
conf/machine/am437x-hs-evm.conf new file +39 -0
new file mode 100644
index 0000000..1b38d09
@@ -0,0 +1,39 @@
+#@TYPE: Machine
+#@NAME: AM43xx EVM
+#@DESCRIPTION: Machine configuration for the TI AM43xx EVM
+
+require conf/machine/include/ti43x.inc
+
+# Use built-in LCD by default
+XSERVER += "xf86-input-tslib"
+GUI_MACHINE_CLASS = "smallscreen"
+MACHINE_FEATURES += "touchscreen"
+
+IMAGE_FSTYPES += "ubi tar.gz"
+
+SERIAL_CONSOLE = "115200 ttyO0"
+
+# UBI information.  Note that this is board and kernel specific.  Changes
+# in your kernel port may require changes in these variables.  For more
+# details about this board please see
+# http://processors.wiki.ti.com/index.php/UBIFS_Support
+
+# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
+# From dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: logical eraseblock size:    126976 bytes
+# from ubiattach stdout:
+# UBI device number 0, total 1988 LEBs
+MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
+
+# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
+# from dmesg:
+# UBI: smallest flash I/O unit:    2048
+# UBI: physical eraseblock size:   131072 bytes (128 KiB)
+# UBI: sub-page size:              512
+# UBI: VID header offset:          2048 (aligned 2048)
+UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
+
+UBOOT_MACHINE = "am43xx_hs_evm"
+PPA_PROJ = "default"
+PPA_PROC = "AM43XX"
Signature · 1 line
1.7.9.5