feelfree69
e5d23f11de
Demagic FLASH_BUF_SIZE
2026-02-15 13:28:31 +01:00
feelfree69
79c9d0deab
Add button handling with the possibility to revert to default settings
2026-02-14 10:55:35 +01:00
chriz
5a11515c36
Improve firefox compatibility.
2026-01-27 14:59:57 +01:00
feelfree69
0345bf7bf2
Use DIO mode for normal operation; disable DIO before flashing. Use SYS_LED for indicating booting (slow), flashing (fast) and normal operation (on)
2026-01-22 19:38:17 +01:00
feelfree69
8dc914eb07
make fw upload working; nicer debug outputs for console
2026-01-22 08:17:07 +01:00
logicog
fd1d14a3e7
Use main directory for includes in httpd
2026-01-18 07:50:38 +01:00
logicog
e53f5e7134
Add L2 entry deletion support via web
2026-01-17 12:56:43 +01:00
logicog
e59158e006
Add backend support for L2 entries in web
2026-01-16 18:04:22 +01:00
logicog
84fe44cc9a
Add httpd backend implementation for MIB counter requests
2026-01-15 18:07:56 +01:00
René van Dorst
229fad3809
Merge pull request #73 from logicog/dio
...
Enable Flash Dual I/O command by default.
Speed up data transfers up to 2x.
2026-01-08 21:52:52 +00:00
logicog
e085fc9cc9
Convert unconditional prints to debug prints in httpd
2026-01-08 09:56:43 +01:00
logicog
f621563479
Enable DIO by default
2026-01-08 06:44:38 +01:00
logicog
51345a07e6
Add mtu support in http server
2025-12-22 23:28:50 +01:00
logicog
519c224dd2
Use charset=UTF-8 in http header
...
This allows us to use the degree sign for the temperatur
readings of the SFP modules.
2025-12-16 20:08:47 +01:00
logicog
3679b46ff2
Add LAG implementation in httpd
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
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
73a81ec031
Add initial implementation for authentication
2025-12-01 18:26:46 +01:00
logicog
f485102d26
Add fetching of configuration file and current cmd history
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
51c5bd75eb
Add mirroring web-calls
2025-10-29 15:39:47 +01:00
René van Dorst
d0b6a73bf2
Merge pull request #30 from logicog/crc16
...
CRC-16 Calculation and verification
2025-10-26 21:59:50 +00:00
logicog
9c062edc75
Fix CRC calculation during upload
2025-10-26 14:20:07 +01:00
logicog
ba902a68d4
Defer cmd execution for console and via http POST
2025-10-21 18:05:33 +02:00
logicog
726b421824
Add EEE httpd support
2025-10-21 17:46:18 +02:00
logicog
4d17d9ff00
Add CRC verification
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
René van Dorst
928cf1cf58
http: upload: make sure we don't cross flash page boundaries.
...
This causes the address pointer to wrap back to the front of the page.
Which results in that the beginnen of the page can have data for the next page.
2025-10-07 21:19:36 +02:00
René van Dorst
52fa41760c
Don't pass the first 16-bit argument via xdata.
...
Calling confention already uses the DPTR registers as the first two byte arguments.
So adds a lot of code to put the 16-bit value on xdata, still passes the 16-bit xdata ptr in DPTR registers, then read the xdata value.
So it doesn't save any sram bytes.
2025-10-05 16:22:23 +02:00
René van Dorst
884bc18a61
Remove flash_read_bulk(), refactor website and execute_config().
...
flash_read_bulk() is kind of a printf function. But did not work as well.
flash_read_bulk() was used in the http generation so this needed to be changed as well.
For the website we decided that we are going to use CSR(Client Side Rendering).
So every HTML and JS files are now static.
Variables are fetched via json calls and output is render on the client side.
Also usefull for the future when we want a REST like API.
execute_config() was also using flash_read_bulk().
This have been replaced with flash_read_bulk() and parsing the flash_buf buffer.
2025-10-05 15:47:14 +02:00
René van Dorst
7a87b79871
Convert flash_addr to struct flash_region.
...
flash_region storage flash address and length, which a operation is needed.
2025-10-05 15:36:08 +02:00
logicog
05492e601a
Reducing IMEM footprint in flash routines
2025-09-30 20:45:44 +02:00
logicog
f464be3368
Add POST code for firmware update
2025-09-30 20:45:44 +02:00
René van Dorst
3d80f73383
fix: comp. warning 283: function declarator with no prototype.
2025-08-30 22:51:19 +02:00
logicog
a0239b72f4
Add support for VLAN names
2025-08-28 16:58:51 +02:00
logicog
857a91ffc4
Add support for VLAN configuration via web
2025-08-21 16:13:38 +02:00
logicog
942de2d0df
Add caching and usage of MIME-type enums
2025-08-20 10:11: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
d66931acdf
Adding initial http daemon implementation
2025-07-13 12:03:40 +02:00