klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
elastic_dog has joined #osdev
Arthuria has joined #osdev
dutch has joined #osdev
dude12312414 has joined #osdev
<geist> oh bummer. i thought vzeroall *also* zeroed out zmm state
<geist> but alas, it only zeros out through ymm15
<geist> pretty dumb, why didn't they extend it to get zmm16-zmm31?
<geist> hmm, i guess the point is it's only explicitly used to handle transitioning between SSE and AVX, so it explicitly only covers ymm/zmm registers that are aliased with SSE regs
srjek has joined #osdev
andydude has joined #osdev
andydude has quit [Client Quit]
qookie has quit [Ping timeout: 252 seconds]
diamondbond has joined #osdev
Arthuria has quit [Ping timeout: 245 seconds]
diamondbond has quit [Client Quit]
diamondbond has joined #osdev
dude12312414 has quit [Remote host closed the connection]
dude12312414 has joined #osdev
diamondbond has quit [Quit: Leaving]
gog has quit [Ping timeout: 265 seconds]
diamondbond has joined #osdev
diamondbond has quit [Read error: Connection reset by peer]
<geist> well, just spent the last hour trying to finally grok the layout and use of xsave/xsaveop/xsavec/xsaves and what the format is
<geist> think i finally get it now. a lot of it has to deal with how the cpu tracks initial and modified state
[itchyjunk] has quit [Ping timeout: 252 seconds]
[itchyjunk] has joined #osdev
srjek has quit [Ping timeout: 264 seconds]
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
nyah has quit [Quit: leaving]
geist has quit [Ping timeout: 245 seconds]
__sen has joined #osdev
Benjojo has joined #osdev
paulbarker has joined #osdev
theruran has joined #osdev
geist has joined #osdev
nohit has joined #osdev
sts-q has quit [Ping timeout: 252 seconds]
eremitah has quit [Quit: quit]
eremitah has joined #osdev
vai has joined #osdev
<vai> my library malloc needs thread-safety
<vai> hi /dev/*
<vai> lock to module or function? depends on... surprised actually
<vai> -O4 basically crashes because all the operating systems are doing too many thread safety violations - they say it is mature (O4 opt.)
<vai> also: planning to make it CP/M (single-task), and now everything works out of sudden
<vai> no bugs, just thread violations :: multitasking suks :::
Oli has quit [Quit: leaving]
_whitelogger has joined #osdev
ElectronApps has joined #osdev
wleslie has joined #osdev
vdamewood has joined #osdev
<vai> client, server, and queues -- a big TODO on paper
<vai> low level talk :: buffers
[itchyjunk] has quit [Remote host closed the connection]
<geist> what compiler are you talking about? -O4 doesnt' do anything on gcc or clang
<Mondenkind> I think some ibm compiler goes up to -O5
gdown has quit [Remote host closed the connection]
fkrauthan has quit [Quit: ZNC - https://znc.in]
fkrauthan has joined #osdev
fkrauthan has quit [Client Quit]
fkrauthan has joined #osdev
ElectronApps has quit [Ping timeout: 268 seconds]
C-Man has quit [Ping timeout: 264 seconds]
dude12312414 has joined #osdev
jason1234 has joined #osdev
<jason1234> how much minimum of RAM requirement is needed for the Raspberry PI model 4, (PI model four), 1gb, 2gb,...8gb to play well Sony PS2 and GameCube games on it?
<vdamewood> More than 12 bytes.
<vdamewood> probably
<bradd> the ps2 had 32mb ram, so probably 1gb would be enough no?
<vdamewood> Oh,if the PS2 had 32 MB, then you probably need well over 12 bytes. Maybe more than 24 bytes.
<bradd> 25?
<bradd> jason1234: I googled ps2 emulator memory usage -> '...pcsx2... pentuim 4 processor with 512mb of ram...'
<jason1234> i use RETROPIE and i would like to buy a PI model 4, but it is expensive, i know need to know how much min RAM requirements...
<bradd> just google it. 'retropie memory usage'
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
mahmutov_ has quit [Ping timeout: 265 seconds]
<j`ey> froggey: youve seen this I assume https://www.fitzsim.org/blog/?p=445
ElectronApps has joined #osdev
<froggey> I have yeah, it's cool
<jason1234> Which OS would possible work on this amazing (old) machine: on Intel Pentium® processor, 16KB cache on chip, 133 MHz Pentium® processor, 16MB EDO RAM, 1.44 billion byte capacity (1.35 GB) ?
<jason1234> Which OS would possible work on this amazing (old) machine: on Intel Pentium® processor, 16KB cache on chip, 133 MHz Pentium® processor, 16MB EDO RAM, IDE harddisk with 1.44 billion byte capacity (1.35 GB) ?
anon16_ has quit [Ping timeout: 252 seconds]
<kazinsal> Windows NT 3.51
mahmutov_ has joined #osdev
<Ermine> OS/2?
zacque has joined #osdev
zacque has quit [Quit: Client closed]
Arsen has quit [Quit: Quit.]
Arsen has joined #osdev
Vercas has quit [Quit: Ping timeout (120 seconds)]
Vercas has joined #osdev
blueops has joined #osdev
<blueops> Hello
<blueops> I have made a simple uefi program
<blueops> It boots in qemu
<blueops> However it does not boot in vmware hyper v or virtualbox
<blueops> Or real hardware for that matter
<blueops> Even with secure boot disabled
GeDaMo has joined #osdev
<zid> rip
blueops has quit [Remote host closed the connection]
<zid> looks like he fixed it
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavhq has joined #osdev
<vdamewood> Now I'm tempted to see if I can get a UEFI application to work on VMwate.
<vdamewood> VMware
<zid> I've never tried it.. does vmware even have a uefi shell?
<vdamewood> i think so.
<kazinsal> yeah, you gotta tell it to use UEFI in the VM config and it'll use EFI firmware instead of BIOS firmware
<zid> fair, never actually tried it though
<kazinsal> in practice I don't know anyone who uses it
<kazinsal> even in the enterprise world, why bother
<vdamewood> My Windows 10 VM uses UEFI
<vdamewood> My Windows 11 Beta VM did too.
<zid> it's mandatory for w10/w11 isn't it?
blueops has joined #osdev
<vdamewood> Not sure about W10, but yes for W11.
<kazinsal> secure boot is a requirement for Windows 11
<vdamewood> Oh, I'm so excited. Someone's going to send me an unopened copy of NT 4.0 Workstation today.
<vdamewood> I wonder if I could get it to UEFI boot.
pretty_dumm_guy has joined #osdev
mahmutov_ has quit [Ping timeout: 268 seconds]
MiningMarsh has quit [Ping timeout: 252 seconds]
qookie has joined #osdev
ElectronApps has quit [Remote host closed the connection]
Oli has joined #osdev
dutch has quit [Quit: WeeChat 3.3]
Arthuria has joined #osdev
dutch has joined #osdev
<vai> vdamewood, fixed it?
<vdamewood> vai: Fixed what?
<vai> ISO seems to be available
<vdamewood> In so many different languages too.
<vai> osdev?
<vdamewood> Huh?
qookie has quit [Quit: leaving]
Arthuria has quit [Ping timeout: 265 seconds]
nyah has joined #osdev
mctpyt has quit [Ping timeout: 245 seconds]
<vai> BEOS, Practical File System Design with the Be File System by Dominic Giampaolo https://archive.org/details/fsdesign/page/n25/mode/2up
<vai> click on headphones icon to play it up
srjek has joined #osdev
scoobydoo has quit [Ping timeout: 245 seconds]
<vai> design document, so I think in 1999 this was a pre or alpha
isaacwoods has joined #osdev
MiningMarsh has joined #osdev
scoobydoo has joined #osdev
gog has joined #osdev
[itchyjunk] has joined #osdev
blueops has quit [Remote host closed the connection]
Arthuria has joined #osdev
orthoplex64 has quit [Quit: Leaving]
sprock has quit [Ping timeout: 252 seconds]
sprock has joined #osdev
wleslie has quit [Quit: ~~~ Crash in JIT!]
gog has quit []
gog has joined #osdev
mahmutov_ has joined #osdev
<vai> I still remember pokes and memory spaces perfectly from The Commodore 128.
Arthuria has quit [Ping timeout: 252 seconds]
sortie has quit [Quit: Leaving]
jimbzy has quit [Ping timeout: 268 seconds]
sortie has joined #osdev
<vai> sortie || well, howdy there
<rb> suppose i wanted to implement a jpeg decoder, what would be a good document to start reading?
<sortie> well,: command not found
<sortie> klange you nih a jpeg decoder?
<rb> seems to be behind the ISO paywall :^( thanks though
<GeDaMo> I would assume the ITU documents are the same
<rb> https://www.itu.int/rec/T-REC-T.81-199209-I/en i'm looking at this page and it says "this document is only available through payment"
<rb> unless i'm missing something
<GeDaMo> Ah, I can get at some of them
<GeDaMo> I can't reach that one either though
<rb> i see, thanks for the help
<vai> dns down :(
<GeDaMo> rb: what about this? http://www.w3.org/Graphics/JPEG/itu-t81.pdf
guodong has joined #osdev
<rb> how the heck did you find that? :^)
<rb> awesome
<rb> the latter describes the container for JPEG-encoded images, but useful as well
<GeDaMo> It's on the Wikipedia page :P https://en.wikipedia.org/wiki/JPEG#External_links
<rb> welp, i'm blind
<rb> thanks a lot!
<guodong> 👍
<rb> trying to avoid looking at actual code (as it's cheating :^)
<rb> but the specs will help a lot
<GeDaMo> Just in case reality differs from the specs :P
<rb> true, thanks
<rb> that does happen
guodong_ has joined #osdev
henistein has joined #osdev
<henistein> I have this file: MS-DOS executable PE32+ executable (EFI application) Aarch64 (stripped to external PDB), for MS Windows
<henistein> is this a kernel for arm64 devices right? There is some way to run it with qemu?
<zid> uefi module I assume
<zid> ah yea it even says efi
<zid> *googles boot qemu efi*
<j`ey> henistein: well where did you get it from? :P
<henistein> j`ey I had android image then I unpacked it into file.gz and then I extracted it and I got a this file
<j`ey> then it's probably the linux kernel
<j`ey> just pass it to qemu with -kernel
<henistein> qemu-system-aarch64 ?
<j`ey> yeah
<j`ey> you need a rootfs or something though
<zid> can you pass params to a linux kernel with that?
<j`ey> yep, with -append "foo"
<henistein> I am getting: No machine specified, and there is no default
<j`ey> -m virt
<henistein> oh alright, -M virt worked
<henistein> well I got a terminal but I think that is not running the kernel
<j`ey> like a bash prompt or?
<henistein> like this: https://ibb.co/R7ynsHD
<zid> that's just qemu
<zid> start, go or something
<zid> I forget
<j`ey> click 'view' idk
<zid> 'c' works, if it's just waiting for that
<henistein> what does 'c' command do?
<zid> continue execution, my setup requires it because I make it start paused
<zid> so that I can set up breakpoints and stuff
<zid> but you should get an output window if you built qemu with a method to
<zid> like with SDL or X support etc
<henistein> alright
<henistein> well it seems like doing -kernel file or don't is the same. do I need rootfs?
<j`ey> you shouldnt do, it should print stuff out
<henistein> I am new on this, my goal is running this kernel
<j`ey> it'll fail, but at least print stuff out
<j`ey> ohh
<j`ey> henistein: also add: -cpu cortex-a72 -nographic
<henistein> alright it is doing something now I think
<henistein> and my terminal crashed, well I am happy I got something
<j`ey> the terminal crashed? or you mean the kernel printed the panic message..
<henistein> no it was like running forever and I couldn't do nothing (write, ctr-d, ctr-c)-
<henistein> but no error message
<j`ey> so did the kernel print anything at all?
<henistein> I will try the same without using kernel and see if it happens too, if yes then the kernel was not executed
<henistein> no
<j`ey> without the kernel, qemu will just close
<henistein> it is happening the same thing without the kernel, I think the kernel is not being executed
<j`ey> what's the exact command youre running?
<henistein> running: qemu-system-aarch64 -M virt -cpu cortex-a72 -nographic is doing the same as running qemu-system-aarch64 -M virt -cpu cortex-a72 -nographic -kernel file
<j`ey> oh weird, anyway use: ctrl-a x, to kill qemu
<HeTo> well, if this is some random Android kernel intended for some real device somewhere maybe it lacks all the drivers to do I/O in a QEmu "virt" device
<henistein> HeTo yes it is probably that, I can't just grab a random kernel and expect it to run on qemu
<henistein> thank you all anyway
<zid> well, run on a random -machine
<j`ey> I think it should do, gimme a sec
<zid> there might be an androidy one
<henistein> j`ey sure
<j`ey> hm, I'd just be surprised if it didnt have a PL011 uart driver.. but maybe not
<j`ey> henistein: whats your goal anyway?
<henistein> my goal is just trying to run this kernel, it could be just a error message or something else
<j`ey> but why this kernel in particular?
<j`ey> you could try add -append "console=ttyAMA0"
<j`ey> it's funny cos the first kernel I tried locally doesnt actually have PL011 built in
<henistein> this is the "comma three" (https://comma.ai/) kernel, I was just exploring and decided to check if I could run it into qemu
<zid> would that need a monitor or anything command on the qemu side j`ey?
<henistein> it's saturday I have nothing more to do
<j`ey> zid: no
<j`ey> henistein: try adding 'earlycon' to the -append ".." too
<henistein> like this: qemu-system-aarch64 -M virt -cpu cortex-a72 -nographic -kernel file -append "console=ttyAMA0" -append earlycon ?
<zid> earlycon console=ttyAMA0 should be?
<zid> it's the kernel command line
<j`ey> -append "earlycon console=ttyAMA0"
<henistein> its still the same
<j`ey> then maybe it doesnt have drivers for the UART
<henistein> yeah probably
<j`ey> henistein: you could build a kernel for fun tho
<henistein> oh yeah I did it in this summer, I followed this guide: https://arjunsreedharan.org/post/82710718100/kernel-101-lets-write-a-kernel
<j`ey> henistein: sorry I meant build the linux kernel for aarch64 :)
<henistein> like crosscompile it to aarch64 ?
<j`ey> yeah
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
C-Man has joined #osdev
mniip has quit [Ping timeout: 252 seconds]
mniip has joined #osdev
* geist yawns
<geist> good afternoon folks
<zid> don't try to force your ideals onto us! We are free wombles!
<geist> re: running that kernel on qemu. probably not. it'd have to have been compiled with the right set of drivers for qemu-virt
<zid> or a -machine exists that acts like some random phone
<geist> maybe, but if it came from an android device they probably specifically selected only drivers for that particular system-on-chip
<zid> yea some random *matching* phone :p
<geist> and yeah qemu acting exactly like the fone
<geist> generally the first thign to do is figure out what soc that comma three thing uses
<j`ey> geist: but come on, surely they can just compile in a tiny little pl011 driver
<geist> possibly, yes. but then also entirely likely they didnt because why not? depends on how tight someone configured it
<geist> can also root around and find the original linux source tree for it, especially if that's some sort of open source thing
<j`ey> on my kernel, im a scrooge, 0 drivers allowed
<j`ey> *on my linux kernel build
<geist> well okay then.
<j`ey> I think they gave up now anyway
<geist> probably not morning anymore
<geist> would like to gently remind folks to be helpful when new folks show up with questions
<geist> may be fun to snark at them but resist the urge
<geist> (since we seem to be getting a new run of new folks of late)
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavhq has joined #osdev
dude12312414 has joined #osdev
bradd has quit [Ping timeout: 252 seconds]
henistein has quit [Quit: Client closed]
henistein has joined #osdev
GeDaMo has quit [Quit: Leaving.]
henistein has quit [Ping timeout: 256 seconds]
Vercas has quit [Remote host closed the connection]
jimbzy has joined #osdev
Vercas has joined #osdev
scoobydoo has quit [Remote host closed the connection]
scoobydoo has joined #osdev
bradd has joined #osdev
sayorin has joined #osdev
sayorin has quit [Client Quit]
h4zel has joined #osdev
freakazoid343 has quit [Ping timeout: 265 seconds]
h4zel has quit [Ping timeout: 268 seconds]
kkd1 is now known as kkd
Vercas has quit [Quit: Ping timeout (120 seconds)]
wootehfoot has joined #osdev
Vercas has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
srjek has quit [Ping timeout: 264 seconds]