lkcl | that works :) | 00:17 |
---|---|---|
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 01:04 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 01:37 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 02:05 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 02:39 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 02:57 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 03:18 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 04:35 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 05:03 | |
*** tplaten <tplaten!~isengaara@d536cb2d.access.ecotel.net> has joined #libre-soc | 05:40 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 06:24 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 06:25 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 06:30 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 06:46 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 06:48 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 07:49 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 07:54 | |
*** octavius <octavius!~octavius@92.40.168.63.threembb.co.uk> has joined #libre-soc | 10:08 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 10:15 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 10:22 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 10:52 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 11:24 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 12:28 | |
*** octavius <octavius!~octavius@92.40.168.63.threembb.co.uk> has quit IRC | 12:56 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 13:30 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 13:58 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 14:13 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has joined #libre-soc | 14:13 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has quit IRC | 14:50 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has joined #libre-soc | 14:50 | |
*** bagiyal[m] <bagiyal[m]!~bagiyalma@2001:470:69fc:105::2:d9ad> has quit IRC | 16:00 | |
*** tplaten <tplaten!~isengaara@d536cb2d.access.ecotel.net> has quit IRC | 19:29 | |
*** octavius <octavius!~octavius@92.40.168.55.threembb.co.uk> has joined #libre-soc | 19:51 | |
octavius | Just 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 |
octavius | powerpc64le-linux-gnu-ld -T powerpc.lds -o hello_world2.elf hello_world2.o head.o console.o memory_mw.o sha256.o | 19:52 |
octavius | powerpc64le-linux-gnu-ld: section .data.init_msg LMA [0000000000001800,000000000000181d] overlaps section .text.sha256_final LMA [00000000000017b0,0000000000001927] | 19:52 |
octavius | make: *** [Makefile:31: hello_world2.elf] Error 1 | 19:52 |
programmerjake | seems like a reasonable guess, though note that it's microwatt cpu's accessible memory, not your host computer's memory | 19:56 |
octavius | Yeah, I thought so. Currently looking through the microwatt/ls2 files to see where the amount of memory can be increased | 19:58 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has quit IRC | 19:58 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has joined #libre-soc | 19:59 | |
programmerjake | idk 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 variable | 20:00 |
octavius | Yeah, I found the variable for the HDL. | 20:01 |
programmerjake | I used make ... MEMORY_SIZE=$((1<<18)) | 20:01 |
octavius | Thanks | 20:01 |
programmerjake | though 1 << 18 may be too big for you | 20:02 |
octavius | In this case, I'm looking at where the parameter for the binary compilation is. Found the file powerpc.lds | 20:02 |
octavius | _start = .; | 20:02 |
octavius | . = 0; | 20:02 |
octavius | .head : { | 20:02 |
octavius | KEEP(*(.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 |
octavius | It complained about the .text and .data overlapping | 20:03 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.36> has quit IRC | 20:03 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 20:03 | |
programmerjake | ah, yeah, if you increase the memory size, you can have the .data start later | 20:03 |
octavius | Thanks! | 20:04 |
programmerjake | e.g. if the memory size is 1<<15 (32kiB) then .data can start at 0x4000 -- halfway through the ram | 20:05 |
octavius | I moved from 0x1800 to 0x2800, that seemed to be enough, generating bitstream now | 20:09 |
programmerjake | you may also have to adjust STACK_TOP in head.S, assuming it's like the code i used | 20:13 |
octavius | The only change I made was to powerpc.lds file, and didn't rebuild the HDL, so hopefully this is good enough for now | 20:15 |
octavius | But yeah, will need to do more | 20:15 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 20:45 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 20:46 | |
programmerjake | found something interesting: https://forgejo.org/2022-12-15-hello-forgejo/ | 20:46 |
programmerjake | a soft fork of gitea developed using only free/open software | 20:46 |
programmerjake | they're working on adding federation too | 20:47 |
programmerjake | https://codeberg.org/forgejo/forgejo/issues/59 | 20:48 |
programmerjake | federation funded by nlnet https://nlnet.nl/project/Gitea/ | 20:49 |
*** octavius <octavius!~octavius@92.40.168.55.threembb.co.uk> has quit IRC | 21:09 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 21:31 | |
*** josuah_ is now known as josuah | 21:38 | |
*** ghostmansd <ghostmansd!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 21:49 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 21:53 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has quit IRC | 23:13 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-109-173-83-100.ip.moscow.rt.ru> has joined #libre-soc | 23:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!