Firefly Open Source Community

Title: Firefly RK3399 kernel compilation [Print This Page]

Author: jdhaene    Time: 4/19/2018 17:51
Title: Firefly RK3399 kernel compilation
Hi,

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:
  1. <font face="Arial">...
  2.   OBJCOPY arch/arm64/boot/Image
  3. arch/arm64/Makefile:156: recipe for target 'kernel.img' failed
  4. 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/) Powered by Discuz! X3.1