diff options
author | zbb <zbb@FreeBSD.org> | 2013-10-28 21:37:45 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2013-10-28 21:37:45 +0000 |
commit | 7166e1612f564f7f42e9dcebf9bdc9e8cd84de99 (patch) | |
tree | 72841971531dec6b9cd7aadd2b089b4104877f5c /sys/arm/mv/armadaxp | |
parent | 72679d48d732df758a2512e15eaa280cb76a4bf6 (diff) | |
download | FreeBSD-src-7166e1612f564f7f42e9dcebf9bdc9e8cd84de99.zip FreeBSD-src-7166e1612f564f7f42e9dcebf9bdc9e8cd84de99.tar.gz |
Change Armada XP kernel load address to the u-boot's end address
Loading kernel to 0xf00000 has no practical reason.
Starting it from the u-boot's highest possible end address
(2MB counting from 0x0) makes more sense.
Tested by: kevlo
Diffstat (limited to 'sys/arm/mv/armadaxp')
-rw-r--r-- | sys/arm/mv/armadaxp/std.armadaxp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arm/mv/armadaxp/std.armadaxp b/sys/arm/mv/armadaxp/std.armadaxp index bf2a5f6..d731ad3 100644 --- a/sys/arm/mv/armadaxp/std.armadaxp +++ b/sys/arm/mv/armadaxp/std.armadaxp @@ -1,16 +1,16 @@ # $FreeBSD$ -# kernel gets loaded at 0x00f00000 by the loader, but runs at virtual address -# 0xc0f00000. RAM starts at 0. We put the pagetable at a reasonable place +# kernel gets loaded at 0x00200000 by the loader, but runs at virtual address +# 0xc0200000. RAM starts at 0. We put the pagetable at a reasonable place # in memory, but may need to bounce it higher if there's a problem with this. # We could paper over this by loading the kernel at 0xc0000000 virtual, but # that leads to other complications, so we'll just reclaim the lower region of # ram after we're loaded. Put the page tables for startup at 1MB. -makeoptions KERNPHYSADDR=0x00f00000 -makeoptions KERNVIRTADDR=0xc0f00000 +makeoptions KERNPHYSADDR=0x00200000 +makeoptions KERNVIRTADDR=0xc0200000 -options KERNPHYSADDR=0x00f00000 -options KERNVIRTADDR=0xc0f00000 +options KERNPHYSADDR=0x00200000 +options KERNVIRTADDR=0xc0200000 options PHYSADDR=0x00000000 options STARTUP_PAGETABLE_ADDR=0x00100000 |