Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Firefly RK3399 kernel compilation

9

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
9

Firefly RK3399 kernel compilation

Posted at 4/19/2018 17:51:48      View:5981 | Replies:2        Print      Only Author   [Copy Link] 1#
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!
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 4/20/2018 09:36:41        Only Author  2#
http://en.t-firefly.com/doc/product/info/275.html
build your env for complie.
do not recommand vitual machine software.
Reply

Use props Report

9

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
9
Posted at 4/20/2018 22:58:18        Only Author  3#
Thanks for the instructions!
Now I can build the kernel and enable the SPI device in the DT
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list