Patchwork [1/4] mx28evk: Add new machine definition

login
register
mail settings
Submitter Andreas Müller
Date May 2, 2011, 9:02 p.m.
Message ID <1304370168-4354-2-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/3085/
State Superseded
Headers show

Comments

Andreas Müller - May 2, 2011, 9:02 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
Koen Kooi - May 3, 2011, 7:26 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can you make this 4/4, otherwise bisecting will be broken since this
machines lacks uboot and kernel.

On 02-05-11 23:02, Andreas Mueller wrote:
> 
> 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
> 
> 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"
> +

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNv64UMkyGM64RGpERAnLbAJ428QinP3RjRJfULPVwSBoJDzzmWQCfcK+p
eIXHu+QuINATlNrAQ9LH+pI=
=UwFn
-----END PGP SIGNATURE-----

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"
+