Re: [Qemu-devel] MIPS little endian - Bug when decoding physaddr

2017-06-23 Thread Vinicius Maciel
2017-06-23 17:21 GMT-03:00 Philippe Mathieu-Daudé : > Hi Vinicius, > > Looking at the RT5350 datasheet: > http://www.mouser.com/ds/2/813/RT5350-1022839.pdf > > pp.19> > 3.2 Memory Map Summary > 1000. - 1000.00FF 256 MbpsSYSCTL > 1011. - 1011.7FFF 32 KbpsEthernet switch > > pp.22>

Re: [Qemu-devel] MIPS little endian - Bug when decoding physaddr

2017-06-23 Thread Vinicius Maciel
nv=0x566e4a78, addr=2952790112, < oi=32, retaddr=140737129226144) at /home/vini/projs/emuladores/qemu-routers/softmmu_template.h:141 #3 0x7fffea982108 in code_gen_buffer () Thanks. 2017-05-13 19:10 GMT-03:00 Vinicius Maciel : > Hi Philippe and Aurelien, > > You are ri

Re: [Qemu-devel] MIPS little endian - Bug when decoding physaddr

2017-05-13 Thread Vinicius Maciel
; > On 2017-05-12 19:52, Vinicius Maciel wrote: >> >>> Hi all, >>> >>> I'm trying to emulate a MIPS 74Kc using a custom machine in order to run >>> a >>> CFE bootloader from broadcom. The CPU is Broadcom BCM5357. The problem >>> >&g

[Qemu-devel] MIPS little endian - Bug when decoding physaddr

2017-05-13 Thread Vinicius Maciel
Hi all, I'm trying to emulate a MIPS 74Kc using a custom machine in order to run a CFE bootloader from broadcom. The CPU is Broadcom BCM5357. The problem happens when Qemu calculates physaddr inside io_readx(), cputlb.c:line 784 physaddr = (physaddr & TARGET_PAGE_MASK) + addr; After run this lin