Armbian latest dev - Compiled image supports ROC-RK3399-PC

Hi everyone,
I've compiled an Armbian build from latest dev mainline code based on Kernel 5.5.x. If anyone wants to attempt using it, keep me posted and I'll upload it somewhere to use. I haven't had time to dump it on an SD to test it, but it should work. 

Comments

  • edited March 2020
    https://1drv.ms/u/s!AmWc3ttQbBBHhv57ltU8yOddPiLE6g?e=ZfU3RX
    Flashed on an SD card. Tested and working.  
    **edit** Updated to latest dev build 2020/03/30
  • Working with SD.  Used armbian-config to write the SD card to the emmc module and boots with that as well. No issues with power supplies and runs much faster then then Ubuntu images when running off SD card.
    Only issues so far :
    Cant get the mezzanine card (m2. wifi/ nvme ssd) to show up.  Also I cant get the hardware accelerated panfrost module to load(does the kernel new it configured?). 
  • Apparently the latest branch with kernel 5.5 supports nvme... I'm still trying to compile a working u-boot for SPI, so I'll try a new build later. This one was compiled based off a 5.5 release candidate if I recall
  • Your image is running kernel 5.5.8-rockchip64.  Is it difficult to build the image? I would like to build a minimal image because I normally use an ansible playbook to install all my apps and desktop environment.

  • @jwr Yes, that's pretty much the procedure. Except instead of selecting a board, you select a CSC through the menu option "Show CSC/WIP/EOS/TVB". Someone made a CSC specifically for the roc-rk3399-pc. 

    I just compiled Armbian_20.05.0-trunk_Roc-rk3399-pc_focal_dev_5.5.13_desktop.img, was pretty quick. I'll update my URL for others or you can download it for yourself!
  • So kernel 5.6 was just released... I imagine Armbian should merge source eventually. 
  • I compiled a debian bullseye minimal cli build and confirmed the panfrost module is included with the 5.5.13 kernel but even though I have the module being loaded at boot I am not seeing the hardware detected in dmesg.
    On the Armbian forums someone mentioned that with the firefly verison of the board they had to make a modification/patch to the kernel so it would initialize the mali gfx so maybe something similar will be necessary for the roc-rk3399-pc board.
  • Great news about compiling a minimal debian image!
    There's still some work being done on the kernel, so if they made a patch, they could commit it to mainline... Otherwise, you just have to compile it with their patch. I'm still not gonna invest time until I can get a compiled u-boot off SPI NOR, so sadly, I can't really help you there.
  • the armbian csc build now for ubuntu is using kernel 5.6 and panfrost is working.  The usb/power situation is a bit flaky again with this kernel and the board is picky with the power adapter that you use.  now that panfrost is working I was able to run quakespasm (quake 1 source port) at 40+ fps at 1080p.   For some reason the atomic mode setting/kms stuff is not working and I seem to be still limited to to 1080p max in X11.

    Panfrost dmesg:
    [    2.087029] panfrost ff9a0000.gpu: clock rate = 500000000
    [    2.087067] panfrost ff9a0000.gpu: failed to get regulator: -517
    [    2.087075] panfrost ff9a0000.gpu: regulator init failed -517
    [    2.464901] panfrost ff9a0000.gpu: clock rate = 500000000
    [    2.465018] panfrost ff9a0000.gpu: failed to get regulator: -517
    [    2.465053] panfrost ff9a0000.gpu: regulator init failed -517
    [    2.479473] panfrost ff9a0000.gpu: clock rate = 500000000
    [    2.479574] panfrost ff9a0000.gpu: failed to get regulator: -517
    [    2.479582] panfrost ff9a0000.gpu: regulator init failed -517
    [    2.490415] panfrost ff9a0000.gpu: clock rate = 500000000
    [    2.490517] panfrost ff9a0000.gpu: failed to get regulator: -517
    [    2.490525] panfrost ff9a0000.gpu: regulator init failed -517
    [    2.506146] panfrost ff9a0000.gpu: clock rate = 500000000
    [    2.506269] panfrost ff9a0000.gpu: failed to get regulator: -517
    [    2.506279] panfrost ff9a0000.gpu: regulator init failed -517
    [    3.088149] panfrost ff9a0000.gpu: clock rate = 500000000
    [    3.088658] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
    [    3.088669] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
    [    3.088681] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
    [    3.088689] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
    [    3.093600] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init] Failed to register cooling device
    [    3.094128] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1

    DRM dmesg:

    [    2.081221] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
    [    2.083126] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
    [    2.083252] rockchip-drm display-subsystem: failed to bind ff940000.hdmi (ops dw_hdmi_rockchip_ops): -517
    [    2.083464] rockchip-drm display-subsystem: master bind failed: -517
    [    2.347038] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
    [    2.349071] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
    [    2.350329] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops)
    [    2.350337] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    2.350342] [drm] No driver support for vblank timestamp query.
    [    2.463690] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
    [    2.464377] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
    [    3.093600] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init] Failed to register cooling device
    [    3.094128] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
    [    5.053712] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped


  • That is GREAT news! Thanks for the update. I gave up on u-boot for this board... Until there's clearer instructions or a pre-built SPI NOR bootable image, sadly.
  • edited April 2020
    @karendar thanks for the image, work for me
Sign In or Register to comment.