XBMC

Discussion in 'XBMC' started by lsronga, Nov 18, 2013.

  1. lsronga

    lsronga New Member

    Joined:
    Jul 18, 2013
    Messages:
    14
    Likes Received:
    0
    XBMC porting for UDOO-Quad

    Hi,
    at the link below you can find the new image of XBMC for UDOO based on Yocto (Dora) prepared by Stephan. The file is compressed with XZ utility.

    udoo_quad_xbmc_20131129.img.xz (md5sum: f2650e348c8333adc6d66634481186a6)

    In order to burn the image, first decompress it with XZ utility (assuming Linux system with a suitable filesystem ):

    Code:
    xz -vd <image file>.xz 
    then copy on the SD card

    Code:
    dd if=<uncompressed image> of=<your sd device> bs=4M
    let us know.
    L.

    The system accepts incoming SSH connections with the credentials: root/xbmcpoc.

    Description:
    This porting is based on Yocto Dora, adapted by Stephan Rafin for UDOO-Quad.

    Installation:
    uncompress with xz utility and copy the image on a 4GB mini SD card

    Reported issues:
    .

    Changelog:
    20131129 - new Yocto release, compressed image
    20131021 - shrinked image, it should fit most of 8GB sd card; some XBMC plugins added.

    Credits:
    Stephan Rafin for his continuous excellent work on XBMC for ARM iMX6/Yocto
     
  2. delba

    delba Administrator

    Joined:
    May 8, 2013
    Messages:
    1,063
    Likes Received:
    9
    Awesome! Thanks lsronga, i'm moving this thread in the UDOO Operating Systems section (Other OS).
     
  3. Nexxy

    Nexxy New Member

    Joined:
    Nov 2, 2013
    Messages:
    29
    Likes Received:
    0
    Hey thx,

    i managed to get xbmc compiled completly 2 .. but i dot get it runnung due to a lack of missing audio devices .. how did you fix that.
    I didnt find any elsa OSS emu driver for udoo / freescale boards.

    Greetings
    Nexxy
     
  4. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    How do we report issue?
    I have this two issues:
    - no boot when eth0 is plugged
    - no audio over hdmi.
     
  5. lsronga

    lsronga New Member

    Joined:
    Jul 18, 2013
    Messages:
    14
    Likes Received:
    0
    Hi madko,
    I am working on the next release that should address the hdmi issue.
    For the eth0 one I cannot reproduce it. My setup has eth0 plugged on a Gbps switch since power on but it seems to work. Can I have a look at kernel log messages (dmesg copied to txt).
    Thanks
     
  6. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    In fact it hangs has soon as I plug the eth0. I will try to get the dmesg, how can I have a shell access? via serial USB?
     
  7. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    I don't have a shell access via serial usb, but I have a kernel crash dump:

    Code:
    Running local boot scripts (/etc/rc.local).
    
    [    7.970606] input: synergy device as /devices/virtual/input/input2
    connect failed: Network is unreachable
    
    
    [   67.903597] PHY: 1:06 - Link is Up - 1000/Full
    [   68.094766] Unable to handle kernel paging request at virtual address ffe00002
    [   68.102011] pgd = a4b28000
    [   68.104729] [ffe00002] *pgd=37ffe821, *pte=00000000, *ppte=00000000
    [   68.111064] Internal error: Oops: 17 [#1] PREEMPT SMP
    [   68.116128] Modules linked in:
    [   68.119214] CPU: 1    Not tainted  (3.0.35-g210bacb-dirty #1)
    [   68.124989] PC is at fec_enet_start_xmit+0x130/0x240
    [   68.129970] LR is at fec_enet_start_xmit+0x104/0x240
    [   68.134954] pc : [<80304ef8>]    lr : [<80304ecc>]    psr: 200f0093
    [   68.134965] sp : a51abd18  ip : b0000000  fp : 00009c00
    [   68.146467] r10: 80b36870  r9 : 348ea000  r8 : ffdffc00
    [   68.151706] r7 : 800f0013  r6 : 00000001  r5 : a4228e4c  r4 : a4228000
    [   68.158249] r3 : ffe00000  r2 : 00000005  r1 : a00f0093  r0 : 80b55e00
    [   68.164795] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [   68.172035] Control: 10c53c7d  Table: 34b2804a  DAC: 00000015
    [   68.177796] Process dhclient (pid: 2047, stack limit = 0xa51aa2f0)
    [   68.183993] Stack: (0xa51abd18 to 0xa51ac000)
    [   68.188366] bd00:                                                       a485d37c 00000001
    [   68.196570] bd20: 8008a58c 00004000 a4cffb40 a4228000 00000000 80b0c114 80586f70 a416df00
    [   68.204773] bd40: 80b9cda4 8044a158 a51abd74 80063ba0 000000c3 80b0c114 00000058 a447de00
    [   68.212976] bd60: a4228000 a447de5c a4cffb40 a416df00 a4e07000 00000001 00000102 804656d0
    [   68.221178] bd80: a416df00 a447de00 a4cffb40 a4228000 a416df00 a447de5c 00000000 8044a5dc
    [   68.229381] bda0: a447de5c a4e07402 00000000 00000000 00000156 00000156 a4e07402 a51abf5c
    [   68.237583] bdc0: a51abede a4e07000 a4cffb40 804bbb7c a51abf4c 00000008 a4e0a7e0 00000156
    [   68.245785] bde0: a51abf5c 8096f834 a4e0a7e0 00000000 00000000 00000012 7eca54e2 80436f5c
    [   68.253987] be00: ffffffff 00000000 00000000 00000001 ffffffff 00000000 00000000 00000000
    [   68.262188] be20: 00000000 00000000 a4e0a7e0 80af80c0 00000000 00000000 00000251 4a323000
    [   68.270391] be40: a51abe78 a4c03f20 a4b29288 00000000 a47e0d3c 800d2070 a4b29288 00000000
    [   68.278594] be60: cd5fe96d a47e0d00 4a323adc a47e0d3c a47e0d40 00000058 a207b6c0 4a323adc
    [   68.286796] be80: a51abda8 00000156 a236ad00 804955c4 00000000 a51abf5c 00000200 00000000
    [   68.294998] bea0: fffffff7 a51abf70 a51abf74 7eca54e2 a236ad00 7eca544c 00000000 00000156
    [   68.303200] bec0: 7eca54e2 a236ad00 7eca544c 00000000 a51aa000 80438a48 a4dc0240 74650011
    [   68.311401] bee0: 00003268 00000000 00000000 00000008 80b0f790 4a323adc 00000002 8011d8d0
    [   68.319602] bf00: 00000000 00000000 00000001 80038420 44000002 00000000 00000000 a44f3a08
    [   68.327804] bf20: 00000000 00000000 a4dc0240 00000000 00000000 00000000 a236aea0 a44f3a08
    [   68.336005] bf40: 00000001 00000000 a474c430 00000002 a51aa000 00000000 00000001 a51abedc
    [   68.344207] bf60: 00000012 a51abf78 00000001 00000000 00000000 00000000 7eca5638 00000000
    [   68.352408] bf80: 00000000 00000000 00000121 7eca544c 00000012 0000012c 00000122 8003e104
    [   68.360610] bfa0: 00000000 8003df80 7eca544c 00000012 00000005 7eca54e2 00000156 00000000
    [   68.368812] bfc0: 7eca544c 00000012 0000012c 00000122 0000002c 00004300 001deb70 7eca54e2
    [   68.377015] bfe0: 7eca5428 7eca541c 0002d694 4a30e4f4 600f0010 00000005 bd34cb3d e57fbd7f
    [   68.385241] [<80304ef8>] (fec_enet_start_xmit+0x130/0x240) from [<8044a158>] (dev_hard_start_xmit+0x2f4/0x59c)
    [   68.395300] [<8044a158>] (dev_hard_start_xmit+0x2f4/0x59c) from [<804656d0>] (sch_direct_xmit+0xb0/0x1dc)
    [   68.404908] [<804656d0>] (sch_direct_xmit+0xb0/0x1dc) from [<8044a5dc>] (dev_queue_xmit+0x1dc/0x60c)
    [   68.414076] [<8044a5dc>] (dev_queue_xmit+0x1dc/0x60c) from [<804bbb7c>] (packet_sendmsg_spkt+0x1e0/0x1f4)
    [   68.423693] [<804bbb7c>] (packet_sendmsg_spkt+0x1e0/0x1f4) from [<80436f5c>] (sock_sendmsg+0x94/0xb4)
    [   68.432953] [<80436f5c>] (sock_sendmsg+0x94/0xb4) from [<80438a48>] (sys_sendto+0xb4/0xd8)
    [   68.441268] [<80438a48>] (sys_sendto+0xb4/0xd8) from [<8003df80>] (ret_fast_syscall+0x0/0x30)
    [   68.449823] Code: 02833b01 12433008 e3120004 0a000007 (e1d330f2) 
    [   68.455969] ---[ end trace b594e7a431f2f6b3 ]---
    [   68.460602] Kernel panic - not syncing: Fatal exception in interrupt
    [   68.467022] [<80044b18>] (unwind_backtrace+0x0/0xf8) from [<80551398>] (panic+0x74/0x18c)
    [   68.475248] [<80551398>] (panic+0x74/0x18c) from [<80041720>] (die+0x220/0x284)
    [   68.482591] [<80041720>] (die+0x220/0x284) from [<80550d90>] (__do_kernel_fault.part.3+0x54/0x74)
    [   68.491509] [<80550d90>] (__do_kernel_fault.part.3+0x54/0x74) from [<800486ec>] (do_page_fault+0x2b4/0x31c)
    [   68.501297] [<800486ec>] (do_page_fault+0x2b4/0x31c) from [<80038384>] (do_DataAbort+0x34/0x9c)
    [   68.510043] [<80038384>] (do_DataAbort+0x34/0x9c) from [<8003d950>] (__dabt_svc+0x70/0xa0)
    [   68.518335] Exception stack(0xa51abcd0 to 0xa51abd18)
    [   68.523416] bcc0:                                     80b55e00 a00f0093 00000005 ffe00000
    [   68.531619] bce0: a4228000 a4228e4c 00000001 800f0013 ffdffc00 348ea000 80b36870 00009c00
    [   68.539829] bd00: b0000000 a51abd18 80304ecc 80304ef8 200f0093 ffffffff
    [   68.546488] [<8003d950>] (__dabt_svc+0x70/0xa0) from [<80304ef8>] (fec_enet_start_xmit+0x130/0x240)
    [   68.555580] [<80304ef8>] (fec_enet_start_xmit+0x130/0x240) from [<8044a158>] (dev_hard_start_xmit+0x2f4/0x59c)
    [   68.565636] [<8044a158>] (dev_hard_start_xmit+0x2f4/0x59c) from [<804656d0>] (sch_direct_xmit+0xb0/0x1dc)
    [   68.575251] [<804656d0>] (sch_direct_xmit+0xb0/0x1dc) from [<8044a5dc>] (dev_queue_xmit+0x1dc/0x60c)
    [   68.584428] [<8044a5dc>] (dev_queue_xmit+0x1dc/0x60c) from [<804bbb7c>] (packet_sendmsg_spkt+0x1e0/0x1f4)
    [   68.594044] [<804bbb7c>] (packet_sendmsg_spkt+0x1e0/0x1f4) from [<80436f5c>] (sock_sendmsg+0x94/0xb4)
    [   68.603312] [<80436f5c>] (sock_sendmsg+0x94/0xb4) from [<80438a48>] (sys_sendto+0xb4/0xd8)
    [   68.611614] [<80438a48>] (sys_sendto+0xb4/0xd8) from [<8003df80>] (ret_fast_syscall+0x0/0x30)
    [   68.620179] CPU3: stopping
    [   68.622930] [<80044b18>] (unwind_backtrace+0x0/0xf8) from [<80038324>] (do_IPI+0x150/0x17c)
    [   68.631318] [<80038324>] (do_IPI+0x150/0x17c) from [<8003d9cc>] (__irq_svc+0x4c/0xe8)
    [   68.639165] Exception stack(0xa4077f90 to 0xa4077fd8)
    [   68.644235] 7f80:                                     80b5ce80 20000093 00000001 00000000
    [   68.652438] 7fa0: a4076000 80b559e4 80559d84 80b0ef04 1000406a 412fc09a 00000000 00000000
    [   68.660638] 7fc0: 00000000 a4077fd8 8004c89c 8003eac4 40000013 ffffffff
    [   68.667284] [<8003d9cc>] (__irq_svc+0x4c/0xe8) from [<8003eac4>] (default_idle+0x24/0x28)
    [   68.675491] [<8003eac4>] (default_idle+0x24/0x28) from [<8003ecc8>] (cpu_idle+0xc8/0x108)
    [   68.683696] [<8003ecc8>] (cpu_idle+0xc8/0x108) from [<1054de34>] (0x1054de34)
    [   68.690850] CPU2: stopping
    [   68.693600] [<80044b18>] (unwind_backtrace+0x0/0xf8) from [<80038324>] (do_IPI+0x150/0x17c)
    [   68.701989] [<80038324>] (do_IPI+0x150/0x17c) from [<8003d9cc>] (__irq_svc+0x4c/0xe8)
    [   68.709836] Exception stack(0xa406ff90 to 0xa406ffd8)
    [   68.714906] ff80:                                     80b5ce80 600f0093 00000001 00000000
    [   68.723108] ffa0: a406e000 80b559e4 80559d84 80b0ef04 1000406a 412fc09a 00000000 00000000
    [   68.731308] ffc0: 00000000 a406ffd8 8004c89c 8003eac4 400f0013 ffffffff
    [   68.737953] [<8003d9cc>] (__irq_svc+0x4c/0xe8) from [<8003eac4>] (default_idle+0x24/0x28)
    [   68.746160] [<8003eac4>] (default_idle+0x24/0x28) from [<8003ecc8>] (cpu_idle+0xc8/0x108)
    [   68.754364] [<8003ecc8>] (cpu_idle+0xc8/0x108) from [<1054de34>] (0x1054de34)
    [   69.858440] SMP: failed to stop secondary CPUs
    
    I hope it will be usefull.
     
  8. h66

    h66 New Member

    Joined:
    Oct 28, 2013
    Messages:
    4
    Likes Received:
    0
    The hardware acceleration is working to play videos?
    Can it run 720p videos smoothly?
    Thanks for the port!
     
  9. delba

    delba Administrator

    Joined:
    May 8, 2013
    Messages:
    1,063
    Likes Received:
    9
    We just got a fully functional version of XBMC with graphic acceleration. It works very smoothly! Wait for it ;)
     
  10. h66

    h66 New Member

    Joined:
    Oct 28, 2013
    Messages:
    4
    Likes Received:
    0
    Nice to hear that :D yayyy,
    Any hint of possible release dates?
     
  11. delba

    delba Administrator

    Joined:
    May 8, 2013
    Messages:
    1,063
    Likes Received:
    9
    I'd say beginning of Next week
     
  12. lsronga

    lsronga New Member

    Joined:
    Jul 18, 2013
    Messages:
    14
    Likes Received:
    0
    It seems that is the dhclient process itself to fail. Anyway I suggest to wait for the new image based on Yocto (Dora) by Stephan Rafin that will be released soon (follow this topic). The Yocto version is new and will probably also correct this issue.

     
  13. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    Thanks delba and lsronga for the updates. I'm waiting for the new version and will try it asap.
     
  14. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    Any updates? Would be glad to help by trying any beta img on my udoo
     
  15. lsronga

    lsronga New Member

    Joined:
    Jul 18, 2013
    Messages:
    14
    Likes Received:
    0
    Hi,
    at the link below you can find the new image of XBMC for UDOO based on Yocto (Dora) prepared by Stephan. The file is compressed with XZ utility.

    udoo_quad_xbmc_20131129.img.xz

    In order to burn the image, first decompress it with XZ utility (assuming Linux system with a suitable filesystem ):

    Code:
    xz -d <image file>.xz 
    then copy on the SD card

    Code:
    dd if=<uncompressed image> of=<your sd device>
    let us know.
    L.
     
  16. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    Hi Isronga,

    My first attempt: can't boot. I will try to redownload it. Do you have any sha1sum of the uncompressed img file? I get a Bad CRC error in uboot, then can't find kernel image.

    Code:
    reading uImage
    
    
    4058160 bytes read
    
    ## Booting kernel from Legacy Image at 10800000 ...
    
       Image Name:   Linux-3.0.35-gacca8e0-dirty
    
       Created:      2013-11-19   2:20:52 UTC
    
       Image Type:   ARM Linux Kernel Image (uncompressed)
    
       Data Size:    4058096 Bytes =  3.8 MB
    
       Load Address: 10008000
    
       Entry Point:  10008000
    
       Verifying Checksum ... Bad Data CRC
    
    ERROR: can't get kernel image!
    
    MX6Q UDOO U-Boot > 
    
     
  17. madko

    madko New Member

    Joined:
    Nov 4, 2013
    Messages:
    21
    Likes Received:
    0
    My second attend (juste redo the dd part) is way better. No more hangs when pluging eth or changing languages. I will try to play some videos. Sound over hdmi is also working great!

    Thank you!
     
  18. jdonavan

    jdonavan New Member

    Joined:
    Oct 28, 2013
    Messages:
    34
    Likes Received:
    0
    I was able to create a good SD card and boot from it but something isn't right. It's struggling to just do the RSS scroller on the bottom of the screen. It responds to keyboard input several seconds behind.

    I thought perhaps it was caused by the plugins auto-updating but it persists even after a reboot.
     
  19. lupus

    lupus New Member

    Joined:
    Dec 2, 2013
    Messages:
    1
    Likes Received:
    0
    Isronga, thanks for the good work!
    Would it be possible to publish the yocto config files?
     
  20. pires100

    pires100 New Member

    Joined:
    Dec 3, 2013
    Messages:
    21
    Likes Received:
    0
    Hi

    Thank you very much for working on getting XBMC running on Udoo so soon. It will definitely be used extensively by many an Udoo owner...

    JUst one question that has been nagging me... Will it be possible to get Pulse-eight's CEC adapter software running on XBMC on the Udoo. I ask cos I think this is one of the coolest features of the different versions of xbmc(namely raspbmc and openelec) on the raspberry pi as one can just pick up your tv remote and control the XBMC GUI quickly without need of keyboard...

    Are there any plans to include this in the XBMC Udoo build? cos it would be greatly appreciated...

    Thanks again...
     

Share This Page