• 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 39
[i.MX6] XBMC running on Freescale SoC's
(2013-06-21, 02:38)wolfgar Wrote: Hi,

Keep me informed about your results (I have not tested but it should just work the same as with my image...)

Regards
Stephan

Hi Stephan,

Tested the linaro build with screen resolution set to 1280x720. Everything seemed to run well, however I got a few crashes while playing video in the background on the home screen with the message feed active:

1. This message reported for one of the crashes:

mxc_v4l2_output mxc_v4l2_output.0: Bypass IC.

2. Got a segmentation fault once, the only messages were:

Not power off before vpu open!
mxc_v4l2_output mxc_v4l2_output.0: Bypass IC.

3. Got the black screen once, xbmc was still running

There may be a very small possibility that our DDR3 settings are still incorrect, time pending I will look into this.

Any chance you could create a build for my BSP 1.1.0 rootfs, I'd like to compare results.
More A10/GK802/I.MX6 stuff on my blog
Reply
Hi mtx,

OK I will post a build for 1.1.0 RFS...
Regards
Reply
xbmc for BSP 1.1.0
Regards
Stephan

Edit :
Some comments about your issues with the 4.0.0 build :
#1 -> I guess it is the strange issue which appeared in 4.0.0
#2 -> I don't know about this one. If you know how to reproduce please tell me so that I can investigate
#3 -> It is a typical overheating symptom...

Regards
Reply
(2013-06-23, 17:18)wolfgar Wrote: xbmc for BSP 1.1.0
Regards
Stephan

Edit :
Some comments about your issues with the 4.0.0 build :
#1 -> I guess it is the strange issue which appeared in 4.0.0
#2 -> I don't know about this one. If you know how to reproduce please tell me so that I can investigate
#3 -> It is a typical overheating symptom...

Regards

Many thanks, will give it a test drive.

When is your wandboard quad likely to arrive?
More A10/GK802/I.MX6 stuff on my blog
Reply
Hi mtx,

Last night I found a workaround to prevent the transient black screens, not the ones related to overheating but the ones which appeared with BSP4.0.0...
I will rebuild xbmc with this patch for your last image to check whether it also helps.

Regarding my quad wandboard, I should receive it around the 4th of July because I ordered other items (RF chips I want to evaluate for another project) which should be available at the end of this week.
I will tell you about it and my first test with XBMC if you are interested...

Last but not least, If you find reproducible bugs while testing, do not hesitate to report them, I will do my best to track and solve them...

Best regards
Stephan
Reply
Hi Wolfgar, sorry for my late response, I could not get to it sooner.
I've tested your commits from 21st June - playback of the sample files is nearly ok, except the aspect ratio - which is correct (16:9) in case of ct2-hd sample and incorrect (4:3) in case of the other three samples (mplayer in my desktop linux plays all the samples ok). On target, gplay is able to play ct2-hd and nova-hd samples only, plays them fullscreen, so aspect is correct, but not sure if due to fullscreen stretch or due to correct interpretation of the stream.
Unfortunately even with the changes, playback of live tv stream in xbmc mostly does not work - tried tvheadend and xvdr - both had the same behavior: with SD channels, there is now only audio played (before your changes it just crashed). In case of HD streams, now nova-hd stream is working (although with 4:3 aspect ratio), but the other HD streams crash xbmc. But it's not like the nova-hd stream would always work - it sometimes also makes xbmc to fall down, but I am not sure if that's because of the previous trial with other HD channel which crashed xbmc and left the xvdr in a bad state that caused also trouble with next trial of otherwise working nova-hd.
I need some more time to have a look what's happenning there as it's strange that the captured sample files can be played while the live streams mostly do not work. It's also possible that my xbmc setup for the live tv is not perfect as this is the first trial.
Reply
Hi j4ns

No pb for the delay.
I confirm that I was able to play the sample streams you sent to me for test.
Sorry for the aspect ratio : I will double check what is going on and tell you (normally I just use the info out of the xbmc demuxer)
Regarding gplay : It just does not care about aspect ratio by default : you have to set the "force-aspect-ratio" property on v4lsink so that it keeps aspect ratio. (Otherwise it just stretches to full screen...)

