openwrt for the rock64

for anyone interested I managed to generate an openwrt image for the rock64 based off the latest master tree

Links to download:



I may get around to just setting up a github of what I did but there's better people than me that have been working on this support recently. I basically provide this as is as a proof it's doable that said it should be good to go as a basic router using ethernet vlans, and there's wireguard that can be set up via webui to try it as a vpn etc. Power usage seems good, only 1.4w-1.5w idle with only the microsd card and ethernet plugged in and working.

* i skipped support for sound and drm though I assume it's totally doable
* The partition sizes are probably too large but it's what's left over from experimenting in getting it to boot the kernel
* I didn't compile support for policy routing via web interface etc. 

Don't forget to turn on  'packet steering' in the web ui and you can probably increase performance by increasing the minimum cpu frequency in the starup section by just pasting something like  ''echo 600000 >  /sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq"  or "echo 816000 > /sys/bus/cpu/devices/cpu0/cpufreq/scaling_min_freq"
Awesome stuff, thanks for sharing! Feel free to add your img to the ROCK64 Software Release wiki page, too!
i've updated the images to bump the kernel up a bit and to set the atomic dma pool to 2M
refreshed again

glibc / gcc 10.2 / binutils 2.35
kernel / openwrt / mt76

I also changed wireguard to use the 5.4 backport branch instead of the compat module, just remember that once you've set it up the vpn in the gui reboot it for the interface to appear

usb_modeswitch does appear to work with the mt76x2u adapters, unfortunately the USB 3.0 port on the Rock64 isn't fully supported and if you want them to work on boot it looks like it's best to just plug it into one of the USB 2.0 ports that said the USB 3.0 will work you just have to re-plug the adapter in and then it works

I can confirm it works at least in station mode, mesh mode is slow though

Possibly Related Threads…
Thread Author Replies Views Last Post
  RetroPie on Rock64 Luke 36 15,990 10-18-2020, 06:06 AM
Last Post: Luke
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 29 11,873 10-01-2020, 11:39 AM
Last Post: lustreking
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 81 27,248 09-22-2020, 02:54 PM
Last Post: mara
  Lakka (retrogaming) os for rock64 Wizardknight 2 233 09-21-2020, 07:18 PM
Last Post: Wizardknight
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 456 09-21-2020, 04:33 AM
Last Post: as365n4
Sad Rock64 crash randomly during usb 3 copy with RAID1 drive phalae 24 11,089 09-14-2020, 10:48 AM
Last Post: BrownLuther007
  Arch Linux ARM on the Rock64 V3 justinweiss 2 651 08-24-2020, 05:16 PM
Last Post: justinweiss
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 3 869 08-16-2020, 07:42 AM
Last Post: aclaret
  Linux Images (ROCK64) pineadmin 162 101,653 07-25-2020, 01:57 PM
Last Post: vve1505
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 1,121 07-09-2020, 10:02 PM
Last Post: nethammer

Forum Jump:

Users browsing this thread: 3 Guest(s)