I'm trying to compile a new kernel image for the FireFly RK3399 AIO board to include SPI support. I followed the instructions from this page, but generating the image fails. These are the commands used for building the kernel:
export CROSS_COMPILE=aarch64-linux-android-
export ARCH=arm64
make firefly_linux_defconfig
make rk3399-firefly-linux.img -j8
The last command fails with output:
<font face="Arial">...
OBJCOPY arch/arm64/boot/Image
arch/arm64/Makefile:156: recipe for target 'kernel.img' failed
make: *** [kernel.img] Error 127</font>
Copy the code
Any help is appreciated! Author: leungÏÈÉ Time: 4/20/2018 09:36 http://en.t-firefly.com/doc/product/info/275.html
build your env for complie.
do not recommand vitual machine software.Author: jdhaene Time: 4/20/2018 22:58
Thanks for the instructions!
Now I can build the kernel and enable the SPI device in the DT
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)