Return-Path: Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CFE7CE003D2 for ; Fri, 23 Aug 2013 12:59:14 -0700 (PDT) Received: from gandalf.denix.org ([unknown] [108.45.150.102]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MS0001XY2629T80@vms173001.mailsrvcs.net> for meta-ti@yoctoproject.org; Fri, 23 Aug 2013 14:58:51 -0500 (CDT) Received: from elrond.denix (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 7649620173; Fri, 23 Aug 2013 15:58:50 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Fri, 23 Aug 2013 15:58:26 -0400 Message-id: <1377287906-17115-4-git-send-email-denis@denix.org> X-Mailer: git-send-email 1.8.3.2 In-reply-to: <1377287906-17115-1-git-send-email-denis@denix.org> References: <1377287906-17115-1-git-send-email-denis@denix.org> Subject: [PATCH 4/4] am437x-evm: add machine config for Sitara AM437x EVM X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 19:59:14 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- conf/machine/am437x-evm.conf | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 conf/machine/am437x-evm.conf diff --git a/conf/machine/am437x-evm.conf b/conf/machine/am437x-evm.conf new file mode 100644 index 0000000..901bfe8 --- /dev/null +++ b/conf/machine/am437x-evm.conf @@ -0,0 +1,35 @@ +#@TYPE: Machine +#@NAME: AM437x EVM +#@DESCRIPTION: Machine configuration for the TI AM437x 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" -- 1.8.3.2