[coreboot] [patch] LAB support for Asus M2V-MX SE

Cristi Magherusan Cristi.Magherusan at net.utcluj.ro
Thu Jul 16 22:36:39 CEST 2009


Hi folks,

The attached patch enables LAB for this motherboard in coreboot-v2.
Should I change the ROM size or leave it as it is?
Also, Carl Daniel said something about CONFIG_XIP_ROM_SIZE calculation.
Is it ok if I just hardcode it to 64KB?

Signed-of by: Cristi Măgherușan<cristi.magherusan at net.utcluj.ro>
 
--- a/src/mainboard/asus/m2v-mx_se/Options.lb
+++ b/src/mainboard/asus/m2v-mx_se/Options.lb
@@ -92,6 +92,7 @@ uses CONFIG_HT_CHAIN_END_UNITID_BASE
 uses CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY
 # bx_b005+
 uses CONFIG_SB_HT_CHAIN_ON_BUS0
+uses CONFIG_PRECOMPRESSED_PAYLOAD
 uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
 uses CONFIG_USE_PRINTK_IN_CAR
--- /dev/null
+++ b/targets/asus/m2v-mx_se/Config-lab.lb
@@ -0,0 +1,24 @@
+# Sample config file for 
+# the Asus M2V-MX-SE
+# This will make a target directory of ./m2v-mx_se
+
+target m2v-mx_se
+mainboard asus/m2v-mx_se
+
+option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
+option CONFIG_PRECOMPRESSED_PAYLOAD=1
+
+# I have a 4MB SPI flash
+option CONFIG_ROM_SIZE= 4096 * 1024
+
+# reserved for coreboot 
+option CONFIG_ROM_IMAGE_SIZE = 128 * 1024
+	
+option CONFIG_XIP_ROM_SIZE = 65536
+
+romimage "image" 
+	option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
+	payload ../payload.elf.lzma
+end
+
+buildrom ./coreboot.rom CONFIG_ROM_SIZE "image"

-- 
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro  +40264 401247
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m2v-mx-se-lab.patch
Type: text/x-patch
Size: 1069 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090716/c9c008cc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090716/c9c008cc/attachment.sig>


More information about the coreboot mailing list