ltib
[Top][All Lists]
Advanced

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

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


From: Miguel Aveiro
Subject: [Ltib] EA3250 problem with console display driver (PCIMEM_BASE)
Date: Tue, 01 Feb 2011 15:09:10 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7

Hi all,

I use a EA3250 board and Fedora 13 as host, running the last CVS ltib - 10.1.1 ($Revision: 1.72 $) -. 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.

When I try to compile the kernel with Console display driver support->VGA text console or Framebuffer console support, I get this error

+ diff -q ./.config /home/miguel/ltib/config/platform/ea3250/linux-2.6.34-ea3250.config.dev
+ '[' -n '' ']'
+ '[' '%{kernel_series}' = 2.4 ']'
+ make ARCH=arm 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' uImage
scripts/kconfig/conf -s arch/arm/Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  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??


Thanks
Miguel






reply via email to

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