From: Geert U. <ge...@li...> - 2000-09-18 16:05:54
|
On Sun, 17 Sep 2000, F. Heitkamp wrote: > On Sun, Sep 17, 2000 at 08:01:03PM +0200, Geert Uytterhoeven wrote: > > On Sun, 17 Sep 2000, Michel [iso-8859-1] Dänzer wrote: > > > "F. Heitkamp" schrieb: > > > > CACHE TEST FAILED: host wrote 5, ncr read 0. > > > > CACHE TEST FAILED: ncr wrote 7, host read 5. > > > > CACHE INCORRECTLY CONFIGURED. > > > > > > This looks like the CPU only writes to and reads from cache. Maybe you should > > > map the memory as uncacheable? > > > > Or you wrote to a different place than the NCR expects, so the result in > > memory wasn't modified. > > It is beyond me how the structure is aligned in memory. > I wish I could draw a nice picture of where things should > be but I don't know enough about the memory layout of > the Amiga or Linux. > > Yes. It apears that the scratcha register which had a > non zero value in it, had a zero written to it, however > the value the was in the ncr_cache variable was unchanged. > So the script did not access the proper location. Here is > the script section: Is it possible cpu_to_scr(), scr_to_cpu(), ncr_offb() and ncr_offw() are wrong? Perhaps it would help if you could find a script created by the AmigaOS driver? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |