HW Acceleration Working
#66
(06-24-2016, 10:04 AM)lenny.raposo-pine64.pro Wrote: ok everything built but Mali is not cooperating

mali: Unknown symbol g_fb_addr (err 0)

waiting on feedback from tllim

I looked at /drivers/video/sunxi/disp2/disp/dev_fb.c:

Code:
static struct __fb_addr_para g_fb_addr;

Is a global static struct and hence the symbol is not known outside that object (Correct me if I'm wrong).

It basically points to where the framebuffer is in RAM after the memory allocation:

Code:
static int Fb_map_video_memory(struct fb_info *info)
{
       info->screen_base = (char __iomem *)disp_malloc(info->fix.smem_len, (u32 *)(&info->fix.smem_start));
       if (info->screen_base)  {
               __inf("Fb_map_video_memory(reserve), pa=0x%p size:0x%x\n",(void*)info->fix.smem_start, (unsigned int)info->fix.smem_len);
               memset((void* __force)info->screen_base,0x0,info->fix.smem_len);

               g_fb_addr.fb_paddr = (uintptr_t)info->fix.smem_start;
               g_fb_addr.fb_size = info->fix.smem_len;

               return 0;
       } else {
               __wrn("disp_malloc fail!\n");
               return -ENOMEM;
       }

       return 0;
}
               g_fb_addr.fb_size = info->fix.smem_len;

               return 0;
       } else {
               __wrn("disp_malloc fail!\n");
               return -ENOMEM;
       }

       return 0;
}

So I guess the mali blob wants to know where the framebuffer is. How the symbol is properly exported I dont know...
Come have a chat in the Pine IRC channel >>


