Firefly Open Source Community

   Login   |   Register   |
New_Topic

Firefly RK3399 kernel compilation

9

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
9
Posted at 4/19/2018 17:51:48     
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

656

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
656
Posted at 4/20/2018 09:36:41     
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     
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