From: Paul Nasrat Date: Mon, 3 Dec 2007 13:04:19 +0000 (+0000) Subject: Let prom_claim_chunk do the work for tftp images to support larger images. X-Git-Tag: yaboot-1.3.15-rc~18 X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=commitdiff_plain;h=c8b04c614770870d75825c19bcd4729cc779b84a;hp=b6b70ff54df42432d58801ac69ba24e7d95e0426 Let prom_claim_chunk do the work for tftp images to support larger images. Patch from: Leonardo Rangel --- diff --git a/Makefile b/Makefile index ce0dc06..5457dc9 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ TEXTADDR = 0x200000 MALLOCADDR = 0x300000 MALLOCSIZE = 0x100000 # Load kernel and ramdisk at real-base. If there is overlap, will retry until find open space -KERNELADDR = 0x00C00000 +KERNELADDR = 0x00000000 # Set this to the prefix of your cross-compiler, if you have one. # Else leave it empty. diff --git a/second/fs_of.c b/second/fs_of.c index 95c131d..0d554c5 100644 --- a/second/fs_of.c +++ b/second/fs_of.c @@ -44,8 +44,8 @@ #include "errors.h" #include "debug.h" -#define LOAD_BUFFER_POS 0x1000000 -#define LOAD_BUFFER_SIZE 0x1000000 +#define LOAD_BUFFER_POS 0x00000000 +#define LOAD_BUFFER_SIZE 0x01000000 static int of_open(struct boot_file_t* file, const char* dev_name, struct partition_t* part, const char* file_name);