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 ? - nutt318 - 2012-11-14

@Rok1337

Do you have a link to the image yet?


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - CreaB - 2012-11-15

Hey there!

finally i successfully built xbmca10-armhf on j1nx linaro 12.08.
A major problem is, that if i start xbmc, no matter if X is kileld or not, the device shuts down, or crashes.
The last line in syslog is "UMP: opening new session" and the xbmc-log is empty.

Has anybody experienced this before?


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - rellla - 2012-11-15

For all the happy people that have a working xbmc, please help testing and have a look at http://linux-sunxi.org/CedarXVideoRenderingChart
rellla


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - servili007 - 2012-11-15

(2012-11-15, 13:25)CreaB Wrote: Hey there!

finally i successfully built xbmca10-armhf on j1nx linaro 12.08.
A major problem is, that if i start xbmc, no matter if X is kileld or not, the device shuts down, or crashes.
The last line in syslog is "UMP: opening new session" and the xbmc-log is empty.

Has anybody experienced this before?

I ran into a similar problem when starting with J1nx's base. I recommend starting elsewhere, as that build seems to have quite a few problems.

(2012-11-15, 14:38)rellla Wrote: For all the happy people that have a working xbmc, please help testing and have a look at http://linux-sunxi.org/CedarXVideoRenderingChart
rellla

Sure, I'll get around to this soon.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - davorf - 2012-11-15

Edit: I'll be happy to test it as soon as I make successful build of XBMC (I'm on that part right now).


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - servili007 - 2012-11-15

(2012-11-15, 14:38)rellla Wrote: For all the happy people that have a working xbmc, please help testing and have a look at http://linux-sunxi.org/CedarXVideoRenderingChart
rellla

I filled out my own personal trials. Lets see if others run into similar problems.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - mtx512 - 2012-11-15

(2012-11-15, 22:29)servili007 Wrote:
(2012-11-15, 14:38)rellla Wrote: For all the happy people that have a working xbmc, please help testing and have a look at http://linux-sunxi.org/CedarXVideoRenderingChart
rellla

I filled out my own personal trials. Lets see if others run into similar problems.

Yep, I got the same results as you.



RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - rellla - 2012-11-16

Thanks servili007,
iirc i had the same or similar issues. Please feel all free to mainly add your non-working samples. Links to various sample files can be found in http://samplemedia.linaro.org/README.
Thanks for testing. I think it's the right way, to collect our experiences.
rellla


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - servili007 - 2012-11-17

If you wish to post this release, please link directly to this post, do not repost it elsewhere, thank you.


Oval Elephant Hard-Float XBMC Preview Build v01


Who is this for?

-People who want a bare bones look at XBMC on the Oval Elephant.

-Experienced linux users who can set up most of their configuration manually.


What do I need?

-An Oval Elephant / Uhost U1A / MK802 / etc

-A 4gb or larger micro SD card.


What works?

-The official implementation of the daemon and watchdog to catch errors and restart

-Video and audio output on HDMI. Use the settings and cycle audio adapters if you're having issues.

-Many file types that you would expect to work, or that worked well in android.

-Hardware Acceleration, to some extent.


What doesn't work?

-See CedarX Video Rendering Trials for file types that are reported to have trouble in the current build, and feel free to add your own files, profiles, and results

-Shutting down/restarting/exiting! This is a problem. If I have to shut down, I usually use the option in the menu and unplug the device just as the screen goes black. If you made the edits to disable autoboot and start in tty1, drop back down to it (see below) and use "shutdown -P now" to power off.

-Power management and CPU/GPU governing (as far as I can tell)

-USB Ethernet adapters need to be set up, possibly missing from kernel build too.

-Wi-Fi needs to be configured manually - Use Ubuntu 12.10 instructions as a guideline.

-WPA supplicant may not work or configure properly.

-Some XBMC add-ons are not working (may be a broken add-on package or an incompatibility with the current build)

