Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d969a9a in mainline


Ignore:
Timestamp:
2010-06-23T18:57:53Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
21ee6ad4
Parents:
f4660690
Message:

Link gta02 boot stage to the proper base address.

Location:
boot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.uboot

    rf4660690 rd969a9a  
    4040
    4141$(POST_OUTPUT): $(BIN_OUTPUT)
    42         $(MKUIMAGE) -name "$(IMAGE_NAME)" -laddr 0x30000000 -saddr 0x30000000 \
     42        $(MKUIMAGE) -name "$(IMAGE_NAME)" -laddr 0x30008000 -saddr 0x30008000 \
    4343    $< $@
    4444
  • boot/arch/arm32/_link.ld.in

    rf4660690 rd969a9a  
     1#include <arch/arch.h>
     2
    13ENTRY(start)
    24
    35SECTIONS {
    4         . = 0x0000;
     6        . = BOOT_BASE;
    57        .text : {
    68                *(BOOTSTRAP);
    79                *(.text);
    810        }
    9         . = 0x8000;
     11        . = BOOT_BASE + 0x8000;
    1012        .data : {
    1113                *(BOOTPT);      /* bootstrap page table */
  • boot/arch/arm32/include/arch.h

    rf4660690 rd969a9a  
    3636#define PTL0_ENTRY_SIZE  4
    3737
    38 #define BOOT_OFFSET  0xa00000
     38/*
     39 * Address where the boot stage image starts (beginning of usable physical
     40 * memory).
     41 */
     42#ifdef MACHINE_gta02
     43#define BOOT_BASE       0x30008000
     44#else
     45#define BOOT_BASE       0x00000000
     46#endif
     47
     48#define BOOT_OFFSET     (BOOT_BASE + 0xa00000)
    3949
    4050#ifndef __ASM__
Note: See TracChangeset for help on using the changeset viewer.