i try to do a build Of core boot and I get this after running make. This is my first time EVER doing this can someone help.
[root@localhost coreboot]# make CC lib/memset.romstage.o CC lib/memcpy.romstage.o CC lib/memcmp.romstage.o CC lib/cbfs.romstage.o CC lib/lzma.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC console/vtxprintf.romstage.o GEN build.h CC console/console.romstage.o CC console/post.romstage.o CC console/die.romstage.o CC romstage.inc POST romstage.inc GEN crt0.S CC mainboard/asus/mew-am/crt0.s CC mainboard/asus/mew-am/crt0.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC southbridge/intel/i82801ax/early_smbus.romstage.o CC northbridge/intel/i82810/raminit.romstage.o CC northbridge/intel/i82810/debug.romstage.o LINK coreboot /usr/bin/ld: section .eh_frame [00000000fffffff0 -> 0000000100000a17] overlaps section .reset [00000000fffffff0 -> 00000000ffffffff] /usr/bin/ld: build/coreboot: section .eh_frame vma 0xfffffff0 overlaps previous sections collect2: ld returned 1 exit status make: *** [build/coreboot] Error 1 [root@localhost coreboot]# ^C [root@localhost coreboot]#
Dear Raleigh,
please do just send plain text messages to lists [1]. Please also remember that the project is spelled »coreboot«.
Am Freitag, den 27.05.2011, 00:03 -0400 schrieb Raleigh Boulware:
i try to do a build Of coreboot and I get this after running make. This is my first time EVER doing this can someone help.
[root@localhost coreboot]# make CC lib/memset.romstage.o CC lib/memcpy.romstage.o CC lib/memcmp.romstage.o CC lib/cbfs.romstage.o CC lib/lzma.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC console/vtxprintf.romstage.o GEN build.h CC console/console.romstage.o CC console/post.romstage.o CC console/die.romstage.o CC romstage.inc POST romstage.inc GEN crt0.S CC mainboard/asus/mew-am/crt0.s CC mainboard/asus/mew-am/crt0.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC southbridge/intel/i82801ax/early_smbus.romstage.o CC northbridge/intel/i82810/raminit.romstage.o CC northbridge/intel/i82810/debug.romstage.o LINK coreboot
/usr/bin/ld: section .eh_frame [00000000fffffff0 -> 0000000100000a17] overlaps section .reset [00000000fffffff0 -> 00000000ffffffff] /usr/bin/ld: build/coreboot: section .eh_frame vma 0xfffffff0 overlaps previous sections collect2: ld returned 1 exit status make: *** [build/coreboot] Error 1 [root@localhost coreboot]# ^C [root@localhost coreboot]#
What tool chain do you use? There are problems with some version.
coreboot provides a tool chain called xcompile. Please try that one.
Thanks,
Paul
I had the same error, just install the lastest binutils, try again.
i try to do a build Of core boot and I get this after running make. This is my first time EVER doing this can someone help.
[root@localhost coreboot]# make CC lib/memset.romstage.o CC lib/memcpy.romstage.o CC lib/memcmp.romstage.o CC lib/cbfs.romstage.o CC lib/lzma.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC console/vtxprintf.romstage.o GEN build.h CC console/console.romstage.o CC console/post.romstage.o CC console/die.romstage.o CC romstage.inc POST romstage.inc GEN crt0.S CC mainboard/asus/mew-am/crt0.s CC mainboard/asus/mew-am/crt0.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC southbridge/intel/i82801ax/early_smbus.romstage.o CC northbridge/intel/i82810/raminit.romstage.o CC northbridge/intel/i82810/debug.romstage.o LINK coreboot /usr/bin/ld: section .eh_frame [00000000fffffff0 -> 0000000100000a17] overlaps section .reset [00000000fffffff0 -> 00000000ffffffff] /usr/bin/ld: build/coreboot: section .eh_frame vma 0xfffffff0 overlaps previous sections collect2: ld returned 1 exit status make: *** [build/coreboot] Error 1 [root@localhost coreboot]# ^C [root@localhost coreboot]#
2011/5/27 Cui Lei neverforget_2002@163.com:
I had the same error, just install the lastest binutils, try again.
Quote: "If you have compiler or binutils trouble, REPRODUCE WITH coreboot/util/crossgcc and then send a log to the mailing list"
i try to do a build Of core boot and I get this after running make. This is my first time EVER doing this can someone help.
[root@localhost coreboot]# make CC lib/memset.romstage.o CC lib/memcpy.romstage.o CC lib/memcmp.romstage.o CC lib/cbfs.romstage.o CC lib/lzma.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC console/vtxprintf.romstage.o GEN build.h CC console/console.romstage.o CC console/post.romstage.o CC console/die.romstage.o CC romstage.inc POST romstage.inc GEN crt0.S CC mainboard/asus/mew-am/crt0.s CC mainboard/asus/mew-am/crt0.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC southbridge/intel/i82801ax/early_smbus.romstage.o CC northbridge/intel/i82810/raminit.romstage.o CC northbridge/intel/i82810/debug.romstage.o
i810 is marked WIP (Work In Progress): http://www.coreboot.org/Supported_Chipsets_and_Devices Chances are that booting will fail, so please have a spare chip to boot from when things go wrong.
LINK coreboot /usr/bin/ld: section .eh_frame [00000000fffffff0 -> 0000000100000a17] overlaps section .reset [00000000fffffff0 -> 00000000ffffffff] /usr/bin/ld: build/coreboot: section .eh_frame vma 0xfffffff0 overlaps previous sections collect2: ld returned 1 exit status make: *** [build/coreboot] Error 1
See the quote earlier in this e-mail.
[root@localhost coreboot]# ^C [root@localhost coreboot]#
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
How do I get the latest binutils? can someone send me a link?
Date: Fri, 27 May 2011 12:23:08 +0200 From: vidwer@gmail.com To: neverforget_2002@163.com CC: r_boulware@hotmail.com; coreboot@coreboot.org Subject: Re: [coreboot] haveing troubling building core boot!
2011/5/27 Cui Lei neverforget_2002@163.com:
I had the same error, just install the lastest binutils, try again.
Quote: "If you have compiler or binutils trouble, REPRODUCE WITH coreboot/util/crossgcc and then send a log to the mailing list"
i try to do a build Of core boot and I get this after running make. This is my first time EVER doing this can someone help.
[root@localhost coreboot]# make CC lib/memset.romstage.o CC lib/memcpy.romstage.o CC lib/memcmp.romstage.o CC lib/cbfs.romstage.o CC lib/lzma.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC console/vtxprintf.romstage.o GEN build.h CC console/console.romstage.o CC console/post.romstage.o CC console/die.romstage.o CC romstage.inc POST romstage.inc GEN crt0.S CC mainboard/asus/mew-am/crt0.s CC mainboard/asus/mew-am/crt0.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC southbridge/intel/i82801ax/early_smbus.romstage.o CC northbridge/intel/i82810/raminit.romstage.o CC northbridge/intel/i82810/debug.romstage.o
i810 is marked WIP (Work In Progress): http://www.coreboot.org/Supported_Chipsets_and_Devices Chances are that booting will fail, so please have a spare chip to boot from when things go wrong.
LINK coreboot
/usr/bin/ld: section .eh_frame [00000000fffffff0 -> 0000000100000a17] overlaps section .reset [00000000fffffff0 -> 00000000ffffffff] /usr/bin/ld: build/coreboot: section .eh_frame vma 0xfffffff0 overlaps previous sections collect2: ld returned 1 exit status make: *** [build/coreboot] Error 1
See the quote earlier in this e-mail.
[root@localhost coreboot]# ^C [root@localhost coreboot]#
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Peter Stuge was king enough to supply me this information when I needed it...
Please build the reference toolchain:
cd util/crossgcc ./buildgcc i386-elf cd ../.. rm -f .xcompile make On Fri, May 27, 2011 at 6:11 AM, Raleigh Boulware r_boulware@hotmail.comwrote:
How do I get the latest binutils? can someone send me a link?
Date: Fri, 27 May 2011 12:23:08 +0200 From: vidwer@gmail.com To: neverforget_2002@163.com CC: r_boulware@hotmail.com; coreboot@coreboot.org Subject: Re: [coreboot] haveing troubling building core boot!
2011/5/27 Cui Lei neverforget_2002@163.com:
I had the same error, just install the lastest binutils, try again.
Quote: "If you have compiler or binutils trouble, REPRODUCE WITH coreboot/util/crossgcc and then send a log to the mailing list"
i try to do a build Of core boot and I get this after running make. This is my first time EVER doing this can someone help.
[root@localhost coreboot]# make CC lib/memset.romstage.o CC lib/memcpy.romstage.o CC lib/memcmp.romstage.o CC lib/cbfs.romstage.o CC lib/lzma.romstage.o CC lib/ramtest.romstage.o CC lib/uart8250.romstage.o CC console/vtxprintf.romstage.o GEN build.h CC console/console.romstage.o CC console/post.romstage.o CC console/die.romstage.o CC romstage.inc POST romstage.inc GEN crt0.S CC mainboard/asus/mew-am/crt0.s CC mainboard/asus/mew-am/crt0.romstage.o CC arch/x86/lib/romstage_console.romstage.o CC arch/x86/lib/cbfs_and_run.romstage.o CC southbridge/intel/i82801ax/early_smbus.romstage.o CC northbridge/intel/i82810/raminit.romstage.o CC northbridge/intel/i82810/debug.romstage.o
i810 is marked WIP (Work In Progress): http://www.coreboot.org/Supported_Chipsets_and_Devices Chances are that booting will fail, so please have a spare chip to boot from when things go wrong.
LINK coreboot
/usr/bin/ld: section .eh_frame [00000000fffffff0 -> 0000000100000a17] overlaps section .reset [00000000fffffff0 -> 00000000ffffffff] /usr/bin/ld: build/coreboot: section .eh_frame vma 0xfffffff0 overlaps previous sections collect2: ld returned 1 exit status make: *** [build/coreboot] Error 1
See the quote earlier in this e-mail.
[root@localhost coreboot]# ^C [root@localhost coreboot]#
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Hey I am new to Linux programing and having some trouble.. when I try to down load the Coreboot tree using this command: svn co svn://coreboot.org/coreboot/trunk coreboot I get a response back that says the command does not exsits how do I get this package for Fedora 14? thanks
On Sun, May 29, 2011 at 12:05 AM, Raleigh Boulware r_boulware@hotmail.com wrote:
Hey I am new to Linux programing and having some trouble.. when I try to down load the Coreboot tree using this command: svn co svn://coreboot.org/coreboot/trunk coreboot I get a response back that says the command does not exsits how do I get this package for Fedora 14? thanks
Install a SVN client from this below link. https://admin.fedoraproject.org/pkgdb/apps/search/subversion?_csrf_token=f40...
- Thanks, Vikram
În Vin, Mai 27, 2011 16:11, Raleigh Boulware a scris:
How do I get the latest binutils? can someone send me a link?
Hello,
As said before by someone else, the recommended procedure is to use the cross-compiler toolchain. In order to get this toolchain installed, I suggest you use 'make crossgcc'. It will take a while to finish, but then the coreboot code should compile properly.
I'm just curious, on which motherboard do you plan to use coreboot?
Cheers, Cristi
Is there a good link to this tool chain?
I was useing a mother board with the Intel 810 chipset. But I have other projects I plan on using...I have a board with an FPGA that I plan on using too. But I need something to strat with as a Bootloader, so this is why I want to use Coreboot.
Date: Sun, 29 May 2011 20:05:47 +0300 From: cristi.magherusan@net.utcluj.ro To: r_boulware@hotmail.com CC: neverforget_2002@163.com; vidwer@gmail.com; coreboot@coreboot.org Subject: Re: [coreboot] haveing troubling building core boot!
În Vin, Mai 27, 2011 16:11, Raleigh Boulware a scris:
How do I get the latest binutils? can someone send me a link?
Hello,
As said before by someone else, the recommended procedure is to use the cross-compiler toolchain. In order to get this toolchain installed, I suggest you use 'make crossgcc'. It will take a while to finish, but then the coreboot code should compile properly.
I'm just curious, on which motherboard do you plan to use coreboot?
Cheers, Cristi
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
On 5/29/11 4:44 PM, Raleigh Boulware wrote:
Is there a good link to this tool chain?
There are no prebuilt binaries for this tool chain. Type 'make crossgcc' in coreboot, as suggested several times before in this thread;-)
Stefan
Date: Sun, 29 May 2011 20:05:47 +0300 From: cristi.magherusan@net.utcluj.ro To: r_boulware@hotmail.com CC: neverforget_2002@163.com; vidwer@gmail.com; coreboot@coreboot.org Subject: Re: [coreboot] haveing troubling building core boot!
În Vin, Mai 27, 2011 16:11, Raleigh Boulware a scris:
How do I get the latest binutils? can someone send me a link?
As said before by someone else, the recommended procedure is to use the cross-compiler toolchain. In order to get this toolchain installed, I suggest you use 'make crossgcc'. It will take a while to finish, but then the coreboot code should compile properly.
OK I have finally got the code to build a .rom file thanks to everyones help on here. My next step, now that it looks like my enviroment is settup, is to just learn my way aeround the basics of how the project is organized. My question is what is the flow of how the source code works? What is the first thing or file that gets executed? then how do I flow the code from there?
Raleigh Boulware wrote:
OK I have finally got the code to build a .rom file thanks to everyones help on here.
That's a big warning sign.
My next step, now that it looks like my enviroment is settup, is to just learn my way aeround the basics of how the project is organized.
I think you should actually have started with this step.
My question is what is the flow of how the source code works?
Why do you ask?
What is the first thing or file that gets executed?
Why do you ask?
then how do I flow the code from there?
Why do you want to do that?
In short, what is your detailed motivation for using coreboot?
Noone has time to hold your hand along the learning curve of coreboot; you have to study on your own. Fortunately there are many resources available for learning. You can read the mailing list archives, where the exact same questions you ask have already been asked and answered in depth.
The fact that you are asking questions that have already been answered in the archive, along with your questions about package management in Fedora, reveals that you have put no significant effort into even learning what you need to learn - which suggests that you expect or want to be spoon-fed every thing. This is not a useful approach in most open source projects, because everyone is contributing on a voluntary basis and it is extremely inefficient to spend time on 1:1 spoon feeding.
coreboot is a fairly advanced project so please be prepared to educate yourself if you're only just starting out.
Education takes time. Usually a lot of time. I'd expect a year to get up to speed on all aspects of coreboot.
Of course there's also the alternative to buy professional training.
Several service providers are active contributors in the coreboot community; they may be interested in offering introductory coreboot training. This mailing list is a great place to advertise interest in such training. I don't know of any that has been held so far, but if there is demand there will without a doubt also be a supply! I have no idea about the price point but I can guess.. There would probably be a few different levels to choose from as for how far in depth the training goes, and I would guess fees starting at $1k per participant.
In short: if you don't want to self educate then you have to pay someone to do it for you. No free lunch here.
//Peter