BPI-SINOVOIP / BPI-M3-bsp

Supports BananaPi BPI -M3 (Kernel3.4)
47 stars 45 forks source link

exec error at boot #21

Closed Gunzmo closed 7 years ago

Gunzmo commented 7 years ago

I've tryed the toolchain that the BSP comes with aswell a lot of diffrent toolchains, aswell as diffrent gcc compilers both arm and x86 gcc, nothing work I tryed these ubuntu dists: 14.04-i686 and 14.04-x86_x64

The errors i get at boot is: Failed to insert vm149c_act: Exec format error Failed to insert ov8825_act: Exec format error Failed to insert vfe_v412 Exec format error Failed to insert pvrsrvkm Exec format error

I've looked at the bineries with readelf and this is the info.

comeiled from github ov8825_act Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: ARM Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 5000 (bytes into file) Flags: 0x5000000, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 40 (bytes) Number of section headers: 35 Section header string table index: 32

Original ov8825_act Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: ARM Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 4864 (bytes into file) Flags: 0x5000000, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 40 (bytes) Number of section headers: 35 Section header string table index: 32

Can some one explain what the issue is? because its compiled as ARM ELF32 so its a 32bit version still im getting exec format error.

Gunzmo commented 7 years ago

solved it changed to allwinners toolchain