Problem using cacheDmaMalloc
Hello,
I am trying to use cacheDmaMalloc to allocate a size of about 0x40000
in my memory. However, it is returning Null.
I am using VxWorks 6.6, and the processor is PowerPC 750fx. There are
BAT entries as well - previously, the whole 256 MB or RAM was
addressed using BAT. I cut this value into half and placed the
remaining 128 MB in the sysPhysMemDesc. However, when I do this, the
maximum size I can get is 0x5000 (that means, if I try
cacheDmaMalloc(0x5001) it won't work, however cacheDmaMalloc(0x5000)
works). I have attempted to remove the whole 256 MB from RAM and
replace it with the 2nd BAT entry, however when I do this, the system
refuses to boot.
Can anyone guide me into how to resolve this problem?
Thanks.
.
Relevant Pages
- Re: about MPC8260 cache problem
... If you are generating a bootrom, then the MMU code for vxWorks is ... that your BAT array and your PTE array in sysLib.c are absolutely ... should only enable an IBAT for an area of memory where ONLY code will ... Use the PTE table for RAM managed by VxWorks. ... (comp.os.vxworks) - Re: ClearCase + WINCE 5.0 = headache
... memory nonsense as well. ... developement environement, and has no binary files, what OS build option ... "Valter Minute" wrote: ... Check also that the .bat file of the BSP are the same. ... (microsoft.public.windowsce.platbuilder) - Re: Cache enabled with MMU Disabled on VxWorks 5.4 PPC
... sysPhyMemDesc, as you suggested, but then my system wont boot at all ... everything to BAT and, in a desperate attempt, marked all memory as ... Now as to why my system was not coming up with sysPhyMemDesc[]. ... memory for use by vxWorks and by the main application (which has its ... (comp.os.vxworks) - MMU question for PPC 603
... registers within the PowerPC e300 MMU. ... BAT hits take precedence ... The primary means of memory control for VxWorks is the MMU PTE ... (comp.os.vxworks) - Configuring BAT and PTE, VwWorks5.5
... I try to make a MPC755 Board with TSI107 Controller and Intel Strata Flash ... I have Basic Memory Management enabled. ... vxWorks does only boot if I have the ... Flash configured in the BAT and in the PTE in syslib.c ... (comp.os.vxworks) |
|