Got it working now. I was trying it as a learning experience, trying to add Wireguard to the kernel for my Rpi since I travel a lot.
Posts by xanthoss
-
-
git clone GitHub - LibreELEC/LibreELEC.tv: Just enough OS for KODI
cd LibreELEC.tv/
PROJECT=RPi DEVICE=RPi2 ARCH=arm tools/download-tool
PROJECT=RPi DEVICE=RPi2 ARCH=arm scripts/clean linux
PROJECT=RPi DEVICE=RPi2 ARCH=arm scripts/unpack linux
cd build.LibreELEC-RPi2.arm-9.0-devel/linux-3a1a31d70660f87ee7ec49ffc3811f633bb0f93d/
cp ../../projects/RPi/devices/RPi2/linux/linux.arm.conf .config
make menuconfig
<no changes there>
cp .config ../../projects/RPi/devices/RPi2/linux/linux.arm.conf
cd ../../
PROJECT=RPi DEVICE=RPi2 ARCH=arm scripts/clean linux
PROJECT=RPi DEVICE=RPi2 ARCH=arm scripts/build linux
Some was taken from Openelec's dev guide, which I assumed would work (almost) the same?
-
Hi there,
Tried to compile (cross-compile) for a RPI (2), created a build host (Ubuntu 1604) and followed instructions but I get stuck:
MODPOST 581 modules
SHIPPED arch/arm/boot/compressed/lib1funcs.S
SHIPPED arch/arm/boot/compressed/ashldi3.S
SHIPPED arch/arm/boot/compressed/bswapsdi2.S
LDS arch/arm/boot/compressed/vmlinux.lds
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy_data
CC arch/arm/boot/compressed/misc.o
CC arch/arm/boot/compressed/decompress.o
CC arch/arm/boot/compressed/string.o
AS arch/arm/boot/compressed/hyp-stub.o
AS arch/arm/boot/compressed/lib1funcs.o
AS arch/arm/boot/compressed/ashldi3.o
AS arch/arm/boot/compressed/bswapsdi2.o
AS arch/arm/boot/compressed/piggy.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
cp: cannot stat 'arch/arm/boot/dts/*.dtb': No such file or directory
I started over, removed the entire dir, maybe I had missed something but again it errors out here. Never cross-compiled something before so new to this, but a novice Linux user though. Any hints or clues what I am doing wrong?