Re: [U-Boot-Users] Flash write crash on MPC8548CDS

Ok closer look revealed this entry. ========================== tlb.c snip =============================== /* * TLB 6: 64M Cacheable, non-guarded * 0xf000_0000 64M LBC SDRAM */ SET_TLB_ENTRY(1, CFG_LBC_CACHE_BASE, CFG_LBC_CACHE_BASE, MAS3_SX|MAS3_SW|MAS3_SR, 0, 0, 6, BOOKE_PAGESZ_64M, 1), =====================================================================
And I don't even have SDRAM :)... but in order to stay as close to my reference, mpc8548cds, I thought the extra tlb entry could not hurt me.
I have remarked it and the Exception did not occur again.
Excellent!
my last unknown / not understood corner... is why the speculative loads occur in the first time.
This is a common fact of CPUs. In order to improve performance, the cpu will often start executing code paths before it knows whether those paths will be taken. If the path is taken, the results are committed, and you don't have to wait. If the path isn't taken, the results are ignored. When the path is not taken, it's likely that the registers aren't in a sensible state, so random addresses can end up getting loaded. When things aren't mapped, the loads don't happen (speculative instructions aren't allowed to cause exceptions). Also, pages that are marked "guarded" don't allow speculative access (reading from IO regions can have side-effects, so it's not allowed to do so speculatively).
After the first speculative load, either the branch predictor starts being right from them on, or it just isn't detected because the subsequent errors are gated behind the LBC interrupt logic, waiting for someone to clear it.
Andy

Hi All,
I have the MPC8323EMDS board and trying to get the FDT working - well trying to understand it.
After all the loading, u-boot gives the error and then resets.
WARNING: could not set linux,stdout-path FDT_ERR_NOTFOUND
The mpc8323xemds config file show that this is linked to an /aliases somehow in the DTC. There is a #define CONFIG_STDOUT_VIA_ALIAS (close enough to the name) Where is this alaias set?
Can anyone Give me some pointers what to hit?
Best Regards, Richard

On Thu, 2008-03-13 at 10:54, Richard Parsons wrote:
Hi All,
I have the MPC8323EMDS board and trying to get the FDT working - well trying to understand it.
After all the loading, u-boot gives the error and then resets.
WARNING: could not set linux,stdout-path FDT_ERR_NOTFOUND
The mpc8323xemds config file show that this is linked to an /aliases somehow in the DTC. There is a #define CONFIG_STDOUT_VIA_ALIAS (close enough to the name) Where is this alaias set?
Can anyone Give me some pointers what to hit?
Best Regards, Richard
The alias node is a semi-new node in the Device Tree added to help locate some of the other standard nodes via well known properties. For an example, grep around in the arch/powerpc/boot/dts directory of a modern kernel tree.
HTH, jdl
participants (3)
-
Andy Fleming
-
Jon Loeliger
-
Richard Parsons