edb7312 and SkyeEye followup

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Nov 22 21:48:46 UTC 2005


Hi,

Jay.. I cc'ed you because you wrote the BSP initially and I think
you could read the simulator code for this CPU enough to figure out
why the clock tick isn't happening.

Using google to translate I deciphered the attached patch to the
edp7312 BSP for SkyEye.  I managed to get hello to run on SkyEye.
Unfortunately, it looks like ticker is hung and the gdb support doesn't
seem to work well.  I suspect it is partially because the patch ended up
with this:

Index: irq/bsp_irq_init.c
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libbsp/arm/edb7312/irq/bsp_irq_init.c,v
retrieving revision 1.4
diff -u -r1.4 bsp_irq_init.c
--- irq/bsp_irq_init.c  21 Apr 2004 10:42:43 -0000      1.4
+++ irq/bsp_irq_init.c  22 Nov 2005 16:41:12 -0000
@@ -25,8 +25,8 @@

          /* mask all interrupts */
          *EP7312_INTMR1 = 0x0;
-       *EP7312_INTMR2 = 0x0;
-       *EP7312_INTMR3 = 0x0;
+       /* *EP7312_INTMR2 = 0x0; */
+       /* *EP7312_INTMR3 = 0x0; */

And I don't know if the clock tick source works in the simulator or if
it requires any further configuration.  I turned on some internal
debugging and got this extra output from ticker:

start addr is set to 0xc0000124 by exec file.
TC1D 0x14
TC1EOI


*** CLOCK TICK TEST ***
TA1  - rtems_clock_get - 09:00:00   12/31/1988
TA2  - rtems_clock_get - 09:00:00   12/31/1988
TA3  - rtems_clock_get - 09:00:00   12/31/1988
... hung here ...

I think some of it could be eliminated with appropriate
changes to the configuration file.

Here is my skyeye.conf file:

skyeye.conf
#skyeye config file sample
cpu: arm720t
mach: ep7312
mem_bank: map=I,type=RW, addr=0x80000000, size=0x00010000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x1000000
log: logon=1, logfile=/tmp/sk1.log, start=2000000, end=3000000

I got this off the net and it is generating some logfile that I
haven't quite decoded yet.

I invoked skyeye as follows:

   ~/skyeye/skyeye-v1/binary/skyeye -c ~/skyeye/skyeye.conf -e
arm-rtems/edb7312/tests/hello.exe


Advice, hints, solutions, etc really appreciated.  Solutions are very
much appreciated.  :)

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

-------------- next part --------------
A non-text attachment was scrubbed...
Name: edb7312-skye.diff
Type: text/x-patch
Size: 1300 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20051122/dc2a5e22/attachment.bin>


More information about the users mailing list