From 8ca9a196537fbb5c4e8cd18f2c77b7927f7b4616 Mon Sep 17 00:00:00 2001 From: Anil kumar M Date: Mon, 20 Dec 2010 19:57:29 +0530 Subject: [PATCH] am3517-crane: Add am3517-crane machine type * Add new machine type for the am3517-crane board. * Craneboard is a hardware development platform based on the Sitara AM3517 ARM Cortex - A8 microprocessor device. This is a low cost reference design. * You can find more about CraneBoard here: [1] http://www.ti.com/arm [2] http://www.mistralsolutions.com/products/craneboard.php [3] http://www.craneboard.org Signed-off-by: Anil kumar M Signed-off-by: Koen Kooi --- conf/machine/am3517-crane.conf | 52 ++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 conf/machine/am3517-crane.conf diff --git a/conf/machine/am3517-crane.conf b/conf/machine/am3517-crane.conf new file mode 100644 index 0000000000..dad4625928 --- /dev/null +++ b/conf/machine/am3517-crane.conf @@ -0,0 +1,52 @@ +#@TYPE: Machine +#@NAME: craneboard machine +#@DESCRIPTION: Machine configuration for the AM3517 Crane board +TARGET_ARCH = "arm" +PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" +XSERVER = "xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-omapfb \ + xf86-input-keyboard" + +# Only has DVI connector for external screen +GUI_MACHINE_CLASS = "bigscreen" + +require conf/machine/include/omap3.inc + +# Ship all kernel modules + +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" +EXTRA_IMAGEDEPENDS += " u-boot x-load" + +SERIAL_CONSOLE = "115200 ttyS2" +USE_VT = "2" + +PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp" + +PREFERRED_PROVIDER_virtual/bootloader = "u-boot" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "am3517_crane_config" +XLOAD_MACHINE = "am3517crane_config" + +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen ethernet" + +# 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" + -- 2.39.5