compile sunxi kernel for Banana Pi

This forum is for discussion about general software issues.

compile sunxi kernel for Banana Pi

Postby bjo » Wed Dec 30, 2015 3:27 pm

Hi,

we're running Archlinux ARM on a Banana Pi. Unfortunately 4.4 has no support for the sound codec, so I'm trying to build 3.4.109.

I stumpled upon http://archlinuxarm.org/forum/viewtopic.php?f=57&t=6163 and tried to build the kernel on a Arch 64bit machine using the makepkg.conf from the mentioned thread and the armv7h-toolchain.

But I get the following error:

$this->bbcode_second_pass_code('', '
==> Starting build()...
scripts/kconfig/conf --silentoldconfig Kconfig
#
# configuration written to .config
#
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/linux/version.h
CHK include/generated/utsrelease.h
MKELF scripts/mod/elfconfig.h
/bin/sh: scripts/mod/mk_elfconfig: cannot execute binary file: Exec format error
/data/arch/arm/linux-sunxi/src/linux-sunxi-sunxi-3.4/scripts/mod/Makefile:14: recipe for target 'scripts/mod/elfconfig.h' failed
make[2]: *** [scripts/mod/elfconfig.h] Error 126
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
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
')

I'm confused how to fix this.
bjo
 
Posts: 11
Joined: Sun Dec 20, 2015 8:43 pm

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests