lekernel changed the topic of #milkymist to: Mixxeo, Migen, Milkymist-ng & other Milkymist projects :: Logs: http://en.qi-hardware.com/mmlogs
<ysionneau>
in a linker script, when you declare memory regions with the "MEMORY" keyword, the ORIGIN= parameter indicates the LMA, right?
<ysionneau>
means physical address
<ysionneau>
I've got the error : /Users/fallen/dev/NetBSD/obj/tooldir.Darwin-10.8.0-i386/bin/lm32--netbsd-ld: address 0xc00eae1c of netbsd section `.text' is not within region `sdram'
<ysionneau>
because I put : MEMORY { sdram : ORIGIN = 0x40000000, LENGTH = 0x8000000 } SECTIONS { .text 0xc0000000 : AT ( 0x40000000 ) { .... } }
<ysionneau>
err, I mean I put : MEMORY { sdram : ORIGIN = 0x40000000, LENGTH = 0x8000000 } SECTIONS { .text 0xc0000000 : AT ( 0x40000000 ) { .... } > sdram }
<ysionneau>
but the 0xc00000 next to the section name is supposed to be a VMA ... not a LMA
<ysionneau>
if I remove completely the notion of MEMORY (and the "> sdram") it almost links, it just complains about a mysterious error: no memory region specified for loadable section `link_set_bufq_strats'
<ysionneau>
which I cannot find in the entire source code (or .o files)