Stefan Reinauer ([email protected]) just uploaded a new patch set to 
gerrit, which you can find at http://review.coreboot.org/732

-gerrit

commit 3cf8407dff32d39a8e6365f17bd4455b2f009964
Author: Stefan Reinauer <[email protected]>
Date:   Tue Oct 18 15:11:04 2011 -0700

    selfboot: Allow loading SeaBIOS into a reserved region in the lower 1MB
    This fixes loading SeaBIOS when lower memory is reserved.
    
    Change-Id: Idbdcaf95f3307f97307f304d6d677406d059927d
    Signed-off-by: Stefan Reinauer <[email protected]>
---
 src/boot/selfboot.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/boot/selfboot.c b/src/boot/selfboot.c
index fe56653..bbf160e 100644
--- a/src/boot/selfboot.c
+++ b/src/boot/selfboot.c
@@ -148,6 +148,11 @@ static int valid_area(struct lb_memory *mem, unsigned long 
buffer,
                }
        }
        if (i == mem_entries) {
+               if (start < (1024*1024) && end <=(1024*1024)) {
+                       printk(BIOS_DEBUG, "Payload (probably SeaBIOS) loaded"
+                               " into a reserved area in the lower 1MB\n");
+                       return 1;
+               }
                printk(BIOS_ERR, "No matching ram area found for range:\n");
                printk(BIOS_ERR, "  [0x%016lx, 0x%016lx)\n", start, end);
                printk(BIOS_ERR, "Ram areas\n");

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to