ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ltib] EA3250 problem with console display driver (PCIMEM_BASE)


From: Kevin Wells
Subject: RE: [Ltib] EA3250 problem with console display driver (PCIMEM_BASE)
Date: Wed, 2 Feb 2011 19:27:11 +0100

Hi Miguel,

>My goal is to use LCD expansion connector of the board and with a video DAC be 
>able to plug a VGA monitor instead of using the 3.2 inch QVGA TFT color LCD.

I've never tried using this driver before, but  I agree with
Alan's assessment that you'll probably need to modify more than
just the PCIMEM_BASE macro to make it work.

You should be able to get cosnole output on the display using
the framebuffer console. Will that work?

Kevin


> -----Original Message-----
> Subject: Re: [Ltib] EA3250 problem with console display driver
> (PCIMEM_BASE)
> 
> Hi Miguel,
> 
> On 2/1/11, Miguel Aveiro <address@hidden> wrote:
> > Hi all,
> >
> >    CC      drivers/video/console/vgacon.o
> > drivers/video/console/vgacon.c: In function 'vgacon_startup':
> > drivers/video/console/vgacon.c:508: error: 'PCIMEM_BASE' undeclared
> > (first use in this function)
> > drivers/video/console/vgacon.c:508: error: (Each undeclared identifier
> > is reported only once
> > drivers/video/console/vgacon.c:508: error: for each function it appears
> in.)
> > drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
> > drivers/video/console/vgacon.c:1073: error: 'PCIMEM_BASE' undeclared
> > (first use in this function)
> > make[3]: *** [drivers/video/console/vgacon.o] Error 1
> > make[2]: *** [drivers/video/console] Error 2
> > make[1]: *** [drivers/video] Error 2
> > make: *** [drivers] Error 2
> > error: Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.31360 (%build)
> >
> > RPM build errors:
> >      Bad exit status from /home/miguel/ltib/tmp/rpm-tmp.31360 (%build)
> > Build time for kernel-2.6.34-lpc32xx: 119 seconds
> >
> > Failed building kernel-2.6.34-lpc32xx
> >
> >
> > The problem is in this function of drivers/video/console/vgacon.c:
> >
> > vga_vram_base = VGA_MAP_MEM(vga_vram_base, vga_vram_size);
> >
> > And VGA_MAP_MEM is defined in arch/arm/include/asm/vga.h
> >
> > #define VGA_MAP_MEM(x,s)    (PCIMEM_BASE + (x))
> >
> >
> > When I searched the
> > /home/miguel/ltib/rpm/BUILD/linux-2.6.34/arch/arm/mach-
> lpc32xx/include/mach/platform.h
> > I found this:
> >
> > #define LPC32XX_LCD_BASE            0x31040000
> >
> > Does anybody knows if I can use the LPC32XX_LCD_BASE in place of
> > PCIMEM_BASE?? Or anybody have already had this error??
> >
> >
> 
> I suppose you will need to modify more than just it. Then you could
> ask support from EA or ask directly in a proper mailing list about it:
> linux-fbdev
> 
> Best Regards,
> 
> Alan
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib



reply via email to

[Prev in Thread] Current Thread [Next in Thread]