[Repaired] [Progressed] [Successful] How to play Minecraft with ROCK 64
#6
(02-19-2018, 08:55 AM)xalius Wrote: How did you change the .config exactly? Can you upload it to pastebin? Also upload the output of your kernel build...

Edit: I just saw that linux-lima is a mainline 4.13 source tree, so you better take the .config from ayufan's mainline kernel ( https://github.com/ayufan-rock64/linux-m..._defconfig), but 4.13.x is also too old for RK3328, the HDMI drivers you need for video output are probably arriving in 4.17.x or 4.18.x... so you need to forward port the linux-lima patches, from what I read in the issues in the git repo starting from " f0fddeaf1b7df4f1f7404155ad8b03a5190e5550 : drm/lima: init commit for adding lima driver" 


[url=https://github.com/yuq][/url]

When attempting to compile a DRM driver and a LIMA driver in "rock64", the following error occurred.
How can you solve it?
Please cooperate with me.


rock64@rock64:~/linux-lima-lima-4.13/drivers/gpu/drm$ sudo make -C
/lib/modules/4.4.77-rockchip-ayufan-136/build M=$PWD
CONFIG_ARCH_ROCKCHIP CONFIG_DRM
[sudo] password for rock64:
make: Entering directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
make: *** No rule to make target 'CONFIG_ARCH_ROCKCHIP'.  Stop.
make: Leaving directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
rock64@rock64:~/linux-lima-lima-4.13/drivers/gpu/drm$ sudo make -C
/lib/modules/4.4.77-rockchip-ayufan-136/build M=$PWD CONFIG_DRMmake:
Entering directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
make: *** No rule to make target 'CONFIG_DRM'.  Stop.
make: Leaving directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
rock64@rock64:~/linux-lima-lima-4.13/drivers/gpu/drm$ sudo make -C
/lib/modules/4.4.77-rockchip-ayufan-136/build M=$PWD
CONFIG_ARCH_ROCKCHIP=m CONFIG_DRM=m
make: Entering directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
  CC      /home/rock64/linux-lima-lima-4.13/drivers/gpu/drm/drm_crtc_helper.o
/home/rock64/linux-lima-lima-4.13/drivers/gpu/drm/drm_crtc_helper.c:39:10:
fatal error: drm/drm_encoder.h: No such file or directory
 #include <drm/drm_encoder.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:258: recipe for target
'/home/rock64/linux-lima-lima-4.13/drivers/gpu/drm/drm_crtc_helper.o'
failed
make[1]: *** [/home/rock64/linux-lima-lima-4.13/drivers/gpu/drm/drm_crtc_helper.o]
Error 1
Makefile:1424: recipe for target
'_module_/home/rock64/linux-lima-lima-4.13/drivers/gpu/drm' failed
make: *** [_module_/home/rock64/linux-lima-lima-4.13/drivers/gpu/drm] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
rock64@rock64:~/linux-lima-lima-4.13/drivers/gpu/drm$
  Reply


Messages In This Thread
RE: [Successful] How to play Minecraft with ROCK 64 - by pine3228 - 02-23-2018, 07:56 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  First-Timer trying to set up a minecraft server Sothe 3 1,434 05-31-2019, 02:59 PM
Last Post: Luke
  Rock 64 seem like a dead end munocat 3 1,884 03-21-2019, 10:13 PM
Last Post: thewonderer
  Rock 64 network error as soon as I try to write or read. georgegohl888 1 956 03-12-2019, 09:35 AM
Last Post: georgegohl888
  Rock 64 a failure..very disappointed arxaios 5 2,639 11-02-2018, 07:29 AM
Last Post: Trash_Can_Man
  [Issue] All Rock leds are blinking Chispolas 6 2,947 04-18-2018, 09:12 PM
Last Post: pfeerick
  [Warning: root device does not exist] Can not install generic kernel on ROCK 64? pine3228 0 1,404 03-16-2018, 05:40 PM
Last Post: pine3228
Sad Rock 64 No video borisacomputers 4 2,039 03-03-2018, 03:11 PM
Last Post: borisacomputers
Wink My Stick of Rock digitaldaz 3 1,328 10-26-2017, 09:23 AM
Last Post: Luke
  Is the Rock 64 something strange? kometchtech 13 5,743 08-20-2017, 06:00 PM
Last Post: sjk
  Minecraft Server on Rock64 elienar 0 1,634 08-07-2017, 08:05 PM
Last Post: elienar

Forum Jump:


Users browsing this thread: 1 Guest(s)