I also have a DVB-T USB tuner : I will give it a try as soon as I can ...

Best regards
Stephan
Reply
Hi j4ns,

Just an update to notice that I have given a try to my own dvbt tuner and that I confirm that it mostly does not work, even after merging last changes from xbmc and pvr-addons dev branch.
I have already found a bug and I am looking for its root cause.
As soon as I manage to get a working build for live TV I will tell you...

Regards
Stephan
Reply
Hi, wolfgar,

i am too trying to build an image with xbmc for the wandboard.
I tried buildroot but only with meagre success. Yocto would be my next try.
Right now i am using wandboard dual but i will get a quad in about a week.

Your yocto build works quite nice on the wandboard, i only had to write wandboards u-boot and kernel to sd and exchange /lib/firmware/vpu/vpu_fw_imx6q.bin with vpu_fw_imx6d.bin and add wandboard modules.

Unfortunately i encountered some errors with 1080p playback:
Code:
[INFO]  Product Info: i.MX6Q/D/S                                                
[INFO]  bitstreamMode 1, chromaInterleave 0, mapType 0, tiled2LinearEnable 0    
[WARN]  VPU iram is less than needed, some parts don't use iram                
[  272.121233] DVDPlayerVideo: page allocation failure: order:11, mode:0xd1    
[  272.139247] Backtrace:                                                      
[  272.141747] [<80037588>] (dump_backtrace+0x0/0x10c) from [<803b1ad8>] (dump_)
[  272.157738]  r6:00000000 r5:000000d1 r4:00000001 r3:00000002                
[  272.163499] [<803b1ac0>] (dump_stack+0x0/0x1c) from [<8009e880>] (warn_alloc)
[  272.197779] [<8009e794>] (warn_alloc_failed+0x0/0x10c) from [<800a1290>] (__)
[  272.217740]  r3:00000002 r2:00000000                                        
[  272.221351]  r7:00000000 r6:80516c80 r5:0000000b r4:000000d1                
[  272.229347] [<800a0cb8>] (__alloc_pages_nodemask+0x0/0x638) from [<8003b6d0>)
[  272.253899] [<8003b620>] (__dma_alloc+0x0/0x2b4) from [<8003b9c8>] (dma_allo)
[  272.272399] [<8003b96c>] (dma_alloc_coherent+0x0/0x68) from [<8029b138>] (vp)
[  272.292315]  r7:bfbb5948 r6:bfbb5940 r5:46211918 r4:bfbb5948                
[  272.305111] [<8029b104>] (vpu_alloc_dma_buffer+0x0/0x5c) from [<8029b340>] ()
[  272.329336]  r4:46211918 r3:00000000                                        
[  272.338909] [<8029b258>] (vpu_ioctl+0x0/0x7fc) from [<800d8a58>] (vfs_ioctl+)
[  272.357744]  r8:80033e84 r7:ba0d3330 r6:46211918 r5:46211918 r4:bfb648c0    
[  272.380393] [<800d8a2c>] (vfs_ioctl+0x0/0x48) from [<800d954c>] (do_vfs_ioct)
[  272.388927] [<800d9050>] (do_vfs_ioctl+0x0/0x544) from [<800d95d4>] (sys_ioc)
[  272.397250]  r9:ba31e000 r8:80033e84 r7:0000001f r6:00005600 r5:46211918    
[  272.422191] r4:bfb648c0                                                      
[  272.424872] [<800d9594>] (sys_ioctl+0x0/0x64) from [<80033d00>] (ret_fast_sy)
[  272.447131]  r7:00000036 r6:00019c7c r5:018b455c r4:46211918                
[  272.453266] Mem-info:                                                        
[  272.467756] DMA per-cpu:                                                    
[  272.470514] CPU    0: hi:   90, btch:  15 usd:   0                          
[  272.487745] CPU    1: hi:   90, btch:  15 usd:   0                          
[  272.492808] Normal per-cpu:                                                  
[  272.495629] CPU    0: hi:  186, btch:  31 usd: 180                          
[  272.507183] CPU    1: hi:  186, btch:  31 usd:  54                          
[  272.512143] active_anon:11797 inactive_anon:74 isolated_anon:0              
[  272.512149]  active_file:1390 inactive_file:10713 isolated_file:0            
[  272.512155]  unevictable:0 dirty:10 writeback:0 unstable:0                  
[  272.512161]  free:173542 slab_reclaimable:358 slab_unreclaimable:1257        
[  272.512167]  mapped:5674 shmem:185 pagetables:328 bounce:0                  
[  272.543150] DMA free:26556kB min:804kB low:1004kB high:1204kB active_anon:0ks
[  272.582871] lowmem_reserve[]: 0 657 657 657                                  
[  272.587419] Normal free:667612kB min:2900kB low:3624kB high:4348kB active_ano
[  272.630097] lowmem_reserve[]: 0 0 0 0                                        
[  272.633838] DMA: 13*4kB 17*8kB 10*16kB 7*32kB 6*64kB 2*128kB 5*256kB 3*512kBB
[  272.649945] Normal: 367*4kB 394*8kB 337*16kB 110*32kB 86*64kB 37*128kB 11*25B
[  272.665012] 12288 total pagecache pages                                      
[  272.669176] 0 pages in swap cache                                            
[  272.672501] Swap cache stats: add 0, delete 0, find 0/0                      
[  272.678134] Free swap  = 0kB                                                
[  272.681119] Total swap = 0kB                                                
[  272.716930] 262144 pages of RAM                                              
[  272.720416] 173945 free pages                                                
[  272.723537] 48617 reserved pages                                            
[  272.726772] 877 slab pages                                                  
[  272.729664] 10277 pages shared                                              
[  272.732726] 0 pages swap cached                                              
[  272.738253] Physical memory allocation error!                                
[  272.742622] Physical memory allocation error!                                
[ERR]   mem allocation failed!

