Author Topic: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)  (Read 132808 times)

Offline Vladimir

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +3/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #15 on: September 27, 2013, 06:46:37 am »
...are newer and already offer the XBMC 13 Alpha.

Thanks again!!  :D

magno

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #16 on: September 27, 2013, 09:18:14 pm »
Vladimir,
I "burn" this image in my 15Gb SDCARD and see all working fine.
Then I do some customs, like a samba server and wifi ...

Now, I need to backup again to an image file, but the image have the sdcard space size (15Gb) and not your distro size (about 3Gb).

I'm using Win32DiskImager.

By the way, how can I install in the NAND?


Offline Vladimir

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +3/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #17 on: September 28, 2013, 08:52:27 am »
Now, I need to backup again to an image file, but the image have the sdcard space size (15Gb) and not your distro size (about 3Gb).
I'm using Win32DiskImager.
If You need only personal backup, and You don't plan to write this image on a smaller sdcard, I think one of the best option just create image and then compress it with rar,tar,zip etc.

To create the image for a smaller card - maybe more time consuming.
First I change the size of the root system using gparted in linux. In windows You can do it with Acronis Partition expert or a similar program (with Acronis Partition expert You also can extend partition on whole size of sdcard after writing some small image on it). After resizing Root Partition I copy only half of the card with dd:

sudo dd if=/dev/sdd of=linaro-raring-server-xbmc-0.1-4gbcard.img bs=1024 count=3400000

It looks that there is no chance to copy part of disk with Win32Imager. But You can try "dd for windows" http://www.chrysocome.net/dd (Be careful to use right command and drive, otherwise You will crush Your data !!) After creating smaller image it also can be effective compressed.

By the way, how can I install in the NAND?

I didn't tried yet to build nand image. I plan to use this article:
http://linux-sunxi.org/LiveSuit_images
« Last Edit: September 28, 2013, 09:06:29 am by Vladimir »

magno

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #18 on: September 29, 2013, 12:54:32 pm »
If You need only personal backup, and You don't plan to write this image on a smaller sdcard, I think one of the best option just create image and then compress it with rar,tar,zip etc.

...


Thanks for very detailed explain.

I think just using a 4 Gb SD is enougth  to keep the size under control, don't you ?

Offline Vladimir

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +3/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #19 on: September 29, 2013, 01:05:28 pm »
I think just using a 4 Gb SD is enougth  to keep the size under control, don't you ?

Ready image without source xbmc of course should be within 4 GB. But to compile imo better to have more space.

magno

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #20 on: September 29, 2013, 03:08:46 pm »
I think just using a 4 Gb SD is enougth  to keep the size under control, don't you ?

Ready image without source xbmc of course should be within 4 GB. But to compile imo better to have more space.

This distro is the first to put xbmc on A20 to work.

You've done a excelent work for sure. I don't need to compile.

« Last Edit: September 29, 2013, 03:12:39 pm by magno »

magno

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #21 on: September 29, 2013, 06:18:51 pm »
Known issues/bugs:

1. After several minutes of movie watching, only space (pause) works on keyboard. Then screen can fade to black...

After a few minutes (10-15) the screen goes away ...
(I'm in the main menu and don't play anything)

Anyone have a clue ?

By the way, how can I enable the log messages in screen boot?
« Last Edit: September 29, 2013, 08:09:35 pm by magno »

acamposxp

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #22 on: October 01, 2013, 10:21:13 am »
Vladimir, you got the weekend back to hobbie?
Tested some new possibility to decrease the instability?
Maybe posting news does not help us. We will not let the bill "die on the beach."

lexxksb

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #23 on: October 01, 2013, 11:30:36 am »
Vladimir, you got the weekend back to hobbie?
Tested some new possibility to decrease the instability?
Maybe posting news does not help us. We will not let the bill "die on the beach."
+1

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #24 on: October 01, 2013, 06:35:47 pm »
Known issues/bugs:

1. After several minutes of movie watching, only space (pause) works on keyboard. Then screen can fade to black...

After a few minutes (10-15) the screen goes away ...
(I'm in the main menu and don't play anything)

Anyone have a clue ?

By the way, how can I enable the log messages in screen boot?

Is the screen's power saving disabled?  Try this (as root):

echo 0  > /sys/class/graphics/fb0/blank

(Note: there's a space after the '0')


Offline Vladimir

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +3/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #25 on: October 02, 2013, 06:32:52 am »
echo 0  > /sys/class/graphics/fb0/blank

Unfortunately, no effect.

magno

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #26 on: October 02, 2013, 05:05:29 pm »
Vladimir,

I've printed out your history to try to replicate your steps in installing xbmc.

My goal is to put xbmc to work in Patrick distro:

http://www.cubieforums.com/index.php/topic,838.0.html

Before this, I need make sure patwood's distro don't have the same "10 minutes of live" bug.

UPDATE:
--------------------------------------------

After a little test, the Patrick's distro shows not have the "10 minutes of live" bug.

The screen was turned off after a idle time, but a keyboard hit brings it back.
I think it's easy to turn this feature off.
« Last Edit: October 02, 2013, 06:09:15 pm by magno »

acamposxp

  • Guest
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #27 on: October 03, 2013, 12:00:26 am »
I'm thinking that the image is with some malformation. Constantly has shown errors "segment fault" in a simple attempt to update "apt-get update".

Offline Vladimir

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +3/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #28 on: October 03, 2013, 01:08:09 am »
Before this, I need make sure patwood's distro don't have the same "10 minutes of live" bug.

I never deal with these distro, so I can not comment it in any way.

By the way, I replaced the library "libve" by this: http://linux-sunxi.org/CedarX/libve

and decoding h.264 was without pink artifacts, but unfortunately, most of the video is choppy. While the test video from http://samplemedia.linaro.org/ played great. The same as described herein: http://forum.xbmc.org/showthread.php?tid=126995&pid=1497858#pid1497858

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) Linaro Raring Server with XBMC (SDcard image)
« Reply #29 on: October 03, 2013, 09:58:47 am »
You may need to modify your FEX file to change pll4.  The defaults for android don't work right with linux cedarx; pll4 freq needs to be set to 960 and mali clkdiv to 3.