Banana pi BPI-M2 uboot 2015-7 and kernel 4.1.6 update to github


(bpi team) #1

BPI team have test linux kernel 4.1.6 on BPI-M1,BPI-M1+,BPI-M2,BPI-M3,with newest uboot 2015-7 ,

we update to BPI-SINVOIP github : https://github.com/BPI-SINOVOIP/BPI-Mainline-bsp

we hope you can join us ,and help us to fixed dirver issue.

this is our target , all BPI board all use newset open source code.

video:


Kernel sources for BPI-M2+ (H3)
(Ivan Ip) #2

May I know how to “choose” for M2+ board?
There are literally NO option for that.


#3

You’re just searching in the wrong place :slight_smile:

https://www.armbian.com/banana-pi-m2-plus/ (click on ‘other download options and archive’ there and choose kernel 4.11 – but be aware that M2+ is shit since overheating)


(Ivan Ip) #4

Any chance I can compile myself?
I’m using ArchLinuxARM for M2+ and can’t really see a community to support it…

I have modded my M2+, it now survives around 30-48 degrees celsius, but, ugly tho.


(Nabil Hassani) #5

I tried to install your latest 4.2 Kernel for BPI-M2 using the 16.04.2 Ubuntu mate image you posted.

I am not happy with Kernel 3.3, too old, also no sound Analog or HDMI, also very slow.

I managed to compile the kernel, I had to add the following resources:

sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev git wget fakeroot kernel-package zlib1g-dev libncurses5-dev u-boot-tools

after running make in ~/BPI-Mainline-bsp folder

it produced all the needed files like zImage, uImage also said it the modules.

I have the following folders in /lib/modules: /lib/modules/3.3.0-BPI-M2-Kernel /lib/modules/3.4.39-BPI-M2P-Kernel /lib/modules/3.4.39-BPI-M3-Kernel /lib/modules/3.4.112-sun7i /lib/modules/3.4.112-sun8i /lib/modules/3.10.101-pine64 /lib/modules/4.4.15+ /lib/modules/4.4.15-v7+

I then did as you asked in /boot:

sudo mkimage -C none -A arm -T script -d boot.cmd boot.scr

but sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdb1 bs=1024 seek=8

leads to rubbish maybe chinese files & folders of boot partition.

I do not need to copy the root partition, it is already available, only make the kernel of /lib/modules/4.4.15-v7+ set up.

In Arch Linux & Ubuntu I know how to do this with grub or efi.

In u-boot I am not used to it.

Can you explain how to make the kernel 4.x selected instead of 3.3

Also what is wrong with u-boot-sunxi-with-spl.bin ?

Thanks.Reply as linked Topic

          You will receive notifications because you posted a reply to this topic.

#6

https://www.armbian.com/banana-pi-m2/ (kernel 4.11)