720p works.

I also got some crashes when loading a lot of youtube thumbnails.
Seems like a Ram issue to me.

have a nice day Smile
Reply
Hi xn2000

Thanks for this feedback,
Can you please post the boot kernel messages (using the "dmesg" command for instance)
I am especially curious about the section "Virtual kernel memory layout" as it seems that you don't have enough available memory for DMA (I allocate contiguous physical memory so that DMA engines can be used between VPU -> IPU blocks and the main cpu is not involved in any copy by itself)

Regards
Stephan aka wolfgar

PS : By the way I have just received a wandboard Quad so this board is very likely to become my main dev board Wink
Reply
(2013-07-02, 22:38)wolfgar Wrote: [...]
PS : By the way I have just received a wandboard Quad so this board is very likely to become my main dev board Wink

This is so great!
Thanks for all the work you put into this. As soon as this is considered somewhat working, I'll other one and replace my slow raspberry. (I still really, really like this little device!)

Thanks again, its really appreciated!
CruX
Reply
(2013-07-02, 22:38)wolfgar Wrote: Thanks for this feedback,
Youŕe welcome

(2013-07-02, 22:38)wolfgar Wrote: Can you please post the boot kernel messages (using the "dmesg" command for instance)

Code:
Starting kernel ...

[    0.000000] Linux version 3.0.35+ (tapani@triceratops) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #1 SMP PREEMPT Wed May 15 16:39:35 CS3
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Wandboard
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] CPU identified as i.MX6DL/SOLO, silicon rev 1.1
[    0.000000] PERCPU: Embedded 7 pages/cpu @90808000 s5024 r8192 d15456 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 215040
[    0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 80MB 768MB = 848MB total
[    0.000000] Memory: 853956k/853956k available, 194620k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
[    0.000000]     vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .init : 0x80008000 - 0x8002e000   ( 152 kB)
[    0.000000]       .text : 0x8002e000 - 0x804db000   (4788 kB)
[    0.000000]       .data : 0x804dc000 - 0x80516f00   ( 236 kB)
[    0.000000]        .bss : 0x80516f24 - 0x805318c4   ( 107 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:496
[    0.000000] MXC GPIO hardware
[    0.000000] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
[    0.000000] Set periph_clk's parent to pll2_pfd_400M!
[    0.000000] arm_max_freq=800MHz
[    0.000000] MXC_Early serial console at MMIO 0x2020000 (options '115200')
[    0.000000] bootconsole [ttymxc0] enabled
[    0.000000] Console: colour dummy device 80x30
[    0.213805] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
[    0.302149] pid_max: default: 32768 minimum: 301
[    0.307043] Mount-cache hash table entries: 512
[    0.312295] CPU: Testing write buffer coherency: ok
[    0.418083] CPU1: Booted secondary processor
[    0.507500] Brought up 2 CPUs
[    0.514762] SMP: Total of 2 processors activated (3162.11 BogoMIPS).
[    0.539935] print_constraints: dummy:
[    0.543899] NET: Registered protocol family 16
[    0.553090] print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal
[    0.560672] print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
[    0.568421] print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
[    0.576074] print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
[    0.583846] print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
[    0.591507] print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
[    0.682057] L310 cache controller enabled
[    0.686093] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x02050000, Cache size: 524288 B
[    0.716113] bio: create slab <bio-0> at 0
[    0.720842] print_constraints: VDDA: 2500 mV
[    0.725434] print_constraints: VDDIO: 3300 mV
[    0.730319] vgaarb: loaded
[    0.733797] SCSI subsystem initialized
[    0.737914] spi_imx imx6q-ecspi.0: probed
[    0.742195] spi_imx imx6q-ecspi.1: probed
[    0.746967] usbcore: registered new interface driver usbfs
[    0.752674] usbcore: registered new interface driver hub
[    0.758191] usbcore: registered new device driver usb
[    0.777489] imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.785699] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.793038] Bluetooth: Core ver 2.16
[    0.796740] NET: Registered protocol family 31
[    0.801217] Bluetooth: HCI device and connection manager initialized
[    0.807605] Bluetooth: HCI socket layer initialized
[    0.812501] Bluetooth: L2CAP socket layer initialized
[    0.817580] Bluetooth: SCO socket layer initialized
[    0.822933] cfg80211: Calling CRDA to update world regulatory domain
[    0.829393] Switching to clocksource mxc_timer1
[    0.847929] NET: Registered protocol family 2
[    0.852520] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.860428] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.870429] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.878412] TCP: Hash tables configured (established 131072 bind 65536)
[    0.885061] TCP reno registered
[    0.888222] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.894200] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.900927] NET: Registered protocol family 1
[    0.905449] _regulator_get: etb supply vcore not found, using dummy regulator
[    0.913093] _regulator_get: etm.0 supply vcore not found, using dummy regulator
[    0.920531] _regulator_get: etm.1 supply vcore not found, using dummy regulator
[    0.928242] Static Power Management for Freescale i.MX6
[    0.933489] wait mode is disabled for i.MX6
[    0.937881] cpaddr = c0820000 suspend_iram_base=c08ac000
[    0.943297] PM driver module loaded
[    1.665566] link up failed, DB_R0:0x00506500, DB_R1:0x08200000!
[    1.671507] IMX PCIe port: link down with power supply 0!
[    1.677333] IMX usb wakeup probe
[    1.681030] IMX usb wakeup probe
[    1.684741] cpu regulator init ldo=0
[    1.688388] i.MXC CPU frequency driver
[    1.703477] ashmem: initialized
[    1.720702] msgmni has been set to 1667
[    1.724950] io scheduler noop registered
[    1.728970] io scheduler cfq registered (default)
[    1.735917] mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver hdmi
[    1.742425] mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
[    1.784064] imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
[    1.905277] Console: switching to colour frame buffer device 240x67
[    1.948748] imx-sdma imx-sdma: loaded firmware 1.1
[    1.958906] imx-sdma imx-sdma: initialized
[    1.963433] Serial: IMX driver
[    1.966619] imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
[    1.973106] console [ttymxc0] enabled, bootconsole disabled
[    1.973106] console [ttymxc0] enabled, bootconsole disabled
[    1.984648] imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
[    1.991690] [drm] Initialized drm 1.1.0 20060810
[    1.996829] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[    2.003172] FEC Ethernet Driver
[    2.007192] fec_enet_mii_bus: probed
[    2.011903] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.018591] add wake up source irq 72
[    2.022301] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
[    2.029033] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 1
[    2.063999] fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
[    2.083987] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
[    2.090212] hub 1-0:1.0: USB hub found
[    2.094004] hub 1-0:1.0: 1 port detected
[    2.098182] add wake up source irq 75
[    2.104906] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
[    2.111553] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 2
[    2.144005] fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
[    2.163991] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
[    2.170149] hub 2-0:1.0: USB hub found
[    2.173917] hub 2-0:1.0: 1 port detected
[    2.178277] Initializing USB Mass Storage driver...
[    2.183345] usbcore: registered new interface driver usb-storage
[    2.189499] USB Mass Storage support registered.
[    2.194774] ARC USBOTG Device Controller driver (1 August 2005)
[    2.200821] udc: request mem region for fsl-usb2-udc failed
[    2.206542] fsl-usb2-udc: probe of fsl-usb2-udc failed with error -16
[    2.213579] mousedev: PS/2 mouse device common for all mice
[    2.219496] i2c /dev entries driver
[    2.224291] Linux video capture interface: v2.00
[    2.229636] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
[    2.237430] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
[    2.245417] usbcore: registered new interface driver uvcvideo
[    2.251183] USB Video Class driver (v1.1.0)
[    2.255829] Bluetooth: HCI UART driver ver 2.2
[    2.260282] Bluetooth: HCI H4 protocol initialized
[    2.265132] cpuidle: using governor ladder
[    2.269235] cpuidle: using governor menu
[    2.273280] sdhci: Secure Digital Host Controller Interface driver
[    2.279517] sdhci: Copyright(c) Pierre Ossman
[    2.284037] _regulator_get: sdhci-esdhc-imx.2 supply vmmc not found, using dummy regulator
[    2.292593] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
[    2.300853] _regulator_get: sdhci-esdhc-imx.1 supply vmmc not found, using dummy regulator
[    2.315498] mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using ADMA
[    2.322709] sdhci sdhci-esdhc-imx.0: no write-protect pin available!
[    2.346405] _regulator_get: sdhci-esdhc-imx.0 supply vmmc not found, using dummy regulator
[    2.359017] mmc2: SDHCI controller on platform [sdhci-esdhc-imx.0] using ADMA
[    2.374051] VPU initialized
[    2.377849] mxc_asrc registered
[    2.406054] Thermal calibration data is 0x58a5275f
[    2.410855] Thermal sensor with ratio = 184
[    2.424039] usb 1-1: new high speed USB device number 2 using fsl-ehci
[    2.428122] Anatop Thermal registered as thermal_zone0
[    2.435852] anatop_thermal_probe: default cooling device is cpufreq!
[    2.442931] usbcore: registered new interface driver usbhid
[    2.452576] usbhid: USB HID core driver
[    2.460555] zram: num_devices not specified. Using default: 1
[    2.470439] zram: Creating 1 devices ...
[    2.475484] usbcore: registered new interface driver snd-usb-audio
[    2.482340] mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
[    2.487806] mxc_spdif mxc_spdif.0: MXC SPDIF Audio
[    2.495440] _regulator_get: 1-000a supply VDDD not found, using dummy regulator
[    2.506588] sgtl5000 1-000a: sgtl5000 revision 17
[    2.511587] print_constraints: 1-000a: 850 <--> 1600 mV at 1200 mV normal
[    2.540495] mmc0: new high speed SDHC card at address 0001
[    2.546728] mmcblk0: mmc0:0001 00000 14.6 GiB
[    2.556632]  mmcblk0: p1
[    2.568481] asoc: sgtl5000 <-> imx-ssi.1 mapping ok
[    2.579550] asoc: mxc-spdif <-> imx-spdif-dai.0 mapping ok
[    2.586515] hub 1-1:1.0: USB hub found
[    2.590412] hub 1-1:1.0: 4 ports detected
[    2.595671] asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
[    2.602314] ALSA device list:
[    2.607440]   #0: sgtl5000-audio
[    2.612708]   #1: imx-spdif
[    2.615537]   #2: imx-hdmi-soc
[    2.619280] TCP cubic registered
[    2.622585] NET: Registered protocol family 17
[    2.630668] Bluetooth: RFCOMM socket layer initialized
[    2.635858] Bluetooth: RFCOMM ver 1.11
[    2.641652] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.647016] Bluetooth: BNEP filters: multicast
[    2.651470] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.657635] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    2.665376] ThumbEE CPU extension supported.
[    2.670132] Bus freq driver module loaded
[    2.674217] Bus freq driver Enabled
[    2.677796] mxc_dvfs_core_probe
[    2.681161] DVFS driver module loaded
[    2.685543] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.696825] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
[    2.740152] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
[    2.819193] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
[    2.840690] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[    2.848226] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    2.854312] Freeing init memory: 152K
[    2.897856] usb 1-1.4: new high speed USB device number 3 using fsl-ehci
[    3.018705] mmc1: queuing unknown CIS tuple 0x80 (50 bytes)
[    3.033888] hub 1-1.4:1.0: USB hub found
[    3.043066] hub 1-1.4:1.0: 4 ports detected
INIT: [    3.203920] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
version 2.88 booting
[    3.236399] mmc1: queuing unknown CIS tuple 0x80 (4 bytes)
[    3.338239] usb 1-1.4.3: new low speed USB device number 4 using fsl-ehci
[    3.497915] input: Logitech USB Optical Mouse as /devices/platform/fsl-ehci.1/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0/input/input0
[    3.514783] generic-usb 0003:046D:C05A.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-fsl-ehci.1-1.4.3/input0
[    3.609117] usb 1-1.4.4: new low speed USB device number 5 using fsl-ehci
[    3.704742] mmc1: queuing unknown CIS tuple 0x02 (1 bytes)
[    3.748282] mmc1: new SDIO card at address 0001
[    3.761665] input: HID 04f3:0103 as /devices/platform/fsl-ehci.1/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.0/input/input1
[    3.777319] generic-usb 0003:04F3:0103.0002: input,hidraw1: USB HID v1.10 Keyboard [HID 04f3:0103] on usb-fsl-ehci.1-1.4.4/input0
[    3.797049] input: HID 04f3:0103 as /devices/platform/fsl-ehci.1/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.1/input/input2
[    3.808447] generic-usb 0003:04F3:0103.0003: input,hidraw2: USB HID v1.10 Device [HID 04f3:0103] on usb-fsl-ehci.1-1.4.4/input1
Starting udev
udevd[730]: error: runtime directory '/run/udev' not writable, for now falling back to '/dev/.udev'
[    4.295908] udevd[731]: starting version 173
[    4.644851] udevd[734]: renamed network interface eth0 to eth1
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[    5.018706] EXT4-fs (zram0): unable to read superblock
[    5.054231] EXT4-fs (zram0): unable to read superblock
[    5.110945] EXT4-fs (zram0): unable to read superblock
[    5.166107] FAT-fs (zram0): unable to read boot sector
[    5.664658] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null)

