Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel: Choosing the correct Network Drivers #5

Closed
kkarhan opened this issue Dec 6, 2023 · 6 comments
Closed

Kernel: Choosing the correct Network Drivers #5

kkarhan opened this issue Dec 6, 2023 · 6 comments
Assignees
Labels
blocking blocks another issue documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@kkarhan
Copy link
Contributor

kkarhan commented Dec 6, 2023

As for the "CORE" Version of OS/1337, basic Ethernet [TCP / IPv4] will be necessary to have some basic connectivity and being able to run stuff like wget / [tiny] curl, dropbear [SSH] client (aka. dbclient) and maybe even a fully-featured dropbear or lynx as browser.

It'll also be used to "install" bigger "Editions" by downloading an image file, holding it in ramdisk and then DD'ing it onto a drive.

AFAICT, the most common for any "retro" / old machines are:

  • 3Com
  • AMD [PCnet / PC-FAST]
  • Intel [also being used in VMs]
  • VIA ["Rhine" NICs are common in Thin-Clients based off VIA C3/C7 Chips].

It's vital to keep the kernel as small as possible.

  • We can pretty much deduct all NICs that ain't ISA and/or PCI connected tho...
    • espechally PCIe, USB and/or multi-GBit - NICs.
@kkarhan kkarhan added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Dec 6, 2023
@kkarhan kkarhan self-assigned this Dec 6, 2023
@kkarhan kkarhan added this to the OS/1337 "Core" Edition milestone Dec 6, 2023
@kkarhan kkarhan changed the title Choosing the correct Network Drivers Kernel: Choosing the correct Network Drivers Dec 6, 2023
@kkarhan kkarhan removed the documentation Improvements or additions to documentation label Dec 6, 2023
@kkarhan
Copy link
Contributor Author

kkarhan commented Dec 11, 2023

This is intertwined with #6

@kkarhan kkarhan assigned kkarhan and unassigned kkarhan Dec 11, 2023
@kkarhan kkarhan moved this from Todo to In Progress in OS/1337 "CORE" Edition Dec 12, 2023
kkarhan added a commit that referenced this issue Dec 12, 2023
- needs to get cut down [see issue #5](#5) in order to save space.
@kkarhan
Copy link
Contributor Author

kkarhan commented Dec 12, 2023

As of now I'm considering to yeet all but integrated and ISA-based NICs to save space and only leave 3com, AMD, Intel and VIA NICs in that are integrated into the Chipset/SoC or connected via ISA.

PCI, PCIe and CardBus support had to be sacrificed as per issue #6...

@kkarhan
Copy link
Contributor Author

kkarhan commented Dec 15, 2023

kkarhan added a commit that referenced this issue Dec 20, 2023
- include sysv-ipc, unix socket support and /sys as well as /proc pseudofilesystems.
- - see [Issue #15](#15)
- include network drivers that are relevant
- - see [Issue #13](#13) & [Issue #5](#5)
@kkarhan
Copy link
Contributor Author

kkarhan commented Dec 20, 2023

I am confident that my current selection is a good balance given the expected hardware and the space constraints - tho I'd be willing to change those if need be.

ISA & PCI Ethernet NICs
-> 3Com
-> AMD
-> Intel
-> VIA

kkarhan added a commit that referenced this issue Dec 20, 2023
@kkarhan
Copy link
Contributor Author

kkarhan commented Dec 20, 2023

Problem as of now: Kernel Size is at ~ 1,15MB (!!!)
Need to slim that down

@kkarhan
Copy link
Contributor Author

kkarhan commented Dec 20, 2023

As per #13 I can't do more...
#13

@kkarhan kkarhan closed this as completed Dec 20, 2023
@github-project-automation github-project-automation bot moved this from Testing to Done in OS/1337 "CORE" Edition Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking blocks another issue documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
Development

No branches or pull requests

1 participant