Ola Jeppsson
31ffb41247
Add kernel mailbox interface test
...
Kernel code here, will be included in official 'parallella-linux'
when API:s have stabilized...
https://github.com/olajep/parallella-linux/tree/wip-mailbox
```
Testing blocking wait with interrupts
i: 00 from: 0x00000000 data: 0x00000000
i: 01 from: 0x00000000 data: 0x00000001
i: 02 from: 0x00000000 data: 0x00000002
i: 03 from: 0x00000000 data: 0x00000003
i: 04 from: 0x00000000 data: 0x00000004
i: 05 from: 0x00000000 data: 0x00000005
i: 06 from: 0x00000000 data: 0x00000006
i: 07 from: 0x00000000 data: 0x00000007
i: 08 from: 0x00000000 data: 0x00000008
i: 09 from: 0x00000000 data: 0x00000009
i: 10 from: 0x00000000 data: 0x0000000a
i: 11 from: 0x00000000 data: 0x0000000b
i: 12 from: 0x00000000 data: 0x0000000c
i: 13 from: 0x00000000 data: 0x0000000d
i: 14 from: 0x00000000 data: 0x0000000e
i: 15 from: 0x00000000 data: 0x0000000f
Reading 1000000 messages
received: 1000000 errors: 0 time: 11.65s rate: 85808
msgs/s
```
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-01-21 16:31:55 +00:00
Ola Jeppsson
a4e7ebe47b
Add burst test
...
Add test for writes to same address. Apparently consecutive 64-bit
writes to the same address can turn into burst writes.
From:
https://github.com/parallella/oh/issues/37
Andreas:
> Remembered that we have a long forgotten mode in the epiphany chip elink
> (not impemented in the fpga elink) that creates bursts when you write
> doubles to the same address. (F**K!)
> So the writes were likely coming in as bursts.
> Looks like the mailbox works fine when you write in "int"s (I tested it on
> the board with consecutive)
> (see "mailbox_test" in elink/sw0)
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-01-20 11:59:23 +00:00
Andreas Olofsson
9a14e0787a
Adding test to detect mailbox burstin
2016-01-20 04:31:03 +00:00
Peter Saunderson
a442dd4171
Updated mailbox test software and added trial kernel files
...
Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2015-12-20 19:59:35 +00:00
Andreas Olofsson
7e49b29a79
Moving tests for idelay, mailbox, timeout from epiphany-examples
...
-Idea is to create complete packages
-All hardware modules should be complete, separation of tasks/sources can drive 10x in dev cost.
2015-11-29 12:44:22 -05:00
Andreas Olofsson
9feaa36dce
Refactoring and adding some tests
...
- "infinite loop test"
- separating out common elink functions
-
2015-11-11 05:32:06 +00:00
Andreas Olofsson
e3544c4fc8
Adding toggle led test
2015-11-11 03:41:22 +00:00
Andreas Olofsson
e097da6bda
Removing reset sequence from access utility
...
- Responsibility of application
- Makes no sense resettting device after each write/read..
2015-11-11 03:36:55 +00:00
Andreas Olofsson
6b2f6f42bc
Added missing init() routine
...
- Version 0 is the one currently in production, works!!!
- Now starting to debug the new linke (verion 1)
2015-11-11 02:00:14 +00:00
Andreas Olofsson
8c4a02fbdf
Adding bringup script for elink
...
- uses 104 bit packet for formatting
- makes for easy transition from verilog testbench
- happy with this one...
2015-11-10 17:01:04 -05:00