- 24 Jun, 2014 8 commits
-
-
Alessandro Rubini authored
pass WRS_VERBOSE=y on the kernel command line to make it verbose. No damaga done, but useful in checking the boot sequence. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This moves wr to usr/wr and copies etc to usr/etc. Also, it creates the .tar.gz for /usr and an initramfs that excludes usr. The current installation still works (it ignores new files, and can live with wr pointing to usr/wr). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This changes partitions, mainly adding a kernel-visible mapping of what we ha in dataflash. NAND changes are compatible, as only empty space is used differently. This also includes a new barebox.bin, that you can just write to /dev/mtd3 after booting the new kernel. Documentation is updated to reflect these partitions, but there also old leftovers that are fixed in this same commit. 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
3 are not enough: we need 4. So support up to 16 even though we waste a few dozen bytes of precious RAM. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
we'd better err out than corrupt memory, if we have more arguments than expected Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
dirname() and basename() change their argument. We'd better strdup(argv[0]) to be able to use it in error messages. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 21 Jun, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
In our case the name of the switch is its IP address of eth0 interface. Without this option enabled, only the first octet is reported to remote log server (e.g. 192)
-
- 19 Jun, 2014 4 commits
-
-
Alessandro Rubini authored
They disappeared quite some time ago: only .tar.gz remains. Fix documentation accordingly. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This merges the last commits I made on my laptop last weekq, and I forgot to push. Thanks greg for testing wrsw_vlans and thus finding I miseed some bits. Conflicts: userspace/tools/wrsw_vlans.c
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
-
- 17 Jun, 2014 1 commit
-
-
Alessandro Rubini authored
Some WRS speciments won't work correctly with automatic speed setup. This patch forces full-speed on the device (instead of the autodetected high-speed), and thus they work. Speed is not a problem anyways, because it is just a serial port. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 13 Jun, 2014 6 commits
-
-
Alessandro Rubini authored
wr_nic now exports wr_nic_pstats_callback as a pointer. When wr_pstats is loaded it writes its own pointer in there. wr_nic can thus ask for statistics and updated net_device_stats with the proper numbers. The statistics on snmp reflect this, because snmpd uses the standard device ioctl commands -- but very few of our counters actually end up all the way to snmp. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Without this, the switch may be unable to boot NFS-Root over a new system (e.g. my laptop, currently linux-3.14 with full NFS support. 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>
-
- 12 Jun, 2014 11 commits
-
-
Alessandro Rubini authored
open returns -1 on error, not 0 mmap returns -1 on error, not NULL 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
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Stuff was seriously misaligned and hard to read. So Maciej agreed about running ../../scripts/Lindent. This commit makes no modification at all, even it changes both spaces/tabs and newlines. Some comments still exceed 80 columns, which is bad for me, my screen and my printer, but I'll only change if needed, at a later step. 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>
-
- 11 Jun, 2014 3 commits
-
-
Grzegorz Daniluk authored
-
Benoit Rat authored
AT45DB642D is now obsolete and AT45DB641E will replace it They have the same status ID (same density). Therefore we need to read the JEDEC code instead.
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 10 Jun, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
Since there is no env config file, envfs_check_super() call fails to find correct magic number and makes envfs_load function to return before setting default MAC addresses.
-
- 06 Jun, 2014 1 commit
-
-
Alessandro Rubini authored
* MAXPORTS is NPORTS (so to use the usual C convention * parse as list of ranges like 1-5,9,12-14 * introduce for_each_port() * complain of no port mask is set before config Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 05 Jun, 2014 1 commit
-
-
Grzegorz Daniluk authored
-
- 28 May, 2014 1 commit
-
-
Maciej Lipinski authored
Conflicts: userspace/wrsw_rtud/rtu_fd.c userspace/wrsw_rtud/rtu_tru_drv.c
-