(2013-07-02, 22:38)wolfgar Wrote: PS : By the way I have just received a wandboard Quad so this board is very likely to become my main dev board Wink

Nice Big Grin
I am really looking forward to see your progress on this.


have a nice day Wink
Reply
My screen randomly goes black, audio keeps playing aprox. 15secs. I suspect xbmc crashes while dvdplayer or paplayer keeps playing until its buffer is empty.
It happens while playing videos and also in menus.

Process is still active
Code:
root@gk802:~# ps ax | grep xbmc
1032 ?        Rl    17:36 /imx6/xbmc/lib/xbmc/xbmc.bin
1202 pts/0    S+     0:00 grep xbmc
root@gk802:~#

Serial console gets spammed with:
Code:
INIT: Id "S" respawning too fast: disabled for 5 minutes

Here is xbmc.log as soon as screen went black:

Code:
11:01:15 T:732155904   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc                          
11:01:15 T:732155904   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated                            
11:01:15 T:732155904   DEBUG: ------ Window Init () ------                                                                    
11:01:15 T:732155904   DEBUG: Alloc resources: 0.02ms  (0.02 ms skin load)                                                    
11:01:35 T:732155904   DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc                        
11:01:35 T:732155904   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated                          
11:01:35 T:732155904   DEBUG: ------ Window Init (Pointer.xml) ------                                                        
11:01:36 T:732155904   DEBUG: ------ Window Deinit () ------                                                                  
11:01:40 T:732155904   DEBUG: ------ Window Deinit (Pointer.xml) ------                                                      
11:03:12 T:732155904   DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0                          
11:03:12 T:732155904   DEBUG: OnKey: right (0xf083) pressed, action is Right                                                  
11:03:12 T:930739296    INFO: CAESinkALSA::Initialize - Attempting to open device "sysdefault"                                
11:03:12 T:930739296    INFO: CAESinkALSA::Initialize - Opened device "sysdefault"                                            
11:03:12 T:930739296   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192                          
11:03:12 T:930739296   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192                              
11:03:12 T:930739296   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms                                          
11:03:12 T:930739296   DEBUG: Resumed the Sink                                                                                
11:03:23 T:930739296   DEBUG: Suspended the Sink                                                                              
11:04:28 T:732155904   DEBUG: ------ Window Init (Pointer.xml) ------                                                        
11:04:30 T:732155904   DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0                          
11:04:30 T:732155904   DEBUG: OnKey: right (0xf083) pressed, action is Right                                                  
11:04:30 T:930739296    INFO: CAESinkALSA::Initialize - Attempting to open device "sysdefault"                                
11:04:30 T:732155904   DEBUG: ------ Window Deinit (Pointer.xml) ------                                                      
11:04:30 T:930739296    INFO: CAESinkALSA::Initialize - Opened device "sysdefault"                                            
11:04:30 T:930739296   DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192                          
11:04:30 T:732155904   DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0                          
11:04:30 T:732155904   DEBUG: OnKey: right (0xf083) pressed, action is Right                                                  
11:04:30 T:732155904   DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0                          
11:04:30 T:732155904   DEBUG: OnKey: right (0xf083) pressed, action is Right                                                  
11:04:30 T:930739296   DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192                              
11:04:30 T:930739296   DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms                                          
11:04:30 T:930739296   DEBUG: Resumed the Sink                                                                                
11:04:40 T:930739296   DEBUG: Suspended the Sink                                                                              
11:07:31 T:732155904   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc                          
11:07:31 T:732155904   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated                            
11:07:31 T:732155904   DEBUG: ------ Window Init () ------                                                                    
11:07:31 T:732155904   DEBUG: Alloc resources: 0.01ms  (0.01 ms skin load)

