RE: Kernel hangs in KernelFindMemory

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Comments Inline.

Just wanted to say that you need to ensure that you do not use any
functionality that is xscale specific, and a lot of the XLLP code, amongst
others, is very xscale only.


Geoff
--

Since i dont know how to create a .nb0 through the config.bib,i am
creating nk.nb0 from NK.BIN using viewbin and cvrtbin sequence.

Uncomment ROMSIZE in your config. bib, make it the size of you RAMIMAGE
area + some rounding and you will get a nk.nb0
address table and config.bib otherwise look feasible to me.

The debugger says its running and after some time it time outs.
What debugger? The Lauterbach? It should never timeout when connected, it
uses hardware - unless there is a bus problem. Does the system have KITL
setup? I see no ethernet part mapped into you address table.


1) I have searched through the newsgroups and tested the RAM in the
OALstartup function as follows
This code will not test and burst accesses. Turn on caches then use some LDM
/ STM instruction to get some bursts going. Also, writing all 0xAAAAAAAA then
reading back the same address tells you not much. However, I believe some
RAM is behaving as it is getting quite far in bootup. Ensure your ram setup
in the Lauterbach matches your setup in code.


2) In the Uart output,my personal debugs messages are also there.Pls
ignore it.VIC and timers are not initialized so pls ignore those
messages and i mapped timer irq with sysintr.
You definitely need a timer initialized, otherwise you will not get a system
tick.


3) what is the purpose of ZBANK ? i commented because i dont know
about it.
ZBANK is a hangover from StrongARM, it was an area that always returned 0
and was used to clear the caches.


4) what is the purpose of ROMFLAGS ? what should be the ideal value ?
See the PB documentation for a description. Ideal depends upon what is ideal
for you.


5)Pls verify that my configurations are correct ?
I can't, I do not know enough about your hardware, but they do look feasible
to me at a quick glance.


6)i just iterated with NK and RAM MEMORY sections with different
values and final one is
NK 80100000 00500000 RAMIMAGE ; 5 MB
RAM 80600000 00600000 RAM ; 6 MB
Look reasonable.


7) i havenot builded the nk.lib and cache libraries .I linked to 3
libraries.

$(_PLATCOMMONLIB)\$(_CPUDEPPATH)\oal_cache_arm926.lib \
$(_PLATCOMMONLIB)\$(_CPUDEPPATH)\oal_cache_arm.lib \
$(_PLATCOMMONLIB)\$(_CPUDEPPATH)\oal_cache.lib \

8) i used the following lines in the OEMInit()

TURN_ON_BTB();

// Set memory size for DrWatson kernel support.
//
// dwNKDrWatsonSize = 128 * 1024;
NKForceCleanBoot();

Ok.

I havent modified the TURN_ON_BTB function,this is same as of
Mainstone's.I commented dwNKDrWatsonSize to avoid one debug message
that is
Error Reporting Memory Reserved, dump size =

Branch Targt Buffer - you CPU will need to have this option for it to work.

9) i dont know what is the ideal value of ROMSIZE for my case,so i
commented.i have tried with AUTOSIZE for both ON and OFF values.No
Difference.
Autosize uses leftover RAMIMAGE area for more RAM. See PB docs.


10) Finally,i am waiting for your valuable suggestions/opinions as i
think experience matters at this moment for me.

Hope there is a community for inexperienced WINCE developers to
have a confidence in ourelves that we are not lost.

Thanking you for a patient listening.


.



Relevant Pages

  • SBS 2008 upgrade for 5 user network
    ... functionality, but we all tend to use Outlook Anywhere or ActiveSync. ... We do put data on the server which is backed up nightly to external ... 80 GB SATA drives mirrored using 3Ware RAID card. ... less than 1GB of RAM and less than 500MB of disks space. ...
    (microsoft.public.windows.server.sbs)
  • Re: Cypress PSoC 5 sind da
    ... Genau weiss ich das auch nicht, der Vorgänger (ZX80) soll auch noch deutlich ... teurer gewesen sein. ... war mehr oder weniger nur noch der Prozessor, der grosse Asic und der RAM. ... Timer hat. ...
    (de.sci.electronics)
  • Re: 10.4.10: system components to safely delete?
    ... Mac first, Mac only: ... Are you worried about disk space or RAM? ... functionality, but uncomfortable from a UI standpoint. ... Mac OS runs a close second, in my mind, to Linux as the most visually ...
    (comp.sys.mac.system)
  • Re: module license taints kernel.
    ... Or is it a _copy_ of that RAM contents (such as dumping the RAM out to ... _into_ RAM of the separate works is somehow different that the copying ... Linking is mere aggregation, ... The functionality or functional intention of a work does not ...
    (comp.os.linux.development.system)
  • Re: Java slow ?
    ... > The developers at Sun almost certainly have machines considerably more ... shoe-horning any new functionality so that it will still run fast ... I do want to put another 256MB of RAM ...
    (comp.lang.java.programmer)