Rockbox Development > New Ports
SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
FlynDice:
I believe I've gotten rockbox to boot with the mmu functioning on my e280v2 but have no test to actually prove it. I updated the mmu patch at http://www.rockbox.org/tracker/task/10048 and kugel did a little housekeeping for me(thanks). I tracked the problem down to a conflict between cached memory and dma transfers. Then I looked at the gigabeat fx and saw they were doing a range invalidate on the dcache there so I tried it and lo and behold it works, well sort of. Playback is broken for me but the ui runs very snappily. I think there's still a lot of fixing here but I think this points in the right direction. Someone who understand things better than I do should take a look and see what they think. I have just made the 2 1MB sections at 0x00000000 and 0x30000000 writeback cacheable to mimic the OF. Also the code is all available from mmu-arm.S. I got it to work with those functions and added some bus control functions from the OF to that file. Check it out and see what you think, I know kugel at least is not convinced it's actually working.
kugel.:
Codecs are worse than before, from what I've noticed.
I think a good way to test the mmu would be to map the IRAM behind RAM, so 0x38000000 or so (edit *.lds accordingly), if that turns out working, then it must be running.
FlynDice:
I'm already in so far over my head my ears are starting to hurt but here goes nuthin...
Where's the 8 MB of ram documented if anywhere? Was that just figured out along the way somewhere? I see the 320 K TRAM I'm assuming is IRAM and the ROM for the bootloader. I know from looking at the code that the 8 MB(or 2MB I guess for lowmem) of ram is there and its at 0x30000000. And then we have the internal SD and the microsd. Are the 2 sd cards accessed through the mpmc is that what's going on? I've been scanning the memory map at the end of the datasheet trying to make all this fit together in my head before diving into the virtual address and physical address mapping party. Do I have this all right so far.
Please help correct my misconceptions before I waste a lot of time on this.
funman:
The 8MB of RAM are "documented" in the OF SDRAM initialisation (setting of MPMC_DYNAMIC_CONFIG_0)
320kB TRAM is what we call IRAM, but not the bootloader ROM! The ROM is 128 kB at 0x80000000.
The 2 SD cards are accessed via the MMC/SD controller ARM PrimeCell PL180, nothing to do with MPMC !
PL180 controller for internal SD is at 0xC8000000
PL180 controller for SD Slot is at 0xC8020000
Hope that helps !
kugel.:
Very little progress. It builds and runs the bootloader, but most/some buttons and display don't work. Thus, the main build doesn't really work too.
If you intend to help development (e.g. by doing actual coding or original firmware disassemling, or donating a player), then we welcome you. But if you don't please do not ask for status in this thread.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version