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
logicog
44298f2b71
Add MSTP port state registers for STP
...
Each register holds the STP port state for one Forwarding ID (FID),
of which there 16 can be used by the RTL8372. The mapping between
FID and VLAN is done in the VLAN table. This allows the SoC
to maintain 16 different MSTP states.
In the register 2 bits per port are used to designate the following
(R)STP states
00 disable, 01 blocking, 10 learning, 11 forwarding
The STP listening state is not available.
2025-09-08 22:22:57 +02:00
logicog
b85d57b32b
Demagic memory locations
2025-09-04 22:23:02 +02:00
logicog
2669262240
Demagic memory locations
2025-09-04 21:04:57 +02:00
logicog
395f05c27d
Remove unnecessary variable
2025-09-04 21:04:42 +02:00
logicog
5635ad835e
Add support for ip, gw and netmask commands
2025-09-03 20:32:57 +02:00
logicog
e5146e0857
Use 512kB image size for now
2025-09-03 20:32:30 +02:00
logicog
8765a9ba17
Fix int arguments for file-size and location of added data
2025-09-03 20:32:04 +02:00
logicog
a939e2e92b
Fix protocol structure and filling
2025-09-01 07:45:33 +02:00
logicog
546d385bf1
Add RLDP setup
2025-08-30 18:44:17 +02:00
logicog
829fbf707a
Use uip for mac-address, enable STP packages
2025-08-30 18:43:31 +02:00
logicog
326d94f48d
Add support for STP
2025-08-30 18:42:46 +02:00
logicog
83dcd22863
Add STP packet identification
2025-08-30 08:29:25 +02:00
logicog
963d53335c
Add initial IGMP handling via ASIC
2025-08-29 17:23:14 +02:00
logicog
739ab5ef40
Cleanup of register definitions
2025-08-29 17:12:58 +02:00
logicog
a0239b72f4
Add support for VLAN names
2025-08-28 16:58:51 +02:00
logicog
e8c6492786
Reduce IRAM memory footprint
2025-08-28 16:58:51 +02:00
logicog
ef742f8f19
Cleanup and fix flushing of L2 UC entries
2025-08-24 19:26:24 +02:00
logicog
81b7e4fa87
Identify pin configuration registers
2025-08-22 09:04:34 +02:00
logicog
0a05fe923e
Add port isolation methods
2025-08-22 07:15:49 +02:00
logicog
857a91ffc4
Add support for VLAN configuration via web
2025-08-21 16:13:38 +02:00
logicog
ae80aa1017
Add support for different statistic counters
2025-08-21 16:12:59 +02:00
logicog
7968b03c57
Fix inclusion of stdint required by intger types in header
2025-08-21 16:12:09 +02:00
logicog
52f8366d03
Improve command parser to work with other than serial buffer
2025-08-21 16:11:22 +02:00
logicog
8fc4354ec4
Add retrieval of VLAN config and cleanup statisics counters
2025-08-20 10:22:26 +02:00
logicog
d7667cb5b4
Cleanup statistic counters
2025-08-20 10:21:41 +02:00
logicog
7b4a95b806
Use nicer function to set clicked ports
2025-08-20 10:20:39 +02:00
logicog
940ee648df
Use definition of NSFP in header file
2025-08-20 10:19:07 +02:00
logicog
e924431344
Move definition of NSFP to header file
2025-08-20 10:17:15 +02:00
logicog
12b53c22f1
Add simulation tool running on x86 host for web-pages of an RTL8372 switch
2025-08-20 10:16:00 +02:00
logicog
1caadbe631
Fix finding makers for text lengths that are not multiples of 4
2025-08-20 10:14:18 +02:00
logicog
53a8046874
Implement sending of status and VLAN info
2025-08-20 10:13:14 +02:00
logicog
9173d2c6c7
Provide MIME type enums
2025-08-20 10:12:06 +02:00
logicog
942de2d0df
Add caching and usage of MIME-type enums
2025-08-20 10:11:31 +02:00
logicog
cc55131fed
Implement statistics counters
2025-08-20 10:06:14 +02:00
logicog
2241db371f
Fix error due to logical ports not being in the same sequence as physical ports
2025-08-20 10:04:54 +02:00
logicog
4a72dfedf2
Add documentation of packet RX and TX control on the ASIC side
2025-08-19 09:56:34 +02:00
logicog
c3e0ad52bc
Link to VLAN doc updated. Add python as dependency
2025-08-19 09:46:02 +02:00
logicog
ad53165351
Introduce identified RX/TX control register names
2025-08-19 09:34:14 +02:00
logicog
74fbec1044
Add logical to physical mapping of ports on RTL8372
2025-08-19 09:31:32 +02:00
logicog
acba08d001
Removing old version
2025-08-19 09:30:22 +02:00
logicog
7727c1e561
Add VLAN configuration page
2025-08-19 09:28:00 +02:00
logicog
41b181d9fb
Add port statistics page
2025-08-19 09:27:24 +02:00
logicog
72d8f3639c
Script to generate port overview dynamically
2025-08-19 09:26:48 +02:00
logicog
4d45bee566
Dynamic generation of port overview.
2025-08-19 09:26:17 +02:00
logicog
b1ac33b7fb
Allow for more and different files (MIME-types)
2025-08-17 21:03:57 +02:00
logicog
dbd60fc810
Port images show configuration in Webbrowser
2025-08-17 21:03:43 +02:00
logicog
93723b0061
fix warning
2025-08-06 17:09:31 +02:00
logicog
fff09a0521
Add support for dynamically regenerated web-pages. Limit to 1 concurrent TCP connection for now.
2025-08-06 11:24:36 +02:00
logicog
3841eea919
Fine tunig of Ethernet port and SFP images
2025-08-06 11:22:57 +02:00
logicog
c9a82b550a
Fix for issue #3 reported by airjinkela: wrong register ID exceeding 16bit
2025-08-06 08:22:19 +02:00
logicog
0fb4fafdb2
strtox now returns copied length
2025-08-05 09:34:44 +02:00