Thursday, 2023-01-26

lkclthat works :)00:17
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC01:04
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc01:37
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC02:05
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc02:39
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC02:57
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc03:18
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC04:35
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc05:03
*** tplaten <tplaten!~isengaara@d536cb2d.access.ecotel.net> has joined #libre-soc05:40
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC06:24
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc06:25
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC06:30
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC06:46
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc06:48
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc07:49
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC07:54
*** octavius <octavius!~octavius@92.40.168.63.threembb.co.uk> has joined #libre-soc10:08
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc10:15
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC10:22
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc10:52
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC11:24
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc12:28
*** octavius <octavius!~octavius@92.40.168.63.threembb.co.uk> has quit IRC12:56
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC13:30
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc13:58
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC14:13
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has joined #libre-soc14:13
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has quit IRC14:50
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has joined #libre-soc14:50
*** bagiyal[m] <bagiyal[m]!~bagiyalma@2001:470:69fc:105::2:d9ad> has quit IRC16:00
*** tplaten <tplaten!~isengaara@d536cb2d.access.ecotel.net> has quit IRC19:29
*** octavius <octavius!~octavius@92.40.168.55.threembb.co.uk> has joined #libre-soc19:51
octaviusJust to make sure I'm not being dumb here, this error is indicating that I don't have enough memory for this Microwatt binary, right?19:52
octaviuspowerpc64le-linux-gnu-ld -T powerpc.lds -o hello_world2.elf hello_world2.o head.o console.o memory_mw.o sha256.o19:52
octaviuspowerpc64le-linux-gnu-ld: section .data.init_msg LMA [0000000000001800,000000000000181d] overlaps section .text.sha256_final LMA [00000000000017b0,0000000000001927]19:52
octaviusmake: *** [Makefile:31: hello_world2.elf] Error 119:52
programmerjakeseems like a reasonable guess, though note that it's microwatt cpu's accessible memory, not your host computer's memory19:56
octaviusYeah, I thought so. Currently looking through the microwatt/ls2 files to see where the amount of memory can be increased19:58
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has quit IRC19:58
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has joined #libre-soc19:59
programmerjakeidk if it's different when building to use with libre-soc, but when I built microwatt for my 3d maze game, it was a Makefile variable20:00
octaviusYeah, I found the variable for the HDL.20:01
programmerjakeI used make ... MEMORY_SIZE=$((1<<18))20:01
octaviusThanks20:01
programmerjakethough 1 << 18 may be too big for you20:02
octaviusIn this case, I'm looking at where the parameter for the binary compilation is. Found the file powerpc.lds20:02
octavius_start = .;20:02
octavius. = 0;20:02
octavius.head : {20:02
octaviusKEEP(*(.head))20:02
octavius }20:02
octavius. = 0x1000;20:02
octavius.text : { *(.text) }20:02
octavius. = 0x1800;20:02
octavius.data : { *(.data) }20:02
octavius.bss : { *(.bss) }20:02
octaviusIt complained about the .text and .data overlapping20:03
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has quit IRC20:03
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc20:03
programmerjakeah, yeah, if you increase the memory size, you can have the .data start later20:03
octaviusThanks!20:04
programmerjakee.g. if the memory size is 1<<15 (32kiB) then .data can start at 0x4000 -- halfway through the ram20:05
octaviusI moved from 0x1800 to 0x2800, that seemed to be enough, generating bitstream now20:09
programmerjakeyou may also have to adjust STACK_TOP in head.S, assuming it's like the code i used20:13
octaviusThe only change I made was to powerpc.lds file, and didn't rebuild the HDL, so hopefully this is good enough for now20:15
octaviusBut yeah, will need to do more20:15
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC20:45
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc20:46
programmerjakefound something interesting: https://forgejo.org/2022-12-15-hello-forgejo/20:46
programmerjakea soft fork of gitea developed using only free/open software20:46
programmerjakethey're working on adding federation too20:47
programmerjakehttps://codeberg.org/forgejo/forgejo/issues/5920:48
programmerjakefederation funded by nlnet https://nlnet.nl/project/Gitea/20:49
*** octavius <octavius!~octavius@92.40.168.55.threembb.co.uk> has quit IRC21:09
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC21:31
*** josuah_ is now known as josuah21:38
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC21:49
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc21:53
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC23:13
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc23:35

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!