Patchwork Buildrom support for Asus M2V-MX SE

login
register
about
Submitter Cristi Magherusan
Date 2009-07-16 20:53:12
Message ID <1247777592.10725.58.camel@localhost.localdomain>
Download mbox | patch
Permalink /patch/41/
State Not Applicable
Headers show

Comments

Cristi Magherusan - 2009-07-16 20:53:12
Here's the patch:

http://panzer.utcluj.ro/cgi-bin/cgit.cgi/avatt/patch/?id=1f45b765097fd8ba2139a078bd57679e16ac4699

Signed-off by: Cristi Măgherușan <cristi.magherusan@net.utcluj.ro>


I'm unable to say which others may worth it, but someone who's
interested by buildrom can also cherry-pick some changesets/patches from
my git repos at http://panzer.utcluj.ro/cgi-bin/cgit.cgi/ and include
them in the main buildrom repo. A few of them are merged in the buildrom
repo, while others are still in AVATT (I'm using braid to track my
buildrom repo from AVATT, so it's easy to do it), but they will be
merged eventually when I have some spare time..


From 1f45b765097fd8ba2139a078bd57679e16ac4699 Mon Sep 17 00:00:00 2001
From: Cristi Măgherușan <cristi.magherusan@net.utcluj.ro>
Date: Thu, 16 Jul 2009 18:16:13 +0000
Subject: Added support for my Asus M2V-MX SE

---
ron minnich - 2009-07-16 21:11:02
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Nathan Owens - 2010-04-17 23:49:03
I was wondering if anyone could point me to some documentation or a 
procedure for integrating this patch into buildrom?

Thanks!

Nate
Stefan Reinauer - 2010-04-18 08:46:44
On 4/18/10 1:49 AM, Nathan Owens wrote:
> I was wondering if anyone could point me to some documentation or a
> procedure for integrating this patch into buildrom?
>
> Thanks!

Committed in r278.

If you know of more "forgotten" patches, please do send reminders everyone!

More current patches should end up in patchwork:
http://patchwork.coreboot.org/project/coreboot/list/

Stefan

Patch

diff --git a/buildrom/buildrom-devel/config/platforms/Config.in b/buildrom/buildrom-devel/config/platforms/Config.in
index e8a0a8b..1fa6a12 100644
--- a/buildrom/buildrom-devel/config/platforms/Config.in
+++ b/buildrom/buildrom-devel/config/platforms/Config.in
@@ -104,6 +104,13 @@  config PLATFORM_ASUS_A8N_E
        select PLATFORM
        select PLATFORM_SUPPORT_64BIT
 
+config PLATFORM_ASUS_M2V_MX_SE
+       bool "ASUS M2V-MX SE"
+       depends on VENDOR_ASUS
+       depends on COREBOOT_V2
+       select PLATFORM
+       select PLATFORM_SUPPORT_64BIT
+
 config PLATFORM_GA_2761GXDK
 	bool "GIGABYTE GA-2761GXDK"
 	depends on VENDOR_GIGABYTE
diff --git a/buildrom/buildrom-devel/config/platforms/asus_m2v-mx_se.conf b/buildrom/buildrom-devel/config/platforms/asus_m2v-mx_se.conf
new file mode 100644
index 0000000..a78863e
--- a/dev/null
+++ b/buildrom/buildrom-devel/config/platforms/asus_m2v-mx_se.conf
@@ -0,0 +1,28 @@ 
+# Support for the ASUS A8V-E SE board
+
+#### Platform configuration
+
+ifeq ($(CONFIG_TARGET_64BIT),y)
+TARGET_ARCH=x86_64
+CFLAGS_platform =
+else
+TARGET_ARCH=i686
+CFLAGS_platform =
+endif
+
+# kernel configuration (for LAB)
+
+# TODO
+
+UCLIBC_ARCH=$(TARGET_ARCH)
+
+# Etherboot configuration
+
+ETHERBOOT_ARCH=i386
+
+# coreboot configuration
+
+COREBOOT_VENDOR=asus
+COREBOOT_BOARD=m2v-mx_se
+CBV2_TDIR=m2v-mx_se
+CBV2_TAG=4426
diff --git a/buildrom/buildrom-devel/config/platforms/platforms.conf b/buildrom/buildrom-devel/config/platforms/platforms.conf
index 733ca73..f5f62f8 100644
--- a/buildrom/buildrom-devel/config/platforms/platforms.conf
+++ b/buildrom/buildrom-devel/config/platforms/platforms.conf
@@ -23,6 +23,7 @@  PLATFORM-$(CONFIG_PLATFORM_DBE61) = dbe61.conf
 PLATFORM-$(CONFIG_PLATFORM_GA_M57SLI_S4) = m57sli.conf
 PLATFORM-$(CONFIG_PLATFORM_ASUS_A8V_E_SE) = asus_a8v-e_se.conf
 PLATFORM-$(CONFIG_PLATFORM_ASUS_A8N_E) = asus_a8n-e.conf
+PLATFORM-$(CONFIG_PLATFORM_ASUS_M2V_MX_SE) = asus_m2v-mx_se.conf
 PLATFORM-$(CONFIG_PLATFORM_TYAN_S2881) = tyan-s2881.conf
 PLATFORM-$(CONFIG_PLATFORM_TYAN_S2882) = tyan-s2882.conf
 PLATFORM-$(CONFIG_PLATFORM_TYAN_S2891) = tyan-s2891.conf