- Dec 13, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
To error when VLANs configuration does not match in master and slave. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
--Error when parameters are passed in a form like "1a" (digit followed by a not digit) --For access mode, error when VID is not set. --Error when parameters in dot-config are "", if are completely empty, then libwr will error. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Use VLANS_PORTXX_VID instead of VLANS_PORTXX_VID and VLANS_PORTXX_VID_PTP Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
When wrs_vlans is parsing dot-config and VLAN0 is not configured then add VLAN0's port mask based on port VLAN modes. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
When parsing dot-config, set "untag none" for all ports that are not in ACCESS mode. Fix warnings in wrs_vlans Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Fix the commit: e5136083 Kconfig: move ppsi VLANs configuration to VLANs section Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Dec 07, 2016
-
-
- Dec 06, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Meanwhile, make the mac address static to same some space/time. But we really need a table for the mac address presets Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
Substitude all occurrences of upper case strings like HOSTNAME, IPADDR and MACADDR with the corresponding value. Before only first occurrence of each was substituted Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Dec 05, 2016
-
-
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Adam Wujek authored
In few places drop parameter of VLANs in dot-config was descibed that can take different set of parameters, while the only accepted was y or n. Now it can be y, yes, 1, n, no, 0. However, the tool (wrs_vlans) can use only 1 or 0 for "drop" parameter. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Webinterface does not support saving changes of VLAN configuration to a dot-config. Warn user about it. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Move ppsi VLAN configuration from PORTXX_PARAMS(ppsi_vlans) to VLANS_PORTXX_VID_PTP Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
- Dec 02, 2016
-
-
userspace/tools/wrs_vlans.c Signed-off-by:
Grzegorz Daniluk <grzegorz.daniluk@cern.ch> the rest: Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Synthesized from wr-switch-hdl commit 1d50045
-
Adam Wujek authored
Fix build error of wrs-user-manual. This file should have been pushed in the commit: 73f319c5 doc/wrs-user-manual: add the description of VLANs configuration Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
In hal_main.c, use timeout functions from libwr. Use two different timeouts for temperature/fan updates and for port information. In hal_ports.c use different timeouts for sync LEDs, link LEDs and SFPs' DOMs updates. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Use last timeout's timestamp as a reference for new timeout instead of current time. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
-
- Dec 01, 2016
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
The color of left LED of each port displays the actual state, not the configured state. If there are more than one instances on a particular port then the most important state is displayed in the order Slave, Master, Other. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Enable synced LED (right LED of each port) when ppsi's servo got synced. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Update fan's PWM only when there is a need to change fan's speed. It should save some cpu cycles because of reduced number of i2c transers. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
For port configured as none, non-wr, auto use the same orange color. Before none and auto were represented with the same color as master (yellow). Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
It might happen that the reader of shmem ignores the lock, but at least shall check the version of HAL. When it is not 0 then we can be sure HAL's shmem is initialized. However, don't relay on this behaviour. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Since by default we use info level for messaging, on a busy, dynamic network creating and removing rtu entries can produce a lot of syslog messages. Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
add: --CONFIG_NO_HZ_COMMON --CONFIG_NO_HZ_IDLE --emulation of floating-point --VLANs (for management port) --bridge (for management port) --scheduler debug and stats removed: --IPv6 --wireless --SCSI --HID --parts of USB --RTC --ext2 --fat Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Disable the Bad Block Table (BBT) because the BBT uses the 4 last PEBs of nand flash, which overwrites UBIFS. BBT was disabled in the old kernel. There is not so much performance penalty due to that (see the last sentence in the citation below). There is no impact on the reliability of a flash because this is just a table of bad blocks which is otherwise recreated in the ram at every boot. The MTD layer supplies upper layers (including UBI) with information about bad PEBs. It keeps so-called bad block table in RAM, which is usually 1 bit per PEB. When the driver initializes, it has to build this table by scanning whole flash media, which normally includes reading OOB area of 1st NAND page of each PEB. This takes time and may be improved by using on-flash BBT (bad block table). In this case the bad PEB map is stored on flash and MTD does not have to do any scanning. See the NAND_USE_FLASH_BBT constant in the Linux source codes. But note, bad PEB scanning is u...
-