[coreboot] coreboot Digest, Vol 48, Issue 13
David Melik
dchmelik at gmail.com
Wed Feb 4 00:56:58 CET 2009
> > > I did that, then did not see Opterons listed in it or on
> > > coreboot.org/buildrom/.
>
> ?
>
The current buildrom just
seems to omit Opteron 800 (or any) series, and that link omits s4882
from 'supported boards.'
> > > I thought I read in the archives that someone patched coreboot for s4882[...]
>
> It should still work. Here's what I did.
>
> cd coreboot/svn/targets
> ./buildtarget tyan/s4882/
> make -C tyan/s4882/s4882/
>
> make[1]: *** No rule to make target
> `../../../../payloads/tg3--filo_hda2_vga.zelf', needed by `payload'. Stop.
>
> // Same error you got.
>
> gvim tyan/s4882/Config.lb
> change ../../../../payloads/tg3--filo_hda2_vga.zelf to ../grub2.elf
>
> cp ../../../../deploy/grub2-payload.elf tyan/s4882/s4882/grub2.elf
> make -C tyan/s4882/s4882/
>
> ERROR: payload (206476) + coreboot (131072) - Size is 124556 bytes larger
> than ROM size (212992).
> make[1]: *** [coreboot.rom] Error 1
>
> // Different error, but important.
> /* It's configured to have two images in the ROM and there isn't enough
> space for two copies of grub2+coreboot. If fallback is really important to
> you, you can start using compression, but lets get something working for you
> first. */
>
> gvim tyan/s4882/Config.lb
>
> gvim tyan/s4882/Config.lb
>
> -------------SNIP ----------------
> # Sample config file for
> # the Tyan s4882
> # This will make a target directory of ./s4882
>
> target s4882
> mainboard tyan/s4882
>
> romimage "fallback"
> option USE_FALLBACK_IMAGE=1
> option FALLBACK_SIZE=ROM_SIZE
> option ROM_IMAGE_SIZE=0x20000
> option XIP_ROM_SIZE=0x20000
> option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
> payload ../grub2.elf
> end
>
> buildrom ./coreboot.rom ROM_SIZE "fallback"
>
> -------------SNIP ----------------
>
> make -C tyan/s4882/s4882/
>
> That should work. Let me know. Exact error messages and what you type will
> help us help you.
>
> Thanks,
> Myles
Great! It appeared to work, but I am unsure if I will test it today or
in few/one day(s) after
I upgrade with slamd64-12.2-dvd.iso (downloading.)
So, how hard is it to build coreboot for unsupported boards? I have 15
- 20 boards around, incl. a few working (mostly '90s:) perhaps I should
try others if I wait for my OS download....
--David
More information about the coreboot
mailing list