Skip to content

Commit

Permalink
microblaze: Fix _start symbol to physical address
Browse files Browse the repository at this point in the history
_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>
  • Loading branch information
Michal Simek committed Sep 22, 2009
1 parent a061dd5 commit cfa9a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/microblaze/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 = . ;
Expand Down

0 comments on commit cfa9a77

Please sign in to comment.