openwrt for the rock64
#1
hello,

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

Link to download:

https://yadi.sk/d/TfX6-MYy3RTf5h?w=1

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.


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"
  Reply
#2
Awesome stuff, thanks for sharing! Feel free to add your img to the ROCK64 Software Release wiki page, too!
  Reply
#3
updated again and cleaned up this thread and just decided to share the directory

latest glibc / 5.4.74 kernel / wireguard backport tree instead of compat
  Reply
#4
Thanks for sharing!

I'm trying to install some kmods and opkg is complaining about infompatible architecture, though the architecture is aarch64_generic everywhere. Adding --force-depends doesn't help. kmods for a different svn build of rockchip kernel 5.4.74-1 don't work either.
Apparently it wants the specific kernel build from your image. Would you be able to build and upload the kmod packages somewhere?



Code:
root@OpenWrt:~# opkg --force-depends install kmod-usb-net-sr9700
Unknown package 'kmod-usb-net-sr9700'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-net-sr9700 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-usb-net-sr9700.

root@OpenWrt:~# opkg info kmod-usb-net-sr9700
Package: kmod-usb-net-sr9700
Version: 5.4.80-1
Depends: kernel (= 5.4.80-1-bef9a69b0c7edeeb82435f427c7332e6), kmod-usb-net
Status: unknown ok not-installed
Section: kernel
Architecture: aarch64_generic
Size: 5049
Filename: kmod-usb-net-sr9700_5.4.80-1_aarch64_generic.ipk
Description: Kernel module for CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices

root@OpenWrt:~# wget https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/kmod/5.4.74-1-63fa2731cb0f8e88239410e4cc044b42/kmod-usb-net-sr9700_5.4.74-1_aarch64_generic.ipk

root@OpenWrt:~# opkg install --nodeps --force-depends ./kmod-usb-net-sr9700_5.4.74-1_aarch64_generic.ipk
Unknown package 'kmod-usb-net-sr9700'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-net-sr9700 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-usb-net-sr9700.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 99 33,125 11-25-2020, 12:28 AM
Last Post: mara
  RetroPie on Rock64 Luke 40 18,553 10-31-2020, 07:12 AM
Last Post: BigSkyEntertainment
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 30 14,185 10-20-2020, 04:36 PM
Last Post: lewellyn
  Lakka (retrogaming) os for rock64 Wizardknight 2 530 09-21-2020, 07:18 PM
Last Post: Wizardknight
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 801 09-21-2020, 04:33 AM
Last Post: as365n4
Sad Rock64 crash randomly during usb 3 copy with RAID1 drive phalae 24 12,565 09-14-2020, 10:48 AM
Last Post: BrownLuther007
  Arch Linux ARM on the Rock64 V3 justinweiss 2 949 08-24-2020, 05:16 PM
Last Post: justinweiss
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 3 1,160 08-16-2020, 07:42 AM
Last Post: aclaret
  Linux Images (ROCK64) pineadmin 162 109,308 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,538 07-09-2020, 10:02 PM
Last Post: nethammer

Forum Jump:


Users browsing this thread: 1 Guest(s)