BPI-M2U & Berry New Image Release : Ubuntu 16.04 & Raspbian 9.4 & Debian 9.4 2019-05-13

**BPI-M2U & Berry New Image Release : Ubuntu 16.04 & Raspbian 9.4 & Debian 9.4 **

M2U Ubuntu 16.04 image

image

M2U Raspbian 9 image

image

M2U Debian 9 image

image

1.About this release

  • This release is for banana pi M2U board which is based on A40I, R40, V40, and it is based on Ubuntu 16.04 & Raspbian 9 & Debian 9 Operation system with kernel 3.10.108.

2.BPI-M2U Ubuntu 16.04 Features Map

3.BPI-M2U Raspbian 9 Features Map

  1. BPI-M2U Debian 9 Features Map

FAQ.

1 Like

@Jackzeng, FYI:

I tried this image on a BPI-M2-Berry (with V40 CPU, not R40). This image uses a very old Linux kernel (3.10). With it the following problem occurs: mounting an ext4 partition that was created with a newer kernel version (here 5.x) is not possible; a mount error happens (see below). I also tried with mount-param “-t ext4”, but same error happens. fsck can be done (see below): the partitions are fine, but, as said, mount cannot be done.

I would suggest to update the kernel to at least 4.x, even better to 5.x.

I mean this server image for Debian : https://drive.google.com/open?id=1aoB8mGwSveNztB-EO_fBKLOr-GdzcMNV (referenced on this page: http://wiki.banana-pi.org/Banana_Pi_BPI-M2_Berry#Debian )


# uname -a
Linux bpi-iot-ros-ai 3.10.108-BPI-M2U-Kernel #5 SMP Fri May 10 10:12:10 CST 2019 armv7l GNU/Linux


# fdisk -l /dev/sda
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: ...
Device       Start      End Sectors Size Type
/dev/sda1     2048  4196351 4194304   2G Linux filesystem
/dev/sda2  4196352 12584959 8388608   4G Linux filesystem


# lsblk /dev/sda
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0     2G  0 part 
└─sda2   8:2    0     4G  0 part 


# lsblk -o NAME,FSTYPE /dev/sda
NAME   FSTYPE
sda    
├─sda1 ext4
└─sda2 ext4


# fsck -f /dev/sda1
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 14/131072 files (0.0% non-contiguous), 520192/524288 blocks


# fsck -f /dev/sda2
fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 13/262144 files (0.0% non-contiguous), 36944/1048576 blocks


# mount /dev/sda1 /mnt/sda1
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.


# mount /dev/sda2 /mnt/sda2
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.


# dmesg | less -Sn
[  334.846451] JBD2: Unrecognised features on journal
[  334.846478] EXT4-fs (sda1): error loading journal
[  339.598250] JBD2: Unrecognised features on journal
[  339.598283] EXT4-fs (sda2): error loading journal

Update / Fix:

kernel 3.10 seems to require that ext4 has no journal.
With the following commands one can delete the journal option:

# Delete the "has_journal" option:
tune2fs -O ^has_journal /dev/sda1

# Required fsck:
e2fsck -f /dev/sda1


Now mount works!

That is not so simple. A lot of features doesn’t work. Sticking to https://www.armbian.com/bananapi-m2u/ is far the best option. Regardless of the upstream kernel.org version.

Thx, will soon try out also the linked Armbian image with the Debian Stretch OS.

Update:
I now tried the Armbian_5.83_Bananapim2ultra_Debian_stretch_dev_5.0.10.img,
but it does not recognize the SSD disk. ls -l /dev/sd* does not list any disk,
and also no indication in dmesg for sata or ahci.
I also have added this to armbianEnv.txt:
fdtfile=sun8i-v40-bananapi-m2-berry.dtb
And the system itself has appended this to the armbianEnv.txt file:
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

So, w/o SATA I cannot use this Armbian image.
As said above, the image with kernel 3.10 by Jackzeng has SATA working.
And soon if I find some time then I'll try to compile the latest kernel too.

I tried below images, with one 2.5 sata hard drive, the sata interface works fine for me. But DVFS seems not working.

Armbian_5.83_Bananapim2ultra_Debian_stretch_dev_5.0.10 Armbian_5.83_Bananapim2ultra_Ubuntu_bionic_dev_5.0.10_desktop

1 Like

Hello ! Debian set it up, started it, started loading, but then asked for a username and password. What is the default username and password ?

root/root bananapi/bananapi root/bananapi

Have you tried these?? I am not sure but these are some of the defaults they use.

try using root / 1234

@Jackzeng Hi, Thanks for your post. I tried to load Raspbian http://wiki.banana-pi.org/Banana_Pi_BPI-M2_Berry#Image_Release to my BPI-M2-Berry connected with waveshare 7inch HDMI LCD ©. Its booted well but there is no display on LCD. Even I tried to modify /boot/config.txt as per the LCD configuration from here https://www.waveshare.com/wiki/7inch_HDMI_LCD_(B)_(Firmware_Rev_2.1)_User_Manual but there is still nothing i can see on display. Any help would be highly appreciated. Please help! Thanks, BR