[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: |
Alan Carvalho de Assis |
Subject: |
Re: [Ltib] EA3250 problem with console display driver (PCIMEM_BASE) |
Date: |
Wed, 2 Feb 2011 08:40:59 -0200 |
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