uml: enable drivers (input, fb, vt)
Subsystems (7)
PATCH 1/2 uml: enable drivers (input, fb, vt)
Hi,
This patch enables a number of drivers for the uml build, in preparation for the uml framebuffer driver patch coming next ;)
Changes:
* Include drivers/{input,char,video} in the uml kernel configuration, thus enabling the vt subsystem, input subsystem and the framebuffer console.
* Add the console_use_vt variable to make the vt subsystem runtime-switchable. That is needed because uml has it's own, special "uml console" driver for major #5, which can only be used if the vt subsystem doesn't grab #5. The plan is to enable the vt subsystem only if we are going to use it for the framebuffer console, so the current behaviour remains unchanged if the framebuffer is not used.
* A bunch of Kconfig tweaks to make the allmodconfig build fine by disabling drivers which either don't make sense or don't even build on uml. Fortunaly CONFIG_PCI & friends catched most of them already ;)
pleae apply,
Gerd
Signature · 3 lines
Gerd 'just married' Hoffmann <[email protected]> I'm the hacker formerly known as Gerd Knorr. http://www.suse.de/~kraxel/just-married.jpeg
drivers/input/keyboard/Kconfig +1 -1
@@ -10,7 +10,7 @@ menuconfig INPUT_KEYBOARD If unsure, say Y. -if INPUT_KEYBOARD +if INPUT_KEYBOARD && !UML config KEYBOARD_ATKBD tristate "AT keyboard" if !X86_PC
drivers/input/mouse/Kconfig +1 -1
@@ -10,7 +10,7 @@ menuconfig INPUT_MOUSE If unsure, say Y. -if INPUT_MOUSE +if INPUT_MOUSE && !UML config MOUSE_PS2 tristate "PS/2 mouse"
drivers/input/serio/Kconfig +1 -1
@@ -21,7 +21,7 @@ if SERIO config SERIO_I8042 tristate "i8042 PC Keyboard controller" if EMBEDDED || !X86 default y - depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && !M68K + depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && !M68K && !UML ---help--- i8042 is the chip over which the standard AT keyboard and PS/2 mouse are connected to the computer. If you use these devices,
drivers/char/Kconfig +5 -3
@@ -59,11 +59,12 @@ config VT_CONSOLE config HW_CONSOLE bool - depends on VT && !S390 && !UML + depends on VT && !S390 default y config SERIAL_NONSTANDARD bool "Non-standard serial port support" + depends on !UML ---help--- Say Y here if you have any non-standard serial boards -- boards which aren't supported using the standard "dumb" serial driver.
@@ -695,7 +696,7 @@ config NVRAM config RTC tristate "Enhanced Real Time Clock Support" - depends on !PPC32 && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV + depends on !PPC32 && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !UML ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you
@@ -743,7 +744,7 @@ config SGI_IP27_RTC config GEN_RTC tristate "Generic /dev/rtc emulation" - depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV + depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV && !UML ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you
@@ -800,6 +801,7 @@ config COBALT_LCD config DTLK tristate "Double Talk PC internal speech card support" + depends on ISA help This driver is for the DoubleTalk PC, a speech synthesizer manufactured by RC Systems (<http://www.rcsys.com/>). It is also
drivers/char/ipmi/Kconfig +1 -0
@@ -5,6 +5,7 @@ menu "IPMI" config IPMI_HANDLER tristate 'IPMI top-level message handler' + depends on !UML help This enables the central IPMI message handler, required for IPMI to work.
drivers/char/tpm/Kconfig +1 -1
@@ -6,7 +6,7 @@ menu "TPM devices" config TCG_TPM tristate "TPM Hardware Support" - depends on EXPERIMENTAL + depends on EXPERIMENTAL && !UML ---help--- If you have a TPM security chip in your system, which implements the Trusted Computing Group's specification,
drivers/input/touchscreen/Kconfig +1 -1
@@ -9,7 +9,7 @@ menuconfig INPUT_TOUCHSCREEN If unsure, say Y. -if INPUT_TOUCHSCREEN +if INPUT_TOUCHSCREEN && !UML config TOUCHSCREEN_ADS7846 tristate "ADS 7846 based touchscreens"
drivers/serial/Kconfig +1 -0
@@ -11,6 +11,7 @@ menu "Serial drivers" config SERIAL_8250 tristate "8250/16550 and compatible serial support" depends on (BROKEN || !SPARC) + depends on !UML select SERIAL_CORE ---help--- This selects whether you want to include the driver for the standard
drivers/video/Kconfig +1 -1
@@ -602,7 +602,7 @@ config FB_EPSON1355 config FB_S1D13XXX tristate "Epson S1D13XXX framebuffer support" - depends on FB + depends on FB && !UML select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT
arch/um/Kconfig +6 -0
@@ -288,6 +288,12 @@ source "drivers/net/Kconfig" source "drivers/connector/Kconfig" +source "drivers/input/Kconfig" + +source "drivers/char/Kconfig" + +source "drivers/video/Kconfig" + source "fs/Kconfig" source "security/Kconfig"
arch/um/kernel/um_arch.c +4 -0
@@ -18,6 +18,7 @@#include "linux/seq_file.h" #include "linux/delay.h" #include "linux/module.h" +#include "linux/console.h" #include "asm/page.h" #include "asm/pgtable.h" #include "asm/ptrace.h"
@@ -464,6 +465,9 @@ void __init setup_arch(char **cmdline_p)strlcpy (saved_command_line, command_line,COMMAND_LINE_SIZE ); *cmdline_p = command_line;setup_hostinfo (); +#if defined(CONFIG_DUMMY_CONSOLE ) + console_use_vt =0 ; +#endif }void __init check_bugs (void )
drivers/char/tty_io.c +6 -1
@@ -132,6 +132,8 @@ LIST_HEAD(tty_drivers); /* linked listvt.c for deeply disgusting hack reasons */ DECLARE_MUTEX (tty_sem); +int console_use_vt =1 ; +#ifdef CONFIG_UNIX98_PTYS extern struct tty_driver *ptm_driver;/* Unix98 pty masters; for /dev/ptmx */ extern int pty_limit;/* Config limit on Unix98 ptys */
@@ -2033,7 +2035,7 @@ retry_open: goto got_driver; }#ifdef CONFIG_VT -if (device ==MKDEV (TTY_MAJOR ,0 )) { +if (console_use_vt && device ==MKDEV (TTY_MAJOR ,0 )) {extern struct tty_driver *console_driver; driver = console_driver; index = fg_console;
@@ -3201,6 +3203,8 @@ static int __init tty_init(void)#endif #ifdef CONFIG_VT +if (!console_use_vt) + goto out_vt;cdev_init (&vc0_cdev, &console_fops);if (cdev_add (&vc0_cdev,MKDEV (TTY_MAJOR ,0 ),1 ) ||register_chrdev_region (MKDEV (TTY_MAJOR ,0 ),1 ,"/dev/vc/0" ) <0 )
@@ -3209,6 +3213,7 @@ static int __init tty_init(void)class_device_create (tty_class,NULL ,MKDEV (TTY_MAJOR ,0 ),NULL ,"tty0" );vty_init (); + out_vt:#endif return 0 ; }
include/linux/console.h +1 -0
@@ -62,6 +62,7 @@ extern const struct consw dummy_con; /*extern const struct consw vga_con;/* VGA text console */ extern const struct consw newport_con;/* SGI Newport console */ extern const struct consw prom_con;/* SPARC PROM console */ +extern int console_use_vt;int take_over_console (const struct consw *sw,int first,int last,int deflt);void give_up_console (const struct consw *sw);
drivers/video/console/Kconfig +1 -1
@@ -6,7 +6,7 @@ menu "Console display driver support" config VGA_CONSOLE bool "VGA text console" if EMBEDDED || !X86 - depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !ARCH_VERSATILE + depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !ARCH_VERSATILE && !UML default y help Saying Y here will allow you to use Linux in text mode through a
Re: [patch 2/2] uml: add framebuffer driver
Hi,
This patch simply adds a framebuffer driver for UML. It displays the framebuffer in a X11 window.
please apply,
Gerd
Subject: [patch] uml: x11 fb
From: [email protected]
Framebuffer driver for UML
arch/um/Kconfig +6 -0
@@ -117,6 +117,12 @@ config NET recommended to read the NET-HOWTO, available from <http://www.tldp.org/docs.html#howto>. +config X11_FB + bool "X11 Framebuffer driver" + depends on FB && !MODE_TT && !STATIC_LINK + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT source "fs/Kconfig.binfmt"
arch/um/drivers/Makefile +2 -0
@@ -16,6 +16,7 @@ hostaudio-objs := hostaudio_kern.o ubd-objs := ubd_kern.o ubd_user.o port-objs := port_kern.o port_user.o harddog-objs := harddog_kern.o harddog_user.o +x11-objs := x11_kern.o x11_user.o LDFLAGS_pcap.o := -r $(shell $(CC) $(CFLAGS) -print-file-name=libpcap.a)
@@ -48,6 +49,7 @@ obj-$(CONFIG_NULL_CHAN) += null.o obj-$(CONFIG_PORT_CHAN) += port.o obj-$(CONFIG_PTY_CHAN) += pty.o obj-$(CONFIG_TTY_CHAN) += tty.o +obj-$(CONFIG_X11_FB) += x11.o obj-$(CONFIG_XTERM_CHAN) += xterm.o xterm_kern.o obj-$(CONFIG_UML_WATCHDOG) += harddog.o obj-$(CONFIG_BLK_DEV_COW_COMMON) += cow_user.o
arch/um/drivers/x11_kern.c new file +550 -0
550 lines not on this page · raw message
arch/um/drivers/x11_user.c new file +514 -0
514 lines not on this page · raw message
arch/um/include/x11_kern.h new file +9 -0
@@ -0,0 +1,9 @@ +/* x11_kern */ + +struct x11_window ; +struct x11_kerndata ; + +void x11_kbd_input (struct x11_kerndata *kd,int key,int down); +void x11_mouse_input (struct x11_kerndata *kd,int key,int down, +int x,int y); +void x11_cad (struct x11_kerndata *kd);
arch/um/include/x11_user.h new file +15 -0
@@ -0,0 +1,15 @@ +/* x11_user */ + +struct x11_window ; +struct x11_kerndata ; + +struct x11_window *x11_open (int width,int height); +void x11_close (struct x11_window *win); +int x11_has_data (struct x11_window *win,struct x11_kerndata *kd); +int x11_blit_fb (struct x11_window *win,int y1,int y2); + +int x11_get_fd (struct x11_window *win); +struct fb_fix_screeninfo *x11_get_fix (struct x11_window *win); +struct fb_var_screeninfo *x11_get_var (struct x11_window *win); +void *x11_get_fbmem (struct x11_window *win); +
drivers/video/fbmem.c +4 -0
@@ -1206,12 +1206,16 @@ fb_mmap(struct file *file, struct vm_are vma->vm_page_prot =pgprot_writecombine (vma->vm_page_prot); else vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); +#elif defined(CONFIG_UML ) +/* nothing */ #else #warning What do we have to do here??#endif +#ifndef CONFIG_UML if (io_remap_pfn_range (vma, vma->vm_start, off >>PAGE_SHIFT , vma->vm_end - vma->vm_start, vma->vm_page_prot))return -EAGAIN ; +#endif #endif /* !__sparc_v9__ */ return 0 ;#endif /* !sparc32 */
include/asm-um/irq.h +2 -1
@@ -15,8 +15,9 @@#define SIGIO_WRITE_IRQ 11#define TELNETD_IRQ 12#define XTERM_IRQ 13 +#define X11_IRQ 14 -#define LAST_IRQ XTERM_IRQ +#define LAST_IRQ X11_IRQ#define NR_IRQS (LAST_IRQ + 1)#endif
arch/um/Makefile +11 -1
@@ -127,12 +127,22 @@ CPPFLAGS_vmlinux.lds = -U$(SUBARCH) \ #The wrappers will select whether using "malloc" or the kernel allocator. LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc +ifeq ($(SUBARCH),x86_64) + libdir = lib64 +else + libdir = lib +endif +UML_LIBS := -L/usr/$(libdir) -lutil +ifeq ($(CONFIG_X11_FB),y) +UML_LIBS += -L/usr/X11R6/$(libdir) -lX11 -lXext +endif + CFLAGS_vmlinux := $(LINK-y) $(LINK_WRAPS) define cmd_vmlinux__ $(CC) $(CFLAGS_vmlinux) -o $@ \ -Wl,-T,$(vmlinux-lds) $(vmlinux-init) \ -Wl,--start-group $(vmlinux-main) -Wl,--end-group \ - -lutil \ + $(UML_LIBS) \ $(filter-out $(vmlinux-lds) $(vmlinux-init) $(vmlinux-main) \ FORCE ,$^) ; rm -f linux endef
Quoted 2 lines · Gerd Hoffmann
This patch enables a number of drivers for the uml build, in preparation for the uml framebuffer driver patch coming next ;)
I'm still unsure about this. It builds now, which is an improvement, but doesn't seem to work for me.
Displaying it remotely just doesn't work for me. I get "uml-x11-fb:
can't open X11 window" in the kernel log.
Locally, it creates a window, and boots, but there's no output in the window, and there's no sign of a getty on the main console when I log in through another console.
Jeff
Quoted 9 lines · Jeff Dike
Quoted 2 lines · Gerd Hoffmann
This patch enables a number of drivers for the uml build, in preparation for the uml framebuffer driver patch coming next ;)
I'm still unsure about this. It builds now, which is an improvement, but doesn't seem to work for me.
Displaying it remotely just doesn't work for me. I get "uml-x11-fb:
can't open X11 window" in the kernel log.
It wants create a shared memory segment for the framebuffer (using the MIT-SHM extension), which works only with a local display ...
Quoted 3 lines
Locally, it creates a window, and boots, but there's no output in the window, and there's no sign of a getty on the main console when I log in through another console.
Do you have "CONFIG_FRAMEBUFFER_CONSOLE=y" in .config?
cheers,
Gerd
Signature · 3 lines
Gerd 'just married' Hoffmann <[email protected]> I'm the hacker formerly known as Gerd Knorr. http://www.suse.de/~kraxel/just-married.jpeg
Quoted 1 line · Gerd Hoffmann
Do you have "
CONFIG_FRAMEBUFFER_CONSOLE=y" in .config?
Yup, here are all the option that look relevant:
CONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_X11_FB=yCONFIG_X11_FB=yCONFIG_FB=yCONFIG_VT=yCONFIG_VT_CONSOLE=y
The full .config is attached.
Jeff
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.16-rc1-mm3
# Thu Jan 26 22:50:08 2006
#CONFIG_GENERIC_HARDIRQS=yCONFIG_UML=yCONFIG_MMU=yCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_IRQ_RELEASE_METHOD=y
#
# UML-specific options
#
# CONFIG_MODE_TT is not set
# CONFIG_STATIC_LINK is not setCONFIG_MODE_SKAS=y
#
# Host processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not setCONFIG_M686=y
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not setCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_PPRO_FENCE=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_TSC=yCONFIG_UML_X86=y
# CONFIG_64BIT is not setCONFIG_SEMAPHORE_SLEEPERS=yCONFIG_TOP_ADDR=0xc0000000
# CONFIG_3_LEVEL_PGTABLES is not setCONFIG_STUB_CODE=0xbfffe000CONFIG_STUB_DATA=0xbffff000CONFIG_STUB_START=0xbfffe000CONFIG_ARCH_HAS_SC_SIGNALS=yCONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA=yCONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not setCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not setCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_LD_SCRIPT_DYN=yCONFIG_NET=yCONFIG_X11_FB=yCONFIG_BINFMT_ELF=yCONFIG_BINFMT_MISC=m
# CONFIG_HOSTFS is not set
# CONFIG_HPPFS is not setCONFIG_MCONSOLE=y
# CONFIG_MAGIC_SYSRQ is not setCONFIG_NEST_LEVEL=0
# CONFIG_HIGHMEM is not setCONFIG_KERNEL_STACK_ORDER=2CONFIG_UML_REAL_TIME_CLOCK=y
#
# Code maturity level options
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_INIT_ENV_ARG_LIMIT=32
#
# General setup
#CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_POSIX_MQUEUE=yCONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not setCONFIG_SYSCTL=y
# CONFIG_AUDIT is not setCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_INITRAMFS_SOURCE=""CONFIG_UID16=yCONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_EMBEDDED is not setCONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not setCONFIG_KALLSYMS_EXTRA_PASS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SHMEM=yCONFIG_CC_ALIGN_FUNCTIONS=0CONFIG_CC_ALIGN_LABELS=0CONFIG_CC_ALIGN_LOOPS=0CONFIG_CC_ALIGN_JUMPS=0CONFIG_SLAB=y
# CONFIG_TINY_SHMEM is not setCONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set
#
# Loadable module support
#CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not setCONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not setCONFIG_KMOD=y
#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="anticipatory"
#
# Block devices
#CONFIG_BLK_DEV_UBD=yCONFIG_BLK_DEV_UBD_SYNC=yCONFIG_BLK_DEV_COW_COMMON=y
# CONFIG_MMAPPER is not setCONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_CRYPTOLOOP is not setCONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_RAM is not setCONFIG_BLK_DEV_RAM_COUNT=16
# CONFIG_ATA_OVER_ETH is not set
#
# Character Devices
#CONFIG_STDERR_CONSOLE=yCONFIG_STDIO_CONSOLE=yCONFIG_SSL=yCONFIG_NULL_CHAN=yCONFIG_PORT_CHAN=yCONFIG_PTY_CHAN=yCONFIG_TTY_CHAN=yCONFIG_XTERM_CHAN=y
# CONFIG_NOCONFIG_CHAN is not setCONFIG_CON_ZERO_CHAN="fd:0,fd:1"CONFIG_CON_CHAN="xterm"CONFIG_SSL_CHAN="pty"CONFIG_UNIX98_PTYS=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256
# CONFIG_WATCHDOG is not setCONFIG_UML_SOUND=mCONFIG_SOUND=mCONFIG_HOSTAUDIO=mCONFIG_UML_RANDOM=y
#
# Generic Driver Options
#CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
#
# Networking
#
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=y
# CONFIG_NET_KEY is not setCONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not setCONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not setCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not setCONFIG_TCP_CONG_BIC=y
# CONFIG_IPV6 is not set
# CONFIG_NETFILTER is not set
#
# DCCP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
#
# TIPC Configuration (EXPERIMENTAL)
#
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_IEEE80211 is not set
#
# UML Network Devices
#CONFIG_UML_NET=yCONFIG_UML_NET_ETHERTAP=yCONFIG_UML_NET_TUNTAP=yCONFIG_UML_NET_SLIP=yCONFIG_UML_NET_DAEMON=yCONFIG_UML_NET_MCAST=y
# CONFIG_UML_NET_PCAP is not setCONFIG_UML_NET_SLIRP=y
#
# Network device support
#CONFIG_NETDEVICES=yCONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not setCONFIG_TUN=m
#
# PHY device support
#
#
# Wan interfaces
#
# CONFIG_WAN is not setCONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not set
# CONFIG_PPP_ASYNC is not set
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_PPP_DEFLATE is not set
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_PPP_MPPE is not set
# CONFIG_PPPOE is not setCONFIG_SLIP=m
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_KGDBOE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
# CONFIG_NET_POLL_CONTROLLER is not set
#
# Connector - unified userspace <-> kernelspace linker #
# CONFIG_CONNECTOR is not set
#
# Input device support
#CONFIG_INPUT=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_INPUT_MOUSE=y
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=y
#
# Serial drivers
#
#
# Non-8250 serial port support
#
#
# IPMI
#
#
# Watchdog Cards
#
# CONFIG_R3964 is not set
#
# Ftape, the floppy tape device driver
#
#
# PCMCIA character devices
#
# CONFIG_RAW_DRIVER is not set
#
# TPM devices
#
# CONFIG_TELCLOCK is not set
#
# Graphics support
#CONFIG_FB=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#CONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not setCONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
#
# Logo configuration
#
# CONFIG_LOGO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
# CONFIG_REISER4_FS is not setCONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not setCONFIG_INOTIFY=yCONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
# CONFIG_QFMT_V2 is not setCONFIG_QUOTACTL=yCONFIG_DNOTIFY=yCONFIG_AUTOFS_FS=mCONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=mCONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_SYSFS=yCONFIG_TMPFS=y
# CONFIG_HUGETLB_PAGE is not setCONFIG_RAMFS=y
# CONFIG_RELAYFS_FS is not set
# CONFIG_CONFIGFS_FS is not set
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ASFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not setCONFIG_MSDOS_PARTITION=y
#
# Native Language Support
#CONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Hardware crypto devices
#
#
# Library routines
#
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not setCONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
# CONFIG_DEBUG_SHIRQ is not setCONFIG_DEBUG_KERNEL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_SCHEDSTATS is not setCONFIG_DEBUG_SLAB=yCONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_FS is not set
# CONFIG_DEBUG_VM is not setCONFIG_FRAME_POINTER=yCONFIG_FORCED_INLINING=yCONFIG_UNWIND_INFO=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_GPROF is not set
# CONFIG_GCOV is not set
# CONFIG_SYSCALL_DEBUG is not set
Quoted 11 lines · Jeff Dike
Quoted 1 line · Gerd Hoffmann
Do you have "
CONFIG_FRAMEBUFFER_CONSOLE=y" in .config?Yup, here are all the option that look relevant:
CONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_X11_FB=yCONFIG_X11_FB=yCONFIG_FB=yCONFIG_VT=yCONFIG_VT_CONSOLE=y
Looks ok. What kernel command line do you boot the kernel with? Any console=something in there? Any changes if you append "console=tty0"?
cheers,
Gerd
Signature · 3 lines
Gerd 'just married' Hoffmann <[email protected]> I'm the hacker formerly known as Gerd Knorr. http://www.suse.de/~kraxel/just-married.jpeg
Quoted 2 lines · Gerd Hoffmann
Looks ok. What kernel command line do you boot the kernel with? Any console=something in there? Any changes if you append "console=tty0"?
This is what I'm using:
./fb-obj/linux con0=fd:0,fd:1 con1=none con=pts ssl=pts mem=192M ubda=~/linux/debian_22 umid=debian x11=640x480
Adding "console=tty0" doesn't change anything.
Jeff