Re: where can I find MPC8245 assembler reference?

2006-09-05 Thread Becky Bruce
MPC8245 refers to the integrated product (core + peripherals, all on one chip). The MPC8245 has a powerpc 603e core (also known as the G2). That's a classic 32-bit powerpc, so the assembler reference you want is: http://www.freescale.com/files/product/doc/MPCFPE32B.pdf Hope this helps,

where can I find MPC8245 assembler reference?

2006-09-05 Thread Becky Bruce
MPC8245 refers to the integrated product (core + peripherals, all on one chip). The MPC8245 has a powerpc 603e core (also known as the G2). That's a classic 32-bit powerpc, so the assembler reference you want is: http://www.freescale.com/files/product/doc/MPCFPE32B.pdf Hope this helps,

MPC85xx u-boot definition

2006-08-29 Thread Becky Bruce
On Aug 28, 2006, at 8:54 PM, enorm wrote: Hi, Some naive questions about u-boot for MPC85xx, the definition of some macro in ppc_asm.tmpl. Can anyone there explain them to me please? 1) In GET_GOT(x) what does lwz r0,0b-1b(r14) ; do? what does 0b-1b stands for, or the meaning of

about ppc asm/string.h

2006-04-17 Thread Becky Bruce
Hi! There's no string.h in include/asm-ppc because this is one of the header files that has been merged between 32 and 64-bit powerpc. It now lives in include/asm-powerpc with all the other merged headers. Only headers specific to 32-bit ppc have been left in include/asm- ppc. For a

PPC exception 0x320

2006-04-24 Thread Becky Bruce
Could you try to be more specific? What processor do you have, what linux version are you running, and what do you mean exactly when you say you encountered PPC exception 0x320? As far as I know, the powerpc architecture does not define an exception 0x320. 0x300 is usually DSI on

PPC exception 0x320

2006-04-25 Thread Becky Bruce
Is there some error message you can show me? -B On Apr 25, 2006, at 10:03 AM, jeanwelly wrote: Hi Becky Bruce, I'm using PPC 750... Just as you said, 0x300 is for DSI, and I guess they are a set of exceptions, not just one. And 0x320 is one of them. I got a board crash, and PPC alarmed

cpu features testing 32 vs 64 bit

2005-09-08 Thread Becky Bruce
So, in include/asm-ppc64/cacheflush.h is the following: static inline void flush_icache_range(unsigned long start, unsigned long stop) { if (!cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) __flush_icache_range(start, stop); } On the 32-bit side, we don't need the feature

PPC exception 0x320

2006-05-30 Thread Becky Bruce
can get a copy of the 750 User's Manual at: http://www.freescale.com/files/32bit/doc/ref_manual/MPC750UM.pdf The exception information is in Chapter 4. Cheers, Becky On May 29, 2006, at 9:22 AM, jeanwelly wrote: Hi Becky Bruce, Sorry for late response. I got mail traffic... I encountered

Setting ID cache enable in the same mtspr instruction

2006-05-31 Thread Becky Bruce
I think we need to hold off on this particular patch for a few days. I took a look at the manual section you're referencing here, and sure enough, it says that you shouldn't set both bits in the same mtspr instruction. The manual says this in more than one place, in fact. However, that

stupid linker question.... to remove unused functions in the object file.

2006-07-24 Thread Becky Bruce
I believe you can use -ffunction-sections -Wl,--gc-sections when you compile and link. If you have binutils prior to 2.16, this only works with -static. -B On Jul 24, 2006, at 7:07 AM, Parav Pandit wrote: Hi, I have few functions in a C file but those are not called at present. Even

Re: boottime kernel relocation, what I missed?

2007-07-16 Thread Becky Bruce
On Jul 13, 2007, at 5:07 PM, meerkat wrote: Figure that out, the bootstrap actually mapped the first 16M from C00 to the physicall address, so calling a c routine, as long as it is in the first 16M, is OK I think you're still not understanding the fact that bl is a *relative*

Re: boottime kernel relocation, what I missed?

2007-07-16 Thread Becky Bruce
). If you see bl foo, it's relative. It has to be, because that's how the instruction works. Also, it's not really in a different module, it's just a different file, but it's all linked into a single executable image. Cheers, -Becky Regards, Jim Becky Bruce wrote: On Jul 13, 2007

Re: System crash on boot_e500.S on 2.4Kernel

2007-08-15 Thread Becky Bruce
On Aug 15, 2007, at 8:59 AM, mike zheng wrote: I use BDI to debug these two instructions. And here are the output of BDI just before the rfi. The content of R6, R7 is different from SRR0(SPR26) and SRR1(SPR27). I see you have not printed the pc/nia once you stop. Are you sure you're

Re: issue about CONFIG_PPC_MMU and CONFIG_SMP define

2008-03-11 Thread Becky Bruce
On Mar 10, 2008, at 3:15 PM, jie han wrote: Hi guys, I want to simulate compile mutli-core using sequoia(IBM/AMCC 44x processor) source code under kernel arch/powerpc directory.I want to define CONFIG_SMP, I sould define CONFIG_STD_MMU at first,but AMCC 44x don't need to config

Re: Merge linuxppc-embedded with linuxppc-dev

2008-09-23 Thread Becky Bruce
On Sep 22, 2008, at 11:53 PM, Wolfram Sang wrote: On Mon, Sep 22, 2008 at 06:34:37PM -0500, Kumar Gala wrote: Can we eliminate the linuxppc-embedded mailing list and merge it with linuxppc-dev? That's not really up to me - more of a community question I think. I imagine Paul would have