- 16 Feb, 2014 1 commit
-
-
Alessandro Rubini authored
By now, code here and in wrpc-sw is the same. The binary built there is working, so let's pick that one. It can be rebuilt in wrpc-sw by running make wr_switch_defconfig The exact commit used to build what you have in binaries/ (or in /wr/lib/firmware/rt_cpu.bin in the target system) can be easily retrieved by extracting the commit name. For this binary: morgana% strings binaries/rt_cpu.bin | grep wrpc wrpc-v2.1-for-wrnic-19-g566aa53 Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 09 Feb, 2014 35 commits
-
-
Alessandro Rubini authored
This copies over pp_printf from wrpc-sw, builds it, and changes trace.h to explicitly call pp_printf. Actually, it also define mprintf to pp_printf. The excplicit call is needed, or the --gc-functions will discard the pp_printf code if no object file refers to it. Later, arch/lm32/ram.ld redirects mprintf to pp_printf, but that would be too late. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. While we have no gpio.h in wrpc-sw, it's better to clarify this header is for wr-switch. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
use irq.h from wrpc-sw; it only differs in white space. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. The uart module in wrpc-sw is a superset of this one (it has vuart), but all the registers are compatible. The files were slightly different, but nothing substantial, mainly because wrpc-sw evolved a little from its original form. By copying those uart.[ch] we shorten the difference with no techinical change, even if the binary file differs from the previous commit. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. While we have no gpio.h in wrpc-sw, it's better to clarify this header is for wr-switch. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This removes defs.h by copying the only two inlines into the only file that uses them. It also replaces uart.h with vuart.h, which is a compatible superset (so now uart.c here and wrpc-sw are almost the same). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. The commit replaces the linker script with the one in wrpc-sw, with the only addition of the "mbox" section, which is still missing from that script. The only remaining differences are the configurable ram and stack sizes. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. This applies the effect of the following wrpc-sw commits, limited to arch/lm32. 583ab27 build: move libs from ldscript to LDFLAGS a502f9d arch/lm32/ram.ld: provide mprintf if missing 394d140 general: add copyright notes Additionally, it copies over crt0.S and debug.S from wrpc-sw; but the only change is white space. Now the only remaining difference in arch/ is the linker script. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. This matches commit "5d3fc51 compilation fixes" in wrpc-sw. At this point the two arch/lm32 only differ in the linker script, that has an mbox section in wr-switch-sw, missing in wrpc-sw. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This has no effect on rt_cpu.bin. The commit unifies the directory softpll/ between wr-switch and wr-node. No differences are left. This is an ugly ifdef, but I prefer merging the code base (removing duplicates) before addressing the configuration problem. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. Besides, the very short pps width was something we had to fix anyways. Now it's 10ms as agreed (same as wrpc-sw). This changes the generated binary. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. The addition of missing prototypes (now zeroing the diff for softpll_ng.h between here and wrpc-sw) changes the binary being built, but I assume we can feel safe about it. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. This introduces a fake wrc.h and renames timer.h to syscon.h. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. Here I copy includes/std/ from wrpc-sw, and change hw includes to be the same as in wrpc-sw. I'm aware rt/include/stdint.h is better than the new rt/include/std/stdint.h but that's it for now. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The commit is part of the effort in unifying softpll with wrpc-sw, and later remove the duplicated code here in wr-switch-sw. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
José Luis Gutiérrez authored
Adding new features to the Local Management Tool - SFP calibration - Endpoint Tx/Rx Calibration - Terminal improved - New advance menu Fixes: Reboot after new configurations.
-
José Luis Gutiérrez authored
Local Management Tool new features: - New functions in functions.php to parse wrsw_hal.conf file. - Change switch mode GrandMaster/Master - Change master/slave for each endpoint from wrsw_hal.conf file
-
José Luis Gutiérrez authored
New features for the local management tool: - Login - Logout - Included session check in .php files - Menu and topmenu modificaded for logged users - Slave.png improved.
-
José Luis Gutiérrez authored
var/www/endpoint.php minor text fix
-
José Luis Gutiérrez authored
var/www/functions.php - help minor fixes
-
José Luis Gutiérrez authored
/var/www/functions.php fix: master/slave issue.
-
José Luis Gutiérrez authored
Fixing PTP bugs. Adding info button Adding info texts and php files Adding comments to the code
-
José Luis Gutiérrez authored
New CSS for the tool. PHP files update. New Dashboard Adding features: - PTP Configuration - Endpoint Configuration - Halt System - Reboot System - File Transfer - Load LM32 & FPGA binaries. - Terminal emulator - Contact us Issues: VLAN is not yet available
-
José Luis Gutiérrez authored
New options added to the local management tool menu: - Loading binaries to LM32 - Loading binaries to FPGA - Terminal Simulator New files: - /var/www/load.php: It is used to load binary files into the lm32 or the FPGA - /var/www/terminal.php: It runs a terminal simulator, similar to a accessing a SSH terminal.
-
José Luis Gutiérrez authored
Adding new features to the management parts: - Halting system - Rebooting system - Remounting filesystem as rw - Remounting filesystem as ro
-
José Luis Gutiérrez authored
Modification of lighttpd.config file in order to make possible uploading files to the switch. (flashing and loading tools)
-
José Luis Gutiérrez authored
Function wrs_check_writeable() added: It checks whether the switch filesystem is writable or not.
-
José Luis Gutiérrez authored
Local Management Tool adition of new features to exe_program.php - Rebooting switch - Halting system - Remounting filesystem as RW - Remounting filesystem as RO
-
José Luis Gutiérrez authored
Adding php files, img and css for the local management tool in userspace/rootfs_override/var/www folder: ./img: images for the tool ./css: css used ./ : php files
-
José Luis Gutiérrez authored
Added file S80lighttpd.sh to init.d in order to run lighttpd daemon at switch start-up. Added lighttpd.config that contains the configuration file required by lighttpd and S80lighttpd.sh to run the lighttpd daemon on the switch.
-
José Luis Gutiérrez authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
José Luis Gutiérrez authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 01 Feb, 2014 4 commits
-
-
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
If static IP addressing is used (e.g. using wrboot), it makes sense to provide a static DNS nameserver. This option may be useful to people building a single image to install several switches. If the configuration string is empty (default) nothing changes (and /etc/resolv.conf is a symlink to /tmp/resolv.conf, so a dhcp client can work withint a read-only filesystem). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-