Re: [U-Boot] how can i change u-boot load address?

Hi,
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

Dear "Gururaja Hebbar K R",
In message 5BF78BCE8D9BF14A83F836BD9E3916BA23C80C@blrms.slti.sanyo.co.in you wrote:
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.
I said "most" because ARM Integrator Board doesnt use Arm Bootmonitor & hence its code has remapping functionality.
From what I'm seeing, "most" systems use U-oot as primary (and only)
boot loader.
Best regards,
Wolfgang Denk

Hi,
-----Original Message----- From: Wolfgang Denk [mailto:wd@denx.de] Subject: Re: [U-Boot] how can i change u-boot load address?
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.
I meant to say the arm supplied board (integrator[ap/cp], versatile[ap/cp], realview).
I said "most" because ARM Integrator Board doesnt use Arm
Bootmonitor
& 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
participants (2)
-
Gururaja Hebbar K R
-
Wolfgang Denk