kdb
[Top] [All Lists]

Re: kdb patch for 2.6.24 and ARMv7

To: kdb@xxxxxxxxxxx
Subject: Re: kdb patch for 2.6.24 and ARMv7
From: Basavaraj Dengi <basavarajdengi@xxxxxxxxx>
Date: Fri, 12 Jun 2009 18:00:46 +0900
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=+UkhmOeNxvPobvwp9j7WN//5Ghd6lB/7o0foo2qaZN0=; b=La1RXEMJvqa+6Pie8p4X/Uv7YyA5o848sapWRAtUeMqgAvSukFDKt0oYZ51mFna+jn BK6/1nm7G6YWnEda5Hn+I7a/flhsu1SeUMG+KpU+GvIfbX7w1POHZ3dFHcIgWM0AZ4oG FOJ6IkIdrPTKfOK38EuhR9gLtarSwcGeurfFU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=E/28+a3M5SPrHbUtlwaHXx5S7tz/9ZF81n+HEzrO8kTTGcRyMxehid+M91ITYtYp6r 3b5A8CLyX8N0uRTt2Mw8hENZBHo6LfgKSZaNk2sodTwLaadPWNWOJrxmw8sLmZlpKsEj k0SvrirQECwN/UE5bLQyausHKenTRwoXcNSAM=
In-reply-to: <914d879d0906032308o4ef7d716sfb1f061cbeed3f54@xxxxxxxxxxxxxx>
References: <914d879d0906032308o4ef7d716sfb1f061cbeed3f54@xxxxxxxxxxxxxx>
Hi,
 
After applying below patches
kdb-v4.4-2.6.24-common-2.bz2
kdb-v4.3-2.4.20-xscale-1.bz2
and after bit of struggle I was able to enter the kdb prompt setting kdb=early flag on a OMAP3430 based target.
 
Now I am trying other entry methods
a) Automatic entry when exception, divide by zero and NULL pointer derefernce happens
   
    For NULL pointer derefernce, I am calling the API kdb inside die() in file arch/arm/kernel/traps.c
    But kdb behaviour here is not the same as in case of kdb=early entry; For ex: id command does not work ..etc
   
    Please  let me know is this a correct way to proceed?
 
b) Through key press <esc> KDB.
  
   I am not using the serial console driver; instead I am directly writing/reading from the low-level uart driver.
   In this case how will the KDB come to know about the keypress.
   As a workaround, I have an executable which will call a driver ioctl and inside the driver ioctl I am calling the API kdb()
   Here also I am facing the same behaviour
   [Note if I use the macro KDB_ENTER instead kdb() I get a bad memory address error in kdb_getarea]
Any clarifications as to whats missing/wrong will be very helpful
 
Regards
Basavaraj
On Thu, Jun 4, 2009 at 3:08 PM, Basavaraj Dengi <basavarajdengi@xxxxxxxxx> wrote:
Hi
 
The kdb patch for xscal processor is for 2.4.20 kernel.
Is there any latest patch available?
I dont see any 2.6.x patches for ARMv7 on the website 
 
and also on google.
 
I will be very thankful for any links /suggestions
 
Regards
Basavaraj

<Prev in Thread] Current Thread [Next in Thread>