[Top][All Lists]

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

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

From: Miguel Aveiro
Subject: Re: [Ltib] EA3250 problem with console display driver (PCIMEM_BASE)
Date: Thu, 03 Feb 2011 08:34:28 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7

Thanks Kevin and Alan. I know that I need to change other things, but this is the first part. I searched some other boards than I found the video DAC. They use Linux as well, so it should work, but I don't know how.

I need a framebuffer that display at least 640x480 because the hsync and vsync signal of the board with 320x240 mode is too low.

I'll see what I can do then...if I found out something I'll post in here.

Em 02-02-2011 16:27, Kevin Wells escreveu:
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?


-----Original Message-----
Subject: Re: [Ltib] EA3250 problem with console display driver

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
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
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:

Best Regards,


LTIB home page:

Ltib mailing list


reply via email to

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