Bananian
Howto: Build and install a modified linux kernel directly on Bananian
33
25126
|
[Bananian]
Howto: Build and install a modified linux kernel directly on Bananian
[Copy link]
|
|
Mr_Blonde replied at Thu Feb 5, 2015 02:45 
I went down the road to compile the lastest kernel as Igor's doesn't include the ap6210 driver. When ...
Starting with Igor's 2.1 mainline image it should simply be possible to just compile this module from within the running system. Have you tried that already? |
|
|
|
|
|
|
|
- mount /dev/mmcblk0p1 /boot
Copy the Code is causing following error on my banana pi:- mount: /dev/mmcblk0p1 already mounted or /boot busy
- mount: according to mtab, /dev/mmcblk0p1 is already mounted on /boot
Copy the Code what to do? |
|
|
|
|
|
|
|
Bananian replied at Fri Oct 24, 2014 11:00 
cross-compiling on my i5 processor is finished within some minutes...
Hi,
I compiled too the 3.19.3 kernel, but somehow only one of the cpu core is online. :-(
Do you have any idea what went wrong?
Thanks |
|
|
|
|
|
|
|
Edited by igorpec at Tue Apr 21, 2015 18:47
Julius replied at Tue Apr 21, 2015 13:57 
Hi,
I compiled too the 3.19.3 kernel, but somehow only one of the cpu core is online. :-(
Yes, you have to switch boot loader.- wget http://mirror.igorpecovnik.com/u-boot/linux-u-boot-3.19.3-bananapi_2.6_armhf.deb
- dpkg -i linux-u-boot-3.19.3-bananapi_2.6_armhf.deb
- reboot
Copy the Code |
|
|
|
|
|
|
|
igorpec replied at Tue Apr 21, 2015 11:44 
Yes, you have to switch boot loader.
Thanks Igor for you quick reply!
Unfortunatelly I'm running a different distro (Arch), but based on your u-boot source I could compile a working u-boot and Arch linux image.
Regards |
|
|
|
|
|
|
|
Edited by samos123 at Wed Sep 16, 2015 07:50
Julias could you share your image? I'm too noob to do what you i've done. I have a running Archlinux image for banana pro but would like to upgrade my kernel. Current kernel is 3.4 |
|
|
|
|
|
|
|
Hello
tried to build an own kernel (with 15.08 on R1) like explained in http://www.lemaker.org/forum.php ... 57&fromuid=4122
...but "make -j2 uImage modules" fails with:
---------------------------------------------------------------
...
..
.
/usr/include/elf.h:500:1: error: stray ‘\226’ in program
/usr/include/elf.h:500:1: error: stray ‘\321’ in program
/usr/include/elf.h:500:1: error: stray ‘\201’ in program
/usr/include/elf.h:500:1: error: stray ‘\320’ in program
/usr/include/elf.h:500:1: error: stray ‘\242’ in program
/usr/include/elf.h:500:1: error: stray ‘\323’ in program
/usr/include/elf.h:500:1: error: stray ‘\231’ in program
/usr/include/elf.h:500:1: error: stray ‘\320’ in program
/usr/include/elf.h:500:1: error: stray ‘\266’ in program
scripts/Makefile.host:118: recipe for target 'scripts/mod/mk_elfconfig' failed
make[2]: *** [scripts/mod/mk_elfconfig] Error 1
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:506: recipe for target 'scripts' failed
make: *** [scripts] Error 2
root@R1:/run/sda1/1508_my-kernel2/linux-bananapi#
Any ideas?
Other way/procedure?
regards |
|
|
|
|
|
|
|
Ok...replaced the /usr/include/elf.h and now it#s working on bananian 15.08
|
|
|
|
|
|
|