Need help getting local video to work on a Linux kernel.
I have built a Linux 3.0.35 kernel for a custom SBC in development. The kernel boots fine on the console display. I am able to log on as the root and perform basic Linux commands. This is great, but I want to have the Linux display on one of the local monitors and use a local keyboard to control the kernel. How do I redirect the Linux display to a supported monitor? I assume I should be able to see video on the console and the selected monitor simultaneously.
I tried to remove the 'console=' command line argument in u-boot and this almost worked. This did redirect the video to my desired monitor but the boot stops and the file system does not mount.
Here is the bottom of the monitor output. I have noted where the boot process stops when I disable the console.
kjournald starting. Commit interval 5 seconds
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): recovery complete
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:1.
Freeing init memory: 192K
starting pid 1279, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
udevd (1288): /proc/1288/oom_adj is deprecated, please use /proc/1288/oom_score_adj instead.
Synthesizing initial hotplug events
Setting the hostname to freescale
Mounting filesystems
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
cp: write error: No space left on device
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
DISPLAY STOPS HERE WHEN CONSOLE DISABLED – Following only displayed when console enabled
starting pid 2439, tty '': '/etc/rc.d/rc_gpu.S'
starting pid 2445, tty '': '/etc/rc.d/rc_mxc.S'
arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease)
root filesystem built on Mon, 17 Dec 2012 11:24:04 -0800
Freescale Semiconductor, Inc.
freescale login:
Solved! Go to Solution.
Not sure if this is what you want, but you can leave the console as it is and connect to the board through a SSH connection. On the SSH session, run any command you want and on the serial console, monitor your kernel messages.
Leo
SOLVED: Found that the code in rc_mxc.S was going into a sleep mode if no console was attached. Changed the else statement to use my video source instead and everything worked fine!!!
Nobody has any ideas???
Not sure if this is what you want, but you can leave the console as it is and connect to the board through a SSH connection. On the SSH session, run any command you want and on the serial console, monitor your kernel messages.
Leo