Commit graph

8 commits

Author SHA1 Message Date
Stefan Reinauer
6b86ee6c96 some dependencies fixes.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@132 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-26 13:59:35 +00:00
Ronald G. Minnich
7dd602be11 Simplify elfboot, add copyright. newelfboot.c will be removed in a
minute. 

This code has been tested; we are booting filo from flash in qemu at
this point. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@114 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-25 10:42:53 +00:00
Ronald G. Minnich
327a4432fe newelfboot.c. this elfboot is tremendously simplified so it can run out
of FLASH. Since it runs out of FLASH, we have removed the need for
bounce buffer support. that in turn rips out all kinds of stuff, so it
is now simpler. We're ripping out all the checksum stuff -- lar does
that. 

lar.c has some debug prints removed. 

elfboot.c has some mods, but elfboot.c is going away. 

cachemain.c has a few mods for using newelfboot. 

Makefile reflects these changes. 

Not tested, I'm going to bed though, so here you are.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@108 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 19:53:11 +00:00
Stefan Reinauer
39a8f1f159 get rid of all warnings but one (lb table fake)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@107 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 15:35:42 +00:00
Ronald G. Minnich
08016c4ca8 Basic elfboot functionality is in now.
We're trying to avoid the bounce buffer mess, which is really complex, 
by running elfboot out of the boot block. This code includes a really 
dumb allocator in elfboot which may or may not work. It basically
allocates off the elfboot() stack. 

This builds, but elfboot is not tested. That's next. 
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@102 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 13:39:07 +00:00
Ronald G. Minnich
f1545d6a9b fix mem.c declaration add size_t later once we understand the typedef
hell. 

more fixes to elfboot.c. more coming.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@98 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:36:43 +00:00
Ronald G. Minnich
534f6d31be mods to elf.h to use arch/elf.h
Some updates to the docs, but these will change more. 
add memcmp. Crude implementation, but it really does not matter. 
add compute_ip_checksum.c
mods to elfboot. Thanks to our new design, BOUNCE BUFFERS ARE DEAD. Yee
ha!
updates to makefile

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@96 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 12:21:47 +00:00
Ronald G. Minnich
9fed5d8f66 Files needs for booting a payload. We are reducing the number of
directories in include, since having all those directories has obscured
understanding. 

Add elfboot.c to lib. Same argument, it is not in boot, it is in lib,
since fewer directories is better. 

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@89 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-02-23 10:58:00 +00:00