Re: Code hangs or crashes on Kernel startup (dbau1100)

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



Is there any debug output at all that we could see?

What are you building? (a full build or the sample provided by AMD or a minkern)
Is this CE5.0?

As for the SDRAM setup, leaving the settings the same may or may not work as your SDRAM setup will have a different row/column layout. Also, is the eboot on your board aware of the different RAM layout? Your config.bib should also reflect your new RAM layout.

For further debugging fire up your JTAG and step through the code, KernelStart is in here (for 5.0 at least):

WINCE500\PRIVATE\WINCEOS\COREOS\NK\KERNEL\MIPS\STARTUP.S

Geoff
--


jbarker@xxxxxxxxxxxxxxxxxx wrote:
Hello-
I've not brought up a board under Wince before, so please excuse any
ignorance. We have a new board which is based on the AMD Alchemy
DbAu1100 evaluation board. We use a similar procedure that was done on
the Alchemy board, which is a YAMON monitor programmed into flash,
which then runs EBOOT, which will load the kernel via. Platform
Builder, and theoritically run. We had a couple of issues with
correctly setting the Endian mode on the processor, but now YAMON
boots, we can run EBOOT, it connects to Platform Builder, loads the
code, but after it tries to start the kernel, nothing happens.

Unfortunately we don't have a lot of visibility on our board, but we do
have a logic analyzer tied to a bus address we can write to. Using this
and sprinkling debug code it seems that the reset_db1100.s is called
once when eboot comes up, and then again when the kernel is initialized
(from the HAL startup.s file). It seems to make it all the way through
reset_db1100.s even during the kernel initialization, then it goes into
kernel code, and at that point I am at a loss as to what might be going
on.

Does anyone have any ideas on what we can probe or try next? We tried
putting debug code in the OEMInit function and it never makes it there.
Any and all ideas are appreciated as we are not making any progress on
this at the moment. We've tried to isolate any differences between our
board and the AMD eval board- the SDRAM is a different size (larger on
our board), but if we leave things configured for the AMD board, the
extra RAM will be ignored correct?

.



Relevant Pages

  • Re: Is it possible to debug an AMD kernel on Intel
    ... Intel system using an AMD system. ... asking if you can debug a FreeBSD/i386 kernel using a FreeBSD/amd64 ... I.e. cross-platform debugging. ...
    (freebsd-current)
  • [patch 1/2] infrastructure to debug (dynamic) objects
    ... problem spot are kernel timers, where the detection of the problem ... While working on a timer related bug report I had to hack in ... This debug hack was fine for temporary use, ...
    (Linux-Kernel)
  • Re: Error 4309 returned when writing files
    ... kernel (or at least debug version of filesys) and enable all debug zones ... I enabled KITL and the kernel debugger in my retail build and set ... on Sector 4040 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Capturing debug messages using CeLog on a release terminal
    ... Don't set the shipbuild flag in your retail kernel (because it will #define RETAILMSG and DEBUGMSG into nirvana) and don't set Enable CE Target control and don't set Enable Kernel Debugger. ... I'm not entirely sure if DEBUGMSGs (as opposed to RETAILMSGs) still work when replacing dll's in a retail build with their debug counterparts. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: kernel mess
    ... Correct semprons were originally Socket A cpu's as a replacement for the Athlon XP etc. AMD ditched the socket A in favour of S754, but disabled the 64 bit instruction on the semprons promoting the AMD64 instead. ... I was using -amd64 while running k8 kernel. ...
    (Debian-User)