BPI-M2 Ultra and BPI-M2 Berry can use Allwinner A40i chip onboard


(bpi team) #1

BPI-M2 Ultra and BPI-M2 Berry can use Allwinner A40i chip onboard

allwinner R40 /V40/A40i chip is PIN to PIN compatibility. so easy to use those chip on BPI-M2 ultra and BPI-M2 berry

BPI-M2 Ultra with Allwinner A40i chip onboard:

BPI-M2 Ultra with Allwinner V40 chip onboard:

BPI-M2 Ultra wiki page : http://wiki.banana-pi.org/Banana_Pi_BPI-M2U

BPI-M2 Berry wiki page: http://wiki.banana-pi.org/Banana_Pi_BPI-M2_Berry


(Guido Lehwalder) #2

If you got an example of the board with A40i would it be possible to get a bootlog of armbian with kernel 4.18.y from this A40i device?

This would much help for working on armbian for the A40i version of the board :wink:

And maybe if you logged in in armbian also a the info from: armbianmonior -u


(bpi team) #3

just download image from https://www.armbian.com/bananapi-m2u/ , and not do any change .

armbian debian linux run log :

U-Boot SPL 2018.05-armbian (Aug 22 2018 - 12:35:17 +0200)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2018.05-armbian (Aug 22 2018 - 12:35:17 +0200) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
Failed (-5)
In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 
Net:   No ethernet found.
230454 bytes read in 17 ms (12.9 MiB/s)
Unknown command 'bmp' - try 'help'
starting USB...
No controllers found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3708 bytes read in 9 ms (402.3 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
201 bytes read in 7 ms (27.3 KiB/s)
4890502 bytes read in 246 ms (19 MiB/s)
6983752 bytes read in 347 ms (19.2 MiB/s)
Found mainline kernel configuration
23087 bytes read in 62 ms (363.3 KiB/s)
4155 bytes read in 78 ms (51.8 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4890438 Bytes = 4.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 49b56000, end 49ffff46 ... OK
   reserving fdt memory region: addr=43000000 size=6b000
   Loading Device Tree to 49ae8000, end 49b55fff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 232
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
/dev/mmcblk0p1: clean, 37660/1872896 files, 336528/7712800 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 9 (stretch)!

[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting POSIX Message Queue File System...
         Mounting Debug File System...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Reached target Swap.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket.
         Starting Load Kernel Modules...
         Starting Nameserver information manager...
         Starting Restore / save the current clock...
         Starting Journal Service...
         Starting Remount Root and Kernel File Systems...
         Starting Create list of required st…ce nodes for the current kernel...
         Starting Set the console keyboard layout...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Nameserver information manager.
         Starting Create Static Device Nodes in /dev...
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Journal Service.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Apply Kernel Variables.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Raise network interfaces...
         Starting Armbian ZRAM config...
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
         Starting Armbian memory supported logging...
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Armbian memory supported logging.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target System Initialization.
         Starting Armbian hardware optimization...
         Starting Armbian hardware monitoring...
[  OK  ] Started Daily apt download activities.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started Armbian hardware optimization.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Armbian hardware monitoring.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting System Logging Service...
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting Network Manager...
[  OK  ] Started System Logging Service.
[  OK  ] Started Login Service.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
         Starting Network Manager Wait Online...
[  OK  ] Started Permit User Sessions.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Hostname Service.
         Starting Authorization Manager...
         Starting WPA supplicant...
[  OK  ] Started Authorization Manager.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 9 bananapim2ultra ttyS0

bananapim2ultra login:

armbianmonior -u log :http://ix.io/1l6s


(bpi team) #4

armbian ubuntu:

U-Boot SPL 2018.05-armbian (Aug 22 2018 - 12:35:17 +0200)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2018.05-armbian (Aug 22 2018 - 12:35:17 +0200) Allwinner Technology

CPU:   Allwinner R40 (SUN8I 1701)
Model: Banana Pi BPI-M2-Ultra
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
Failed (-5)
In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 
Net:   No ethernet found.
230454 bytes read in 17 ms (12.9 MiB/s)
Unknown command 'bmp' - try 'help'
starting USB...
No controllers found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3708 bytes read in 9 ms (402.3 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
201 bytes read in 8 ms (24.4 KiB/s)
8001165 bytes read in 395 ms (19.3 MiB/s)
6983752 bytes read in 347 ms (19.2 MiB/s)
Found mainline kernel configuration
23087 bytes read in 60 ms (375 KiB/s)
4155 bytes read in 66 ms (60.5 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8001101 Bytes = 7.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Ramdisk to 4985e000, end 49fff64d ... OK
   reserving fdt memory region: addr=43000000 size=6b000
   Loading Device Tree to 497f0000, end 4985dfff ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
/dev/mmcblk0p1: clean, 35831/1804928 files, 312814/7712800 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Ubuntu 18.04.1 LTS!

[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Started ntp-systemd-netif.path.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
         Starting Restore / save the current clock...
         Mounting POSIX Message Queue File System...
         Starting Load Kernel Modules...
         Starting Create list of required st…ce nodes for the current kernel...
         Starting Nameserver information manager...
[  OK  ] Reached target Swap.
         Starting Set the console keyboard layout...
         Mounting Kernel Debug File System...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
         Starting Journal Service...
[  OK  ] Listening on udev Kernel Socket.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Flush Journal to Persistent Storage.
[    4.678584] sch_fq_codel: section 3 reloc 12 sym '_raw_spin_lock_bh': relocation 10 out of range (0xbf81b15e -> 0xc0869a01)
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started Set the console keyboard layout.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[    5.179012] uio: section 3 reloc 14 sym 'sprintf': relocation 30 out of range (0xbf8240ce -> 0xc0864a01)
[    5.195613] uio: section 3 reloc 14 sym 'sprintf': relocation 30 out of range (0xbf83f0ce -> 0xc0864a01)
[  OK  ] Started udev Coldplug all Devices.
[    5.214542] uio: section 3 reloc 14 sym 'sprintf': relocation 30 out of range (0xbf82d0ce -> 0xc0864a01)
[    5.226210] zram: section 3 reloc 19 sym 'scnprintf': relocation 10 out of range (0xbf8630c0 -> 0xc08649bd)
[    5.248687] uio: section 3 reloc 14 sym 'sprintf': relocation 30 out of range (0xbf8360ce -> 0xc0864a01)
[    5.271295] uio: section 3 reloc 14 sym 'sprintf': relocation 30 out of range (0xbf8480ce -> 0xc0864a01)
[    5.286463] uio: section 3 reloc 14 sym 'sprintf': relocation 30 out of range (0xbf8510ce -> 0xc0864a01)
[  OK  ] Started Network Name Resolution.
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
         Starting Armbian memory supported logging...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started Armbian memory supported logging.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Started Message of the Day.
[  OK  ] Started resolvconf-pull-resolved.path.
[  OK  ] Reached target Paths.
         Starting Armbian hardware optimization...
         Starting Armbian hardware monitoring...
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Reached target Timers.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Armbian hardware optimization.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Armbian hardware monitoring.
[  OK  ] Reached target Basic System.
         Starting Login Service...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Login Service.
         Starting WPA supplicant...
         Starting Network Manager...
         Starting System Logging Service...
[  OK  ] Started Regular background program processing daemon.
         Starting resolvconf-pull-resolved.service...
         Starting Resets System Activity Data Collector...
[  OK  ] Started ntp-systemd-netif.service.
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Resets System Activity Data Collector.
[  OK  ] Started resolvconf-pull-resolved.service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
[  OK  ] Reached target Network.
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Started Unattended Upgrades Shutdown.
[  OK  ] Started Permit User Sessions.
         Starting Set console scheme...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Authorization Manager...
[  OK  ] Started Dispatcher daemon for systemd-networkd.
[  OK  ] Started Authorization Manager.
[FAILED] Failed to start Network Manager Wait Online.
See 'systemctl status NetworkManager-wait-online.service' for details.
[  OK  ] Reached target Network is Online.
         Starting Daily apt download activities...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting /etc/rc.local Compatibility...
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Getty on tty1.
[  OK  ] [  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
[  OK           Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 18.04.1 LTS bananapim2ultra ttyS0

bananapim2ultra login: root
Last login: Fri Aug 24 10:57:07 UTC 2018 on ttyS0
 ____                                  ____  _   __  __ ____  _   _ 
| __ )  __ _ _ __   __ _ _ __   __ _  |  _ \(_) |  \/  |___ \| | | |
|  _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | | | |\/| | __) | | | |
| |_) | (_| | | | | (_| | | | | (_| | |  __/| | | |  | |/ __/| |_| |
|____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_|   |_| |_|  |_|_____|\___/ 
                                                                    

Welcome to ARMBIAN 5.59.180823 testing Ubuntu 18.04.1 LTS 4.18.4-sunxi   
System load:   0.64 0.23 0.08   Up time:       0 min
Memory usage:  3 % of 2016MB    IP:            
Usage of /:    3% of 29G    

[ 0 security updates available, 6 updates total: apt upgrade ]
Last check: 2018-08-24 10:57

[  OK  ] Created slice User Slice of root.
         Starting User Manager for UID 0...
[  OK  ] Started Session c1 of user root.
[  OK  ] Started User Manager for UID 0.

ubuntu_armbianmonitor -U_log.txt (113.5 KB)


(Juan Sánchez) #5

When will there be a more updated image for m2u?