Help Building Android Kernel
#1
Hey,

Been trying to build the android kernel for the ROCKPRO64, as I've wanted to add support for a wifi usb dongle I'm using.

Using Kernel Source from ayufan: https://github.com/ayufan-rock64/android-kernel

The build is failing with:

Code:
drivers/built-in.o: In function `rk_pwm_config_v2':
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
rence to `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
: relocation truncated to fit: R_AARCH64_CALL26 against undef
tatus'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
rence to `rk3368_lcdc_update_pwm'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
: relocation truncated to fit: R_AARCH64_CALL26 against undef
_pwm'
Makefile:815: recipe for target 'vmlinux' failed

Thanks!
#2
Actual Error: (initial post error was cut off)

Code:
drivers/built-in.o: In function `rk_pwm_config_v2':
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:352: undefined reference to `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:352:(.text+0x104f4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:356: undefined reference to `rk3368_lcdc_update_pwm'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:356:(.text+0x1052c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk3368_lcdc_update_pwm'
Makefile:815: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slash TV Android for RockPro64 Wizzard 3 1,326 08-18-2021, 12:36 AM
Last Post: scanfff
  Install Playstore on Android 8.1.0 Domo 14 13,325 04-16-2021, 02:13 AM
Last Post: Wizzard
  Install Playstore on Android 7.1.2 Domo 6 7,161 04-16-2021, 02:10 AM
Last Post: Wizzard
  Kodi crashing in Android 9 Wizzard 2 1,105 04-16-2021, 02:03 AM
Last Post: Wizzard
  Install Playstore on Android 9 image ddimension 18 12,107 02-13-2021, 12:52 AM
Last Post: chisteven
  RockPro64 line out/headphones in Android 9 Wizzard 0 1,317 11-20-2020, 04:15 AM
Last Post: Wizzard
  Android 9 drivers Firesped 1 1,943 11-19-2020, 12:39 PM
Last Post: Wizzard
  I2C on Android? ameridroid 0 1,391 03-02-2020, 03:41 PM
Last Post: ameridroid
  How to create the img file to use with etcher once you build the android SDK? dazza5000 8 4,936 01-22-2020, 10:26 AM
Last Post: webgourou
  Android 9 SDK CRC errors ddimension 2 2,373 01-21-2020, 07:32 AM
Last Post: ChristianS

Forum Jump:


Users browsing this thread: 1 Guest(s)