Hello, I’m new here. Can you here write please where and how to set this values? Thank you very much. Sorry for my English.
Hi! First of all you should check that your board have the same issue with memory corruption. Get any system image, like 2017-01-20-debian-8-jessie-lite-beta3-bpi-m2u.img.zip
from this post: BPI-M2 Ultra new image:ubuntu-16.04.1-mate-desktop-preview3-bpi-m2u-sd-emmc.img 2016-11-29 . Install it as usual, install memtester package ("sudo apt install memtester"
), check memory with "sudo memtester 1000M 10"
and see that you really have failed tests.
!DISCLAIMER! Changing voltages could physically damage your device and probably will void your warranty. Be extra careful changing any voltages of frequencies and do it at your own risk. This change do lead to some rise of chip temperature.
If you do have memory corruption you can compile a new kernel (for instance [quote=“avaf, post:11, topic:2823”] dan-and ( https://github.com/dan-and/BPI-M2U-bsp ) kernel 3.10.104 [/quote]) with corrected sys_config.fex at the desired configuration. For 1080p HDMI video output it would be /trunk/target/allwinner/azalea-m2ultra/configs/BPI_M2U_1080P/sys_config.fex. you should change [power_sply] and [dram_para] sections:
[power_sply]
dcdc1_vol = 1003300
dcdc2_vol = 1001280
dcdc3_vol = 1001150
dcdc4_vol = 1160
;dcdc5_vol = 1500
aldo1_vol = 2800
aldo2_vol = 1001500
aldo3_vol = 1003000
dc1sw_vol = 3000
dc5ldo_vol = 1200
dldo1_vol = 3300
dldo2_vol = 3300
dldo3_vol = 3300
dldo4_vol = 2500
eldo1_vol = 2800
eldo2_vol = 1500
eldo3_vol = 1200
gpio0_vol = 3300
gpio1_vol = 1800
[dram_para]
dram_clk = 480
This kernel could be cross-compiled for M2U arm from any regular x86 Ubuntu or other linux installation ( more info here https://github.com/dan-and/BPI-M2U-bsp/blob/master/REQUIREMENTS.md ). Just run ./build.sh at the bsp source root, choose 1, then 6 and you’ll have compiled images at ./SD. Copy them to your M2U Linux installation and use bpi-bootsel to apply them to your system.
Hi, looking for his new beta 3 of Debian mentioned. Went to the link and it’s still the old November release. Has anyone got the link?
Debian beta3 is available at google drive link from this post [BPI-M2 Ultra all image] google download link
Thanks Pavel. I’ve clicked on that link before, and when I checked again, the last updated image was in December, I just can’t see the file you mentioned… 2017-01-20-debian-8-jessie-lite-beta3-bpi-m2u.img.zip Will check on my PC at home tonight. Is that the IMG you are using? How are you finding your M2U?
Click on the link inside the post - https://drive.google.com/open?id=0B_YnvHgh2rwjR0JsaUltalFXanc . The last file is 2017-… .I’m using 2016-11-29-ubuntu-16.04.1-mate-desktop-preview3-bpi-m2u-sd-emmc.img.zip with the kernel from
Now with voltage tweak it is rock solid. Only 2 problems left: HDMI issue HDMI outout shift/corruption of first 4 lines and MALI GPU driver installation.
Seems my Google drive on Android doesn’t show the 2017 file, but on PC it does. Just downloading that. I have Ubuntu Mate 16.04 installed on an SD card.
I’d like to install the same dan-and kernal as you, but am completely new to this as I don’t use Linux. Can you break down the steps, into really clear steps once you’ve followed the requirement.md information. I am assuming it the compiled Kernel can be installed while using the m2u ubuntu mate image?
Just want a stable kernel / image so i can run my NAS and connect to a SATA HDD.
Appreciate all your help.
Yes, you could use that kernel with ubuntu-mate. I’ve uploaded precompiled bootloader, kernel and modules to
https://www.dropbox.com/sh/3wj2924ut00qqra/AABrZwIdf0DQpixaNdPoUwS5a?dl=0 .
You could unpack them and use bpi-bootsel to choose which resolution to use.
My M2U is now stable for 19 days:
22:17:40 up 19 days, 21:21, 1 user, load average: 5.53, 5.48, 5.49
Thank you very much Pavel. I’ve just downloaded all 3 files. I’ll look around for documentation on how to unpack and use bpi-bootsel to choose this kernel and bootloader. I read on armbian forum that people are working on the kernel code also
https://forum.armbian.com/index.php/topic/2884-the-new-banana-pi-m2-ultra/
UPDATE
OK, i’ve copied the files across into a directory, and had a look at boot-sel. When I run it, it shows a list of images in the /usr/lib … directory. I don’t know how to select all 3 files so they are selected and installed as default. Can you help?
UPDATE 2
I did it ! (I think)
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 3.10.104-BPI-M2U-Kernel armv7l)
Copied the files you shared into the update_file folder that bpi-tools uses as is suggested by BPI. Changed the .conf file under the m2u section to point to the new kernel file name and it’s updated it. Also did a apt-get upgrade (hence the new version of ubuntu…
Many thanks
Hi, I’ve found strange thing.
I’ve installed my second banana pi m2u with image 2017-01-20-debian-8-jessie-lite-beta3-bpi-m2u.img. It was plugged in by HDMI into TV and USB Key/Mouse. It was working fine for 7 days and memtest also worked fine. After these 7 days I have unpluged it from TV and Key/Mouse and it froze after next 2 days. Is it possible that problem with freezing is caused by unplugged HDMI?
Hi all, After next 5 days my BPI M2U has frozen again with dan-and kernel 3.10.104. Mem test worked without any problems.
I have tryed to change power suply, but old one worked for 2 years with BPI M1. So we will see.
Any advise?
Are there any messages in the log files or on serial console? Is it stable under load (see chip temperature using cat /sys/devices/virtual/thermal/thermal_zone0/temp
)?
I’ve tried to repeatedly plug/unplug HDMI and USB but as far it is still running nicely.
Linux bpi-iot-ros-ai 3.10.104-BPI-M2U-Kernel #11 SMP Sun Feb 5 17:38:59 MSK 2017 armv7l armv7l armv7l GNU/Linux
01:51:16 up 32 days, 54 min, 1 user, load average: 5.35, 5.45, 5.50
Hi and thaks for response, I have cooler on it so my temp is: cat /sys/devices/virtual/thermal/thermal_zone0/temp 43
I’ve already tested on full load on all 4 cores by pigz and all works fine. Temp on full load during 15 minutes is about 65°C
Everything stable.
But this is my second BPI M2U and previous has already stability problems, so I have tried to buy next one and still with same result.
I have also 3,5 3TB SATA disk with 12/5V (5V for BPI) power suply, but now I have tried to connect BPI to another 5V 2A adapter.
20:07:46 up 1 day, 2:03, 1 user, load average: 5,66, 5,20, 3,38 Linux version 3.10.104-BPI-M2U-Kernel (root@K126) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #11 SMP Sun Feb 5 17:38:59 MSK 2017
In logs is nothing, it is HW freeze,
Have you tried without SATA disk attached?
No, I have it as server, so without disk it is useless for me. But I can try it with my second BPI M2U.
Hi all, so as I said I have changed my power adapter and it looks hopefully also with HDD:
root@bananapi:~# uptime
14:31:19 up 8 days, 20:27, 1 user, load average: 1,18, 1,15, 1,17
Hi all, 20 days and next freeze with different adapter. Anyone has the same problems?
Hello all, I have Banana PI M2U as server with SSD disk and OS run from EMMC, kernel 3.10.104. Every ~1.5 days, my BPI M2U is reboot with different power suply. How to fix this problem?
Yes, probably nobody knows. I have built a new power adapter 5/12V 2x6A by my own. But I have still the same problem as you. Last ocurence I’ve cought this:
> Apr 22 05:08:18 localhost kernel: [24585.336241] ata1.00: exception Emask 0x10 SAct 0x1000 SErr 0x280100 action 0x6 frozen
> Apr 22 05:08:18 localhost kernel: [24585.351033] ata1.00: irq_stat 0x08000000, interface fatal error
> Apr 22 05:08:18 localhost kernel: [24585.363242] ata1: SError: { UnrecovData 10B8B BadCRC }
> Apr 22 05:08:18 localhost kernel: [24585.374620] ata1.00: failed command: READ FPDMA QUEUED
> Apr 22 05:08:18 localhost kernel: [24585.385909] ata1.00: cmd 60/00:60:62:39:56/01:00:cc:00:00/40 tag 12 ncq 131072 in
> Apr 22 05:08:18 localhost kernel: [24585.385909] res 40/00:64:62:39:56/00:00:cc:00:00/40 Emask 0x10 (ATA bus error)
> Apr 22 05:08:18 localhost kernel: [24585.413978] ata1.00: status: { DRDY }
> Apr 22 05:08:18 localhost kernel: [24585.423449] ata1: hard resetting link
> Apr 22 05:08:19 localhost kernel: [24585.770168] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> Apr 22 05:08:19 localhost kernel: [24585.771389] ata1.00: configured for UDMA/133
> Apr 22 05:08:19 localhost kernel: [24585.771482] ata1: EH complete
> Apr 22 08:03:48 localhost kernel: [35114.374649] Bad mode in data abort handler detected
> Apr 22 08:03:48 localhost kernel: [35114.374649] Internal error: Oops - bad mode: 0 [#1] SMP ARM
> Apr 22 08:03:48 localhost kernel: [35114.374649] Modules linked in: ip6table_filter ip6_tables iptable_filter ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables ov5640 option usb_wwan vfe_v4l2 vfe_io videobuf2_dma_contig ss videobuf2_memops videobuf2_core bcmdhd hci_uart
> Apr 22 08:03:48 localhost kernel: [35114.374649] CPU: 2 PID: 3328 Comm: mc Not tainted 3.10.104-BPI-M2U-Kernel #11
> Apr 22 08:03:48 localhost kernel: [35114.374649] task: df391ac0 ti: ddb00000 task.ti: ddb00000
> Apr 22 08:03:48 localhost kernel: [35114.374649] PC is at 0xffff10a4
> Apr 22 08:03:48 localhost kernel: [35114.374649] LR is at 0xb6b140c8
> Apr 22 08:03:48 localhost kernel: [35114.374649] pc : [<ffff10a4>] lr : [<b6b140c8>] psr: 20000197
> Apr 22 08:03:48 localhost kernel: [35114.374649] sp : ddb01fb0 ip : 00000000 fp : 00000071
> Apr 22 08:03:48 localhost kernel: [35114.374649] r10: 6472cac1 r9 : 0000d5c6 r8 : c7487000
> Apr 22 08:03:48 localhost kernel: [35114.374649] r7 : 00000001 r6 : c0000000 r5 : 0000d5c6 r4 : 90e00000
> Apr 22 08:03:48 localhost kernel: [35114.374649] r3 : 0001a9c7 r2 : 00000000 r1 : 60000000 r0 : 70e00000
> Apr 22 08:03:48 localhost kernel: [35114.374649] Flags: nzCv IRQs off FIQs on Mode ABT_32 ISA ARM Segment user
> Apr 22 08:03:48 localhost kernel: [35114.374649] Control: 10c53c7d Table: 5d16c06a DAC: 00000015
> etc...
Maybe my information can bee useful : all Ubuntu images on Google Drive is not stable. There are many freeze at compilation some libs, apps. Debian images are more stability. And the best is Centos image. I’m not got any freeze about 7 days.