Rockbox Technical Forums

Trash => Archived Threads => Official Test Builds => Topic started by: dreamlayers on February 04, 2012, 01:05:34 PM

Title: PP502x cache bug and ATA DMA test build
Post by: dreamlayers on February 04, 2012, 01:05:34 PM
I created a test build for PP502x based devices. You can download it from:
http://dl.dropbox.com/u/16662598/Rockbox/pp502x_cache_test/index.html

Using it, you can help answer the following questions:

1) Which PP502x chips are affected by the FS#12391 cache bug (http://www.rockbox.org/tracker/task/12391)? Load
/pp502x_cache_test/unaltered.ipod or /pp502x_cache_test/unaltered.mi4,
run /pp502x_cache_test/pp502x_cache_test.rock and see if it reports
mismatches. If the bug is present, you should see mismatches within a
few minutes. You can find your CPU type in System -> Debug (Keep Out!)
-> View HW info.

2) If the bug is present, is the workaround reliable? Boot normally or
load /.rockbox/rockbox.ipod or /.rockbox/rockbox.mi4, and run
/pp502x_cache_test/pp502x_cache_test.rock. You shouldn't ever see
any mismatches. Run the test for a substantially longer time than what
was needed to see mismatches.

3) If the workaround is reliable, is PP502x ATA DMA stable? Use Rockbox
normally. Make sure you test database creation and functionality. You
can confirm that DMA is being used in System ->
Debug (Keep Out!) -> View disk info. If you have any problems with DMA,
please report what storage device you're using: is it the original, a different
replacement or a CF mod?

More information is available in /pp502x_cache_test/README.txt. If using
a sansac200, sansae200, gogearsa9200, gogearhdd6330 or ipodnano1g, read
the exceptions section there.
Title: Re: PP502x cache bug and ATA DMA test build
Post by: bipton on February 14, 2012, 09:32:25 AM
CPU: PP5022c
Drive: Toshiba MK2431GAH

Unmodified build with cache test resulted in a crash before 1 pass.
DMA enabled build ran through 60+ passes before I rebooted to listen to music the rest of the day.
Title: Re: PP502x cache bug and ATA DMA test build
Post by: Nanouser on March 26, 2012, 12:24:34 PM
Hi,

i'm using a Nano 1.gen and i'm getting an error with an without dma.
Title: Re: PP502x cache bug and ATA DMA test build
Post by: dreamlayers on April 19, 2012, 07:45:38 PM
Hi,

i'm using a Nano 1.gen and i'm getting an error with an without dma.

What do you mean? Are you seeing mismatches in the cache test or is there another error?

Sorry about the delay in responding.
Title: Re: PP502x cache bug and ATA DMA test build
Post by: jaylee on April 22, 2012, 04:50:51 AM
tested on SA9200
CPU: PP5022c

Unmodified build:  it reports mismatches.
workaround: no mismatch seen
Title: Re: PP502x cache bug and ATA DMA test build
Post by: b0hoon on April 22, 2012, 08:26:37 AM
I know that you have these tests already, but to the set:

GOGEAR HDD6320/00 --> PP5022B, Disk: (original) Toshiba MK3006GAL
------------------
1) about 70 mismatches on unaltered.mi4,
2) no mismatches on rockbox.mi4 so workaround works,
3) dma.mi4 hangs Rockbox on the logo, but it is known and target specific.

Packard Bell Vibe 500  --> PP5020D, Disk: (not original) Toshiba MK2008GAL, mode: UDMA 2
------------------
1) about 30 mismatches on unaltered.mi4,
2) no mismatches on rockbox.mi4 so workaround works,
3) works ok for me, building database and using it without surprises, playback and everything works. Everything looks stable.

Ipod 5.5G --> PP5022C, Disk: (not original) Toshiba MK6028GAL, mode: UDMA 2
------------------
1) about 30 mismatches on unaltered.mi4,
2) no mismatches on rockbox.mi4, workaround works,
3) works good for me, building database and using it without surprises, playback and everything works. Everything is stable.

i'm using a Nano 1.gen and i'm getting an error with an without dma.

Dma is enabled only in "dma.ipod" file, but it may have a specific problems anyway (please read README.txt -> Exceptions). Important thing to us is: what the "pp502x_cache_test.rock" is showing on "unaltered.ipod" and "rockbox.ipod" files loaded. Could you try run it again, please? Can you give us your exact version of the CPU?

I'm waiting impatient to restore this functionality. It gives me much faster transfers over usb on my PP DAPs.
Title: Re: PP502x cache bug and ATA DMA test build
Post by: Nanouser on May 29, 2012, 05:29:04 AM
Hi,

sorry for the long time without an reaction of me.

 
Ok i'm using a Nano 1st gen with:

PP5022C

running unaltered.ipod i get about 40 mismatches after only 1 pass

at 10 passes i get 328 mismatches.

With dma.ipod it show's in debug menu it's using mdma2 and i get no mismatches after 10 passes.

I hope it will help ;)