From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yosuke Iwamatsu Subject: [PATCH] Etherboot for E100 NIC Date: Fri, 01 Feb 2008 21:39:25 +0900 Message-ID: <47A312FD.9070605@ab.jp.nec.com> References: <479E6049.7020908@ab.jp.nec.com> <18337.61060.423400.93623@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18337.61060.423400.93623@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Jackson wrote: > Following on from the changes recently made to build etherboot > ourselves from source, I've adapted Yosuke Iwamatsu's idea to work in > this context. > > The result is below and appears to work. The set of supported NICs > can be adjusted by changing the setting of NICS in > tools/firmware/etherboot/Makefile. > > The added file tools/firmware/etherboot/make-eb-rom-list needs to have > chmod +x run on it before committing. Thanks for your work. I tried the latest staging tree and got etherboot work fine. The attached patch (applied to cs16963) was needed to build etherboot in my test environment. I also found that build failed with "debug=y" specified, though I don't know how to fix it yet. Yosuke. ---------------------- diff -r d29d74d4eeac tools/firmware/etherboot/Config --- a/tools/firmware/etherboot/Config Fri Feb 01 12:01:34 2008 +0000 +++ b/tools/firmware/etherboot/Config Fri Feb 01 21:40:48 2008 +0900 @@ -10,4 +10,6 @@ CFLAGS+= -UPXE_DHCP_STRICT CFLAGS+= -UPXE_DHCP_STRICT CFLAGS+= -DPXE_DHCP_STRICT +CFLAGS+= -fno-stack-protector + # Also, the Makefile arranges for us to use GCC 3