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
mahmutov has quit [Ping timeout: 256 seconds]
rustyy has quit [Remote host closed the connection]
rustyy has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lanodan has quit [Quit: WeeChat 3.4.1]
lanodan has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
gog has quit [Ping timeout: 256 seconds]
srjek has joined #osdev
nyah has quit [Ping timeout: 256 seconds]
<zid> tom7's got a new video out, so far it's about the ip filesystem where you keep packets in-flight as storage..
<clever> sounds like it wont survive a power outage!
<clever> even more volatile then a tmpfs!
<moon-child> isn't that old news tho?
<moon-child> he usually does original stuff
<zid> I think he's implementing it in full, using the entire ipv4 address space, and making a real filesystem and stuff, but I've not finished the vid yet
<moon-child> oh neat
jimbzy has quit [Remote host closed the connection]
qubasa_ has joined #osdev
Retr0id has joined #osdev
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
jimbzy has joined #osdev
qubasa_ is now known as qubasa
ZipCPU has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
ZipCPU has joined #osdev
ZipCPU_ has joined #osdev
ZipCPU has quit [Ping timeout: 248 seconds]
ZipCPU_ is now known as ZipCPU
vdamewood has joined #osdev
Matt|home has joined #osdev
afarrag has quit [Ping timeout: 250 seconds]
afarrag has joined #osdev
srjek has quit [Ping timeout: 240 seconds]
dude12312414 has joined #osdev
dude12312414 has quit [Client Quit]
Likorn has joined #osdev
kingoffrance has quit [Ping timeout: 260 seconds]
<moon-child> 'fortunately, many people are using the internet' ehm...
kingoffrance has joined #osdev
heat has quit [Ping timeout: 246 seconds]
<zid> 1 or 2
the_lanetly_052_ has joined #osdev
the_lanetly_052 has quit [Ping timeout: 268 seconds]
nyah has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
GeDaMo has joined #osdev
SR-71 has joined #osdev
<SR-71> I have one of these cheap blue pill boards, I wonder what should I do with it
<ThinkT510> host your irc client on it?
<SR-71> But i'm an absolute begineer.
<SR-71> I can't even blink LEDs on a random pin.
SR-71 has left #osdev [ERC (IRC client for Emacs 26.3)]
SR-71 has joined #osdev
enkeyz has joined #osdev
<GeDaMo> What's a blue pill board?
<bslsk05> ​stm32-base.org: STM32F103C8T6 - Blue Pill | STM32-base project
<SR-71> this
<GeDaMo> Ah, neat
<SR-71> I wish I could do something with my board
<GeDaMo> What do you want to do with it? What sort of problem are you having?
<GeDaMo> Have you asked for help in #arduino ?
<SR-71> For starters I couldn't blink leds besides the one soldered on the board
zaquest has quit [Remote host closed the connection]
<SR-71> Here is the code that I've used https://dpaste.com/HA23WKDQD
<bslsk05> ​dpaste.com <no title>
zaquest has joined #osdev
<GeDaMo> The code compiles OK? What happens when you run it?
the_lanetly_052_ has quit [Ping timeout: 248 seconds]
<bslsk05> ​github.com: stm32-templates/main.c at master · istepaniuk/stm32-templates · GitHub
Mutabah has quit [Ping timeout: 246 seconds]
Mutabah has joined #osdev
Burgundy has joined #osdev
Likorn has joined #osdev
Jari-- has quit [Ping timeout: 246 seconds]
mniip has quit [Remote host closed the connection]
mniip has joined #osdev
Burgundy has quit [Remote host closed the connection]
vimal has joined #osdev
<SR-71> Well the problem is, what should I do if I want to blink more than one leds like on all GPIO pins.
<SR-71> I've tried changing GPIO pin number but couldn't get them to blink
vimal has quit [Ping timeout: 248 seconds]
vimal has joined #osdev
SR-71 has quit [Ping timeout: 268 seconds]
mrvn has quit [Ping timeout: 260 seconds]
vimal has quit [Ping timeout: 248 seconds]
vai has joined #osdev
heat has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
Brnocrist has quit [Ping timeout: 272 seconds]
Brnocrist has joined #osdev
gog has joined #osdev
pretty_dumm_guy has joined #osdev
srjek has joined #osdev
vimal has joined #osdev
buffbug has joined #osdev
<buffbug> Hey all. Quick question: with UEFI, do I need to explicitly set a GOP mode or does it have a default value?
Likorn has joined #osdev
<heat> it has a default value, probably
<heat> I guess it probably depends on what the firmware is doing with the display
<heat> but it usually has a default mode
<buffbug> ah, thanks
<buffbug> btw, what are some good hobby OS projects with UEFI support that I can reference when needed?
<dzwdz> lil brag: i've just got concurrent IO working in my kernel! so now i can have a separate shell on each io device
<heat> buffbug: define UEFI support?
<buffbug> heat: it boots using UEFI, has a GOP driver
<heat> GOP driver isn't a thing
<heat> you can try to use the GOP to do modesetting, but that's not really a driver
<buffbug> I meant that it uses GOP to draw pixels
<heat> the framebuffer?
Likorn has quit [Quit: WeeChat 3.4.1]
<buffbug> heat: yes, excuse my ignorance of terminology
<heat> buffbug: https://github.com/heatd/Carbon <-- here's a toy thing I have
<bslsk05> ​heatd/Carbon - In development operating system written in C++ and designed to be modern (1 forks/4 stargazers/NOASSERTION)
<buffbug> Thanks, will take a look
<heat> i don't mess with the uefi runtime stuff but yeah, I have a UEFI bootloader + messing around with the frame buffer
<heat> https://github.com/heatd/Onyx <-- here's the same thing but 100x better, no uefi though since I boot using grub
<bslsk05> ​heatd/Onyx - UNIX-like operating system written in C and C++ (2 forks/31 stargazers/MIT)
Likorn has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
Burgundy has joined #osdev
MrBonkers has joined #osdev
mahmutov has joined #osdev
Likorn has joined #osdev
knusbaum- has joined #osdev
knusbaum has quit [Ping timeout: 256 seconds]
knusbaum has joined #osdev
knusbaum- has quit [Ping timeout: 246 seconds]
knusbaum has quit [Quit: ZNC 1.8.2 - https://znc.in]
mrvn has joined #osdev
<Griwes> I thought clang's driver code structure (with separate classes for target specific toolchain types and whatnot) was fine, but the first answer I've gotten on the llvm discord for how to force a flag for a specific target was "add an if checking for your target in Clang::ConstructJob", which has got to be one of the longest functions in existence and which handles most of the flag logic of the driver...
<Griwes> Customizing it to add a macro definition? Trivial. Customizing it to flip a default for a flag? Haha no.
knusbaum has joined #osdev
<geist> yah hacking on clang definitely seems like a learning wall
<Griwes> See, after looking at the macro definition thing, it seemed like they had a nice modular design for this kind of a thing
<Griwes> I stole the fuchsia linker definition and molded it to my needs, and that was also fine... but I guess that's only because there's just a handful of flags to handle there
<Griwes> Whelp, I guess I'm adding more lines of code to the (possibly) longest function in the universe, what could possibly go wrong with that
<mrvn> there is no function so long it can't be longer
sonny has joined #osdev
sonny has quit [Quit: Client closed]
<heat> that seems nonsense
<heat> what do you want to add
<heat> Griwes
<heat> ah wait I see, ConstructJob is only a part of the linker class
<heat> still, what do you want to add
<Griwes> -fno-plt, but to *compiler*, not the linker
pretty_dumm_guy has quit [Ping timeout: 246 seconds]
<Griwes> And the general clang ConstructJob is enormous, and its design is that it both constructs the list of flags passed down and actually *uses* that list and there's no way to wrap it or anything
<heat> addClangTargetOptions?
pretty_dumm_guy has joined #osdev
<bslsk05> ​github.com: toolchains/llvm-project-14.0.0.patch at 2fb258a317df1055b2967c541986611b60427edb · heatd/toolchains · GitHub
GeDaMo has quit [Remote host closed the connection]
<geist> jimbzy: finished the board btw
<geist> surprised to see it can be powered off the FTDI cable i have
<j`ey> pcb design, or breadboard?
<geist> since it pulls .7 or so a off the pin
<geist> j`ey: this is the rosco m68k board i got friday
<geist> boots up and worksl ike a champ. going to try to get some code on it in a sec
<Griwes> heat: ooooooh. I entirely missed that. Hmm.
<bslsk05> ​rosco-m68k.com: Home - rosco-m68k.com
<heat> Griwes, highly recommend you use something as a reference btw
<heat> llvm is a bit of a maze
<heat> i used fuchsia + linux on sanitizer stuff
sonny has joined #osdev
<geist> https://photos.app.goo.gl/8WjU2x3ZfK1iaBgc6 pictures of finished board
<bslsk05> ​redirect -> photos.google.com: Shared album - Travis Geiselbrecht - Google Photos
<kingoffrance> IIRC the unbreakable law mentioned clang as a flowcharts within flowcharts :)
<kingoffrance> so, i believe it
<heat> geist, looking nice!
wand has quit [Ping timeout: 240 seconds]
<papaya> geist: what are you building exactly?
<geist> it's a 68k board to hack on
<geist> 10Mhz 68010 w/1MB ram (4 more MB incoming from Mouser)
<Griwes> heat, turns out that I did already have an override of that, but it was blindly copied over from elsewhere, and there was no indication that it's invoked from the too-large-to-exist function. oh well
mahmutov has quit [Ping timeout: 246 seconds]
<heat> does it work at least?
<Griwes> we'll see in a moment
<heat> 30 minutes later
<heat> geist, are you gonna port lk to it?
<geist> of course
sonny has quit [Ping timeout: 250 seconds]
<heat> heh, how little ram does it need?
<geist> oh lets see. the little build i have right now is about 60k
lainon has joined #osdev
<geist> could trim back a bit more, but just picked a default set of modules
lainon has quit [Remote host closed the connection]
<Griwes> you were almost spot on about 30 minutes, but it's not because of rebuilding llvm from scratch, but rather because I was tinkering with how far I can push some things (and decided not to because (1) I do still need toolchain files for cmake and (2) that deals with cc1 args and replicating some of the logic from the clang toolchain would be too much work)
<Griwes> I did mess up something else, hmm ;p
lainon has joined #osdev
<Griwes> ah, I removed a new environment I added for freestanding and it now requires -ffreestanding to link without -pie
<geist> huh having trouble connecting to github
<geist> oh nvm
<heat> docs.github.com was pretty dead a few hours ago
gog has quit [Ping timeout: 246 seconds]
<Griwes> heat, thanks for the pointer at that function!
<heat> no problem
<heat> i never dangle ;)
* Griwes boos the terrible joke
<jimbzy> 10mhz and 1 whole megabyte of ram?
<kingoffrance> General purpose 16-/32-bit control processor, 13.295 MHz RAM: 2 MB on a 64-bit bus using 4 16-bit fast-page-mode DRAMs (80 ns) he's building a jaguar!
<jimbzy> No program can generate enough data to need 1MB, so I think he's just showing off...
<sortie> https://pub.sortix.org/sortix/release/volatile/man/man8/tix-port.8.html ← Today I finished writing this script for downloading and building ports for my OS and tonight I wrote the manual page :)
<bslsk05> ​pub.sortix.org: tix-port(8)
<jimbzy> Nice!
<heat> manpages are for
<heat> BOOMERS
<heat> especially bsd manpages
* sortie has his semantic mdoc(7) laughing at your poorly thought out non-semantic and non-existent documentation
<heat> wrong
<heat> the oldies that wrote my packages put manpages in there
<sortie> mdoc(7) is for everyone :)
<jimbzy> Documentation? Pssh... My motto is "Let the users figure it out for themselves!"
<sortie> s/figure it out for themselves/fight each other for my amusement/
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jimbzy> Code that has not been written needs no documentation. ;)
<heat> when my OS goes to space I'll let them fight each other for my amusement
<heat> moon battle royale
<jimbzy> PPV
<jimbzy> Right after the Logan Paul vs. A Preschooler
<sortie> jimbzy, ah code that hasn't been written, that's blog posts “here's how you would do X if you wanted to”
<jimbzy> I thought about creating a blog, but then I realized nobody cares about what I have to say.
<heat> why
<jimbzy> Have you actually read the things I write in here? ;)
<heat> yeah and they're relatively interesting
<heat> :)
<jimbzy> The ultimate outsider's perspective on technology ;)
<sortie> My plan is to write some blog posts when I some day do my next stable release, mostly for promo purposes, with a bunch of "here's how to do $COOL_THING using my OS“ and “cool tech details” to get some interest :)
<jimbzy> https://insomnia.ninja/ my current website.
<bslsk05> ​insomnia.ninja: .
<heat> php?
<heat> nah thanks i'll skip :P
<jimbzy> Barely
<jimbzy> hehe
<heat> sortie, rewrite it in rust to get some interest
<sortie> But then I have to spend time with rust people
* kingoffrance .. / 鐃
<heat> kingofchine
<heat> kingofchina*
gog has joined #osdev
sonny has joined #osdev
lainon has quit [Ping timeout: 246 seconds]
rorx has quit [Ping timeout: 256 seconds]
sonny has quit [Quit: Client closed]
rorx has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
enkeyz has quit [Quit: WeeChat 3.4]
sonny has joined #osdev
Burgundy has quit [Ping timeout: 272 seconds]