On Wed, Mar 17, 2010 at 09:49:15AM +, jrjr wrote:
>
> Because I want to use LED controlled by OR3 to debug the code,so I don't want
> to clear OR0.
It's temporary; you can use bank 3 after BRn/ORn are set to their final
values (confusingly named PRELIM) in cpu_init_f().
-Scott
_
jrjr wrote on 2010/03/17 10:49:15:
>
> Because I want to use LED controlled by OR3 to debug the code,so I don't want
> to clear OR0.
>
> You remind me, so I enable the "Calculate absolute address in FLASH and jump
> there " part,
>
> It seems that I get close to the point: jump to "in_flash:" fai
fff80168:4e 80 00 20 blr
fff8016c :
And my text_base is 0xfff8.
Something is wrong with the "absolute address" and "relative address", I am
not sure about
that. Expect for your advise.
--JRJR
> Subject: RE: [U-Boot] Instructions in TEXT section can not l
jrjr wrote on 2010/03/17 09:45:08:
>
> And I have made some change in cpu/mpc8260/start.S, I removed following lines:
>
> #ifndef CONFIG_SYS_RAMBOOT
> /* When booting from ROM (Flash or EPROM), clear the*/
> /* Address Mask in OR0 so ROM appears everywhere*/
> /*---
wrong?
--JRJR
> Subject: RE: [U-Boot] Instructions in TEXT section can not load data from
> other section
> To: jason...@hotmail.com
> CC: u-boot@lists.denx.de
> From: joakim.tjernl...@transmode.se
> Date: Wed, 17 Mar 2010 08:05:23 +0100
>
> jrjr wrote on 2010/03/17
igure?
Thanks for your help.
--JRJR
> Subject: RE: [U-Boot] Instructions in TEXT section can not load data from
> other section
> To: jason...@hotmail.com
> CC: u-boot@lists.denx.de
> From: joakim.tjernl...@transmode.se
> Date: Wed, 17 Mar 2010 08:05:23 +0100
>
ol-NG-1.6.0)
ppc_82xx-gcc gcc version 4.2.2 from ELDK
powerpc-603-linux-gnu-gcc gcc version 4.1.0 from crosstool 0.43
The problem is still there: (
--JRJR
> Subject: Re: [U-Boot] Instructions in TEXT section can not load d
>
> Hi, everyone.
>
> I have got a problem when I porting U-BOOT to my board
>
> with MPC8247. My configuration file is based on the MPC8260ADS_config.
>
> The problem is : The instruction in TEXT section can not load data in
>
> other (DATA) sections. It seems there is a relocation to the data se
Hi, everyone.
I have got a problem when I porting U-BOOT to my board
with MPC8247. My configuration file is based on the MPC8260ADS_config.
The problem is : The instruction in TEXT section can not load data in
other (DATA) sections. It seems there is a relocation to the data section .
Fo
9 matches
Mail list logo