Hello,
i’m trying to write into the framebuffer of the lpc2478_stk / uCLinux.
char* screen;
struct fb_fix_screeninfo fix_info;
fb = open("/dev/fb0", O_RDWR);
ioctl(fb, FBIOGET_FSCREENINFO, &fix_info);
screen = mmap(NULL, fix_info.smem_len, PROT_READ|PROT_WRITE, MAP_SHARED, fb, 0);
→ mmap alway returns -1
Is there any compiling/linking flag i have to set for this? or something i have to set up in kernel-options?
Thanks for any help/hint.
Ralf