Your guide and blog looks very pro! Maybe You would be that smart enough so You could help sinovoip to create first fully functional Linux release for BPI-M3 ? I am still awaiting for video HW encode and Kodi…
try to see if it was possible to port either Fedora24 or Centos7 to it, and then 2) try to setup a Xen or KVM host on it.
is simple (Team BPi does this around the clock to flood the forums with countless baidu and google drive links to OS images no one is satisfied with). Use any of their most recent OS images as basis and simply exchange mmcblk0p2 with any armhf rootfs you find on the net
is (currently) impossible since you chose one of the few sunxi boards without community support
Mainlining efforts for A83T are far behind given how long this SoC is already available. You would need at least an u-boot version that brings up the SoC in Hyp mode (here you’re lucky since mainline u-boot 2016.05-rc3 contain basic support for A83T and BPi M3) and a more recent kernel than the crappy 3.4.x version @sinovoip ships with (and no, please don’t believe them a single word if they start telling jokes like “we’re working on mainline kernel” – this whole work is done by a few members of the linux-sunxi community)
In case you want to start prior to 2017 with virtualization better choose another board instead.
Hi tkaiser, I’ve been reading you for a while. You are technically good and I agree with most of what you said, although often your tone is questionable
Regarding the kernel. I do not believe in anyone - not just Sinovoip - but really, no one. Seriously now. I am a former Red Hat employee and I do know few things about backporting patches.
The kernel released by Sinovoip is not a vanilla 3.4.x Linux kernel. It’s just the original Allwinner Android kernel. Despite that, I managed to backport all the A83t drivers to vanilla 3.4.112 - that wasn’t a problem. The problem is that Android changes some of the core kernel interfaces, specifically, I am stuck with the interface provided by the following files:
Doing a reverse-backport Android->Vanilla 3.4.39->Vanilla 3.4.112 - does not work on these sources. I think it’s doable anyway. But using only my free time it will take a while before I will achieve anything.
I will write more in the second part of my Banana PI M3 post. You can message me privately if you want more information.
Looking forward to that. In my very personal opinion none of the available octa-core SBC is great or even worth a look/buy. Their only purpose seems to attract people that judge solely by looking at specs on paper and completely forget about the software side and thermal issues all these boards are plagued with.
I thought again about this since it makes not that much sense that you’re doing this alone. Allwinner’s BSP/Android kernel for H3 and A83T is almost the same but around the H3 fork there exists a broader community (not here of course – all what’s happening here is the manufacturer not answering support questions, instead posting fake videos showing non-existing features or a crappy new non-functional OS image every few days and a few clueless users left that are happy with that).
In case you’re interested please have a look http://forum.armbian.com/index.php/topic/1380-h3-kernel-repo/ for example. The basis is a newer BSP kernel variant (I would suppose that @sinovoip got the same from Allwinner for BPi M3) and at least there the community is actively working with these kernel sources (me not that much, I’m keen to get mainline kernel working on H3)
Nothing wrong with that - it’s actually the quickest way to achieve something. Things can always be refined later when you’ve got something working. But I wonder how you guys reconciled the situations where Allwinner Android kernel substantially diverges from vanilla kernel interfaces, like in mm/page_alloc.c or kernel/events/core.c. Did you evaluate on a case by case? Or just tried to stick with vanilla? Or with the Allwinner Android? Analyzing the consequences of either choice is non trivial, and it’s precisely where I got stuck. The alternative is just try both and make a guessestimate of which choice is more likely to work with the least effort. Did these discussions take place somewhere? Any chat or forum?
The linux-sunxi community focuses more on mainline kernel while the H3 ‘sub community’ tries to deal with what’s currently available: And that’s mostly just the 3.4.x Android kernel while mainlining efforts are still progressing nicely (not that true regarding A83T). And depending on the use case different people focus on different kernels (since I’m ok with headless / server use mainline support for H3 is almost perfect, for the older sunxi SoCs support is even better)
Anyway it’s useless to discuss development stuff here