logicog
294174d152
Add web backend for dhcp/dhcpd
2026-03-09 22:06:57 +01:00
logicog
7949975191
Add backend support for bandwidth control
2026-03-08 20:55:50 +01:00
feelfree69
494320b191
Resolve review comments
2026-03-05 08:55:51 +01:00
feelfree69
7a0f248424
Add flash_size to web interface
2026-02-28 19:56:18 +01:00
feelfree69
ffbd2c512d
Check for sifficient flashsize before applying an update
2026-02-25 18:51:00 +01:00
logicog
284b2b003d
Merge pull request #127 from feelfree69/resetbutton
...
Add button handling with the possibility to revert to default settings
2026-02-23 21:01:14 +01:00
feelfree69
e5d23f11de
Demagic FLASH_BUF_SIZE
2026-02-15 13:28:31 +01:00
chriz
5d731393f1
Delay reset, to allow TCP reset to be transmitted.
2026-02-14 11:17:42 +01:00
feelfree69
79c9d0deab
Add button handling with the possibility to revert to default settings
2026-02-14 10:55:35 +01:00
chriz
ea37126e87
New apporach: Make startup config independent.
2026-02-12 14:17:22 +01:00
TylerDurden-23
1d91c1bf2c
Merge branch 'logicog:main' into opt-system-settings
2026-02-11 21:15:56 +01:00
TylerDurden-23
7e652f3fb7
Merge branch 'logicog:main' into opt-system-settings
2026-02-11 12:31:00 +01:00
chriz
859a50bd82
fix-link-speed
2026-02-10 23:17:04 +01:00
logicog
ea230615f9
Use a MAC address based on the SoC's UUID
...
We use the SoC's UUID to generate a fixed MAC for a particular
switch device. The MAC generated uses a Realtek prefix and then
is followed by 3 bytes genertaed from the first 3 bytes of the
UUID xored with the last byte in order to prevent being able
to deduce the UUID from the public MAC.
2026-02-08 15:49:49 +01:00
TylerDurden-23
97b46071e0
Merge branch 'logicog:main' into opt-system-settings
2026-02-06 10:50:46 +01:00
diijkstra
48455a57b2
PIN module
...
Added GPIO defines, moved GPIO MUX initialization to new module.
Converted if/else to switch in GPIO initialization.
2026-02-01 14:32:50 +01:00
diijkstra
7d62b24a42
Advanced I2C pin definition
...
RTL has up to 3 SCL pins and up to 4 SDA pins. Lets allow configuring
I2C with individual BUS numbers instead of 0/1 I2C.
This enables support for devices where SCL line is not shared between
SFP modules. MUX registry is now initialized depending on needed
pin function.
More over, some SFP pins require special MUX settings, lets initialize
those depending on SFP configuration. This adds TX Disable pin,
which right now is set to low at startup.
Caveats:
- We may still override MUX registry later
- Not sure how to handle invalid bus definitions
- Without SFP is it fine to *not* initialize anything?
- Do to RAM limitation we do inititalize output GPIO to low
2026-02-01 12:58:16 +01:00
logicog
2c200417b5
Merge pull request #98 from vDorst/fix_soc_init
...
Fix soc init
2026-01-30 23:29:32 +01:00
chriz
5a11515c36
Improve firefox compatibility.
2026-01-27 14:59:57 +01:00
chriz
5662285a3e
Clear command log after saving.
2026-01-26 23:29:23 +01:00
René van Dorst
3d7ef55ced
Demagic PHY_MMD31, 0xa412 to PHY_MMD31, PHY_MMD31_GBCR
2026-01-26 22:35:03 +01:00
René van Dorst
44779404df
Demagic PHY_MMD_AN, 0x20 to PHY_MMD_AN, PHY_ANEG_MGBASE_CTRL
2026-01-26 22:31:44 +01:00
René van Dorst
1997d7379b
Demagic PHY_MMD_AN, 0x10 to PHY_MMD_AN, PHY_ANEG_ADV
2026-01-26 22:28:33 +01:00
chriz
b5c249995f
Add startup config editor.
2026-01-26 20:40:30 +01:00
René van Dorst
13d0781455
Rename PHY_MMD_CTRL to PHY_MMD31.
...
So demagic the `phy_(, 0x1f, )` to `phy_(, PHY_MMD31, )`.
2026-01-25 23:38:04 +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
73a355cff5
Add L2-table access method defintions
2026-01-17 12:56:43 +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
67439efd2b
Correctly display 9-port machines
2025-12-22 23:28:50 +01:00
logicog
f0537d759f
Correct PHY registers for speed selection
2025-12-22 23:28:50 +01:00
logicog
dc9bc5ec7d
Add SFP data to send_basic_info
2025-12-17 06:44:09 +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
74364ed7e8
Add machine name in send_basic_info()
2025-12-13 22:22:40 +01:00
logicog
a453ec72dc
Use cached GPIO state
2025-12-13 09:25:58 +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
ab6a66a223
Add support for 2nd SFP port in stats
2025-12-08 08:39:54 +01:00
logicog
e7301dc39f
Add send_lag for page_impl.h
2025-12-06 18:01:12 +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
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