Santiago Hormazabal
Santiago Hormazabal
If you have the "logic 2" software from Saleae (it's free), I can share my logic captures. The one when I've connected thru telnet and run "meminfo" is quite interesting,...
Now, with the newer codebase, I'm getting this: ``` 8018x ELKS loader built at Wed 01 Jun 2022 02:03:13 AM -03 (LEDS NE2K BQ3285) Now jumping into ELKS... console_init: 8018X...
You'll like this screen capture of the serial console, the logic analyser and the remote telnet client. This time it got locked in a loop because the IRQ line was...
@ghaerr , well, in this particular system, there are easier ways to do so. Some pins of the CPU can be used as GPIO, and writing a 0 or 1...
> Also @cocus did you see my earlier note, when implementing the new NIC architecture that we now enable and disable IRQs on NIC open close. I added a disable_irq...
> It seems you're using the "config_word" value (always 0x06) to enable interrupts; would outputting a different value turn the interrupt off (always 0, perhaps?) Yes, in fact, setting bit...
> So the first thing to do (unless you've tested this already) is to run the NIC with 4k buffers, not the forced 16k mode that is the default now....
Ok, I've got it. I think my issue was an unconnected line on the hardware :) I've reworked the code, since the irq_rx function can work for both UARTs, as...
> Then, look at elks/arch/i86/char/ntty.c. You will see it automatically adds the consoles in to the tty array. > > When this all works, you'll have /dev/tty1 and /dev/tty2. You...
> Are you sure NR_CONSOLES is 2? Yes. Seems like changing that DEBUG_TTY rebuild stuff that actually made a difference. I can echo to tty2 and run getty on it....