- Feb 09, 2014
-
-
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
-
Adding new features to the Local Management Tool - SFP calibration - Endpoint Tx/Rx Calibration - Terminal improved - New advance menu Fixes: Reboot after new configurations.
-
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
-
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.
-
var/www/endpoint.php minor text fix
-
var/www/functions.php - help minor fixes
-
/var/www/functions.php fix: master/slave issue.
-
Fixing PTP bugs. Adding info button Adding info texts and php files Adding comments to the code
-
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
-
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.
-
Adding new features to the management parts: - Halting system - Rebooting system - Remounting filesystem as rw - Remounting filesystem as ro
-
Modification of lighttpd.config file in order to make possible uploading files to the switch. (flashing and loading tools)
-
Function wrs_check_writeable() added: It checks whether the switch filesystem is writable or not.
-
Local Management Tool adition of new features to exe_program.php - Rebooting switch - Halting system - Remounting filesystem as RW - Remounting filesystem as RO
-
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
-
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.
-
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 01, 2014
-
-
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>
-
Alessandro Rubini authored
This is a verbatim copy of the current rsyslog.conf in buildroot. The next commit fixes it for our needs, but I'd better save the differences in the commit log, rather than my already-modified file. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Most daemons write their stdout/err to /dev/kmsg, and thus clutter the serial console. We'd better boot in quiet mode. This, among other things, gains a few seconds of boot time. Developers can always add "verbose" if needed (or remove "quiet"). Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jan 31, 2014
-
-
Alessandro Rubini authored
At configuration time, before building, users can select the ntpserver to be used to prime WR time at boot. By default no server is queried. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Developers may want to preserve the filesystem image, to verify the effect of configuration options, avoiding the need to untar images/wrs-image.tar.gz every time. I personally used it to verify the next commits, other people may prefer to keep it disabled. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
THe previous version of the file was not working, both because of a typo and because ppsi currently fails if wrsh_hal is not ready. This adds a polling loop to wait for the mini-rpc socket to be available. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
commit 65da3053 softpll and userspace: massive changes improperly removed wr_date from the userspace/tools/Makefile. This is an error of mine in manually managing conflicts in the original commit, Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-