Open planktonwhc opened 2 years ago
You gotta have an ARM compiler toolchain in order to build the payload. I usually use LLVM built from source, but you can find prebuilt GCC one online. Example for building with another toolchain is in README
plankton@MBP-PLANKTON checkm8_bootkit % TOOLCHAIN=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin ARM_CC=cc ARM_OBJCOPY=arm-none-eabi-objcopy make
clang: warning: argument unused during compilation: '-mthumb' [-Wunused-command-line-argument]
error: unknown target CPU 'armv7-a'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, x86-64-v2, x86-64-v3, x86-64-v4
make: *** [build/src/libbootkit/payload/payload.o] Error 1
still cant build, how to fix ??
You need a toolchain capable of building ARM binaries in ELF format, not the x86 one bundled with Xcode
i tryng to make file using catalina, and show eror llvm bin notfound