<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <blockquote cite="mid:4FF18508.9050307@cnx-software.com" type="cite">
      <blockquote
cite="mid:CAFjve-BjB2e7AamyhJgsrJ7T_eRD3Ldwgnkn6enuXAsY8LNbJA@mail.gmail.com"
        type="cite">
        <div class="gmail_quote">
          <div>Hi, i have created a page about mali x11 driver</div>
          <div><a moz-do-not-send="true"
href="http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/Compile_X11_driver_for_A10/">http://rhombus-tech.net/allwinner_a10/hacking_the_mele_a1000/Compile_X11_driver_for_A10/</a></div>
          <div>According to the document from ARM, the fb driver should
            be modified. I have done everything</div>
          <div>the documents write, and X runs with no obvious error,
            but the mali doesn't run. I have no idea</div>
          <div>what's wrong.</div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            _______________________________________________<br>
            arm-netbook mailing list <a moz-do-not-send="true"
              href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a><br>
            <a moz-do-not-send="true"
              href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook"
              target="_blank">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a><br>
            Send large attachments to <a moz-do-not-send="true"
              href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
      </blockquote>
      <br>
      <span class="moz-txt-link-freetext">I've tried the instructions at
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://rhombus-tech.net/allwinner_a10/Compile_X11_driver_for_A10/">http://rhombus-tech.net/allwinner_a10/Compile_X11_driver_for_A10/</a>,
        but all I get is a blank screen<br>
        I'm using VGA output, and Xorg.log stops when loading the mali
        module:<br>
        [&nbsp;&nbsp;&nbsp; 23.878] (II) LoadModule: "mali"<br>
        [&nbsp;&nbsp;&nbsp; 23.879] (II) Loading
        /usr/lib/xorg/modules/drivers/mali_drv.so<br>
        <br>
        I'm using the default kernel in github and all modules are
        loaded:<br>
        lsmod<br>
        Module&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp; Used by<br>
        8192cu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 508465&nbsp; 0<br>
        mali_drm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1954&nbsp; 0<br>
        drm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 176728&nbsp; 1 mali_drm<br>
        mali&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 130896&nbsp; 0<br>
        hdmi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15237&nbsp; 0<br>
        lcd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2706&nbsp; 0<br>
        disp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 219086&nbsp; 2 hdmi,lcd<br>
        ump&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 42542&nbsp; 2 mali,disp<br>
        <br>
        I use /etc/module as follows:<br>
        lcd<br>
        hdmi<br>
        ump<br>
        disp<br>
        fb<br>
        mali<br>
        mali_drm<br>
        8192cu<br>
        <br>
        So the order seems fine, except I don't have an fb.ko modules
        because it is built-in the kernel.<br>
        <br>
        I'm using Linaro 12.06 ALIP rootfs (armhf), so I'm not so sure
        what is causing, and looking for advice before I dig into
        mali_drv code.<br>
        There are 2</span> r2p4 versions: r2p4-02rel1-02rel1<span
        class="moz-txt-link-freetext"> (the one I use) and</span>
      r2p4-02rel0 so I'm not sure I use the right one.<br>
    </blockquote>
    <br>
    OK, I'll reply to myself as I found some answers in
    <a class="moz-txt-link-freetext" href="https://github.com/amery/linux-allwinner/issues/19">https://github.com/amery/linux-allwinner/issues/19</a><br>
    The right version is r2p4-02rel1-02rel1<span
      class="moz-txt-link-freetext">.<br>
      The patch <a class="moz-txt-link-freetext" href="https://dl.dropbox.com/u/65312725/sun4i_fb_ump.patch">https://dl.dropbox.com/u/65312725/sun4i_fb_ump.patch</a> has
      not been applied to </span>allwinner-v3.0-android-v2 as indicated
    in the wiki so it still needs to be applied, unless I need to use
    another branch.(I can't find wip/allwinner-v3.0-android-v2/mali
    branch)<br>
    <br>
  </body>
</html>