All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wayne Warren <wwarren@emacinc.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel
Date: Wed, 24 Oct 2012 12:55:28 -0500	[thread overview]
Message-ID: <1351101328.25888.330.camel@ENG-09-LX.emacinc.com> (raw)
In-Reply-To: <50882782.50003@xenomai.org>


> 
> What you need is __ipipe_tsc_register to be called before any call to
> __ipipe_tsc_update.

This breakpoint is definitely hit before the __ipipe_tsc_update
breakpoint:

Breakpoint 8, __ipipe_tsc_register (info=0xc0634108) at /home/wayne/src/linux/linux-2.6.37-3517-xenomai/arch/arm/kernel/ipipe_tsc.c:45
45              switch(info->type) { 
(gdb) bt                                                                                                                              
#0  __ipipe_tsc_register (info=0xc0634108) at /home/wayne/src/linux/linux-2.6.37-3517-xenomai/arch/arm/kernel/ipipe_tsc.c:45          
#1  0xc001121c in omap2_gp_timer_init () at /home/wayne/src/linux/linux-2.6.37-3517-xenomai/arch/arm/mach-omap2/timer-gp.c:274       
#2  0xc000cae4 in time_init () at /home/wayne/src/linux/linux-2.6.37-3517-xenomai/arch/arm/kernel/time.c:163                          
#3  0xc0008b5c in start_kernel () at /home/wayne/src/linux/linux-2.6.37-3517-xenomai/init/main.c:617                          
#4  0x80008034 in ?? ()    


> 
> __ipipe_tsc_get is supposed to be defined to be something like 0xffff0f40

   │0xc0052ca4 <__ipipe_tsc_update+88>      ldr    r3, [pc, #36]   ; 0xc0052cd0 <__ipipe_tsc_update+132>
  >│0xc0052ca8 <__ipipe_tsc_update+92>      blx    r3                                                   
   │0xc0052cac <__ipipe_tsc_update+96>      ldr    r3, [pc, #24]   ; 0xc0052ccc <__ipipe_tsc_update+128>    

(gdb) info reg r3                                                         
r3             0xffff0f40       4294905664                                
(gdb) disassemble 0xffff0f40                                              
No function contains specified address.                                   
(gdb) x 0xffff0f40                                                        
0xffff0f40:     0xe51f000c                                                
(gdb) focus cmd                                                           
Focus set to CMD window.                                                  
(gdb) x /10                                                               
0xffff0f40:     0xe51f000c      0xe14f22dc      0xe5900000      0xe1520000
0xffff0f50:     0xe2a31000      0xe12fff1e      0xe1a00000      0xe1a00000
0xffff0f60:     0x00000000      0x00000000                                                                                                                   
(gdb)                        

So it looks like maybe __ipipe_tsc_get is working as expected? 
                      
> 
> Or apply the following patch:
> http://git.xenomai.org/?p=ipipe-gch.git;a=commitdiff;h=42dd9056983cb6f65b6a336363f2f08f4426625a;hp=3b51cebda0b0d0123cb61b6ec07ecb62f293a528

I will try this out, thanks!

Wayne



  reply	other threads:[~2012-10-24 17:55 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 21:08 [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel Wayne Warren
2012-10-02 21:32 ` Gilles Chanteperdrix
2012-10-02 21:35   ` Gilles Chanteperdrix
2012-10-04 16:57     ` Wayne Warren
2012-10-04 17:09       ` Gilles Chanteperdrix
2012-10-04 18:02         ` Gilles Chanteperdrix
2012-10-05  8:06         ` Gilles Chanteperdrix
2012-10-05 18:47           ` Wayne Warren
2012-10-05 20:16             ` Gilles Chanteperdrix
2012-10-05 21:47               ` Wayne Warren
2012-10-05 22:43                 ` Gilles Chanteperdrix
2012-10-06  4:29                   ` Wayne Warren
2012-10-06  9:46                     ` Gilles Chanteperdrix
2012-10-09 20:55                       ` Wayne Warren
2012-10-09 21:12                         ` Gilles Chanteperdrix
2012-10-19 21:22                           ` Wayne Warren
2012-10-20  1:33                             ` Gilles Chanteperdrix
2012-10-22 19:22                               ` Wayne Warren
2012-10-22 19:25                                 ` Gilles Chanteperdrix
2012-10-22 19:34                                   ` Wayne Warren
2012-10-22 21:12                                     ` Gilles Chanteperdrix
2012-10-23 15:32                                       ` Wayne Warren
2012-10-23 20:12                                         ` Gilles Chanteperdrix
2012-10-24 17:32                                           ` Wayne Warren
2012-10-24 17:38                                             ` Gilles Chanteperdrix
2012-10-24 17:55                                               ` Wayne Warren [this message]
2012-10-24 18:05                                                 ` Gilles Chanteperdrix
2012-10-24 18:26                                                   ` Wayne Warren
2012-10-24 18:36                                                     ` Gilles Chanteperdrix
2012-10-24 17:36                                           ` Wayne Warren
2012-10-24 17:57                                             ` Gilles Chanteperdrix
2012-10-20  8:24                             ` Gilles Chanteperdrix
2012-10-19 21:32                           ` Wayne Warren
2012-10-20  1:36                             ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351101328.25888.330.camel@ENG-09-LX.emacinc.com \
    --to=wwarren@emacinc.com \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.