This package is meant to include all white-rabbit software for the switch. Part of this comes from the original white-rabbit svn repository on ohwr.org, part comes from separate repositories that I merged here. All documentation lives in doc/ , where the *.in files are the sources (one only, currently, other ones have been removed when obsoleted). The wrs-build documentation, thus, is what you actually need to build all the stuff that goes into the switch, and program to internal flash memory.
Alessandro Rubini
authored
This allos to write and read variable while loading rt_cpu.elf.
You can read a variable at run time, by not loading the elf file.
To do this use -n to "not" load the file:
load-lm32 -n rt_cpu.elf pstate=
We still need the file to read the symbol table. So, <var>= reads
the variable, and <write>=<value> changes it. You can pass several
such actions on the same command line. Please note that you can't
change variables in the BSS section, which is zeroed at run time.
All symbols are trated as 32-bit integer values, so this is not really
generic enough for everything:
wrs-192.168.16.9# load-lm32 -n rt_cpu.elf memset=
memset = 134253659 (0x08008c5b)
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
Name | Last commit | Last update |
---|---|---|
binaries | ||
build | ||
configs | ||
doc | ||
kernel | ||
patches | ||
robustness/coding | ||
scripts | ||
usb-loader | ||
userspace | ||
.gitignore | ||
.gitmodules | ||
COPYING | ||
Kconfig | ||
Makefile | ||
Makefile.kconfig | ||
README |