Patchwork [v2,4/4] mx28evk: Add new machine definition

login
register
mail settings
Submitter Andreas Müller
Date May 3, 2011, 2:40 p.m.
Message ID <1304433651-3278-4-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/3105/
State Accepted
Headers show

Comments

Andreas Müller - May 3, 2011, 2:40 p.m.
Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
---
 conf/machine/include/imx28.inc |   19 +++++++++++++++++++
 conf/machine/mx28evk.conf      |   23 +++++++++++++++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)
 create mode 100644 conf/machine/include/imx28.inc
 create mode 100644 conf/machine/mx28evk.conf

Patch

diff --git a/conf/machine/include/imx28.inc b/conf/machine/include/imx28.inc
new file mode 100644
index 0000000..38248a8
--- /dev/null
+++ b/conf/machine/include/imx28.inc
@@ -0,0 +1,19 @@ 
+SOC_FAMILY = "mx28"
+TARGET_ARCH = "arm"
+
+require conf/machine/include/tune-arm926ejs.inc
+
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
+
+# Increase this everytime you change something in the kernel
+MACHINE_KERNEL_PR = "r0"
+
+KERNEL_IMAGETYPE = "uImage"
+
+UBOOT_ENTRYPOINT = "0x8000"
+UBOOT_LOADADDRESS = "0x8000"
+
+EXTRA_IMAGEDEPENDS += "u-boot"
+
+IMAGE_FSTYPES += "jffs2 tar.bz2"
+
diff --git a/conf/machine/mx28evk.conf b/conf/machine/mx28evk.conf
new file mode 100644
index 0000000..e093ffa
--- /dev/null
+++ b/conf/machine/mx28evk.conf
@@ -0,0 +1,23 @@ 
+#@Name: Freescale i.MX28 Evaluation Kit
+#@DESCRIPTION: Machine configuration for Freescale i.MX28 Evaluation Kit
+#@Homepage: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCIMX28EVKJ&fr=g
+
+UBOOT_MACHINE = "mx28_evk_config"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-imx"
+
+MACHINE_FEATURES = "kernel26 apm alsa ext2 usbhost usbgadget screen"
+
+MACHINE_GUI_CLASS = "bigscreen"
+LOGO_SIZE = "vga"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+XSERVER = "xserver-kdrive-fbdev"
+
+require conf/machine/include/imx28.inc
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+ROOT_FLASH_SIZE = "128"
+