User:CodeKipper

My affair with Allwinner SOCs started when I saw this article online http://www.cnx-software.com/2012/04/04/mele-a2000-android-2-3-media-player-powered-by-allwinner-a10/ and noticed the chatter on the XBMC forums. I'd given up waiting for my invite to purchase a Raspberry PI and headed to Tom's Cubie Hacker shop. A month later I had my A2000. After the initial excitement the unit ended up gathering dust behind my TV. I'd learnt to live with my noisey HTPC setup and as an OpenElec user, I realised that there would be alot of effort required. I tinkered when I could and kept an eye on the scene.

SUNXI hardware that I have

Mele A2000 - main development machine with serial debugging attached. I only target SDcards and have the following setups.


 * community uboot with stage/sunxi-3.4 build and builds based on that branch with my current undelivered patches. Operating system is Debian which includes XBMC which I built using the instructions here


 * OpenWRT - only a few changes are required to the build system to get this building for the Mele. Wireless modules loading, scanning but not connecting to my network.


 * Hans' uboot with sunxi-devel and the same branch with my audio mainlining attempts. The Operating system on this card the same as above and also OpenWRT. I've put together a SPDIF driver but yet to get it working, it seems that something is calling SNDRV_PCM_TRIGGER_STOP straight away after starting playback. WIP but will pass on patches to anyone that is interested.

stack trace of issue

[  39.156856] [ ] (sunxi_spdif_trigger) from [ ] (soc_pcm_trigger+0xd8/0x118)

[  39.156873] [ ] (soc_pcm_trigger) from [ ] (snd_pcm_undo_start+0x24/0x28)

[  39.156887] [ ] (snd_pcm_undo_start) from [ ] (snd_pcm_action_single+0x58/0x78)

[  39.156903] [ ] (snd_pcm_action_single) from [ ] (snd_pcm_lib_write1+0x374/0x428)

[  39.156918] [ ] (snd_pcm_lib_write1) from [ ] (snd_pcm_lib_write+0x60/0x6c)

[  39.156935] [ ] (snd_pcm_lib_write) from [ ] (snd_pcm_playback_ioctl1+0x1d0/0x4c0)

[  39.156949] [ ] (snd_pcm_playback_ioctl1) from [ ] (do_vfs_ioctl+0x78/0x5d4)

[  39.156961] [ ] (do_vfs_ioctl) from [ ] (SyS_ioctl+0x38/0x54)

[  39.156972] [ ] (SyS_ioctl) from [ ] (ret_fast_syscall+0x0/0x30)

Rikomagic MK802+ - Serial debug pads on this board have lifted but thanks to Luc's simple frame buffer I'm now able to use this for mainline work. Have linux-next with wifi working on this device. Next task is to check that the audio codec can record from the microphone.


 * Have in the past used Hans' Fedora 19 build with this. Works extremely well considering the hardware.

Ippo Q8H - Recently bought tablet, feels cheap but works very well. Cables soldered on to the suspected serial points but currently no chatter is coming from them.

MK808C - A20 hardware that comes in the MK808B casing and packaging. To identify that it's a MK808C there is a small sticker on the side of the packaging which I didn't see until after firing off an email to the seller. Have delivered the necessary changes to get this working with the 3.4 kernel.


 * Currently using my Debian build with XBMC, wireless module working not tried bluetooth. Have also got mainline working on this device with the staging 8792AU drivers that are currently in the kernel. Will look at get bluetooth working next.

MeLE I7 - A31 Android TV Box similar in look to the A2000. On order and will update wiki as soon as I get it.

What I'm working on


 * Audio Drivers - I'm trying to tidy up the audio drivers so that I can get my mindset into doing some mainlining on them. Current status for 3.4 kernel: stripped away most of the sunxi-hdmiaudio code and have tested successfully, SPDIF cleaned up and ready for testing, other drivers tidied up and considerations made for bringing in A23 features. Major refactoring required on my patch ordering.


 * Mainlining - started more focus on this for the devices that I have. Will target OpenWRT as a testing platform.

Success Stories

I've worked my way through a lot of the instructions on the wiki pages and here is a list of what I've succeeded with.

Things that I've not completed yet(but have started)

This page for starters!