Hello everybody,
this is my first message and I would like to thank you olimex for the board I am using from some time as test bench.
I'm writing because I actually have a board where I want to use tvout. I actually have baked my openembedded custom rom and it's working like a charm except for the tvout. I checked with a scope and I don't have any output on the pin. I have two boards so I think it's a software problem.
I read on the net that archlinux have tvout support. I read that openembedded has made some progress on it. I just have a black screen :(
I'm diving inside the linux kernel configuration but I cannot find the tvout module.
Also... If I check on the serial console I don't find any reference on framebuffer or similar.
Where should I check to see if it is enabled?
Some info below...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.19-fslc+g00e4721 (andrea@andrea-desktop) (gcc version 4.8.2 (GCC) ) #1 Fri Nov 28 14:48:58 CET 2014
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine model: i.MX23 Olinuxino Low Cost Board
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c0700d48, node_mem_map c3f7c000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootwait
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 52228K/65536K available (4808K kernel code, 295K rwdata, 1820K rodata, 226K init, 5481K bss, 13308K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0681450 (6630 kB)
[ 0.000000] .init : 0xc0682000 - 0xc06bab94 ( 227 kB)
[ 0.000000] .data : 0xc06bc000 - 0xc0705f90 ( 296 kB)
[ 0.000000] .bss : 0xc0705f90 - 0xc0c60668 (5482 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] of_irq_init: children remain, but no parents
[ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.000000] ... CHAINHASH_SIZE: 16384
[ 0.000000] memory used by lock dependency info: 3695 kB
[ 0.000000] per task-struct memory footprint: 1152 bytes
[ 0.070000] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070000] CPU: Testing write buffer coherency: ok
[ 0.080000] Setting up static identity map for 0x40493228 - 0x40493280
[ 0.100000] devtmpfs: initialized
[ 0.110000] pinctrl core: initialized pinctrl subsystem
[ 0.120000] regulator-dummy: no parameters
[ 0.120000] NET: Registered protocol family 16
[ 0.120000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.190000] Serial: AMBA PL011 UART driver
[ 0.190000] 80070000.serial: ttyAMA0 at MMIO 0x80070000 (irq = 17, base_baud = 0) is a PL011 rev2
[ 0.390000] console [ttyAMA0] enabled
[ 0.440000] bio: create slab <bio-0> at 0
[ 0.460000] mxs-dma 80004000.dma-apbh: initialized
[ 0.480000] mxs-dma 80024000.dma-apbx: initialized
[ 0.480000] usb0_vbus: 5000 mV
[ 0.490000] SCSI subsystem initialized
[ 0.490000] usbcore: registered new interface driver usbfs
[ 0.500000] usbcore: registered new interface driver hub
[ 0.500000] usbcore: registered new device driver usb
[ 0.510000] pps_core: LinuxPPS API ver. 1 registered
[ 0.510000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.520000] PTP clock support registered
[ 0.520000] Advanced Linux Sound Architecture Driver Initialized.
[ 0.530000] Switched to clocksource mxs_timer
[ 0.960000] NET: Registered protocol family 2
[ 0.970000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.980000] TCP bind hash table entries: 1024 (order: 3, 36864 bytes)
[ 0.990000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.990000] TCP: reno registered
[ 1.000000] UDP hash table entries: 256 (order: 2, 20480 bytes)
[ 1.000000] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[ 1.010000] NET: Registered protocol family 1
[ 1.020000] RPC: Registered named UNIX socket transport module.
[ 1.030000] RPC: Registered udp transport module.
[ 1.030000] RPC: Registered tcp transport module.
[ 1.040000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.050000] futex hash table entries: 256 (order: 1, 11264 bytes)
[ 1.170000] NFS: Registering the id_resolver key type
[ 1.180000] Key type id_resolver registered
[ 1.190000] Key type id_legacy registered
[ 1.190000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 1.200000] msgmni has been set to 102
[ 1.230000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.230000] io scheduler noop registered (default)
[ 1.250000] of_dma_request_slave_channel: dma-names property of node '/apb@80000000/apbx@80040000/serial@80070000' missing or empty
[ 1.260000] uart-pl011 80070000.serial: no DMA platform data
[ 1.270000] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 146, base_baud = 1500000) is a 8006c000.serial
[ 1.280000] mxs-auart 8006c000.serial: Found APPUART 3.0.0
[ 1.310000] usbcore: registered new interface driver asix
[ 1.310000] usbcore: registered new interface driver ax88179_178a
[ 1.320000] usbcore: registered new interface driver cdc_ether
[ 1.330000] usbcore: registered new interface driver smsc95xx
[ 1.330000] usbcore: registered new interface driver net1080
[ 1.340000] usbcore: registered new interface driver cdc_subset
[ 1.350000] usbcore: registered new interface driver zaurus
[ 1.350000] usbcore: registered new interface driver cdc_ncm
[ 1.360000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.370000] usbcore: registered new interface driver usb-storage
[ 1.390000] mousedev: PS/2 mouse device common for all mice
[ 1.410000] stmp3xxx-rtc 8005c000.rtc: rtc core: registered 8005c000.rtc as rtc0
[ 1.410000] i2c /dev entries driver
[ 1.420000] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
[ 1.430000] 80010000.ssp supply vmmc not found, using dummy regulator
[ 1.490000] mxs-mmc 80010000.ssp: initialized
[ 1.510000] usbcore: registered new interface driver usbhid
[ 1.510000] usbhid: USB HID core driver
[ 1.550000] TCP: cubic registered
[ 1.550000] NET: Registered protocol family 17
[ 1.560000] Key type dns_resolver registered
[ 1.570000] registered taskstats version 1
[ 1.580000] usb0_vbus: disabling
[ 1.580000] regulator-dummy: disabling
[ 1.590000] stmp3xxx-rtc 8005c000.rtc: setting system clock to 1970-01-01 00:00:07 UTC (7)
[ 1.610000] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.640000] mmc0: new high speed SDHC card at address aaaa
[ 1.650000] ALSA device list:
[ 1.650000] No soundcards found.
[ 1.660000] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 1.690000] mmcblk0: p1 p2 p3
[ 1.800000] kjournald starting. Commit interval 5 seconds
[ 1.810000] EXT3-fs (mmcblk0p3): using internal journal
[ 1.820000] EXT3-fs (mmcblk0p3): recovery complete
[ 1.820000] EXT3-fs (mmcblk0p3): mounted filesystem with ordered data mode
[ 1.830000] VFS: Mounted root (ext3 filesystem) on device 179:3.
[ 1.840000] devtmpfs: mounted
[ 1.850000] Freeing unused kernel memory: 224K (c0682000 - c06ba000)
[ 3.280000] udevd[62]: starting version 182
[ 7.450000] random: dd urandom read with 96 bits of entropy available
[ 9.480000] random: nonblocking pool is initialized
This is my dmesg after boot. As you can see I'm using linux kernel 3.14.19.
There is no special TV-Out module, the TV-Out is handled by the framebuffer driver itself and it seem that the driver is not compilled in.
Thank you MBR,
Please can you point me out on what should I check on my kernel config?
I see that framebuffer is enabled, mx module is set to compile.
It is not that one? If so... what other should I use?
Thanks again
Andrea
I'm not sure (I don't have iMX233), but try looking in the .config of the original kernel.
@andyinno
You are using a mainline kernel, but not all feature from the FSL 2.6.35 went into mainline. Maybe TV-Out is one of those features.
Have you tried the 2.6.35 kernel?
I've an original 2.6 kernel released by Freescale with perfectly working TV out, get it from here:
https://drive.google.com/file/d/0B5RB6TqFSILBMVZPUnRrWjNEdjg/view?usp=sharing
> cat /proc/version
Linux version 2.6.35.3_OLinuXinoR4 (hehopmajieh@hehopmajieh-office) (gcc version 4.7.1 20120421 (prerelease) (GCC) ) #11 PREEMPT Mon May 21 10:27:52 EEST 2012