Messages In This Thread
HW Acceleration Working - by Luke - 04-06-2016, 07:29 PM
RE: Help with HW Acceleration - by tllim - 04-07-2016, 11:12 AM
RE: Help with HW Acceleration - by rdPine64 - 04-13-2016, 11:22 AM
RE: Help with HW Acceleration - by longsleep - 04-14-2016, 11:00 AM
RE: Help with HW Acceleration - by rdPine64 - 04-23-2016, 01:16 PM
RE: Help with HW Acceleration - by moondark - 04-19-2016, 11:58 PM
RE: Help with HW Acceleration - by moondark - 04-20-2016, 03:23 AM
RE: Help with HW Acceleration - by moondark - 04-20-2016, 04:49 AM
RE: Help with HW Acceleration - by longsleep - 04-20-2016, 05:06 AM
RE: Help with HW Acceleration - by moondark - 04-20-2016, 05:49 AM
RE: Help with HW Acceleration - by longsleep - 04-20-2016, 01:59 PM
RE: Help with HW Acceleration - by moondark - 04-20-2016, 04:08 PM
RE: Help with HW Acceleration - by longsleep - 04-21-2016, 01:37 PM
RE: Help with HW Acceleration - by moondark - 04-22-2016, 02:10 PM
RE: Help with HW Acceleration - by Luke - 04-22-2016, 10:08 AM
RE: Help with HW Acceleration - by rahlquist - 04-22-2016, 12:26 PM
RE: Help with HW Acceleration - by sirhcjw - 04-26-2016, 07:50 AM
RE: Help with HW Acceleration - by baryluk - 04-26-2016, 02:43 PM
RE: Help with HW Acceleration - by Luke - 04-27-2016, 07:55 AM
RE: Help with HW Acceleration - by fishmech - 05-06-2016, 02:01 PM
RE: Help with HW Acceleration - by CaptainZalo - 05-31-2016, 12:57 PM
RE: Help with HW Acceleration - by tllim - 05-31-2016, 05:26 PM
RE: Help with HW Acceleration - by Luke - 05-31-2016, 05:57 PM
RE: Help with HW Acceleration - by CybeX - 06-01-2016, 08:47 AM
RE: Help with HW Acceleration - by Metalazzo - 06-06-2016, 10:16 AM
RE: Help with HW Acceleration - by tllim - 06-06-2016, 06:31 PM
RE: Help with HW Acceleration - by CybeX - 06-10-2016, 12:08 PM
RE: Help with HW Acceleration - by CaptainZalo - 06-13-2016, 12:50 PM
RE: Help with HW Acceleration - by tllim - 06-14-2016, 11:45 AM
RE: Help with HW Acceleration - by pietrondo - 06-06-2016, 05:51 PM
RE: Help with HW Acceleration - by Metalazzo - 06-07-2016, 03:22 AM
RE: Help with HW Acceleration - by BringItOn - 06-11-2016, 04:28 AM
RE: Help with HW Acceleration - by fneves - 06-14-2016, 04:55 AM
RE: Help with HW Acceleration - by pietrondo - 06-14-2016, 09:32 AM
RE: Help with HW Acceleration - by Luke - 06-14-2016, 12:22 PM
RE: Help with HW Acceleration - by CaptainZalo - 06-16-2016, 11:41 AM
RE: Help with HW Acceleration - by tllim - 06-16-2016, 12:30 PM
RE: Help with HW Acceleration - by tllim - 06-17-2016, 10:31 AM
RE: Help with HW Acceleration - by ViperVi - 06-17-2016, 11:40 AM
RE: Help with HW Acceleration - by tllim - 06-17-2016, 05:08 PM
RE: Help with HW Acceleration - by ViperVi - 06-17-2016, 06:37 PM
RE: Help with HW Acceleration - by Ghost - 06-20-2016, 04:00 AM
RE: Help with HW Acceleration - by CaptainZalo - 06-20-2016, 11:05 PM
RE: Help with HW Acceleration - by tllim - 06-21-2016, 03:54 PM
RE: Help with HW Acceleration - by tllim - 06-23-2016, 07:50 AM
RE: Help with HW Acceleration - by jl_678 - 06-23-2016, 07:58 AM
RE: Help with HW Acceleration - by Luke - 06-23-2016, 08:57 AM
RE: Help with HW Acceleration - by jl_678 - 06-23-2016, 01:23 PM
RE: Help with HW Acceleration - by Monochrome - 06-23-2016, 01:49 PM
RE: Help with HW Acceleration - by extr - 06-23-2016, 02:13 PM
RE: Help with HW Acceleration - by xalius - 06-23-2016, 02:56 PM
RE: Help with HW Acceleration - by ssvb - 06-23-2016, 03:03 PM
RE: Help with HW Acceleration - by barawn - 07-02-2016, 10:33 AM
RE: Help with HW Acceleration - by xalius - 06-24-2016, 11:45 AM
RE: Help with HW Acceleration - by Sak3r - 06-24-2016, 10:54 AM
RE: Help with HW Acceleration - by ssvb - 06-24-2016, 11:58 AM
RE: Help with HW Acceleration - by Xabaras76 - 06-24-2016, 04:48 PM
RE: Help with HW Acceleration - by ssvb - 06-25-2016, 02:58 PM
RE: Help with HW Acceleration - by longsleep - 06-25-2016, 03:40 PM
RE: Help with HW Acceleration - by tllim - 06-26-2016, 06:57 PM
RE: Help with HW Acceleration - by nagmier - 06-27-2016, 09:25 AM
RE: Help with HW Acceleration - by ssvb - 06-25-2016, 05:30 PM
RE: Help with HW Acceleration - by jrullan - 06-25-2016, 07:09 PM
RE: Help with HW Acceleration - by CaptainZalo - 06-27-2016, 03:13 PM
RE: Help with HW Acceleration - by nagmier - 06-28-2016, 05:50 AM
RE: Help with HW Acceleration - by CaptainZalo - 06-28-2016, 07:21 AM
RE: Help with HW Acceleration - by CaptainZalo - 07-01-2016, 02:24 AM
RE: Help with HW Acceleration - by tllim - 07-02-2016, 09:50 PM
RE: Help with HW Acceleration - by nagmier - 07-14-2016, 06:59 PM
RE: Help with HW Acceleration - by tllim - 07-16-2016, 07:35 PM
RE: Help with HW Acceleration - by nagmier - 07-17-2016, 07:41 AM
RE: Help with HW Acceleration - by longsleep - 07-03-2016, 09:19 AM
RE: Help with HW Acceleration - by longsleep - 07-06-2016, 11:09 PM
RE: Help with HW Acceleration - by janeku - 07-06-2016, 03:42 PM
RE: Help with HW Acceleration - by janeku - 07-07-2016, 09:19 AM
RE: Help with HW Acceleration - by longsleep - 07-07-2016, 10:17 AM
RE: Help with HW Acceleration - by Bart333 - 07-11-2016, 10:41 AM
RE: Help with HW Acceleration - by Luke - 07-11-2016, 10:59 AM
RE: Help with HW Acceleration - by jrullan - 07-11-2016, 08:42 PM
RE: Help with HW Acceleration - by CaptainZalo - 07-16-2016, 06:44 AM
RE: Help with HW Acceleration - by Boring - 07-17-2016, 03:42 AM
RE: Help with HW Acceleration - by adamw - 07-19-2016, 08:06 PM
RE: Help with HW Acceleration - by CaptainZalo - 07-20-2016, 03:49 AM
RE: Help with HW Acceleration - by vinodmenon80 - 07-20-2016, 04:04 AM
RE: Help with HW Acceleration - by nugu53 - 07-27-2016, 01:54 AM
RE: Help with HW Acceleration - by Monochrome - 07-29-2016, 10:18 AM
RE: Help with HW Acceleration - by adamw - 07-29-2016, 10:29 AM
RE: Help with HW Acceleration - by jl_678 - 07-29-2016, 11:17 AM
RE: Help with HW Acceleration - by jrullan - 07-29-2016, 04:16 PM
RE: Help with HW Acceleration - by jkmooney - 07-29-2016, 02:40 PM
RE: Help with HW Acceleration - by fire219 - 07-29-2016, 09:18 PM
RE: Help with HW Acceleration - by nagmier - 07-30-2016, 10:27 AM
RE: Help with HW Acceleration - by tllim - 07-30-2016, 06:23 PM
HW Acceleration Working - by Monochrome - 07-30-2016, 01:03 AM
RE: HW Acceleration Working - by Er0l - 07-30-2016, 01:27 AM
RE: HW Acceleration Working - by DefinitelyNotLA - 07-30-2016, 02:20 AM
RE: HW Acceleration Working - by ssvb - 07-30-2016, 02:41 AM
RE: HW Acceleration Working - by Luke - 07-30-2016, 07:15 AM
RE: HW Acceleration Working - by longsleep - 07-30-2016, 07:33 AM
RE: HW Acceleration Working - by Xabaras76 - 07-30-2016, 09:20 AM
RE: HW Acceleration Working - by Zoidiano0 - 07-30-2016, 09:55 AM
RE: HW Acceleration Working - by Vidiot - 07-30-2016, 02:50 PM
RE: HW Acceleration Working - by Terra854 - 07-30-2016, 11:28 PM
RE: HW Acceleration Working - by Monochrome - 07-31-2016, 03:54 AM
RE: HW Acceleration Working - by longsleep - 07-31-2016, 01:54 PM
RE: HW Acceleration Working - by Monochrome - 07-31-2016, 02:13 PM
RE: HW Acceleration Working - by longsleep - 07-31-2016, 02:17 PM
RE: HW Acceleration Working - by Monochrome - 07-31-2016, 02:18 PM
RE: HW Acceleration Working - by longsleep - 07-31-2016, 02:19 PM
HW Acceleration Working - by Monochrome - 07-31-2016, 02:41 PM
RE: HW Acceleration Working - by longsleep - 07-31-2016, 03:43 PM
RE: HW Acceleration Working - by xalius - 07-31-2016, 03:57 PM
HW Acceleration Working - by Monochrome - 07-31-2016, 10:35 PM
RE: HW Acceleration Working - by Monochrome - 08-01-2016, 09:53 AM
RE: HW Acceleration Working - by longsleep - 08-01-2016, 10:29 AM
RE: HW Acceleration Working - by xalius - 08-01-2016, 11:40 AM
RE: HW Acceleration Working - by Monochrome - 08-01-2016, 11:54 AM
RE: HW Acceleration Working - by longsleep - 08-01-2016, 12:46 PM
RE: HW Acceleration Working - by Monochrome - 08-01-2016, 01:21 PM
RE: HW Acceleration Working - by longsleep - 08-01-2016, 03:06 PM
RE: HW Acceleration Working - by Monochrome - 08-02-2016, 01:46 PM
RE: HW Acceleration Working - by rallar8 - 08-02-2016, 12:07 PM
RE: HW Acceleration Working - by HorreC - 08-03-2016, 12:30 PM
RE: HW Acceleration Working - by rallar8 - 08-03-2016, 03:26 PM
RE: HW Acceleration Working - by HorreC - 08-03-2016, 04:06 PM
RE: HW Acceleration Working - by kflorek46 - 08-03-2016, 11:25 PM
RE: HW Acceleration Working - by HorreC - 08-04-2016, 09:53 AM
RE: HW Acceleration Working - by jodybrown99 - 08-04-2016, 02:19 PM
RE: HW Acceleration Working - by piner64 - 08-08-2016, 02:04 AM
RE: HW Acceleration Working - by Monochrome - 08-08-2016, 04:05 AM
RE: HW Acceleration Working - by shadowheart - 08-11-2016, 04:52 AM
RE: HW Acceleration Working - by Monochrome - 08-11-2016, 06:38 AM
RE: HW Acceleration Working - by xalius - 08-11-2016, 06:50 AM
RE: HW Acceleration Working - by dkryder - 08-12-2016, 02:43 AM
RE: HW Acceleration Working - by xalius - 08-12-2016, 02:48 AM
RE: HW Acceleration Working - by dkryder - 08-12-2016, 03:22 AM
RE: HW Acceleration Working - by jrullan - 08-17-2016, 06:32 PM
RE: HW Acceleration Working - by protonic - 08-19-2016, 05:23 AM
RE: HW Acceleration Working - by rcgalvao - 08-23-2016, 06:59 PM
RE: HW Acceleration Working - by pietrondo - 08-25-2016, 06:12 AM
RE: HW Acceleration Working - by jkmooney - 08-25-2016, 06:05 AM
RE: HW Acceleration Working - by nagmier - 08-25-2016, 12:39 PM
RE: HW Acceleration Working - by pietrondo - 08-25-2016, 02:33 PM
RE: HW Acceleration Working - by jrullan - 08-25-2016, 09:13 PM
RE: HW Acceleration Working - by nagmier - 08-25-2016, 07:06 PM
RE: HW Acceleration Working - by pfeerick - 08-25-2016, 11:29 PM
RE: HW Acceleration Working - by dkryder - 08-26-2016, 04:18 AM
RE: HW Acceleration Working - by jrullan - 08-26-2016, 07:36 AM
RE: HW Acceleration Working - by Monochrome - 08-26-2016, 09:36 AM
RE: HW Acceleration Working - by joe - 08-26-2016, 09:55 AM
RE: HW Acceleration Working - by pfeerick - 08-26-2016, 11:58 PM
RE: HW Acceleration Working - by Terra854 - 08-29-2016, 09:39 AM
RE: HW Acceleration Working - by jrullan - 08-29-2016, 09:17 PM
RE: HW Acceleration Working - by jrullan - 08-29-2016, 02:47 PM
HW Acceleration Working - by Monochrome - 08-29-2016, 03:03 PM
RE: HW Acceleration Working - by jrullan - 08-29-2016, 03:17 PM
RE: HW Acceleration Working - by CaptainZalo - 08-29-2016, 10:45 PM
RE: HW Acceleration Working - by longsleep - 08-29-2016, 11:41 PM
RE: HW Acceleration Working - by CaptainZalo - 08-30-2016, 01:37 AM
RE: HW Acceleration Working - by CaptainZalo - 08-30-2016, 02:03 AM
RE: HW Acceleration Working - by pfeerick - 08-30-2016, 02:13 AM
RE: HW Acceleration Working - by pfeerick - 08-30-2016, 02:50 AM
RE: HW Acceleration Working - by pfeerick - 08-30-2016, 03:10 AM
RE: HW Acceleration Working - by pfeerick - 08-30-2016, 03:50 AM
RE: HW Acceleration Working - by jrullan - 08-30-2016, 04:47 AM
RE: HW Acceleration Working - by jrullan - 08-30-2016, 06:20 AM
RE: HW Acceleration Working - by longsleep - 08-30-2016, 10:43 AM
RE: HW Acceleration Working - by pfeerick - 08-30-2016, 03:44 PM
RE: HW Acceleration Working - by jrullan - 08-30-2016, 12:33 PM
RE: HW Acceleration Working - by adamw - 08-30-2016, 02:53 PM
RE: HW Acceleration Working - by pietrondo - 08-30-2016, 03:14 PM
RE: HW Acceleration Working - by longsleep - 08-30-2016, 05:13 PM
RE: HW Acceleration Working - by jrullan - 08-30-2016, 06:47 PM
RE: HW Acceleration Working - by tkaiser - 08-30-2016, 11:24 PM
RE: HW Acceleration Working - by tkaiser - 08-31-2016, 03:23 AM
RE: HW Acceleration Working - by tkaiser - 08-31-2016, 07:22 AM
RE: HW Acceleration Working - by adamw - 08-31-2016, 08:54 AM
RE: HW Acceleration Working - by tkaiser - 08-31-2016, 09:14 AM
RE: HW Acceleration Working - by jrullan - 08-31-2016, 02:57 PM
RE: HW Acceleration Working - by tkaiser - 08-31-2016, 03:18 PM
RE: HW Acceleration Working - by jkmooney - 08-31-2016, 04:00 PM
RE: HW Acceleration Working - by jrullan - 08-31-2016, 04:37 PM
RE: HW Acceleration Working - by jrullan - 08-31-2016, 05:20 PM
RE: HW Acceleration Working - by ssvb - 08-31-2016, 05:54 PM
RE: HW Acceleration Working - by jrullan - 08-31-2016, 06:36 PM
RE: HW Acceleration Working - by Pander - 09-04-2016, 07:09 AM
RE: HW Acceleration Working - by Ghelorn - 09-04-2016, 03:52 PM
RE: HW Acceleration Working - by psychedup - 09-06-2016, 05:12 PM
RE: HW Acceleration Working - by Pander - 09-07-2016, 07:00 AM
RE: HW Acceleration Working - by pietrondo - 09-10-2016, 05:33 AM
RE: HW Acceleration Working - by pfeerick - 09-10-2016, 11:36 PM
RE: HW Acceleration Working - by Luke - 09-11-2016, 03:13 PM
RE: HW Acceleration Working - by Zoidiano0 - 09-10-2016, 07:08 AM
RE: HW Acceleration Working - by dkryder - 09-10-2016, 08:31 PM
RE: HW Acceleration Working - by HayseedGeek - 09-10-2016, 10:40 PM
RE: HW Acceleration Working - by FlameCRO - 09-11-2016, 08:01 AM
RE: HW Acceleration Working - by tampadave - 10-04-2016, 04:16 PM
RE: HW Acceleration Working - by pfeerick - 10-04-2016, 07:14 PM
RE: HW Acceleration Working - by dkryder - 10-04-2016, 08:30 PM
RE: HW Acceleration Working - by HayseedGeek - 10-05-2016, 07:09 AM
RE: HW Acceleration Working - by ssvb - 10-05-2016, 07:28 AM
RE: HW Acceleration Working - by pfeerick - 10-05-2016, 06:56 PM
RE: HW Acceleration Working - by dkryder - 10-06-2016, 11:01 PM
RE: HW Acceleration Working - by Gnx - 11-26-2016, 02:05 PM
RE: HW Acceleration Working - by bmarquismarkail - 12-01-2016, 08:05 AM
RE: HW Acceleration Working - by Gnx - 12-05-2016, 12:23 PM
RE: HW Acceleration Working - by Terra854 - 12-05-2016, 08:22 PM
RE: HW Acceleration Working - by Luke - 12-06-2016, 06:38 AM
RE: HW Acceleration Working - by tllim - 12-15-2016, 06:27 PM
RE: HW Acceleration Working - by Pander - 12-08-2016, 05:20 AM
RE: HW Acceleration Working - by Gnx - 12-11-2016, 11:58 AM
RE: HW Acceleration Working - by Pander - 12-16-2016, 08:18 AM
RE: HW Acceleration Working - by Flint - 12-29-2016, 02:49 AM
RE: HW Acceleration Working - by Gnx - 01-20-2017, 03:04 AM
RE: HW Acceleration Working - by Flint - 02-06-2017, 09:22 AM
RE: HW Acceleration Working - by makzoom01 - 02-14-2017, 11:40 PM
RE: HW Acceleration Working - by pqueiro - 03-13-2017, 04:46 AM
RE: HW Acceleration Working - by CaptainZalo - 03-13-2017, 07:29 AM
RE: HW Acceleration Working - by pqueiro - 03-15-2017, 05:11 AM
RE: HW Acceleration Working - by Gnx - 05-09-2017, 09:32 PM
RE: HW Acceleration Working - by Luke - 05-10-2017, 03:08 AM
RE: HW Acceleration Working - by Gnx - 05-14-2017, 10:45 PM
RE: HW Acceleration Working - by Luke - 05-15-2017, 05:11 AM
RE: HW Acceleration Working - by Gnx - 05-15-2017, 12:27 PM
RE: HW Acceleration Working - by pqueiro - 12-01-2017, 02:25 PM
RE: HW Acceleration Working - by Pander - 12-02-2017, 06:44 AM
RE: HW Acceleration Working - by Luke - 12-02-2017, 04:37 PM
RE: HW Acceleration Working - by Brian Beuken - 03-04-2018, 02:54 PM
RE: HW Acceleration Working - by Luke - 03-05-2018, 04:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Brand New LCD not working adamjedgar 3 7,323 03-11-2017, 12:20 AM
Last Post: simplexdan
  Pine64+: 3 working, 1 shows nothing on tv zumtra 1 4,414 07-30-2016, 05:47 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 3 Guest(s)