1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08: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

13 lines
108 B
Bash
Executable File

#!/bin/bash
set -e
SCRIPT=$(readlink -f "$0")
EXEPATH=$(dirname "$SCRIPT")
cd $EXEPATH/bin
./main.elf