[coreboot] Coreboot v3 producing 4 gigabyte files

Stephen Crocker scrocker at ampltd.com
Tue Sep 16 10:26:55 CEST 2008


Carl-Daniel Hailfinger wrote:
> On 15.09.2008 17:52, Stephen Crocker wrote:
>> I am running into the following problem building coreboot v3 for an
>> AMD Geode LX board that my company is developing:
>>
>> Building coreboot v3...
>>   CP      build/config.h
>>   GEN     build/build.h
>>   BUILD   build/coreboot.bootblock
>> cat: write error: No space left on device
>> make[1]: ***
>> [/usr/src/tinygx/buildrom/buildrom-devel/work/coreboot-v3/svn/build/coreboot.bootblock]
>> Error 1
>> make: ***
>> [/usr/src/tinygx/buildrom/buildrom-devel/work/coreboot-v3/svn/build/coreboot.rom]
>> Error 2
>>
>> The stage0.init file is 4294967296 bytes and the coreboot.bootblock
>> file is 3940851712 bytes long.  The configuration that I am building
>> is derived from the AMD DB800 board, but with an ITE Super I/O instead
>> on the Winbond one.  I have attached the .config files from the
>> autobuilder and from coreboot itself.  I would be grateful for any
>> insight that can be provided.
> 
> Could you post a patch against an up-to-date svn tree? That will help us
> reproduce the issue and we can review the code for some of the
> less-known pitfalls.

I have attached a patch that shows the difference between my mainboard 
code and the AMD DB800 code for version 622.  This is the only change 
that I have made to the source.  I am running Fedora Core 9 on VMWare. 
Here are some details that may be useful:

[root at localhost coreboot-v3]# uname -a
Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 
EDT 2008 i686 athlon i386 GNU/Linux
[root at localhost coreboot-v3]# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap 
--enable-shared --enable-threads=posix --enable-checking=release 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada 
--enable-java-awt=gtk --disable-dssi --enable-plugin 
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux
Thread model: posix
gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)
[root at localhost coreboot-v3]# ld -v
GNU ld version 2.18.50.0.6-2 20080403
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: amdamp.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080916/7c715d2d/attachment.ksh>


More information about the coreboot mailing list