I'm running this gstreamer pipe
gst-launch -v videotestsrc ! mfw_v4lsink
works fine for several minutes and then just stops displaying anything on the monitor. Once it stops dispalying killing it and restarting won't start the display back up. I have to reboot.
gst-launch does produce any console/dmesg errors and there are no other indicators why it's stopped working.
This is the sabre imx6q based board with the latest ltib release.
Solved! Go to Solution.
Hi Richard,
add 'consoleblank=0' to your kernel command line. I found this trick on the following thread: https://community.freescale.com/thread/304368<https://community.freescale.com/thread/304368>;
I know this thread is a little old, but I am having the same problem on my wandboard quad using Yocto (Dora branch). In the kernel command line I did:
setenv consoleblank
editenv consoleblank
0
saveenv
printenv (to make sure it is there)
But it still goes off after 10 minutes. Any tips?
Josh, you should add the kernel parameter into the bootargs variable (setenv bootargs "${bootargs} consoleblank=0"). So make sure you add it there, then boot an check the first lines of the kernel log, you must see the consoleblank=0 there.
Leo
Thanks for the advice, but I couldn't get it to work. I copied the line setenv bootargs "${bootargs} consoleblank=0" directly into my kernel console, then did saveenv. When I boot, the only log available is in /var/log/messages (I am using Yocto with Busybox). I don't see anything referring to bootargs or consoleblank in this log. I just set a timer, and once again after 10 minutes (600 seconds according to /sys/module/kernel/parameters/consoleblank) my display turns off. Am I still passing in the kernel bootargs variable incorrectly?
The only way I have managed to fix this issue is by setting $setterm -blank 0 >> /etc/issue during runtime in the Linux console. This only has to be run once ever, but I would prefer not to have to do that each time I have to flash my SD card.
Hi Josh, by log I mean the kernel log which is shown on the serial console when Linux boots:
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-2666-gbdde708 (r65388@shlinux3) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #1 SMP PREEMPT Fri Aug 16 10:43:44 CST 2013
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
Ignoring unrecognised tag 0x54410008
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, silicon rev 1.1
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560
Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=10.112.101.117:/home/b42214/fsl/BSP/images/linux/L3.0.35_4.1.0_130816/L3.0.35_4.1.0_130816_images_MX6/rootfs,v3,tcp video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666
In the other hand, stop the booting process on U-boot and print the bootargs variable, you should also see the parameter there.
Leo
Hi Richard,
add 'consoleblank=0' to your kernel command line. I found this trick on the following thread: https://community.freescale.com/thread/304368<https://community.freescale.com/thread/304368>;
You’re a genius. I had seen that thread but the console thing was so buried in the messages I missed it.