[U-Boot] Uboot 4K Page Jump in MPC85xx

Vignesh Kumar B vigneshkumarb at hcl.in
Wed Nov 19 06:42:09 CET 2008


Hi,

As am I going through the MPC85xx reset.s code, I find this code snippet
below.
I find the Config_sys_monitor is the Text_Base Address in loaded in r3,
The Start Offset is zero, I am not getting why we are subtracting the
start_cont with start and that addr is loaded in the link register where
we jump to.

So what does the address actually refer to? Please Explain.

/* Jump out the last 4K page and continue to 'normal' start */
#ifdef CONFIG_SYS_RAMBOOT
	b	_start_cont
#else
	/* Calculate absolute address in FLASH and jump there
*/
	
/*--------------------------------------------------------------*/
	lis	r3,CONFIG_SYS_MONITOR_BASE at h
	ori	r3,r3,CONFIG_SYS_MONITOR_BASE at l
	addi	r3,r3,_start_cont - _start + _START_OFFSET
	mtlr	r3
	blr
#endif

_Start:
..
..
..
_start_cont:
..
..
..

Thanks & Regards,
Vignesh Kumar B
Member Technical Staff
HCL TECHNOLOGIES LTD.,
Mob: +91-9600015988
www.hcl.in


Disclaimer:
This message and any attachment(s) contained here are information that
is confidential, proprietary to HCL Technologies and its customers.
Contents may be privileged or otherwise protected by law. The
information is solely intended for the individual or the entity it is
addressed to. If you are not the intended recipient of this message, you
are not authorized to read, forward, print, retain, copy or disseminate
this message or any part of it. If you have received this e-mail in
error, please notify the sender immediately by return e-mail and delete
it from your computer.


-----Original Message-----
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de]
On Behalf Of Stefan Roese
Sent: Wednesday, November 19, 2008 10:12 AM
To: u-boot at lists.denx.de
Subject: Re: [U-Boot] [PATCH] [UBI] UBI command support (take #2)

On Wednesday 19 November 2008, Kyungmin Park wrote:
> > Could you please summarize the current state of adding UBI support?
>
> Not much as before,
>
> 1. Basic UBI command support.
>    read/write/update volume. Of course you can create & remove the
volume.
> 2. Send ubi device from environment variables instead of hard code
value.
>
> I saw the NOR device support patch but not yet tested.
>
> Are there the more?
>
> > Is it correct to assume we are targetting the 2008.12 release with
> > this stuff?
>
> Yes, I hope to merge it ASAP.

I'll post some last-minute UBI fixup patches soon (this week).

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------


More information about the U-Boot mailing list