Giter VIP home page Giter VIP logo

Comments (5)

mfld-fr avatar mfld-fr commented on June 12, 2024

Yes, you are right, KTCP cannot start without an available serial port to perform SLIP/CSLIP.

Indeed I won't add a serial device to the QEMU configuration, because I expect KTCP to be modified to switch to Ethernet at startup, and to only require the /dev/eth device.

The SLIP and CSLIP protocols had value at the time of the serial modems, but now, almost all x86 embedded systems where ELKS could run have an Ethernet chip.

About the fixes in /fs, I am waiting a bit for Jody and Juan to respond to issue jbruchon#55, because despite their modifications brought some regression, they were also intended to fix some other problems (race condition...). So I expect the best mix to go forward.

from elks.

georgp24 avatar georgp24 commented on June 12, 2024

I would leave "-serial pty" in as long as ktcp has not been rewritten for eth0.

As you can see from my paper, I did extensive tests with slip and qemu. At the moment this is the only way to network with the host and works quite convenient since it is all done in software. I also do not like to use a cross-over cable, but to have a virtual cross-over cable between Qemu and the host is quite handy. My plan was to support both eth0 and slip simultaneously. This way you can test routing further.

Yes, the PCs will have an ethernet chip, but not necessarily a NE2000 card. It may be RTL or Intel or whatever - and PCI. So the NE2000 can usually only be used with Qemu too.

You can replace the three files with the versions Jody and Juan may come up with any time. But at the moment this will slow the development waiting for them to do it. I think one should base the development on a platform that works even if improvements are pending. At least I will.

from elks.

mfld-fr avatar mfld-fr commented on June 12, 2024

After a bit of thinking, I revised my opinion. Almost all embedded systems do have a serial port (typically a 3-wires TTL), not used for networking, but for debugging, especially on headless systems. So I will finally add the missing option as suggested.

from elks.

georgp24 avatar georgp24 commented on June 12, 2024

from elks.

mfld-fr avatar mfld-fr commented on June 12, 2024

Nice to see you are making progress on ktcp part ! But please, for better project tracking, try to not mix the topics, and continue the discussion about serial / ethernet switch in the right issue : #10.

from elks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.