CryptoDavid has quit [Quit: Connection closed for inactivity]
gioyik has quit [Ping timeout: 276 seconds]
brettgilio has joined #osdev
gioyik has joined #osdev
gioyik has quit [Ping timeout: 276 seconds]
Izem has joined #osdev
[itchyjunk] has joined #osdev
isaacwoods has quit [Ping timeout: 265 seconds]
[itchyjunk] has quit [Remote host closed the connection]
zaquest has quit [Remote host closed the connection]
zaquest has joined #osdev
Izem has quit [Quit: Going offline, see ya! (www.adiirc.com)]
vdamewood has joined #osdev
jjuran has quit [Ping timeout: 265 seconds]
jjuran has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 268 seconds]
vinleod is now known as vdamewood
<kingoffrance>
quote i'd pledge my fealty to a based foss king if he wasn't a j-hole those are fake kings. real king: King Osric: What daring! What outrageousness! What insolence! What arrogance!... I salute you. </conan the barbarian>
Burgundy has joined #osdev
srjek has quit [Ping timeout: 240 seconds]
<klange>
The actor who played that role, Max von Sydow, passed away last year. Also he was originally "Carl Adolf von Sydow", and adopted the name Max while serving in the Swedish Army Quartermasters Corp.
<klange>
And relevant to your name, he naturalized in France in 2002, so he was French and a king!
<klange>
Unrelated, ugh, I did a thing a while back so my tiled windows wouldn't have two-pixel-wide borders in the middle, but while I think I wanted to have their one-pixel borders overlap that does _not_ seem to be what I did...
<klange>
Instead they have overlapping pixels, so their borders swap back and forth and it's covering some text if I have two terminals side by side...
drewlander has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
System123 has quit [Ping timeout: 265 seconds]
drewlander has joined #osdev
pounce has quit [Ping timeout: 240 seconds]
pounce has joined #osdev
System123 has joined #osdev
dormito has quit [Quit: WeeChat 3.1]
pretty_dumm_guy has joined #osdev
xenos1984 has joined #osdev
pounce has quit [Ping timeout: 240 seconds]
pounce has joined #osdev
System123 has quit [Ping timeout: 240 seconds]
dutch has quit [Quit: WeeChat 3.2]
dutch has joined #osdev
dormito has joined #osdev
ElectronApps has quit [Remote host closed the connection]
AssKoala has joined #osdev
System123 has joined #osdev
[itchyjunk] has joined #osdev
X-Scale` has joined #osdev
X-Scale has quit [Ping timeout: 252 seconds]
X-Scale` is now known as X-Scale
System123 has quit [Ping timeout: 268 seconds]
nj0rd has quit [Read error: Connection reset by peer]
X-Scale` has joined #osdev
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` is now known as X-Scale
AssKoala has quit [Ping timeout: 252 seconds]
ElectronApps has joined #osdev
isaacwoods has joined #osdev
ahalaney has joined #osdev
amine has joined #osdev
System123 has joined #osdev
srjek has joined #osdev
sm2n_ is now known as sm2n
System123 has quit [Ping timeout: 268 seconds]
ElectronApps has quit [Remote host closed the connection]
Arsen is now known as Arsen[test]
Arsen[test] is now known as Arsen
Arsen is now known as Arsen_test[m]
Arsen_test[m] is now known as group
group is now known as Arsen
MarchHare has joined #osdev
vai has quit [Ping timeout: 265 seconds]
<[itchyjunk]>
I have a bit of a convoluted question. I wanted to write hello world in assembly in RISC-V. But it turns out that without a kernel, i would need to write drivers to let the video card know how to print that hello world to a screen or some such.
<[itchyjunk]>
As such, i supposidly want some bare minimum kernel that had printf and some emulator that can run said kernel so i can learn to write a hello world
<[itchyjunk]>
I was also told that someone here would have such a kernel lying around. if that is the case, can i have it?
freakazoid343 has quit [Ping timeout: 252 seconds]
freakazoid12345 has joined #osdev
<Mutabah>
I'd suggest going for qemu as the emulator, and implementing a basic UART driver
<Mutabah>
Or, just write your code targeting linux
<[itchyjunk]>
How difficult is it to implement a basic UART driver.
<[itchyjunk]>
"driver" sounds big and scary
<Mutabah>
very simple
<[itchyjunk]>
oh.. so qemu will emulate the hardware and i can directly write a driver to display stuff ?
<[itchyjunk]>
Nice!
<Mutabah>
Yep
anon16_ has quit [Read error: Connection reset by peer]
anon16_ has joined #osdev
<GeDaMo>
Is it possible to get Qemu to allocate an area of memory as video memory along the lines of a PC text mode? So you could write bytes to memory and have them display?
xenos1984 has quit [Quit: Leaving.]
devcpu has quit [Quit: leaving]
devcpu has joined #osdev
freakazoid12345 has quit [Read error: Connection reset by peer]
freakazoid333 has joined #osdev
nj0rd has joined #osdev
[itchyjunk] has quit [Quit: Leaving]
xenos1984 has joined #osdev
AssKoala has joined #osdev
dennis95 has quit [Quit: Leaving]
<Bitweasil>
Isn't there a region of legacy PC memory that's exactly that? Or are you not in x86?
<Bitweasil>
[itch...
<Bitweasil>
Oh, sorry, RISC-V.
<GeDaMo>
I was asking in relation to [itchyjunk]'s query about RISC-V
<GeDaMo>
Yeah
<Bitweasil>
I mean, banging on a PL011 or 16550 is about as simple as it gets.
<Bitweasil>
16550? Whatever the standard PC UART chip is, 3f8 sort of thing.
mahmutov has joined #osdev
amine has quit [Quit: Ping timeout (120 seconds)]
amine has joined #osdev
anon16_ has quit [Ping timeout: 240 seconds]
dude12312414 has joined #osdev
freakazoid333 has quit [Ping timeout: 268 seconds]
anon16_ has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
anon16_ has quit [Read error: Connection reset by peer]
superleaf1995 has joined #osdev
fedorafan has joined #osdev
<graphitemaster>
confusing HDMI for LPC bus because same damn port
h4zel has joined #osdev
srjek has quit [Ping timeout: 240 seconds]
h4zel has quit [Quit: WeeChat 3.0.1]
nvmd has quit [Read error: Connection reset by peer]
h4zel has joined #osdev
nvmd has joined #osdev
h4zel has quit [Client Quit]
<geist>
it's even easier in emulation, since many emulators dont bother emulating a full uart
<geist>
ie, you write data out of the fifo with an instruction and it pops out the other end
<geist>
no fifo, no back pressure, etc
<geist>
depedns o the emulator and emulated uart, etc but that is the case i'd say at least 50% of the time
* Bitweasil
whistles.
<Bitweasil>
Yup. Baud rate settings. Got it.
<Bitweasil>
Toooootally will tell you the same thing if you ask for it.
<Bitweasil>
<GlaDOS>Speedy byte come in, speedy byte go out!
<geist>
heh yep.
<Bitweasil>
No. The transmit FIFO is not full. It has zero bytes. Still zero. Always zero. Look, no matter how much you send the transmit FIFO will be empty! :D
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
tacco has quit [Ping timeout: 252 seconds]
AssKoala has quit [Read error: Connection reset by peer]
tacco has quit [Remote host closed the connection]
ahalaney has quit [Quit: Leaving]
Izem has joined #osdev
Burgundy has quit [Ping timeout: 265 seconds]
Izem has quit [Quit: Going offline, see ya! (www.adiirc.com)]
gog has quit []
chartreuse has joined #osdev
[itchyjunk] has joined #osdev
rebidio has joined #osdev
<rebidio>
with smaller transistors it is not about capacitance, the last which is resistance of transistors, it is about wires being shorter on those logic dies, shorter wires have less resistance. When you switch faster and push things through shorter wires, you gonna win the war against older chips too.
<rebidio>
So in the end when on wired logics some parallel muxes are present, they fight over one chip the victim for an example of the attack vector, fills in stall cycles to detect timing errors, but a blackhat hacker has faster chip in terms of shorter wires on parallel unit muxes than he is gonna sense it sooner and win the battle also
<[itchyjunk]>
Sounds complicated :x
<[itchyjunk]>
Do you guys mostly use C or somesuch to write stuff?
<clever>
[itchyjunk]: i prefer using C, because i'm targetting at least 5 different cpu cores at once
<clever>
having a compiler translate things for me, saves a lot of work
<clever>
Bitweasil: i noticed something in qemu + lk, when looking at the pl011 drivers
<clever>
Bitweasil: when the software fifo gets full, LK will turn off the rx interrupt, so, it just stops getting interrupts and the hw rx fifo begins to fill up
<clever>
Bitweasil: i believe this causes some backpressure, where qemu will stop reading from whatever fifo is tied to the uart, and then cause the source program to also block
<[itchyjunk]>
What is the "hello world" equivalent in the os dev world?
<clever>
[itchyjunk]: id say printing to the uart is a hello world app
<[itchyjunk]>
;_;
<kazinsal>
Probably "hello world".
<clever>
when i lack a debug port, and am just starting out, i just jam some print statements in
<clever>
and i have done uart with raw asm as well, just to get uart earlier
<[itchyjunk]>
well then back to figuring out how qemu works.. i wanted to do hello world for RISC-V.. which needed me to write a uART thingy.. which needed me to understand how to do it with qemu
<clever>
[itchyjunk]: does the qemu risc-v use a pl011 uart?
<[itchyjunk]>
i .. have no idea
<clever>
thats the first thing you need to figure out, which uart is it using, at what addr
<rebidio>
actually it is not complicated at all, it's all hw, so truth table I allready gave , at one end you have a procedure that upload a tcp checksum and on the dma master you keep the bus closed by corrupting a bit which should scan it out, then the truth table based procedures can arbitarly corrupt the bits, on the victim side if faster interface fills in some encoding of stall cycles , the attacker loses cause one can not react as fast to compute the stall
<rebidio>
cycles, but if he can with faster interface he is going to win
<rebidio>
samewise as faster runner would always win the running sprint
<[itchyjunk]>
i can't even figure out how to get qemu to emulate RISC-V xD
<moon-child>
qemu-system-riscv(32|64)
<[itchyjunk]>
hmm says command not found.. but i have `sudo apt install qemu`. do i need to install that particular thing first?
<rebidio>
they had this exploit always there it's called webRTC ip leak
<[itchyjunk]>
i see `qemu-system-x86` but no `qemu-system.riscv*`
<rebidio>
to design those exploits to compromise some target server is not very hard task when you know what you are doing
<clever>
[itchyjunk]: you may need to build qemu from source
<[itchyjunk]>
;_;
<rebidio>
the fast pipeline is nothing complex either
<rebidio>
cause the chip is authored with clock domans which have compensation latches
<rebidio>
in terms of cross domain clock checking
<rebidio>
clocks have compensation phases, when one of the interconnect masters is pulled into self-timed mode, everything else will be too
tux3 has joined #osdev
tux3 has quit [Client Quit]
<rebidio>
why am i so confident, cause i have all the timing reports
rebidio was kicked from #osdev by Mutabah [rebidio]
* clever
cheers
* Mutabah
morningyawns
srjek has joined #osdev
jundertwo has joined #osdev
System123 has joined #osdev
tux3 has joined #osdev
<jundertwo>
You consider those things as nuclear science the last which is easy too, but to authore the hw just like it was meant to be authored by the underlying design is just a lot easier thn you grasp atm. it's no real work at all incolved.
<jundertwo>
*involved
<clever>
Mutabah: is he back already?
<kazinsal>
the +b is a necessity. keeps the channel stable for approximately 45 minutes
<clever>
kazinsal: yeah, he's on the same ip, so that would work
<jundertwo>
the memory multiplex encodings is not a big work either, when you know what you are doing
<jundertwo>
the microsoft DNA memory was developed by me anyways
<jundertwo>
all the infra as of today even if the pals were not doing it the wisest is allready there, hence i was not much interested to unneeded work on windows kernel reimplementation cause there is mono and nuget long since there, and public domain code can be converted legally from this
System123 has quit [Ping timeout: 265 seconds]
jimbzy has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
jundertwo was banned on #osdev by klange [*!*complemen@175.121.245.*]
jundertwo was kicked from #osdev by klange [jundertwo]