-tty1 is cleared but can sometimes be seen trying to poke its head out at the top left of the screen (I didn't want to disable it entirely).


How do I install it?

-On Windows, use Win32 Image Writer or similar to write the image to an SD card. Consider using a linux installation to expand the ext2 partition to fill the SD card.

-In linux, extract the file and use your favorite terminal to DD the image using "dd if=xbmc_oe_v01.img of=/dev/sdX bs=1M" and replace sdX with your SD card. Perform a "sudo sync" afterwards to be safe. Use gParted or similar to expand the ext2 partition to fill the card.


How do I disable this damned auto-boot? I can't exit and want to torture myself by working directly from the device!

-Go into /etc/init/xbmc.conf and comment out the line that begins with "start on (".

-Edit /etc/bash.bashrc and comment out the lines at the bottom, starting with the line "case "'tty'"".

-Boot up and make your necessary changes. The username and password are both "root".

-If you need to start XBMC without the daemon, use "cd /etc" and then "./xbmc-watchdog.sh"

-To drop back to tty1, select exit from the options and press ctrl+c when the black screen or splash logo appears.

-uncomment the lines from the first and second step when finished.

-Please note that booting up to tty1 may take MUCH longer than it took the daemon to boot xbmc.


Until the next release, use the following guide to enable WPA1/2 support:

-Set your router security to WEP to let your device pull the packages it needs.

-run "iwlist wlan1 scanning|grep ESSID" and make sure your network is visible

-run the following -

"ifdown wlan1"

"iwconfig wlan1 essid "YOURNETWORKNAME" key "YOURKEY"

-for "YOURKEY", if you used a passphrase to generate your keys, you cannot use that passphrase here, you MUST enter the key.

-now enter -

"ifup wlan1"

"apt-get install wicd wicd-curses"

-If you get a screen asking you to add a user to the network group, tab to the only user available, select it, and tab to the okay button and select enter.

-and now -

"apt-get remove --purge network-manager"

"service wicd start"

"wicd-curses"

-Use the right arrow key on the network you want to configure, scroll to the bottom, set your key, enable auto-connect, and sharing the settings for all SSIDs with the same name. Press F10 to save, and press enter on the network to connect.

-Congrats, now use the watchdog script to manually start up xbmc and try it. If all seems well, re-enable the daemon/autoboot and confirm that it all works. I personally started seeing CPU spikes using wicd, but perhaps with some configuring it'll settle down.


Who do I owe my thanks to?

-Guilliame for his minimalistic Ubuntu 12.10 build to act as a base.

-Jasbir for his original work on that base image.

-Servili007 for minor edits, watchdog/daemon, settings, and the franken-hardwarepack.


Where do I download it?

Read the link below and click it to download the file.

I agree and understand that I am liable for any damage caused by the use of this software, and that it is provided as-is.

More mirrors will be added.


If you find this release useful, use the +/- at the bottom of this post to leave me the appropriate feedback, thanks.



RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Katch - 2012-11-18

right on, gonna see if I can get this doing anything on my mk802.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - servili007 - 2012-11-18

(2012-11-18, 00:01)Katch Wrote: right on, gonna see if I can get this doing anything on my mk802.

Sounds good, let me know if it works right off the bat or needs a hardware pack on top. (And if you're using a 512mb or 1gb MK802)


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Katch - 2012-11-18

Ok test system is mk802 512mb

used win32diskimager to burn the sd card - changed nothing (meant to use my 512mb uboot but forgot...)

booted fine straight into xbmc gui

res at 720p

no network and can't figure out how to drop to the console to start fixing wifi.

What's the best way for me to get a console shell to play in? Bearing in mind there's no ethernet on the mk802 so I need to be able to do it via keyboard and mouse.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Snippo - 2012-11-18

My guess is that there is a line "sudo start xbmc" in the /etc/rc.local file. You should be able to access that file on the SD card from an Ubuntu (Linux) Live CD. If you remove the line it should boot to the desktop.


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - servili007 - 2012-11-18

Afraid not snippo, the daemon itself needs to be disabled.

Go into /etc/init/xbmc.conf and comment out the line that starts with "start on("

Then make the necessary edits, and uncomment that line when finished.

Just so you know, booting up to tty1 may take MUCH longer than it took the daemon to boot xbmc.

I found it much easier to work on the SD card from within ubuntu on my machine to make my configuration for wi-fi automated on boot. I got tired of working directly on the OE without network (and therefore SSH, lol)


RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - Katch - 2012-11-18

yup first mission before any further testing is to get network and ssh working

have you got wifi and wpa sup working on your end yet?
heh I see some of sam's work from raspbmc in here.