lekernel changed the topic of #milkymist to: Mixxeo, Migen, Milkymist-ng & other Milkymist projects :: Logs: http://en.qi-hardware.com/mmlogs
gric has quit [*.net *.split]
bentley` has quit [*.net *.split]
gric has joined #milkymist
antgreen has quit [Ping timeout: 248 seconds]
antgreen has joined #milkymist
antgreen has quit [Ping timeout: 265 seconds]
mumptai has joined #milkymist
<ysionneau>
mwalle: I need to confirme this but, I think I have an issue with the kernel loading in qemu
<ysionneau>
don't know if it's my ELF's fault or qemu's fault
mumptai has quit [Ping timeout: 245 seconds]
<ysionneau>
I have a symbol (in .data I think) named v_putc which is a function pointer, if I objdump -D the ELF binary I can see it is initialized with a value (which is the putc() of the milkymist uart driver)
<ysionneau>
but if I x/1x v_putc I get 0x00000000
<ysionneau>
in gdb
<ysionneau>
at startup
<ysionneau>
well, on the symbol name it's normal I get all 0 because I would be reading at the virtual address then
<ysionneau>
but if I translate and read the 0x40****** address I get all 0 as well
<ysionneau>
anyway, I won't have the time to work on this until sunday
bhamilton has joined #milkymist
bhamilton has left #milkymist [#milkymist]
bhamilton has joined #milkymist
bhamilton has left #milkymist [#milkymist]
<mwalle>
ysionneau: (1) please send me the binary. (2) was it working with your hacked qemu and the objcopy -Obinary method?
<ysionneau>
(1) I will try to send it this afternoon but not sure, maybe on sunday :/
<ysionneau>
(2) yes it was working, it was sending characters to the uart
<ysionneau>
I did not specifically print the v_putc value however
<ysionneau>
since it was working I did not try to "debug" it
bhamilton has joined #milkymist
bhamilton has left #milkymist [#milkymist]
antgreen has joined #milkymist
antgreen has quit [Ping timeout: 248 seconds]
bhamilton has joined #milkymist
bhamilton has left #milkymist [#milkymist]
jevin has quit [Ping timeout: 240 seconds]
jevin has joined #milkymist
jevin has quit [Max SendQ exceeded]
jevin has joined #milkymist
antgreen has joined #milkymist
bhamilton has joined #milkymist
bhamilton has left #milkymist [#milkymist]
kilae has joined #milkymist
jevin has quit [Ping timeout: 248 seconds]
jevin has joined #milkymist
jevin has quit [Ping timeout: 272 seconds]
jevin has joined #milkymist
<ysionneau>
mwalle: qemu is fine =) (you would have bet I guess)
<ysionneau>
it's my ELF virtual memory which is wrong
<ysionneau>
hum my linker script is wrong in the email
<ysionneau>
but fixing it does not change the ELF layout
<ysionneau>
I imagine that the linker does that to align different sections with different permissions on a 4kB page boundary
<ysionneau>
but it's a pain for the early *tlb miss handlers
<ysionneau>
which are just doing TLBPADDR = virt_to_phy(TLBPADDR);
<ysionneau>
virt_to_phy() is now a pain to implement
<ysionneau>
for itlb miss it's OK though
<ysionneau>
*bbl*
kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]]