- 24 Jun, 2014 13 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The release tar file (wrs-firmware.tar) is not compressed any more, so fix the name all around, and the extracting command too. Similarly, the official release is a .tar file, and it is generated by the "wraprootfs" step, so this removes "--pack" as a build option (it was a duplicate of wrapping it up anyways). Release files are already the ones used for installation, so flash-wrs doesn't need to build the cpio file any more. The "macigstring" for installation is concatenated to the cpio file by tellling the usb-loader to copy it to RAM, so no temporary cpio archive is created any more: release files are always used unchanged. Wrapping rootfs creates the release tar dire "--pack" i Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This brings everything into /etc/init.d/wrs-boot-procedure that is executed as a "sysinit" task, before anything else. The procedure runs from the initrd/initramfs and is concerned with the complete update of the device, if an update is pending. See documentation (next commit) for details about partitions and boot procedure. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This also change the flash_wrs script, to match new conventions (i.e. we use the run-time initramfs for installation, and so on) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
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>
-