mfld-fr / elks Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ghaerr/elks
Embeddable Linux Kernel Subset
License: Other
This project forked from ghaerr/elks
Embeddable Linux Kernel Subset
License: Other
The ROM filesystem implementation currently uses low-level routines in assembly that could be replaced by a little more C lines and using the existing memory routines.
Issue created as an outcome of the code review in jbruchon#160.
To be able to boot ELKS from the Flash of my SBC, tune the existing ROMFS to store the root filesystem in that Flash, as the kernel with the CONFIG_ROMCODE option.
Guidelines:
http://www.spinics.net/lists/linux-8086/msg00716.html
You have to add "-serial pty" to the qemu.sh script or ktcp will not start since /dev/ttyS0 does not work.
Since your version still includes the faulty "fs/select.c" file, the command "netstat" will not work but crash with the "panic waitpt" message.
I suggest to use the fs/inode.c and fs/namei.c files from my commit as well to avoid hunting for errors unnecessarily.
For developing ktcp it is necessary to kill the ktcp process and start it again.
Can you please try to execute the kill command with the "corrected" select.c? When I tried "kill 5 &" will still crash. Not so with the old select.c of version 0.2.0
To test loop between user and kernel space.
Add basic routing to ktcp
networking process.
As the Asix AX88796-L chip on my SBC is claimed to be NE2K compatible in its datasheet, implement a tiny packet driver that could be connected later as backend to ktcp
.
For implementation guidelines:
http://www.spinics.net/lists/linux-8086/msg00722.html
http://www.spinics.net/lists/linux-8086/msg00719.html
Check that the existing telnet client is working.
As far as I am aware, it is "keyb=en-us" and not "keyb=us". However, en-us did not work for me, so it is better to specify "keyb=".
Back to personal fork after @jbruchon 'big reset' in jbruchon#352 :
@marcin-laszewski's patching:
marcin
branchmarcin
branch to upstream : DONE in jbruchon#357Can you move ne2k.h to linuxmt so I can better include it with ktcp?
Feedback from @georgp24:
Perhaps add a README-NE2K file with a few instructions in elks/root while developing.
In the current version there is only one network device drivers option: "NE2K device driver". Please leave the other options and just add the NE2K device driver.
For testing one would need to send some data from the host to the network card. This way one could test the receive function. The card:
"ne2k_isa.0: index=0,type=nic,model=ne2k_isa,macaddr=52:54:00:12:34:56"
should show up on the host with ifconfig -a for this.
Since Marc-Francois knows Qemu in and out he could give some instructions how to do that.
I was thinking along the lines of these instructions perhaps:
https://en.wikibooks.org/wiki/QEMU/Networking
http://wiki.qemu-project.org/Features/HelperNetworking
Needed to allocate IP address in user
QEMU networking mode.
The Ethernet driver should provide a way for the user to get or set the MAC address, that is needed to build the packet to send, or to filter the received packet in promiscuous mode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.