P4080 Reset Vector
Hi
Im new to u-boot. Right now im in the process of customizing P4080DS(RDB) to my board.
My doubt is, for P4080 the reset vec address is 0x0_ffff_fffc.
1) But in the config.mk file it is mentioned as 0xefff_fffc wat it mean?.
Regards
M.Arunkumar
Signature · 2 lines
View this message in context: http://old.nabble.com/P4080-Reset-Vector-tp29641685p29641685.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Quoted 6 lines · MArunKumar
Hi
Im new to u-boot. Right now im in the process of customizing P4080DS(RDB) to my board.
My doubt is, for P4080 the reset vec address is 0x0_ffff_fffc.
1) But in the config.mk file it is mentioned as 0xefff_fffc wat it mean?.
This is because the link address is 0xeff80000. We end up running at this address after the initial boot.
- k
Hi Kumar Gala
Thanks for ur kind reply.
Till, I am not clear why the resect vector points different address(0xefff_fffc).
Quoted 11 lines · On Tue, 14 Sep 2010 01:43:40 -0700 MArunKumar <[email protected]> wrote:
Hi Kumar Gala
Thanks for ur kind reply.
Till, I am not clear why the resect vector points different
address(0xefff_fffc).From your reply, I understood
Text_Baseaddress is 0xeff8_0000, so the resetvec address points to 0xefff_fffc.
Quoted 6 lines
For all 85xx processor except(MPC8572) the resetvec = 0xffff_fffc,
Text_Base= 0xfff8_0000
For p4080 the resetvec = 0xefff_fffc,Text_Base = 0xeff8_0000For p4080 why the resetvec and
Text_Baseaddress is different from the other 85xx processor ?.
The reset vector is 0xfffffffc. 0xeffffffc is where the reset vector code sits once flash has been remapped. Until that remapping happens, you can't use any absolute addresses by symbol.
-Scott
Hi All,
Could you tell me where can I download U-Boot for p4080, I have this board now.
Thanks
/Tony
Quoted 3 lines · Tony Wang
Hi All,
Could you tell me where can I download U-Boot for p4080, I have this board now.
What board? You can basic support for P4080 in the git tree for u-boot.
- k
Quoted 5 lines
What board? You can basic support for P4080 in the git tree for u-boot.
- k
Thanks Kumar,
Now I am use p4080ds board from freescale, I download U-Boot
2010.06 version.I check the board code for freescale, just
find p2020 directory, no p4080 board.
You said U-Boot has basic support for P4080, can you give
some more detail informaion such as file name or directory
name?
Best Regards,
/Tony
Quoted 5 lines
Now I am use p4080ds board from freescale, I download U-Boot
2010.06 version.I check the board code for freescale, just
Quoted 7 lines
find p2020 directory, no p4080 board.
You said U-Boot has basic support for P4080, can you give
some more detail informaion such as file name or directory
name?
If you can get the P4080DS board from Freecale,
Why did not you ask local Freescale sales to get the SDK software? There is all u-boot and kernel source code in the SDK software.
Thanks,
Dave
Thanks Dave and All,
For that reset address question, I think because p4080ds's FPGA can do this address decode and map 0xefffxxxx to 0xffffxxxx setting by SW7, is it right?
I also has another quesition, if I choose boot from bank0, why RCW should be programmed into address 0xe8000000? is it a rule of chip design?
Regards,
/Tony
Quoted 1 line
For that reset address question, I think because p4080ds's FPGA can do
this address
Quoted 1 line
decode and map 0xefffxxxx to 0xffffxxxx setting by SW7, is it right?
No. FPGA doesn't matter with it.
The e500mc core boot start address(0xFFFF_FFFC) will point to the end of CS0 Flash due to OR0[AM]=0.
In this phase, the core is using the relative addressing. After you change the BR0,OR0, you can use absolute addressing.
Keep in mind, the bootloader is placed to the end of CS0, and the RCW is placed to the start of CS0.
Quoted 1 line
I also has another quesition, if I choose boot from bank0, why RCW
should be
Quoted 1 line
programmed into address
0xe8000000? is it a rule of chip design?
Quoted 12 lines · Liu Dave-R63238 <r63238 <at> freescale.com> writes:
Quoted 2 lines
For that reset address question, I think because p4080ds's FPGA can do
this address
Quoted 1 line
decode and map 0xefffxxxx to 0xffffxxxx setting by SW7, is it right?
No. FPGA doesn't matter with it.
The e500mc core boot start
address(0xFFFF_FFFC)will point to the end of CS0 Flash due to OR0[AM]=0.
In this phase, the core is using the relative addressing. After you change the BR0,OR0, you can use absolute addressing.
Quoted 7 lines
Keep in mind, the bootloader is placed to the end of CS0, and the RCW is placed to the start of CS0.
Quoted 1 line
I also has another quesition, if I choose boot from bank0, why RCW
should be
Quoted 1 line
programmed into address
0xe8000000? is it a rule of chip design?
Thanks Dave,
It look same as other PQ2/3 which using BR0/OR0 to set boot vecror base address.
just confirm, do you know CPU will read RCW data before it jump to 0xFFFF_FFFC?
/Tony
Quoted 1 line
It look same as other PQ2/3 which using BR0/OR0 to set boot vecror
base address.
Quoted 2 lines
just confirm, do you know CPU will read RCW data before it jump to
0xFFFF_FFFC?
Yes. CPU reset module must fetch RCW and configure CPU itself. then reset to 0xFFFF_FFFC, it is also same as PQ3.
Thanks,
Dave
hi
Kindly let me know how the branch instruction is loaded in reset vector address (0xffff_fffc), but i have mapped my boot flash from 0xE000_0000 to EFFF_FFFF in LAW.
please clarify me.
Quoted 19 lines · Liu Dave-R63238-2 wrote:
Quoted 2 lines
It look same as other PQ2/3 which using BR0/OR0 to set boot vecror
base address.
Quoted 2 lines
just confirm, do you know CPU will read RCW data before it jump to
0xFFFF_FFFC?
Yes. CPU reset module must fetch RCW and configure CPU itself. then reset to 0xFFFF_FFFC, it is also same as PQ3.
Thanks,
Dave_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Signature · 2 lines
View this message in context: http://old.nabble.com/P4080-Reset-Vector-tp29641685p29815731.html Sent from the Uboot - Users mailing list archive at Nabble.com.
Quoted 5 lines · On Mon, 27 Sep 2010 01:43:53 -0700 MArunKumar <[email protected]> wrote:
hi
Kindly let me know how the branch instruction is loaded in reset vector address (0xffff_fffc), but i have mapped my boot flash from 0xE000_0000 toEFFF_FFFFin LAW.
When the chip starts execution, the boot vector is mapped at 0xfffffffc. The boot code then changes the flash mapping (with an interim state where it's mapped repeatedly throughout the address space) before it runs any code that depends on the link address.
-scott