
Thank you for your reply.
u-boot 2014.01-rc3
The board MPC8572DS could work well with the u-boot code.However, when I want to boot from the nand flash. There's something wrong.
I have modified the CS0 to nand flash. when I make the uboot code, I use the command " make distclean; make MPC8572DS_NAND".
* the create_init_ram_area in start.S:*
It should create a tlb1_entry 15 in AS1, but instead it creates a tlb1_entry 15 for AS0 and have a wrong size(if the fifth bit of the tlb1_entry 15 value is for the AS.) According to the code, the size of this entry should be 1Mbyte. However the real one is 256Mbyte.
in the start_e500 in start.S:
there should be a tlb1_entry 2 (for e500 debugging) for AS0 , again when I tracing the execution of the code, I didn't find the tlb entry is constructed.
cheers,
Y.Fan
2014-02-12 23:11 GMT+01:00 Scott Wood scottwood@freescale.com:
On Thu, 2014-01-30 at 15:57 +0100, Y fan wrote:
Hello,
The memory of the MPC8572DS can't be read correctly after the setup of
the
tlb1_entry in the 4K boot code.
What specific memory location can't be read? What part of the code is failing?
What version of U-Boot are you running?
And also in the create_init_ram code, the tlb1_entry15&14 are set to be
in
the address space 0 which are supposed to be used in the address space 1. There seems somthing wrong with the writing of the TLB entry. But I don't know why. Do anyone know the reason?
If you mean create_init_ram_area in start.S, it is creating the entries in AS1. What do you see than indicates the contrary?
-Scott