Hmm seems like xbmc keeps running but screen is black. Logging goes on. Keystrokes get recognized.

EDIT:

I just saw that you posted a workaround for the black screen bug. Is it the one that i experienced ?
Reply
Hi xn2000

Thanks for your answer : You seem to have a similar memory layout as I have on my gk802 which is able to allocate the dma buffers without trouble so I don't understand for now...
Anyway I should have my own board up and running very soon (still a little power supply issue but not a big deal ...)
So I will experiment and you can be sure that it is my priority Wink

Regarding the black screen , it may be an overheating issue :
Can you monitor the core temperature : (it is made available in xbmc GUI or you can get it by reading the special file /sys/class/thermal/thermal_zone0/temp)

More news very soon...
Best regards
Stephan
Reply
Me again
Please try this xbmc binary
You have to decompress the file and to replace the file /imx6/xbmc/lib/xbmc/xbmc.bin on the target

It works on my wandboard ...

By the way : on the wandboard the core cpu temperature does not go beyond 50°C while (for the same use cases) the temp was 80°C on the GK802 (even with my additional heatsink on the case). Things are REALLY different with a properly designed board ;-)

regards
Stéphan
Reply
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 39

Logout Mark Read Team Forum Stats Members Help
[i.MX6] XBMC running on Freescale SoC's4