good news ,mainline linux kernel 4.4-rc1 have support BPI-M2
Here you can read the full story: http://forum.armbian.com/index.php/topic/126-fyi-armbian-running-on-a31s-based-banana-pi-m2/?p=2157
And the most funny thing is: A forum member called āsinovoipā (obviously a marketing person without any technical knowlege) posts the āgreat newsā that the new kernel release āhas supportā for the BPi-M2. In fact a linux-sunxi community member wrote a new device tree file for the M2 from scratch because the one SinoVoip provided before was more or less crappy and a result of copy&paste from somewhere else.
That means now official U-Boot and Kernel have good working device tree files while the OS images SinoVoip provides and all their Github repos contain bad ones. And while they advertise the M2 being officially supported they DO NOT exchange their crappy device tree stuff with the āofficialā ones from the community. Why?!
How to I get operating systems that run this new kernel? Like specifically Android?
You wonāt.
Always keep in mind:
a) the heart of the M2, the A31s SoC, was already discontinued by the SoC manufacturer when SinoVoip shipped the M2. And Allwinner doesnāt provide newer Android SDKs even for SoCs that arenāt discontinued (for example, the A83T got support for Android Lollipop, the H3 not)
b) the linux-sunxi community started to write mainline u-boot/kernel for A31/A31s from scratch. Many things currently donāt work and will most likely never work, for example HW accelerated video and stuff like that. You would be able to use the M2 as a headless server with mainline kernel but not with Android
c) SinoVoip used the outdated Android SDK for the A31s they got from Allwinner. Containing kernel 3.3.0 and an even more outdated u-boot version. And they refuse to change anything so you will be cut-off from any new developments when you try to use Android on the M2 (you wonāt even get GPIO support without recompiling the whole bloated so called āSDKā)
d) Even if you would use OS images from SinoVoip that use mainline kernel, you wouldnāt benefit from the fixes made upstream since the SinoVoip people refuse to adjust their ādevelopment styleā. They still donāt get it that itās moronic to clone every few weeks the most recent linux kernel but to use the official repo from kernel.org instead.
So thereās absolutely no way to get gpio working with Android on the m2 at all? Thatās my ultimate goal with this board
Since you M2 customers do not kick the manufacturer in his a**ā¦ nope.
If the Banana Pis would be products with support then the manufacturer wouldāve provided the necessary pieces of software already. But they donāt care. They think itās ok to solder components on a PCB and do some marketing. And you end up not with a SBC but a paperweight instead
Since youāve to use kernel 3.3.0 and an outdated utās still the boring procedure to
a) define Pin mappings in a so called fex file
b) compile the outdated u-boot version since thereās no support for script.bin
c) exchange u-boot on the SD-card
And itās a shame that the manufacturer of this device released OS image without any GPIO pin mapping at all (like they did with their Linux OS images as well). Seems they donāt provide an Android image thatās booteable at all in the meantime? http://www.bananapi.com/index.php/forum/adroid/1376-bpi-m2-new-image-android-4-4-v4-1-was-released?start=6
I can boot every version of android available Iāve had my m2 since the first batch release (got mine at the end of March) I know the manufacturer isnāt supporting their product and itās a shame how they separated their community cause now their really is no use for this product
I know the original banana pi and the pro have unofficial images available done by community members available itās a shame no ones done it for the m2 I have no idea how or Iād do it myself (as I feel a lot of community members have in common)
dts file for BPI-M2.
OMG. This silly posts shows the whole problem. You post a link to a file somewhere on earth.
And at the same time you fail to understand that you should use the file youāre referring to for your OS images. And you donāt do this. All of your OS images based on mainline kernel contain not the dts file youāre referring to but a crappy one.
You also fail to understand that you should immediately delete all your github repos containing cloned linux mainline kernels and instead use the one from kernel.org.
You simply donāt get the idea how āopen source developmentā works. Thx again for the confirmation.
we know what you mean, we will update kernel 4.4 . and make M1,M1+,M2,M3 all support it. arebian.com have do many work about this .
OMG. You donāt need to āupdate kernel 4.4ā!
Learn to become a community player. Commit your fixes upstream. Use mainline kernel/u-boot from the official repos where possible instead of maintaining own github repos with outdated cloned kernel/u-boot stuff.
And no, this does no apply to the M3. The M3 uses the A83T SoC. For this SoC only an outdated kernel 3.4.39 is available and mainline kernel efforts doesnāt cover this SoC that much: http://linux-sunxi.org/Mainlining_Effort#Core_Stuff ā so weāll talk again in 2017 about mainline kernel and M3. Maybe just to realize that work has stopped.
Ok Iām completely new to Linux (only barely heard of it before stumbling across the world of socās) I bought the banana pro (m1+) and the m2 (they came out around the same time and I wasnāt aware of which was better or not so got both(personally I prefer the the m2 over the pro tho)) I have an excellent idea for a project which is almost complete (amazing for someone who had no programming history prior) I just need gpio working (with WiFi and touchscreen) on android, Iāve been trying to learn this kernel and sdk stuff to figure out gpio but Iām kinda lost, Iāve been playing around with Android for years (rooting my phoneās running custom roms such as cyanogenmod) but atm Iām completely lost, on most android phones it is possible to change the, kernel with root access (never tried it but reading on xdadevlopers and other sites gave me this info if Iām understanding correctly) so I guess Iām asking if this is something I should attempt on my m2? I could use the sinovoip os and change the kernel to this kernel would that work for whatI wanna do?