Kodi Community Forum
Allwinner A10 : Is XBMC ported to MALI-400MP ? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Allwinner A10 : Is XBMC ported to MALI-400MP ? (/showthread.php?tid=126995)



RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Vaevictus2 - 2012-10-28

OK well I figure since the Mele is quite a slow box armhf operating system is the way to go as it squeezes more juice out of the processor.

The mk802 (also allwinner a10) have a nice image out there.
http://dl.miniand.com.s3.amazonaws.com/toby_corkindale/linaro-alip-armhf-t4.7z?coral-no-serve

Since that image is for a 1GB ram device and the mele is a 512MB, you need to patch the SD card after writing the SD card with http://dl.miniand.com/allwinnera10/system/u-boot-512mb.bin
I used dd for windows

dd if=uboot.bin of=\\?\Device\Harddisk1\DR4 bs=1024 seek=8

now you have an sd card image that will boot properly on a Mele

I have tested wifi - works fine.

The only thing is that the .deb file posted above for xbmc is not compiled for armhf and therefore wont install.

can we please get a armhf build of xbmca10 uploaded somewhere? If test is somewhat successful I will rip my image file and reupload somewhere
oh and just to show how close we are:

https://www.dropbox.com/s/gxuxzppgz0jk2ns/xbmca10-test.mp4

that is someone running xbmc on their allwinner a10 stick


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - antonl1911 - 2012-10-28

(2012-10-28, 18:37)Vaevictus2 Wrote: Since that image is for a 1GB ram device and the mele is a 512MB, you need to patch the SD card after writing the SD card with http://dl.miniand.com/allwinnera10/system/u-boot-512mb.bin

Are you sure about the RAM amount on mele? My A2000 model shows following in serial:


Code:
[    0.000000] Initializing cgroup subsys cpuset                
[    0.000000] Linux version 3.0.36-t3+ (tobyc@adonai) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #19 PREEMPT2
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun4i
[    0.000000] Total Detected Memory: 1024MB with 2 banks





RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Vaevictus2 - 2012-10-28

nope i definitely have 512 in my a2000, and inside linux only 315MB available (a bunch gets stolen by the graphics chip)


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Snippo - 2012-10-28

(2012-10-28, 18:37)Vaevictus2 Wrote: oh and just to show how close we are:

https://www.dropbox.com/s/gxuxzppgz0jk2ns/xbmca10-test.mp4

that is someone running xbmc on their allwinner a10 stick

That's also the only movie I can get to work Rolleyes . On armhf I have the same issues as I posted earlier in this thread.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Vaevictus2 - 2012-10-28

hi snippo.

since the post you made the other day empatzero has checked in armhf specific code, can you try again?


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - rfreiha - 2012-10-29

(2012-10-28, 18:37)Vaevictus2 Wrote: OK well I figure since the Mele is quite a slow box armhf operating system is the way to go as it squeezes more juice out of the processor.

The mk802 (also allwinner a10) have a nice image out there.
http://dl.miniand.com.s3.amazonaws.com/toby_corkindale/linaro-alip-armhf-t4.7z?coral-no-serve

Since that image is for a 1GB ram device and the mele is a 512MB, you need to patch the SD card after writing the SD card with http://dl.miniand.com/allwinnera10/system/u-boot-512mb.bin
I used dd for windows

dd if=uboot.bin of=\\?\Device\Harddisk1\DR4 bs=1024 seek=8

now you have an sd card image that will boot properly on a Mele

I have tested wifi - works fine.

The only thing is that the .deb file posted above for xbmc is not compiled for armhf and therefore wont install.

can we please get a armhf build of xbmca10 uploaded somewhere? If test is somewhat successful I will rip my image file and reupload somewhere
oh and just to show how close we are:

https://www.dropbox.com/s/gxuxzppgz0jk2ns/xbmca10-test.mp4

that is someone running xbmc on their allwinner a10 stick

i have compiled this package on my mk802 running lubuntu miniand lubuntu 12.04 1GB ram version
XBMC works really good the only problem i have is i have no sound even without xbmc, i think we need a mk802 working image

here's the link
https://www.dropbox.com/s/c4whl1hr3etsbiq/xbmca10.deb



RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Vaevictus2 - 2012-10-29

thanks downloading now. Is this compiled fresh from github today?

Ill paste you my .asoundrc file tomorrow which I needed to get alsa working on linaro



RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - rfreiha - 2012-10-29

(2012-10-29, 02:56)Vaevictus2 Wrote: thanks downloading now. Is this compiled fresh from github today?

Ill paste you my .asoundrc file tomorrow which I needed to get alsa working on linaro

this obe was compiled on last week Wednesday 24


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Snippo - 2012-10-29

... is the version for armhf. I used j1nx's Linaro build.

@Vaevictus2
I'm already using the latest code from empat0.

Edit: Uploaded new file.
Edit2: File doesn't seem to work so I removed it.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - stormrev - 2012-10-29

trying to install on same linaro but complains about a missing package:
python-imaging:armel
any help appreciated


(2012-10-29, 10:11)Snippo Wrote: Here is the version for armhf. I used j1nx's Linaro build.

@Vaevictus2
I'm already using the latest code from empat0.




RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - stormrev - 2012-10-29

Hi Snippo,
checking your armhf package info seems that you did not change to armhf the architecture type thus the package is not installable on pure linaro armhf
Could you pls repackage it ??
many thanks
storm


Section: video
Priority: optional
Maintainer: empat zero
Package: xbmca10
Architecture: armel
Version: 0.0.1-alpha


(2012-10-29, 10:11)Snippo Wrote: Here is the version for armhf. I used j1nx's Linaro build.

@Vaevictus2
I'm already using the latest code from empat0.




RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Snippo - 2012-10-29

I changed it. I'll upload it in a sec.

To anyone else having problems with it: send me a PM instead of replying here. No need to spam this topic because I made a dumb mistake :p.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Vaevictus2 - 2012-10-29

rreiha:

for getting sound working create a file called .asoundrc in your home folder

paste this into it:
Code:
pcm.dmixer {
      type dmix
      ipc_key 1024
      ipc_key_add_uid false
      ipc_perm 0660
      slave {
          pcm "hw:1,0"
          rate 48000
          channels 2
          period_time 0
          period_size 1024
          buffer_time 0
          buffer_size 4096
      }
  }

pcm.!default {
      type plug
      slave.pcm "dmixer"
  }

pcm.!hdmi-remap {
      type asym
      playback.pcm {
          type plug
          slave.pcm "remap-surround71"
      }
  }

pcm.!remap-surround71 {
      type route
      slave.pcm "hw:1,0"
      ttable {
          0.0= 1
          1.1= 1
          2.4= 1
          3.5= 1
          4.2= 1
          5.3= 1
          6.6= 1
          7.7= 1
      }
  }

then reboot


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Vaevictus2 - 2012-10-29

I found a very nice page on building xbmc natively on the Mele a2000

http://linux-sunxi.org/XBMC


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - poo706 - 2012-10-29

(2012-10-29, 14:18)Vaevictus2 Wrote: I found a very nice page on building xbmc natively on the Mele a2000

http://linux-sunxi.org/XBMC

I've spent some time on that page! I got extremely stuck on the very first step of creating the armel system from the rhombus-tech link. This page was created before the armhf cedar libs, has it been updated to build armhf xbmc?

[poo]