projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a061dd5
)
microblaze: Fix _start symbol to physical address
author
Michal Simek
<monstr@monstr.eu>
Mon, 22 Jun 2009 10:55:32 +0000
(12:55 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Tue, 22 Sep 2009 08:11:08 +0000
(10:11 +0200)
_start is setup to physical kernel start address.
This caused that when you load vmlinux (with MMU kernel)
via XMD program counter (pc) is setup correctly
and then you can write con and start kernel.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/vmlinux.lds.S
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/vmlinux.lds.S
b/arch/microblaze/kernel/vmlinux.lds.S
index
dbb98f8
..
e704188
100644
(file)
--- a/
arch/microblaze/kernel/vmlinux.lds.S
+++ b/
arch/microblaze/kernel/vmlinux.lds.S
@@
-20,6
+20,7
@@
jiffies = jiffies_64 + 4;
SECTIONS {
. = CONFIG_KERNEL_START;
+ _start = CONFIG_KERNEL_BASE_ADDR;
.text : AT(ADDR(.text) - LOAD_OFFSET) {
_text = . ;
_stext = . ;