logicog
81fdb14213
Fix http_sim.c
2025-12-16 20:08:47 +01:00
logicog
6fd32d290c
Printout of dynamic SFP information
2025-12-16 20:06:27 +01:00
logicog
6272d949cd
Add readout of SFF-8472 A2h info from SFPs
2025-12-16 20:06:27 +01:00
logicog
95fae8bad2
Display actual link speed
2025-12-15 06:54:41 +01:00
logicog
6dfad825c0
Add IGMP documentation
2025-12-15 06:54:41 +01:00
logicog
c8c524b71f
Add an implementation for IGMP
...
This adds an implementation for trapping IGMP packets to the CPU
which will identify IGMPv1/2/3 packets, but handle only v3.
The implementation then inserts/updates/deletes L3 MC entries
in the L3 lookup table. The entries consist of an Ipv4
Destination IP (the IPv4 MC address), a Source IP (0.0.0.0) and
a Portmask. Note that this implementation is not VLAN aware,
as there is no hardware support in the device.
An alternative strategy is to control switching of the L2-MC packets
in which the IPv4-MC packets are transported (dst-MaC is
01:00:5e:xx:yy:zz, with xx:yy:zz corresponding to bits in the Ipv4-MC
address). This will allow to use VLAN-aware packet switching. While
code support is there for table insert/update/deletes, some further
L2 configuration is missing.
There is no support for IPv6 MC, yet.
2025-12-15 06:54:41 +01:00
logicog
96977b5d88
Move rtl_tag structure definition to common inlude
2025-12-14 20:35:17 +01:00
logicog
a84c5dcd0c
IGMP refactoring
2025-12-14 20:35:17 +01:00
logicog
b1d5352214
Update LAG configuration registers
2025-12-14 20:35:17 +01:00
logicog
b41452026f
Make sure port is not called for an SFP module
2025-12-14 12:17:53 +01:00
logicog
2ed9974c04
Add more options to Link configuration and status display
2025-12-14 11:41:50 +01:00
logicog
28f832a24d
Fix PHY issues
2025-12-13 22:22:40 +01:00
logicog
d71a303f6c
Move RTL8372 SMI address configuration
2025-12-13 22:22:40 +01:00
logicog
74364ed7e8
Add machine name in send_basic_info()
2025-12-13 22:22:40 +01:00
logicog
e6cf97b895
Support keeplink 5+1 device
2025-12-13 22:22:40 +01:00
logicog
1cdc8d2cf7
De-Magic switch init
2025-12-13 09:25:58 +01:00
logicog
a453ec72dc
Use cached GPIO state
2025-12-13 09:25:58 +01:00
logicog
edfb86bff4
Use SFP pin definitions and I2C ports for SFP modules
2025-12-13 09:25:58 +01:00
logicog
45d4fc19c4
Add machine definitions
2025-12-12 18:31:42 +01:00
logicog
d75ad636f9
Use machine structure
2025-12-12 09:06:52 +01:00
logicog
06fbf85bce
Add SFP information in send_basic_info()
2025-12-08 12:24:20 +01:00
logicog
3c869e927a
Add support for 10G 500M and 5G speed display
...
This adds the speed status display of other link speeds:
100M 500M 1000M: Green 2nd LED
2.5G, 5G, 10G: Orange 2nd LED
2025-12-08 08:39:54 +01:00
logicog
ab6a66a223
Add support for 2nd SFP port in stats
2025-12-08 08:39:54 +01:00
logicog
636981c3b8
Detect 2nd SFP-slot RX-Los on KP-9000-6XHML-2X
2025-12-08 08:39:54 +01:00
logicog
101b4937e1
Fix link change handling
...
The RTL8272/3 use 2 32 bit registers to indicate the MAC link speed, the
second register is used for ports 8 and 9, where 9 is the CPU port.
Use both registers.
2025-12-08 08:39:54 +01:00
logicog
e9b8ab5b79
Correct handling of SFP ports in stat command
...
This fixes handling of the SFP ports in the stat command.
The output of the command now is for physical ports, which however are
not shown in sequence.
2025-12-08 08:39:54 +01:00
logicog
32b5539670
Do not show non-ascii Transceiver field in SFP module description
2025-12-07 10:59:39 +01:00
logicog
68405f70d2
Add lag show command
2025-12-06 23:38:41 +01:00
logicog
e7301dc39f
Add send_lag for page_impl.h
2025-12-06 18:01:12 +01:00
logicog
94b6688e57
Correctly use physical port in mirror configuration
2025-12-05 07:38:16 +01:00
logicog
3679b46ff2
Add LAG implementation in httpd
2025-12-05 07:38:16 +01:00
logicog
52fe23570c
Add simulator for LAGs
2025-12-05 07:38:16 +01:00
logicog
6557fc53e5
Add LAG configuration web-page
2025-12-05 07:38:16 +01:00
logicog
4b2d7002dc
Add physical/logical mapping of ports
2025-12-05 07:38:16 +01:00
logicog
b82b957750
Add LAG documentation
2025-12-05 07:38:16 +01:00
logicog
8284554f69
Add LAG configuration commands
2025-12-05 07:38:16 +01:00
logicog
47aa6ab7bf
Improve LAG configuration
2025-12-05 07:38:16 +01:00
logicog
42ea80a480
Update LAG configuration registers
2025-12-05 07:38:16 +01:00
logicog
b910692caf
Use random session ID in httpd.c
2025-12-01 18:26:46 +01:00
logicog
9c21d94b65
Add read_reg_timer function
2025-12-01 18:26:46 +01:00
logicog
7f715e9218
Move inline itohex() into header file to allow external access
2025-12-01 18:26:46 +01:00
logicog
ad27566030
Use current password in httpd.c
2025-12-01 18:26:46 +01:00
logicog
0722b147fe
Add cache control to make sure new pages are served on session timeout
2025-12-01 18:26:46 +01:00
logicog
4e4e6a55ba
Redirect to login page when status request not authorized
2025-12-01 18:26:46 +01:00
logicog
dc6734236c
Add rnd and passwd commands
2025-12-01 18:26:46 +01:00
logicog
70c14fb23e
Add get_random_32()
2025-12-01 18:26:46 +01:00
logicog
73a81ec031
Add initial implementation for authentication
2025-12-01 18:26:46 +01:00
logicog
cac7fbe080
Add simulator support for session management
2025-12-01 09:22:46 +01:00
logicog
6e0e907afb
Add register definitions for random number generation
2025-11-29 12:44:23 +01:00
logicog
a8a770f27f
Add login page and style
2025-11-29 12:44:23 +01:00
logicog
69110531b7
Add support for reading configuration and command history
2025-11-29 12:44:23 +01:00
logicog
00a415c755
Add filtering logic for configuration commands
2025-11-29 12:44:23 +01:00
logicog
f485102d26
Add fetching of configuration file and current cmd history
2025-11-29 12:44:23 +01:00
logicog
4d915a0d80
Add support for command history
...
This adds a command history, both for the CLI as well as for
commands sent by the web-interface. They are written to a ring buffer
in order to work safely with a relatively small amount of RAM
The buffer is used to read the current in-RAM configuration
from the switch by the web-interface. It could also be used
to implement cmd history via cursor up/down in the CLI.
2025-11-29 12:44:23 +01:00
logicog
9d4ba57cd0
Add support for chunking of served files
...
This removes the limitation that a file served from FLASH memory
needs to be smaller than the TCP buffer size. Now we serve up to
the TCP buffer size in the first go and then remember what parts
still need to be sent. As soon as the previous package has been
acked, the next chunk of data is copied from flash into the
TCP transmit buffer and gets sent. We take care only to send
the current TCP window size so no further fragmentation needs to
happen, thus optimizing transmission of the remainder.
2025-11-29 12:44:23 +01:00
logicog
ba9bc2e845
Initial web-files for system settings and configuration management
2025-11-29 12:44:23 +01:00
logicog
9c7572b289
De-Magic I2C configuration for SFP-EEPROM reads
2025-11-02 09:49:13 +01:00
logicog
f93cfd467f
Use better css elsewhere
2025-10-29 15:39:47 +01:00
logicog
51c5bd75eb
Add mirroring web-calls
2025-10-29 15:39:47 +01:00
logicog
2008d490a9
Add support for mirror status and mirror deletion via CLI
2025-10-29 15:39:47 +01:00
logicog
5622f1c843
Add Mirroring web-pages
2025-10-29 15:39:47 +01:00
logicog
eb0e4df5ea
Fix reset after image upload
2025-10-26 14:20:30 +01:00
logicog
9c062edc75
Fix CRC calculation during upload
2025-10-26 14:20:07 +01:00
logicog
e5f5955f71
Add timeouts to XhttpGet requests
2025-10-22 08:05:44 +02:00
logicog
ba902a68d4
Defer cmd execution for console and via http POST
2025-10-21 18:05:33 +02:00
logicog
03fb3fe6b4
Reduce PHY reset time to 20ms
2025-10-21 17:47:38 +02:00
logicog
726b421824
Add EEE httpd support
2025-10-21 17:46:18 +02:00
logicog
df1cd62518
Add EEE style and navigation
2025-10-20 18:35:35 +02:00
logicog
aab4d334e5
Formatting fix
2025-10-20 18:35:35 +02:00
logicog
73b8335bef
Add EEE html page
2025-10-20 18:35:35 +02:00
logicog
0d64efacb3
Add EEE status query
2025-10-20 18:35:35 +02:00
logicog
f3ff8eed42
Make use of CRC checksum calculation when building image
2025-10-20 07:29:39 +02:00
logicog
4d17d9ff00
Add CRC verification
2025-10-20 07:29:39 +02:00
logicog
8499e9e464
Add CRC-16 calculator for a firmware image
2025-10-20 07:29:39 +02:00
logicog
ac4f0d410f
Add CRC16 initial code
2025-10-20 07:29:39 +02:00
logicog
7546d0c685
Fix bug in usage of CONST segment in banked code. Use #pragma constseg
2025-10-14 18:41:52 +02:00
logicog
8efb9fb305
Fix counter GET
2025-10-11 13:09:47 +02:00
logicog
717247bc0e
Add MAC-EEE functionality
2025-10-11 13:09:47 +02:00
logicog
31c61faa60
Use PHY page definitions, add PHY reset routine
2025-10-11 11:32:23 +02:00
logicog
2ff450edd4
Add generic PHY definitions file for C45 PHYs
2025-10-11 11:29:28 +02:00
logicog
1a0ad07367
Remove superfluous head tag and move final script tag into body
2025-10-10 20:06:45 +02:00
logicog
09ba7859b6
Add navigation.js sidebar
2025-10-10 18:27:24 +02:00
logicog
39a22fd926
Use consistent navbar for all pages, save space used in HTML for this
2025-10-10 18:18:42 +02:00
logicog
05492e601a
Reducing IMEM footprint in flash routines
2025-09-30 20:45:44 +02:00
logicog
110c403443
Adding firmware update at beginning of boot if a new image is found in second half of flash
2025-09-30 20:45:44 +02:00
logicog
6aa28b7385
Cleanup and increase of flash_buf size for flash write buffer
2025-09-30 20:45:44 +02:00
logicog
f464be3368
Add POST code for firmware update
2025-09-30 20:45:44 +02:00
logicog
4a4abef9fd
Add web-page for firmware update
2025-09-30 20:45:44 +02:00
logicog
48d57dfb0f
Cleanup of flash code in installer
2025-09-29 18:07:51 +02:00
logicog
0d1c958ed8
Add simulation of firmware upload
2025-09-26 21:00:47 +02:00
logicog
7dc6906458
Use smaller buffer to simulate firmware behaviour
2025-09-26 21:00:47 +02:00
logicog
d4ccebeaa7
Enable all compiler warnings
2025-09-26 21:00:47 +02:00
logicog
d18d08287d
Add menu entry for firmware update
2025-09-26 21:00:47 +02:00
logicog
d4e2b9872d
Cleanup of flash code
...
Fix several bugs found in the write-flash code during installer coding.
Move all flash functions into CODE0. This is required to share these
functions with the installer image (currently they are duplicated so
they are not within the CODE1 segment).
De-magics all Flash command codes based on the Winbond W25Q32JV
datasheet.
2025-09-26 21:00:47 +02:00
logicog
8aaca9ae10
Add forgotten crtstart.asm
2025-09-26 06:51:29 +02:00
logicog
f8657f41e4
Add forgotten vlan settings update file
2025-09-15 18:03:57 +02:00
logicog
c636ef3b8f
Add initial installer code
2025-09-11 21:45:09 +02:00
logicog
95d7901d00
Add STP control commands
...
Adds
stp on
stp off
control commands.
2025-09-08 22:25:38 +02:00
logicog
9ad5fcb43e
Add STP handling
...
Adds a timeer for calling the STP state machine which currently sends out
CNF (HELLO) packages.
Identifies incoming STP packets and calls the stp_in() routine to handle these.
2025-09-08 22:22:57 +02:00
logicog
571bfef810
Add reading of RSTP-CNF packets and send own CNF packets
...
This reads RSTP configuration packages and updates the
state information about the believed Root-bridge. New
RSTP packages are sent with the updated information.
2025-09-08 22:22:57 +02:00