- Sep 29, 2014
-
-
The script to load the elf file at startup need to be improved but it was a quick hack to have things works on SCB v3.3 and SCB v3.4.
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
I generated it with "mdev -s". But then I removed /dev/mtd5 (we have /dev/mtd5ro and nothing more), and most tty/pty files are removed as just overhead. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This removes some stuff from the developer's manual (was: "wrs-build") and adds it to the user's manual. The stuff is still far from being perfect, but at least it makes sense and can be made better for release 5. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
We now have a developer's manual, even if the content needs a little shuffling around. We also describe other manuals even though we still miss a user's manual, as of this commit. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 24, 2014
-
-
Alessandro Rubini authored
-
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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
All these files come from fpga-config-space/sdbfs: current top of master (commit 2584f0053cda6db6390354711687c5cca5ea6aef) Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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
The directory hwinfo-sdb/ includes the "source", trivially written by hand. The "hwinfo" file is just a bunch of 0xff bytes. The final file will be a tagged format. binaries/sdb-for-dataflash is the one that is going to be edited at build/install time -- in theory only by the manufacturer. I generated it running the command sdbfs/userspace/gensdbfs hwinfo-sdb binaries/sdb-for-dataflash from within a checkout of fpga-config-space (another ohwr project, the SDB home). The default mac addresses match what we used so far: 02:34:56:78:9A:BC and 02:34:56:78:9A:00 for the WR ports. The file names ("eth0.ethaddr") are there so to use a generic setting approach in barebox. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Inconsistent naming has always been a problem for me. Since other developers agree, we chose to rename all stuff to be wrs_ or wr_ for switch-specific stuff and generic WR functionality. Ok, the split is not very clear-cut, I agree. This commit only fixes the tools and their users: wrs_version wrs_vlan wrs_pstats It doesn't touch wrsw_hal and wrsw_rtud (nor it adds any prefix to non-prefixed tools like load-lm32 and so on). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The elf loader for lm32 is able to change integer parameters, and this is enough, for now, for developers working on the pll code. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 22, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 18, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 13, 2014
-
-
We don't need to wait these extra 3 seconds because we now load UBIfied which takes more time than these 3 seconds. We also add the autoboot_select in config because it is a hidden feature asked by diferent persons.
-
-
-
- Sep 12, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This bug exists since time 0 (e484c3eb , July 2011, at least). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This reverts commit 352d0d93 . There is no need to do that, things work with full memory. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 11, 2014
-
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
We need to reset the CPU outside of the whole loop. This moves stuff around a lot to do that. Otherwise the variables are set after the CPU already started, and it may be too late (it is too late in our specific case). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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>
-
Alessandro Rubini authored
This is used by the next commit, where I read the symbol table of an ELF file the lazy way. I built the two binaries by rebuilding buildroot with BR2_PACKAGE_BINUTILS=y BR2_PACKAGE_BINUTILS_TARGET=y but I won't add the whole binutils binary-set to the WR switch, so the configuration items are still unset in the default configuration for WR switch. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Sep 04, 2014
-
-
Alessandro Rubini authored
This removes the hack of forking a child, because I'll need to do more than just passing a file name. The other tool using the same hack (load-virtex) is unchanged as I don't need to work on it. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-