ophub / kernel

These kernels can be used on Armbian and OpenWrt systems.
GNU General Public License v2.0
190 stars 228 forks source link

Header scripts binaries are x86-64 binaries #6

Closed lepz0r closed 1 year ago

lepz0r commented 1 year ago

Because of this we can't build kernel modules

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/recompile#L321-L350

I checked the kernel compilation script, the binaries are ARM64

lepz0r commented 1 year ago

but on Armbian some of it is x86_64

armbian:basic:% pwd
/usr/src/linux-headers-5.10.156-ophub/scripts/basic
armbian:basic:% binwalk fixdep

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
0             0x0             ELF, 64-bit LSB shared object, AMD x86-64, version 1 (SYSV)

armbian:basic:% ./fixdep         
zsh: exec format error: ./fixdep
ophub commented 1 year ago

Snip20221127_1

Snip20221127_2

raptorz commented 1 year ago

flippy kernel is X86-64:

图片
ophub commented 1 year ago

https://github.com/ophub/kernel/tree/main/pub/dev

armbian-update -v dev -k 6.1.12