Skip to contentSkip to conversation

how can i change u-boot load address?

U-Boot Gururaja Hebbar K R 2 participants 3 messages Oct 7, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 8 lines

I seem to understand that remapping, being a CPU specific and depending on a way U-Boot starts (either from ROM or RAM), is taken away in 'lowlevel_init' function, defined either in in $(uboot)/cpu/arm/$(soc)/lowlevel_init.S (for example, $(uboot)/cpu/arm920t/ks8695/) or in $(uboot)/board/board_name/lowlevel_init.S, but what confuses me is that I couldn't find remap functions on every ARM platform, running from ROM at reset.

U wouldnt see mapping the vector on (most) ARM Platforms because they use u-boot as secondary bootloader
Initial Arm Bootmonitor would run & that would re-locate the U-boot to ram & then give control to u-boot

I said "most" because ARM Integrator Board doesnt use Arm Bootmonitor & hence its code has remapping functionality.

Kindly look at $(uboot)/board/integratorcp/lowlevel_init.S & $(uboot)/board/integratorcp/integratorcp.c.
It needs CONFIG_CM_REMAP setting to be defined

For the board that i am using, i had to make use of this.

Hope this helps

Regards
Gururaja

#2 lore raw

Dear "Gururaja Hebbar K R",

Quoted 3 lines · In message <[email protected]> you…

U wouldnt see mapping the vector on (most) ARM Platforms because they use u-boot as secondary bootloader

I don't have reliable statistical data to judge if the "most" is correct, or if it actually is only a "few" configurations that do this.

Quoted 2 lines

I said "most" because ARM Integrator Board doesnt use Arm Bootmonitor & hence its code has remapping functionality.

#3 lore raw

Hi,

Quoted 11 lines

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Subject: Re: [U-Boot] how can i change u-boot load address?

Quoted 1 line

U wouldnt see mapping the vector on (most) ARM Platforms

because they

Quoted 1 line

use u-boot as secondary bootloader

I don't have reliable statistical data to judge if the "most" is correct, or if it actually is only a "few" configurations that do this.

I meant to say the arm supplied board (integrator[ap/cp], versatile[ap/cp], realview).

Quoted 7 lines
Quoted 2 lines

I said "most" because ARM Integrator Board doesnt use Arm

Bootmonitor

Quoted 1 line

& hence its code has remapping functionality.

From what I'm seeing, "most" systems use U-oot as primary (and only) boot loader.

S its my mistake. sorry for that.

Regards
Gururaja