[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[banana pi] Kernel installation



Hello

Where I can find any information about kernel installation on BananaPi? I mean original kernel from kernel.org.
I tryed to configure, build and install kernel, but it doesn't work.

I did:
make menuconfig (I loaded config from running kerrnel)
make
make moduless_install  install

Installer couldn't find sun7i-a20-bananapi.dtb, so I copied the file from previous kernel. After that I tryed again and I saw this:

==========================
/bin/bash ./arch/arm/boot/install.sh "4.0.1" \
arch/arm/boot/Image System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.0.1 /boot/vmlinuz-4.0.1 run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.0.1 /boot/vmlinuz-4.0.1
update-initramfs: Generating /boot/initrd.img-4.0.1
Installing sun7i-a20-bananapi.dtb into /boot/dtb-4.0.1
Installing new dtb-4.0.1.
Installing sun7i-a20-bananapi.dtb into /boot/dtb-4.0.1
Taking backup of dtb-4.0.1.
Installing new dtb-4.0.1.
Kernel /boot/vmlinuz-4.0.1 does not match any of the expected flavors (armmp armmp-lpae), therefore not writing it to flash. run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.0.1 /boot/vmlinuz-4.0.1
Installing sun7i-a20-bananapi.dtb into /boot/dtb-4.0.1
Taking backup of dtb-4.0.1.
Installing new dtb-4.0.1.
Installing sun7i-a20-bananapi.dtb into /boot/dtb-4.0.1
Taking backup of dtb-4.0.1.
Installing new dtb-4.0.1.
Kernel /boot/vmlinuz-4.0.1 does not match any of the expected flavors (armmp armmp-lpae), therefore not writing it to flash.
==========================


I restarted the system, but system loaded old kernel. I tryed to modify boot.scr (line: "kvers='3.16.0-4-armmp-lpae'"). I changed from "kvers='3.16.0-4-armmp-lpae'" to kvers='4.0.1' and system couldn't start. I changed in mcedit.

How to install new kernel? I am newbie in embedded linux.


Reply to: