On Friday 14 March 2008 10:50 pm, Uwe Hermann wrote:
On Fri, Mar 14, 2008 at 07:07:46PM +0530, jtd wrote:
On Friday 14 March 2008 12:15 pm, Corey Osgood wrote:
you need to have a src/via/idot/mainboard.c with mainboard_via_idot_ops declared in it. See the same file for any other target for an example.
Ok. Done. It now bombs at make[1]: *** No rule to make target `/root/svn/payload.elf', needed by `payload'. Stop
What payload is recommended?. Filo or grub2. The payload page says grub2 does not work as yet.
Start with FILO for now. I think GRUB2 doesn't work with corebootv2 yet and it's less tested and documented so far.
and filo-0.5 fails with gcc -m32 -Wall -Os -fomit-frame-pointer -fno-common -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wno-unused -nostdinc -imacros ../config.h -I../include -I/usr/lib/gcc-lib/i486-linux/3.3.5/include -MD -c filo.c -o filo.o cc1: error: unrecognized option `-Wno-pointer-sign'
Just drop '-Wno-pointer-sign' from the Makefile, your compiler seems pretty old and doesn't know about that option.
shifted the tree to etch. filo-0.5 compiles. But...
./buildrom coreboot.strip coreboot.rom payload 0x10000 0x20000 ERROR: payload (78064) + coreboot (65536) - Size is 12528 bytes larger than ROM size (131072). make[1]: *** [coreboot.rom] Error 1
since vgarom = 61952 payload = 78064 coreboot = 65536 total = 205552
It should fit into the 256KB flash with 56592 bytes to spare.
Do i need to disable fallback? What is the purpose of fallback.