00:02
gmacd has joined #osdev
00:08
gmacd has quit [Ping timeout: 240 seconds]
00:10
heat has quit [Read error: Connection reset by peer]
00:11
heat has joined #osdev
00:15
gmacd has joined #osdev
00:20
gmacd has quit [Ping timeout: 250 seconds]
00:23
awita has joined #osdev
00:43
heat has quit [Remote host closed the connection]
00:44
heat has joined #osdev
00:53
awita has quit [Ping timeout: 268 seconds]
01:03
gmacd has joined #osdev
01:07
gmacd has quit [Ping timeout: 240 seconds]
01:10
zaquest has quit [Remote host closed the connection]
01:12
zaquest has joined #osdev
01:23
gmacd has joined #osdev
01:28
nyah has quit [Quit: leaving]
01:28
gmacd has quit [Ping timeout: 250 seconds]
01:32
gog has quit [Ping timeout: 265 seconds]
01:34
goliath has quit [Quit: SIGSEGV]
01:48
gmacd has joined #osdev
01:49
heat_ has joined #osdev
01:50
heat has quit [Read error: Connection reset by peer]
01:53
gmacd has quit [Ping timeout: 250 seconds]
02:00
smeso has quit [Quit: smeso]
02:11
smeso has joined #osdev
02:40
heat_ has quit [Ping timeout: 256 seconds]
02:53
gmacd has joined #osdev
02:57
gmacd has quit [Ping timeout: 250 seconds]
03:00
skipwich has quit [Quit: DISCONNECT]
03:01
skipwich has joined #osdev
03:26
gmacd has joined #osdev
03:31
gmacd has quit [Ping timeout: 240 seconds]
03:46
Terlisimo has quit [Quit: Connection reset by beer]
03:50
Terlisimo has joined #osdev
03:59
gmacd has joined #osdev
04:04
gmacd has quit [Ping timeout: 248 seconds]
04:27
gmacd has joined #osdev
04:31
gmacd has quit [Ping timeout: 240 seconds]
04:50
gildasio has quit [Remote host closed the connection]
04:54
gildasio has joined #osdev
04:57
terminalpusher has joined #osdev
05:02
gmacd has joined #osdev
05:06
gildasio has quit [Ping timeout: 240 seconds]
05:07
gmacd has quit [Ping timeout: 250 seconds]
05:38
gmacd has joined #osdev
05:42
gmacd has quit [Ping timeout: 240 seconds]
06:10
gmacd has joined #osdev
06:14
gmacd has quit [Ping timeout: 246 seconds]
06:29
gmacd has joined #osdev
06:35
gmacd has quit [Ping timeout: 268 seconds]
06:46
gmacd has joined #osdev
06:51
gmacd has quit [Ping timeout: 240 seconds]
07:03
ThinkT510 has quit [Quit: WeeChat 3.8]
07:05
gmacd has joined #osdev
07:10
ThinkT510 has joined #osdev
07:12
GeDaMo has joined #osdev
07:23
gmacd has quit [Ping timeout: 248 seconds]
07:36
slidercrank has quit [Ping timeout: 240 seconds]
07:39
gmacd has joined #osdev
07:44
gmacd has quit [Ping timeout: 240 seconds]
08:03
gmacd has joined #osdev
08:07
ZipCPU has joined #osdev
08:11
gmacd has quit [Ping timeout: 240 seconds]
08:34
gmacd has joined #osdev
08:38
gmacd has quit [Ping timeout: 240 seconds]
08:47
gmacd has joined #osdev
08:51
gmacd has quit [Ping timeout: 240 seconds]
08:53
jjuran has quit [Quit: Killing Colloquy first, before it kills me…]
08:53
jjuran has joined #osdev
08:56
zxrom has quit [Remote host closed the connection]
09:01
gmacd has joined #osdev
09:05
gmacd has quit [Ping timeout: 240 seconds]
09:13
gmacd has joined #osdev
09:16
Ali_A has joined #osdev
09:16
Ali_A is now known as DragonPlayer
09:18
terminalpusher has quit [Ping timeout: 245 seconds]
09:28
gmacd has quit [Ping timeout: 268 seconds]
09:43
DragonPlayer has quit [Ping timeout: 245 seconds]
09:44
gmacd has joined #osdev
09:48
gmacd has quit [Ping timeout: 240 seconds]
09:52
Matt|home has quit [Ping timeout: 250 seconds]
09:53
Ali_A has joined #osdev
10:00
gmacd has joined #osdev
10:08
Ali_A has quit [Quit: Client closed]
10:11
gabi-250 has quit [Remote host closed the connection]
10:57
goliath has joined #osdev
11:17
gmacd has quit [Ping timeout: 268 seconds]
11:25
zxrom has joined #osdev
11:27
gmacd has joined #osdev
12:08
awita has joined #osdev
12:08
awita has quit [Remote host closed the connection]
12:37
gmacd has quit [Ping timeout: 240 seconds]
12:42
gmacd has joined #osdev
12:47
gmacd has quit [Ping timeout: 250 seconds]
13:00
heat_ has joined #osdev
13:01
gmacd has joined #osdev
13:04
gog has joined #osdev
13:06
gmacd has quit [Ping timeout: 256 seconds]
13:33
gabi-250 has joined #osdev
13:33
gmacd has joined #osdev
13:34
heat has joined #osdev
13:35
heat_ has quit [Read error: Connection reset by peer]
13:38
gmacd has quit [Ping timeout: 265 seconds]
13:41
gmacd has joined #osdev
13:49
gmacd has quit [Ping timeout: 240 seconds]
13:55
zarock has joined #osdev
14:00
wootehfoot has joined #osdev
14:03
zxrom has quit [Ping timeout: 240 seconds]
14:13
gmacd has joined #osdev
14:17
gmacd has quit [Ping timeout: 246 seconds]
14:21
gmacd has joined #osdev
14:21
xenos1984 has quit [Read error: Connection reset by peer]
14:31
gmacd has quit [Ping timeout: 268 seconds]
14:36
gmacd has joined #osdev
14:40
xenos1984 has joined #osdev
14:52
moberg has quit [Ping timeout: 268 seconds]
14:52
moberg1 has joined #osdev
14:57
gog is now known as pog
14:59
wootehfoot has quit [Read error: Connection reset by peer]
14:59
<
mcrod >
gog: may I pet you
15:06
kn07_ has joined #osdev
15:12
* sakasama
still requires unpetting.
15:12
* pog
unpets sakasama
15:13
<
mcrod >
i feel like a moron writing shell scripts.
15:13
<
mcrod >
just take me to C or C++ where things make sense
15:13
<
pog >
yeah bash syntax is wacky to me
15:13
<
pog >
there's like three ways to do conditonals
15:13
<
kn07_ >
i feel like a lonely noob looking for some action
15:14
<
pog >
years ago i wrote some weird bash scripts before i had a single clue what i was doing lol
15:14
<
mcrod >
I never thought writing a toolchain script would be this annoyingly difficult
15:14
<
sakasama >
bash is a horror. It's only bearable if one is fortunate enough to be able to ignore most of the syntax.
15:16
<
mcrod >
honestly I'm starting to wonder if I should just use python to do this
15:16
<
mcrod >
I'm going to use python anyway to sift through a website to generate a database for the project I'm working on
15:17
<
pog >
you could use a makefile
15:20
<
mcrod >
the problem is the state codes/county codes etc are in PDF fucking format
15:21
<
mcrod >
er, county codes only
15:22
[itchyjunk] has joined #osdev
15:28
<
sakasama >
mupdf makes dumping to text easy enough.
15:34
kn07_ has quit [Quit: Leaving]
15:40
gmacd has quit [Ping timeout: 250 seconds]
16:16
gmacd has joined #osdev
16:17
goliath has quit [Quit: SIGSEGV]
16:30
dude12312414 has joined #osdev
16:32
Matt|home has joined #osdev
16:44
dude12312414 has quit [Ping timeout: 240 seconds]
16:54
heat has quit [Read error: Connection reset by peer]
16:54
heat has joined #osdev
16:57
xenos1984 has quit [Ping timeout: 256 seconds]
16:58
xenos1984 has joined #osdev
17:06
heat_ has joined #osdev
17:07
dude12312414 has joined #osdev
17:07
heat has quit [Read error: Connection reset by peer]
17:14
xenos1984 has quit [Ping timeout: 248 seconds]
17:17
randm has quit [Remote host closed the connection]
17:17
randm has joined #osdev
17:18
<
bslsk05 >
github.com: samething/build_toolchain.sh at main · mcroddev/samething · GitHub
17:19
zxrom has joined #osdev
17:21
<
mcrod >
and then you just do `V cmake -S . -B build -G Ninja $CMAKE_BUILD_FLAGS`
17:22
goliath has joined #osdev
17:27
xenos1984 has joined #osdev
17:30
<
heat_ >
i'm fairly sure $@ is bash-only btw
17:31
<
bslsk05 >
pubs.opengroup.org: Shell Command Language
17:32
<
heat_ >
do the quotes there Just Work?
17:33
<
heat_ >
I would guess you want word splitting there as well
17:37
Arthuria has joined #osdev
17:38
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
17:38
Arthuria has joined #osdev
17:44
gmacd has quit [Ping timeout: 240 seconds]
17:47
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
17:47
Arthuria has joined #osdev
17:48
terminalpusher has joined #osdev
17:52
gmacd has joined #osdev
17:55
Arthuria has quit [Ping timeout: 246 seconds]
18:01
gmacd has quit [Ping timeout: 240 seconds]
18:02
gmacd has joined #osdev
18:07
heat has joined #osdev
18:08
heat_ has quit [Read error: Connection reset by peer]
18:16
Arthuria has joined #osdev
18:17
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
18:17
Arthuria has joined #osdev
18:21
gmacd has quit [Ping timeout: 240 seconds]
18:54
dude12312414 has quit [Remote host closed the connection]
18:55
mi7 has joined #osdev
19:15
Irvise_ has quit [Ping timeout: 265 seconds]
19:16
sakasama has quit [Ping timeout: 265 seconds]
19:22
benwaffle has quit [Ping timeout: 265 seconds]
19:27
chibill has quit [Ping timeout: 265 seconds]
19:31
chibill has joined #osdev
19:58
nyah has joined #osdev
19:59
goliath has quit [Quit: SIGSEGV]
20:01
terminalpusher has quit [Remote host closed the connection]
20:16
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
20:22
gmacd has joined #osdev
20:41
goliath has joined #osdev
20:49
gabi-250 has quit [Remote host closed the connection]
20:50
gabi-250 has joined #osdev
20:59
rnicholl1 has joined #osdev
20:59
<
rnicholl1 >
Question, when booting qemu with virt, where does it put the dtb?
21:01
<
rnicholl1 >
device tree binary
21:02
<
rnicholl1 >
I tried qemu-system-aarch64 -M virt -cpu cortex-a53 -kernel build/rpnx-kernel.elf -monitor stdio
21:02
<
rnicholl1 >
but I cannot find the dtb or how much ram is installed
21:14
<
bslsk05 >
www.qemu.org : ‘virt’ generic virtual platform (virt) — QEMU documentation
21:15
<
goliath >
doc says location is in r2 for 32-bit guests, or x0 for 64-bit guests (linux boot protocol), address 0x4000_0000 for bare-metal guests
21:22
sakasama has joined #osdev
21:34
gmacd has quit [Ping timeout: 265 seconds]
21:34
xenos1984 has quit [Read error: Connection reset by peer]
21:36
gmacd has joined #osdev
21:42
dennisschagt has quit [Ping timeout: 246 seconds]
21:46
dennisschagt has joined #osdev
21:47
<
rnicholl1 >
I am encountering a weird issue.
21:47
<
rnicholl1 >
dtb_reader& operator=(dtb_reader const& other) = default; results in a hang
21:47
<
rnicholl1 >
but the only member variables are:
21:47
<
rnicholl1 >
std::byte const *m_dtb;
21:47
<
rnicholl1 >
std::byte const *m_dtb_end;
21:48
<
heat >
what results in a hang?
21:48
<
heat >
the copy itself?
21:50
<
mcrod >
i thoroughly enjoy how #osdev is almost like a "come with any discussion" IRC channel
21:50
<
mcrod >
whether it's osdev, general programming, petting gog, etc.
21:52
xenos1984 has joined #osdev
21:53
<
mcrod >
I really need to go to the gym
21:53
<
mcrod >
but i am still scared
21:54
<
rnicholl1 >
heat: no, it seems if I use user generated code, like a custom implemetnation, it works fine, but the default operator does not. outside of the kernel, it works fine :/
21:55
<
heat >
wheres the crash
21:55
<
heat >
whats the codegen
21:56
<
goliath >
If that's C++, the signature for the operator= looks wrong. IIRC the const should be in front of the type, which has slightly different meaning
21:56
<
goliath >
Also, I ran into an issue with g++ one where it generated SSE code for the assignment
21:57
<
goliath >
Specifying the machine to be an i386 changed that to a `rep; movsb` construct instead, which worked
21:59
<
rnicholl1 >
const before or after has no effect on the type, they are the same
21:59
<
rnicholl1 >
it actually binds to the thing on the left but there is an exception when nothing exists on the left.
21:59
<
heat >
wheres the crash whats the codegen
22:00
<
rnicholl1 >
let me see, I'm trying to figure out how to look at the codegen
22:00
<
heat >
disassemble where it's crashing
22:00
<
heat >
with gdb or whatever
22:07
<
bslsk05 >
pastebin.com: Nto working:Disassembly of section .text._ZN4rpnx10dtb_readeraSERKS0_:00 - Pastebin.com
22:07
<
rnicholl1 >
How can I use gdb inside qemu?
22:08
<
rnicholl1 >
is anything special required to use the q0 register?
22:08
<
rnicholl1 >
that might be the issue
22:09
<
rnicholl1 >
ah yeah, that is a neon extension
22:09
<
heat >
pass -mgeneral-regs-only to gcc
22:09
<
rnicholl1 >
llvm actually
22:09
<
heat >
yes, whatever
22:09
<
heat >
you don't want to use the FPU in kernel mode, usually
22:11
<
rnicholl1 >
Well that fixed it
22:12
<
rnicholl1 >
set(CMAKE_C_FLAGS_INIT "--target=arm64-v8-none -mgeneral-regs-only -ffreestanding -nostdinc -nostdlib -static -frtti -fexceptions")
22:12
<
rnicholl1 >
is arm64-v8-none not the right architecture?
22:13
<
rnicholl1 >
Or do I just need to do something special to set up floating point in the kernel first
22:15
<
heat >
1) you need to set up the FPU
22:15
<
heat >
2) generally you don't want to use the FPU in kernel code
22:16
<
heat >
hence -mgeneral-regs-only
22:16
<
bnchs >
if you want floating point
22:16
<
bnchs >
which i don't get
22:16
<
heat >
why no FPU? because saving and restoring FPU context on every context switch, interrupt is slow and hard
22:16
<
bnchs >
maybe have a floating point emulation
22:17
<
heat >
generally its just not worth it to pay the price on every ctx switch
22:18
<
heat >
if you really need to and you get a proven performance benefit, you can later add wrappers to do it PROPERLY for you
22:18
<
heat >
like linux has kernel_fpu_begin and kernel_fpu_end for very very specific operations
22:22
dude12312414 has joined #osdev
22:27
Piraty has quit [Quit: -]
22:28
Piraty has joined #osdev
22:29
rnicholl1 has quit [Quit: My laptop has gone to sleep.]
22:31
dude12312414 has quit [Remote host closed the connection]
22:32
rnicholl1 has joined #osdev
22:33
gmacd has quit [Ping timeout: 240 seconds]
22:48
gmacd has joined #osdev
22:53
gmacd has quit [Ping timeout: 265 seconds]
23:21
<
bnchs >
yes i'm a loser
23:21
<
mcrod >
well the stupid fucking toolchain script doesn't work on mac
23:22
<
mcrod >
i hate shell scripting i hate shell scripting i hate shell scripting i hate shell scripting
23:22
<
mcrod >
it's about to work
23:27
rnicholl1 has quit [Quit: My laptop has gone to sleep.]
23:34
<
mcrod >
pog: may I hug you
23:41
rnicholl1 has joined #osdev
23:45
<
heat >
mjg, is there a downside to lock handoff?
23:46
rnicholl1 has quit [Client Quit]
23:48
rnicholl1 has joined #osdev