- Apr 01, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Mar 31, 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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
rsyslogd forks and daemonizes by default. So we can't "respawn" from inittab. The option to avoid forking also prints massive diagnostic information, so let's fire it once only. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This also adds the default configuration file for ppsi. It has no effect, because it's the default that would apply if no configuration file is there, but it's useful as a reference, and to ease editing. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is just the basic snmpd configuration, with no customization yet. 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>
-
- Mar 18, 2014
-
-
Alessandro Rubini authored
This userspace/wrsw_hal/rt_ipc.h pointed to rt/ which was removed (now RT code is build in wrpc-sw instead). This makes the file a regular file, with the right contents Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 21, 2014
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
We have to try until 10MHz and 1-PPS is there in GrandMaster mode. Otherwise we won't have timing at all.
-
- Feb 17, 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
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This variable, if not empty, allows to rebuild buildroot in the previous build place, thus avoiding most build time. This is useful for me when I just add packages and don't need to recreate the compiler from scratch. Well, so it is documented in the commit message. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
During the rebase of branch "http-management" I dealt with some conflicts, and CONFIG_RSYSLOG was lost in the buildroot config. This adds it back. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 16, 2014
-
-
Alessandro Rubini authored
Running "ifup eth0" if eth0 is configured for dhcp would make the client try a little while and then give up. Thus, if the dhcp server is currently down we end up without IP address. This happens after a power failure, if the switch reboots faster than the dhcp server. Also, avoid ifplugd, that won't help in this case (the link is up, so no "link up" will happen later. This new configuration works in all cases: - eth0 is configured with a static address in /etc/network/interfaces - dhcp-driven, and link goes down and then up - dhcp-driven, and server not ready at boot time - dhcp-driven and all fine since boot time Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The original ifplugd.action used "exec" improperly. Also, we should not force "ifconfig eth0 down" when link down is detected, or it will bever come up again. Fix both items, even if we are not going to use ifplugd any more in the next commit. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
it really looks like ifplugd is not reading this file, so overwrite the default one with an empty file, to avoid our users the effort to track its use. The file is not empty, actually, but include this message. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
-
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>
-
- Feb 09, 2014
-
-
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>
-