- Jan 06, 2015
-
-
Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
For this to work, I also had to add (in flash.c) setting the entry-point to the right value (the one where the SDB magic is detected). The rest of the commit files are just toying around for testing purposes. Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
There was somewhat of a bug in the spec_write_flash function of flash-write. The memcpy function was not functioning 'as expected', so I changed the fixed-size buffer for a pointer and malloc-ed it to the size. This seems to fix the bug. The issue about reading the flash status register has yet to be fixed. Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
The flash-write tool is operational. The call to read status register from flash-host is not working yet, and that is to be solved. In the meantime, there are sleep functions inserted where we're supposed to poll the status register. Signed-off-by:
Theodor Stana <t.stana@cern.ch>
-
- Nov 18, 2014
-
-
The global pointer is used by some special assembly instructions that we are not using (i.e., the compiler is not generating them for us, because we don't use PIC or other "strange" stuff. So, we'd better remove an assignement in the linker script that makes little sense (it must be a typo of some kind, in the dark ages of this code base). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 14, 2014
-
-
Wesley W. Terpstra authored
-
- Mar 07, 2014
-
-
Tomasz Wlostowski authored
tools/trivial-init: a small footprint, delay-free WRPC firmware for VHDL/Verilog simulations (initial commit)
-
- Nov 14, 2013
-
-
Grzegorz Daniluk authored
-
-
- Oct 25, 2013
-
-
Wesley W. Terpstra authored
-
Wesley W. Terpstra authored
-
Wesley W. Terpstra authored
-
Wesley W. Terpstra authored
-
- Sep 24, 2013
-
-
Alessandro Rubini authored
The associated README explains how to use this stuff with w1 eeprom. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 25, 2013
-
-
Tomasz Wlostowski authored
-
- May 22, 2013
-
-
Grzegorz Daniluk authored
-
- May 20, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This reads to stdout, in binary format. With "-v" it prints text and scans the bus too. The examples here below use the same card (and same data) as in commit "d44ace7e w1: complete eeprom low-level support". spusa.root# ./tools/wrpc-w1-read -b 2 0 5 | od -t u1 -Ax -w1 000000 40 000001 41 000002 42 000003 243 000004 244 spusa.root# ./tools/wrpc-w1-read -v -b 2 30 6 ./ohwr/wrpc-sw/tools/wrpc-w1-read: found device 10dc:018d: 0000:02:00.0 ./ohwr/wrpc-sw/tools/wrpc-w1-read: found device 10dc:018d: 0000:04:00.0 device 0: 68000801dce56910 device 1: 5b0000036c567628 device 2: f70000001eda8242 device 3: 5f00000040e50143 Reading device on bus 2: offset 30 (0x1e), len 6 offset 30 (0x01e): 11 (0x0b) offset 31 (0x01f): 22 (0x16) offset 32 (0x020): 33 (0x21) offset 33 (0x021): 44 (0x2c) offset 34 (0x022): 55 (0x37) offset 35 (0x023): 66 (0x42) Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Mainly, this removes the shell commands and the inclusion of <wrc.h> Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 06, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Apr 09, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Apr 04, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Apr 03, 2013
-
-
Alessandro Rubini authored
This is the host part of the software-only uart. The lm32 part is selected at compile time (CONFIG_UART_SW). The tool, when run, opens one or more pty pairs, and reports to stdout which is the name of the slave descriptor. You can then run "minicom -p /dev/pts/XXX" or other commands, to access the software uart. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 06, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 05, 2013
-
-
Wesley W. Terpstra authored
-
- Feb 19, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 12, 2013
-
-
Alessandro Rubini authored
The tool builds all releases travelling back from the current one up to the named one. For example: ./tools/git-compileall master [... all the compiles ...] Number of failed builds: 0 The log of all compiles is at /tmp/makeall.out.67Rf3n The md5sums of wrc.o are at /tmp/mdlog.sZXrAi The tool was born for internal use, so it is misnamed and so on. But it may be useful to others too. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 01, 2012
-
-
Alessandro Rubini authored
This adds copyright notes to all non-trivial source files, unless they where already there (i.e. dev/endpoint.c alone). I found authorship using the following script, run on commit "a2721762 documentation updated" (i.e, before automatic reindentation and other trivial stuff by me): git grep -l . | grep -v sockitowm/ | \ while read F; do echo "##### $F" git blame -w $F | \ sed -e 's/^[^ ]* .//' -e 's/-[0-9][0-9]-[0-9][0-9] .*$//' | \ sort | uniq -c | sort -rn done Then I augmented each file with this boilerplate: /* * This work is part of the White Rabbit project * * Copyright (C) 2011 CERN (www.cern.ch) * Copyright (C) 2011,2012 CERN (www.cern.ch) * Copyright (C) 2012 CERN (www.cern.ch) * Copyright (C) 2011 GSI (www.gsi.de) * Copyright (C) 2011,2012 GSI (www.gsi.de) * Copyright (C) 2012 GSI (www.gsi.de) * Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch> * 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. */ Then I removed all the lines that didn't apply. Sometimes I reordered the authors to reflect who is the main author. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Oct 05, 2012
-
-
Alessandro Rubini authored
This is massive: 4k lines changed (but only 840 if you ignore space-only changes). In this case "git blame -w" won't always find the right patch, and it may fall on this patch -- because those 800 lines changed in content too. This has been done with find . -name '*.[ch]' | xargs -n 1 ./scripts/Lindent Statistics: all changes and ignoring blank space: morgana% git diff --stat HEAD~1 | tail -1 77 files changed, 3774 insertions(+), 3709 deletions(-) morgana% git diff -w --stat HEAD~1 | tail -1 61 files changed, 894 insertions(+), 829 deletions(-) However, after this step I hand-fixed some very ugly long expressions (leaving them long: no content change at all is there). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
If you find this patch with "git blame" please use "git blame -w" to have all white-space ignored while associating lines to commits. This commit has no practical effect but cleanup. I made it with sed like this: git grep -l '[ \t]$' | xargs sed -i 's/[ \t]*$//' However, I had to manually restore doc/wrpc_mon.png after the fact. Similarly, I restored the include/hw/*regs.h files, as they are (most likely) auto-generated.
-
- Jun 28, 2012
-
-
Tomasz Wlostowski authored
-
- Jun 13, 2012
-
-
- May 03, 2012
-
-
Tomasz Wlostowski authored
-