[coreboot] buildrom: Add OpenFirmware support

Jordan Crouse jordan.crouse at amd.com
Thu Apr 24 20:00:35 CEST 2008


On 24/04/08 10:47 -0700, ron minnich wrote:
> buildrom can be fragile on the clean. I ^C in the middle of it
> wget'ing OFW (long story) and now:
> [rminnich at xcpu buildrom-devel]$ make clean
> maCleaning coreboot v3...
> ke
> Cleaning Openfirmware...
> make: *** [ofw-clean] Error 2
> [rminnich at xcpu buildrom-devel]$ make
> Fetching OpenFirmware...
> SVN Checkout rev 720
> Fetching svn://openbios.org/openfirmware...
> ^C^C^C^C^Z
> [1]+  Stopped                 make
> [rminnich at xcpu buildrom-devel]$ kill -9 %1
> [1]+  Killed                  make
> [rminnich at xcpu buildrom-devel]$
> [rminnich at xcpu buildrom-devel]$
> [rminnich at xcpu buildrom-devel]$ make menuconfig
> #
> # using defaults found in .config
> #
> .config:93:warning: symbol value '' invalid for LAB_PAUSE
> 
> 
> *** End of buildrom configuration.
> *** Execute 'make' to build buildrom or try 'make help'.
> 
> [rminnich at xcpu buildrom-devel]$ make clean all
> Cleaning coreboot v3...
> Cleaning Openfirmware...
> make: *** [ofw-clean] Error 2
> [rminnich at xcpu buildrom-devel]$ mak eclean
> bash: mak: command not found
> [rminnich at xcpu buildrom-devel]$ make clean
> Cleaning coreboot v3...
> Cleaning Openfirmware...
> make: *** [ofw-clean] Error 2
> [rminnich at xcpu buildrom-devel]$
> 
> [rminnich at xcpu buildrom-devel]$ make
> Patching OpenFirmware...
> Applying patch patches/ofw_coreboot_qemu.patch
> The text leading up to this was:
> --------------------------
> |Index: cpu/x86/pc/biosload/config.fth
> |===================================================================
> |--- a/cpu/x86/pc/biosload/config.fth   (Revision 720)
> |+++ b/cpu/x86/pc/biosload/config.fth   (Arbeitskopie)
> --------------------------
> No file to patch.  Skipping patch.
> 3 out of 3 hunks ignored
> Patch patches/ofw_coreboot_qemu.patch does not apply (enforce with -f)
> make: *** [/home/rminnich/src/bios/buildrom/buildrom-devel/work/ofw/stamps/.patched]
> Error 1
> [rminnich at xcpu buildrom-devel]$ make distclean
> [rminnich at xcpu buildrom-devel]$ make clean
> Cleaning coreboot v3...
> make: *** [coreboot-v3-clean] Error 2
> 
> 
> it's just all kindsa confused and I can't get it undone. Maybe a
> 'fuxored' target that would
> do what needs to be done, without regard to the state?
> 
> distclean seems not to help.

Distclean actually should have what you needed.  That last error message
is an issue, but easily fixed.  DIstclean should always recover you -
try make distclean; make - it should do the right thing.

Jordan

-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.





More information about the coreboot mailing list