Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
89d6347d
Commit
89d6347d
authored
Nov 01, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'licensing'
parents
16208332
394d1405
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
629 additions
and
0 deletions
+629
-0
COPYING
COPYING
+339
-0
Makefile
Makefile
+2
-0
irq.c
arch/lm32/irq.c
+8
-0
dna.c
dev/dna.c
+8
-0
eeprom.c
dev/eeprom.c
+8
-0
ep_pfilter.c
dev/ep_pfilter.c
+11
-0
i2c.c
dev/i2c.c
+9
-0
minic.c
dev/minic.c
+9
-0
onewire.c
dev/onewire.c
+10
-0
pps_gen.c
dev/pps_gen.c
+10
-0
sdb.c
dev/sdb.c
+8
-0
sfp.c
dev/sfp.c
+8
-0
syscon.c
dev/syscon.c
+8
-0
timer.c
dev/timer.c
+8
-0
uart.c
dev/uart.c
+8
-0
arp.c
lib/arp.c
+8
-0
bootp.c
lib/bootp.c
+8
-0
icmp.c
lib/icmp.c
+8
-0
ipv4.c
lib/ipv4.c
+8
-0
util.c
lib/util.c
+8
-0
monitor.c
monitor/monitor.c
+8
-0
cmd_calib.c
shell/cmd_calib.c
+10
-0
cmd_init.c
shell/cmd_init.c
+8
-0
cmd_ip.c
shell/cmd_ip.c
+8
-0
cmd_mac.c
shell/cmd_mac.c
+8
-0
cmd_mode.c
shell/cmd_mode.c
+8
-0
cmd_pll.c
shell/cmd_pll.c
+8
-0
cmd_sfp.c
shell/cmd_sfp.c
+9
-0
cmd_time.c
shell/cmd_time.c
+8
-0
environ.c
shell/environ.c
+8
-0
shell.c
shell/shell.c
+11
-0
measure_t24p.c
tests/measure_t24p.c
+8
-0
genraminit.c
tools/genraminit.c
+8
-0
genramvhd.c
tools/genramvhd.c
+8
-0
wrc_main.c
wrc_main.c
+9
-0
wrc_ptp.c
wrc_ptp.c
+8
-0
No files found.
COPYING
0 → 100644
View file @
89d6347d
This diff is collapsed.
Click to expand it.
Makefile
View file @
89d6347d
# Tomasz Wlostowski for CERN, 2011,2012
# choose your board here.
# choose your board here.
BOARD
=
spec
BOARD
=
spec
...
...
arch/lm32/irq.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include "irq.h"
#include "irq.h"
void
disable_irq
()
void
disable_irq
()
...
...
dev/dna.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include "board.h"
#include "board.h"
#include "syscon.h"
#include "syscon.h"
...
...
dev/eeprom.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include <wrc.h>
#include <wrc.h>
...
...
dev/ep_pfilter.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
/* Endpoint Packet Filter/Classifier driver
/* Endpoint Packet Filter/Classifier driver
A little explanation: The WR core needs to classify the incoming packets into
A little explanation: The WR core needs to classify the incoming packets into
...
...
dev/i2c.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011,2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include "types.h"
#include "types.h"
#include "board.h"
#include "board.h"
#include "syscon.h"
#include "syscon.h"
...
...
dev/minic.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011,2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <wrc.h>
#include <wrc.h>
...
...
dev/onewire.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include <wrc.h>
#include <wrc.h>
#include "onewire.h"
#include "onewire.h"
...
...
dev/pps_gen.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <wrc.h>
#include <wrc.h>
#include "board.h"
#include "board.h"
#include "pps_gen.h"
#include "pps_gen.h"
...
...
dev/sdb.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include <wrc.h>
#include <wrc.h>
#include "hw/memlayout.h"
#include "hw/memlayout.h"
...
...
dev/sfp.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
/* SFP Detection / managenent functions */
/* SFP Detection / managenent functions */
#include <stdio.h>
#include <stdio.h>
...
...
dev/syscon.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include "syscon.h"
#include "syscon.h"
struct
s_i2c_if
i2c_if
[
2
]
=
{
struct
s_i2c_if
i2c_if
[
2
]
=
{
...
...
dev/timer.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include "board.h"
#include "board.h"
#include "timer.h"
#include "timer.h"
...
...
dev/uart.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <inttypes.h>
#include <inttypes.h>
#include "board.h"
#include "board.h"
...
...
lib/arp.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include "endpoint.h"
#include "endpoint.h"
...
...
lib/bootp.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include <wrc.h>
#include <wrc.h>
#include "endpoint.h"
#include "endpoint.h"
...
...
lib/icmp.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include "ipv4.h"
#include "ipv4.h"
...
...
lib/ipv4.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include "endpoint.h"
#include "endpoint.h"
...
...
lib/util.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <stdint.h>
#include <stdint.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
monitor/monitor.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011,2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <time.h>
#include <time.h>
#include <wrc.h>
#include <wrc.h>
...
...
shell/cmd_calib.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
/* Command: gui
/* Command: gui
Arguments: none
Arguments: none
...
...
shell/cmd_init.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <string.h>
#include <string.h>
#include <wrc.h>
#include <wrc.h>
...
...
shell/cmd_ip.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
...
...
shell/cmd_mac.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
...
...
shell/cmd_mode.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
/* Command: mode
/* Command: mode
Arguments: PTP mode: gm = grandmaster, master = free-running master, slave = slave
Arguments: PTP mode: gm = grandmaster, master = free-running master, slave = slave
...
...
shell/cmd_pll.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
...
...
shell/cmd_sfp.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
/* Command: sfp
/* Command: sfp
Arguments: subcommand [subcommand-specific args]
Arguments: subcommand [subcommand-specific args]
...
...
shell/cmd_time.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
/* Command: time
/* Command: time
Arguments:
Arguments:
set UTC NSEC - sets time
set UTC NSEC - sets time
...
...
shell/environ.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
...
...
shell/shell.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>
...
...
tests/measure_t24p.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <inttypes.h>
#include <inttypes.h>
#include <stdarg.h>
#include <stdarg.h>
...
...
tools/genraminit.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
tools/genramvhd.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 GSI (www.gsi.de)
* Author: Wesley W. Terpstra <w.terpstra@gsi.de>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
...
...
wrc_main.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2011,2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
* Author: Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <inttypes.h>
#include <inttypes.h>
...
...
wrc_ptp.c
View file @
89d6347d
/*
* This work is part of the White Rabbit project
*
* Copyright (C) 2012 CERN (www.cern.ch)
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
*
* Released according to the GNU GPL, version 2 or any later version.
*/
#include <stdio.h>
#include <stdio.h>
#include <inttypes.h>
#include <inttypes.h>
#include <errno.h>
#include <errno.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment