diff options
-rw-r--r-- | model.lds.S | 2 | ||||
-rw-r--r-- | semi_loader.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/model.lds.S b/model.lds.S index ed1221c..48193df 100644 --- a/model.lds.S +++ b/model.lds.S @@ -38,7 +38,7 @@ SECTIONS #endif kernel_end = .; - . = PHYS_OFFSET + 0x02000000; + . = PHYS_OFFSET + 0x00080000; fs_start = .; #if defined(USE_INITRD) && !defined(SEMIHOSTING) .filesystem : { ./filesystem.cpio.gz } diff --git a/semi_loader.h b/semi_loader.h index d58f0d3..6667870 100644 --- a/semi_loader.h +++ b/semi_loader.h @@ -58,7 +58,7 @@ static const char uboot_image_header_magic[] = { #define PHYS_SIZE 0x80000000 /* can limit on kernel cmdline if necessary */ #define ATAGS_OFFSET 0x100 #define TEXT_OFFSET 0x8000 -#define INITRD_OFFSET 0x2000000 /* qemu uses the same random offset */ +#define INITRD_OFFSET 0x80000 /* qemu uses the same random offset */ #define FDT_SIZE_MAX 0x10000 /* maximum size allowed for device tree blob */ |