BPI-M2 Ultra/BPI-M2 Berry new image : Armbian Bionic and Stretch

I have the same issue with i2c. i2c configuration in dtb/dts is “okay”:

            i2c@1c2b000 {
                    compatible = "allwinner,sun6i-a31-i2c";
                    reg = <0x1c2b000 0x400>;
                    interrupts = <0x0 0x8 0x4>;
                    clocks = <0x4 0x58>;
                    resets = <0x4 0x41>;
                    status = "okay";
                    #address-cells = <0x1>;
                    #size-cells = <0x0>;
                    phandle = <0x59>;
            };

            i2c@1c2b400 {
                    compatible = "allwinner,sun6i-a31-i2c";
                    reg = <0x1c2b400 0x400>;
                    interrupts = <0x0 0x9 0x4>;
                    clocks = <0x4 0x59>;
                    resets = <0x4 0x42>;
                    status = "okay";
                    #address-cells = <0x1>;
                    #size-cells = <0x0>;
                    phandle = <0x5a>;
            };

            i2c@1c2b800 {
                    compatible = "allwinner,sun6i-a31-i2c";
                    reg = <0x1c2b800 0x400>;
                    interrupts = <0x0 0x58 0x4>;
                    clocks = <0x4 0x5a>;
                    resets = <0x4 0x43>;
                    status = "okay";
                    #address-cells = <0x1>;
                    #size-cells = <0x0>;
                    phandle = <0x5b>;
            };

            i2c@1c2c000 {
                    compatible = "allwinner,sun6i-a31-i2c";
                    reg = <0x1c2c000 0x400>;
                    interrupts = <0x0 0x59 0x4>;
                    clocks = <0x4 0x5f>;
                    resets = <0x4 0x48>;
                    status = "okay";
                    #address-cells = <0x1>;
                    #size-cells = <0x0>;
                    phandle = <0x5c>;
            };

After reboot there are 6 i2c devices:

root@bananapim2ultra:/dev# ls /dev | grep i2c
i2c-0
i2c-1
i2c-2
i2c-3
i2c-4
i2c-5

i2cdetect -y 0 works too slow… And finally there are no avaliable i2c devices. I use DS3231 clock, it works correctly with [orange pi pc + / Armbian].

Any idea?.. Thanks in advance.

My LED solution is:

nano /etc/tmpfiles.d/leds.conf

w /sys/devices/platform/leds/leds/bananapi:red:user/trigger - - - - default-on w /sys/devices/platform/leds/leds/bananapi:green:user/trigger - - - - heartbeat w /sys/devices/platform/leds/leds/bananapi:blue:user/trigger - - - - mmc0

I use BPI-M2U and Armbian Stretch.

@ayarovy,

My BPI is powered by “ARMBIAN 5.59.180823 testing Ubuntu 18.04.1 LTS 4.18.13-sunxi” I had the following line in /etc/rc.local file for blinking the green led on board :

echo heartbeat > /sys/class/leds/bananapi:green:user/trigger

But I wish to display IP-address and free disk-space on an OLed 0.96". My BPI is headless and acts as a NAS.

I’m trying Armbian_5.59.180823_Bananapim2ultra_Debian_stretch_dev_4.18.4.7z or Armbian_5.59.180823_Bananapim2ultra_Debian_stretch_dev_4.18.4.7z on Banana Pi M2 Berry and fail miserably. What I did:

  • download the 7z files, unpacked (Win10)
  • verified the checksum of the unpacked .img files
  • wrote the image file to a single-partition 16GB SD-card using Win32 Disk Imager and Etcher => in contrast to other tried distributions the SD-card remains single-partitioned (the other Linux distributions created 2 partitions, one DOS partition and another one unreadable on Windows)
  • stick the SD-card into the BPiM2Berry => the red LED is on, but that’s it - no green LED, no HDMI output, no network access

I tried again (with dis-/reconnecting the monitor) and eventually noticed that it reacted to the Banana Pi’s power button. The screen did not turn into standby mode and by luck I’ve noticed a flashing _ at the left top corner. After waiting a while it showed the usual login.

So for all users who try:

  • there really is just one partition on the SD card
  • the green LED does not indicates any operation
  • there is no boot message output on the HDMI

Updated images and enabling verbose booting on HDMI screen.

Hi Igor,

I am using Armbian Bionic and everything looks good. Thank you.

Do you have any idea how to use the on board microphone?

hello Igor. I have Banana PI M2U and Im using Armbian Bionic (desktop mainline kernel 4.19.y). My sound doesn’t work and I can’t configure it. Do you have any leads for me please ?

Thank you

hi i build an img from the trunk but i cant enable spidev i use the armbian-config to get access but under /dev/ didnt appear spidev0.0 after reboot. what can i do?

This feature is not developed and board is not supported. Everything that exists comes as is.

Perhaps cover some costs or https://www.armbian.com/get-involved ?

1 Like

hello @igorpec along with say hello, know if you can add the following patches to m2ultra:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/?id=e5c6e693be831c1bba9b4f8f1da597fb5514deca

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/?id=a5a4bc14914faf219336d71c71595975b8112ff7

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/?id=26e9ffeb2c04f0f577d0179e7eca8e1d54f9e050

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/?id=5f9e882825467105acafd208520b69bf95adb963

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/?id=ca117b6528b9da81d83ac6ec51d7d456894690dc

1 Like

The same reply as in previous post.

Should be on it’s way. https://github.com/armbian/build/commit/c430a2ac3d316a4270493fdbb1afd63aaffddded

1 Like

Hallo, a new user here. Apparently the image Armbian_5.69_Bananapim2ultra_Debian_stretch_next_4.19.13.img does not boot (unlike Armbian_5.66_Bananapim2ultra_Debian_stretch_dev_4.18.18.img).

Jan

It boots except that the HDMI video driver not working. So no HDMI output. I just downloaded it for my bpi m2u and burned to a micro sd card. It worked, but hdmi not working. I am using serial port and seeing the serial console. But, like others, my wireless still not working both wi-fi and bluetooth. Help!

Tim

Those wifi patches are on dev branch. Try building it using Armbian build system. I have built an image with debian stretch headless, you can try that. I haven’t tested it because I’m not at home.

https://drive.google.com/file/d/1AhlEm2jrNGFU-y7uZDIpUacAHgyvTgjG/view?usp=sharing

sha256 9ed836cb839606ab5bfc7c61e2a9148c10a82d2e418e333d998632ed8267cd5b Armbian_5.71_Bananapim2ultra_Debian_stretch_dev_4.20.2.img

1 Like

Thank you so much, jero. Now it worked both HDMI and wifi. But the bluetooth still not working. Any chance to know what should I do to enable it?

Don’t know, but BT+wifi are in the same module, so it should work. Check your BT configuration and if it doesn’t help, try asking on armbian P2P forum.

I am new to “Bananas” but certainly not new to linux. I have to get my on TTL/USB cable to be able to see what’s going on…

Well, for that, I’d say you might have got a problematic image or SD card. I did download Armbian 5.66 and 5.69 images and they boot. Just no wireless. Jero provided/shared a link for Armbian 5.71. It worked for HDMI and Wifi. Take a look: https://drive.google.com/file/d/1AhlEm2jrNGFU-y7uZDIpUacAHgyvTgjG/view?usp=sharing

@jero: I saw another post. They made Broadcom bluetooth and mentioned AMPAK. I downloaded kernel source and found that in Broadcom driver those modules were not selected and comipled. Wondering the BT driver was not made in image. https://www.spinics.net/lists/linux-bluetooth/msg77626.html