Hi List,

just compiled a 2.6.14 on my pismo, and had to change the kernel sources to allow the ati m3mirror tool to work.

i did so successfully with my last three kernels using the following instructions:

        --- prom_init.c.orig    2004-09-07 11:31:26.534522288 +0200
        +++ prom_init.c 2004-09-07 11:32:20.460324320 +0200
        @@ -401,7 +401,7 @@
                               break;
               }

        -       for (j=0; j<prom_num_displays; j++) {
        +       for (j=0; j<1; j++) {
                       path = prom_display_paths[j];
                       prom_print("opening display ");
                       prom_print(path);

But since 2.6.14 i have in in prom_init.c at line 401:

         if (ih == 0 || ih == (ihandle) -1) {
                                prom_print("... failed\n");
                                for (i=j+1; i<prom_num_displays; i++) {
prom_display_paths[i-1] = prom_display_paths[i]; prom_display_nodes[i-1] = prom_display_nodes[i];
                                }


Did change the line
        "for (i=j+1; i<prom_num_displays; i++) {"
into
        "for (i=j+1; i<1; i++) {"

but m3mirror does just give me the OpenFirmware splash screen:
        ...ok
        copying OF device tree...done
        Calling quiesce...
        returning 0x01400000 from prom_init


Can anyone point me into a direction how to start fixing this?

thanks very much!!

Peter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to