Support and General Use > Hardware
Xduoo x3
wodz:
--- Quote from: pm215 on August 20, 2018, 03:11:26 PM ---Thanks. (I have a fair amount of experience with writing QEMU device/SoC emulation; I agree it's not a small task, but if you can live with not having complete coverage of functionality it's not too insurmountable. My prototype can currently boot SPL1 up to the point where it wants to load SPL2 off the NAND, which isn't bad for a couple of days' work. The datasheets are pretty good too as SoC datasheets go, though I haven't been able to find a spec for the JZ4760B-only extensions that aren't in the 4760.)
--- End quote ---
Would you mind publishing jz4760 qemu sources somewhere so I can have a look?
speachy:
--- Quote from: pizza on August 20, 2018, 11:02:35 AM ---I just managed to snag a second-hand unit via eBay for half the price of a new unit. Should be delivered before the end of the week.
--- End quote ---
It arrived. I dropped in the last xvortex build to prove everything worked. Tonight (or more likely, sometime over the weekend) I'll be able to start prodding.
speachy:
--- Quote from: pizza on August 23, 2018, 06:05:13 AM ---It arrived. I dropped in the last xvortex build to prove everything worked. Tonight (or more likely, sometime over the weekend) I'll be able to start prodding.
--- End quote ---
During my lunch break, recreated the original panic with current rockbox master. Just as a sanity check, I recompiled the pristine vortex sources, and that also blew up:
*PANIC*
TLB refill handler
at 0x800712A4!
[0x4]
This was with the GCC 4.9 toolchain from master, not the ancient GCC 4.1.2 that vortex was using. Still need to rebuild that older toolchain to make sure the original sources are indeed complete/functional.
wodz:
Newer compiler exposes bug in mips threading code. Thats why vortex's sources compiled with 4.9 crash. I fixed this bug in rockbox but I am almost sure something during agptek merge broke it again.
pm215:
--- Quote from: wodz on August 21, 2018, 02:38:36 AM ---Would you mind publishing jz4760 qemu sources somewhere so I can have a look?
--- End quote ---
https://github.com/pm215/qemu.git xduoo (watch out, that branch will rebase in future).
That has enough to be able to get through SPL1 and into where SPL2 tries to talk to the SD card. There's some sd-controller code in there but it's half-finished. README.XDUOO gives a command line and how to sort out the various data files it wants.
If anybody knows the relation between the "rockbox.bin" bootloader file in the xvtx.ru installer and what actually ends up on the NAND that would be interesting. (I think "nprog" must be doing some equivalent of relocating segments of the .bin file into different parts of the first NAND partition.)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version