- 02 May, 2014 6 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
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
the new barebox we'll introduce supports much more stuff, and is 0x63000 in size. Thus, load 0x84000 bytes from dataflash, a multiple of the pages size (0x420). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Use true/false for if, not 1/empty, because "0" would return true and it would be mileading (no bug is there, just potential) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 01 Apr, 2014 3 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
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 31 Mar, 2014 9 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
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>
-
- 18 Mar, 2014 1 commit
-
-
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>
-
- 21 Feb, 2014 2 commits
-
-
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.
-
- 17 Feb, 2014 5 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
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>
-
- 16 Feb, 2014 7 commits
-
-
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>
-
- 09 Feb, 2014 7 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>
-