ROCK64 Kernel compilation problem
#1
I had a problem compiling the rock64 kernel(https://github.com/rock64-linux?tab=repositories),
Buiding kernel and u-boot image: build/mk-kernel.sh rk3328-rock64(build/mk-uboot.sh rk3328-rock64) 
The current uboot partial compilation is OK。


 Building kernel for rk3328-rock64 board! 
 Using rockchip_linux_defconfig 
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
make[1]: 'include/generated/vdso-offsets.h' is up to date.
  CHK     include/generated/compile.h
  CC      arch/arm64/kernel/topology.o
  CC      block/elevator.o
  CC      crypto/ablk_helper.o
arch/arm64/kernel/topology.c: In function ‘parse_cluster’:
arch/arm64/kernel/topology.c:133:40: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=]
error, forbidden warning: topology.c:133
scripts/Makefile.build:258: recipe for target 'arch/arm64/kernel/topology.o' failed
make[1]: *** [arch/arm64/kernel/topology.o] Error 1
Makefile:983: recipe for target 'arch/arm64/kernel' failed
make: *** [arch/arm64/kernel] Error 2
make: *** Waiting for unfinished jobs....
  GZIP    kernel/config_data.gz
  CC      kernel/relay.o
crypto/ablk_helper.c: In function ‘ablk_init’:
crypto/ablk_helper.c:144:49: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 55 [-Wformat-truncation=]
error, forbidden warning: ablk_helper.c:144
scripts/Makefile.build:258: recipe for target 'crypto/ablk_helper.o' failed
make[1]: *** [crypto/ablk_helper.o] Error 1
Makefile:983: recipe for target 'crypto' failed
make: *** [crypto] Error 2
  CC      drivers/cpufreq/rockchip-cpufreq.o
block/elevator.c: In function ‘elv_register’:
block/elevator.c:839:14: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
error, forbidden warning: elevator.c:839
scripts/Makefile.build:258: recipe for target 'block/elevator.o' failed
make[1]: *** [block/elevator.o] Error 1
Makefile:983: recipe for target 'block' failed
make: *** [block] Error 2
kernel/relay.c: In function ‘relay_create_buf_file’:
kernel/relay.c:420:35: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
error, forbidden warning: relay.c:420
scripts/Makefile.build:258: recipe for target 'kernel/relay.o' failed
make[1]: *** [kernel/relay.o] Error 1
Makefile:983: recipe for target 'kernel' failed
make: *** [kernel] Error 2
^CTraceback (most recent call last):
  File "./scripts/gcc-wrapper.py", line 102, in <module>
    scripts/Makefile.build:403: recipe for target 'drivers/firmware' failed
scripts/Makefile.modbuiltin:54: recipe for target 'drivers/gpu/arm/mali400/ump' failed
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 58 01-20-2020, 12:25 PM
Last Post: kf5zmi
  Linux Images (ROCK64) pineadmin 159 79,598 01-14-2020, 12:23 PM
Last Post: dpgraham
  CentOS 7 for Rock64 pineadmin 2 653 01-13-2020, 12:27 PM
Last Post: decontainerized
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 24 5,491 12-28-2019, 11:35 PM
Last Post: suberimakuri
Thumbs Up Manjaro for Rock64 Luke 7 1,889 12-19-2019, 05:53 PM
Last Post: tomarm
  Help troubleshooting kernel panic gabrielfin 2 73 12-16-2019, 06:50 PM
Last Post: gabrielfin
Sad HDMI doesn't work on rock64 rock7 0 84 12-16-2019, 01:04 PM
Last Post: rock7
  Remote desktop access Rock64 over Internet hg6806 2 104 12-11-2019, 08:27 PM
Last Post: default_user8
Question /dev/spidev0,0 on the Rock64 - Does anyone know how to enable it? Kappuchino 14 2,869 12-05-2019, 09:42 PM
Last Post: phuzy
  Did my Rock64 die? ab1jx 7 251 11-19-2019, 12:58 PM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)