OpenWRT on the Rock64
#1
I have started the process of getting OpenWRT working on the Rock64.

I have a working image alongside a custom repo for packages which can be found here, download links for the SD Card images are front and centre: https://openwrt.cdnbcn.net/

When installing the SD Card image, you will have to manually configure /etc/opkg/distfeeds.conf with my custom repo, however I'll fix this in a later build.

The main issues currently are as follows:
    - USB3 port isn't working
    - Onboard Ethernet doesn't reset correctly 100% of the time

The source code can be found at https://github.com/CanadianBaconBoi/openwrt/tree/rock64.
It is based on the work of lucize however it has been updated for a modern version of OpenWRT.

There is a thread with some fixes for the aforementioned issues below, however I have been short on time recently and haven't been able to get around to implementing them yet.
https://forum.pine64.org/showthread.php?tid=11012

Any help would be greatly appreciated in pulling these in, I'll continue to host the package repo for free until this is pulled into upstream.
  Reply
#2
Thanks, CanadianBacon,

Used win32diskimager - did not work. Used Linux - dd method did not work.

mine Rock64 is V2 - No USB boot enable. (https://github.com/ayufan-rock64/linux-b...ash-spi.md)

What's your version? Did you enable USB boot in past? If yes, it sometimes does not boot with regular images.
  Reply
#3
(03-14-2022, 08:18 AM)helpmerock Wrote: Thanks, CanadianBacon,

Used win32diskimager - did not work. Used Linux - dd method did not work.

mine Rock64 is V2 - No USB boot enable. (https://github.com/ayufan-rock64/linux-b...ash-spi.md)

What's your version? Did you enable USB boot in past? If yes, it sometimes does not boot with regular images.

I have a Rock64 V2 also and I haven't enabled USB boot.

I'll outline the exact steps I took;
1. Download SD card image from here
2. Open CMD and run gzip -d `openwrt-snapshot-r19092-7abce5da96-rockchip-armv8-pine64_rock64-ext4-sysupgrade.img.gz` to decompress in place
3. Open Win32DiskImager, select image, and burn to SD card.
4. Connect Ethernet on rock64 to laptop
5. ssh into root@192.168.1.1
  Reply
#4
Thanks CanadianBacon,

First Bad news: I tried all as well as another SD card but did not boot.
Now, Good News: I installed old OpenWrt then for the firmware update - used your image. It worked.

Now, I have to play & let you know.

I could not update file: distfeeds.conf. When I inserted the SD card in Linux & try to edit - it says read ONLY.

Can I update in GUI in OpenWRT?
  Reply
#5
(03-15-2022, 09:41 AM)helpmerock Wrote: Thanks CanadianBacon,

First Bad news: I tried all as well as another SD card but did not boot.
Now, Good News:  I installed old OpenWrt then for the firmware update - used your image. It worked.

Now, I have to play & let you know.

I could not update file: distfeeds.conf. When I inserted the SD card in Linux & try to edit - it says read ONLY.

Can I update in GUI in OpenWRT?

On my image distfeeds.conf is editable, it's possible the old image you have mounts it as readonly, you could try to modify the image you have.
You should also make sure you are root when you edit the file.
  Reply
#6
(03-14-2022, 01:44 PM)CanadianBacon Wrote:
(03-14-2022, 08:18 AM)helpmerock Wrote: Thanks, CanadianBacon,

Used win32diskimager - did not work. Used Linux - dd method did not work.

mine Rock64 is V2 - No USB boot enable. (https://github.com/ayufan-rock64/linux-b...ash-spi.md)

What's your version? Did you enable USB boot in past? If yes, it sometimes does not boot with regular images.

I have a Rock64 V2 also and I haven't enabled USB boot.

I'll outline the exact steps I took;
1. Download SD card image from here
2. Open CMD and run gzip -d `openwrt-snapshot-r19092-7abce5da96-rockchip-armv8-pine64_rock64-ext4-sysupgrade.img.gz` to decompress in place
3. Open Win32DiskImager, select image, and burn to SD card.
4. Connect Ethernet on rock64 to laptop
5. ssh into root@192.168.1.1

worked for me Smile
big thanks

for second ethernet I connected TP-Link UE300 (kmod-usb-net-rtl8152) with USB2 port, USB3 not functioning like you said

opkg update not working with custom repo!

Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://openwrt.cdnbcn.net/targets/rockc...ckages.sig
Signature check failed.
Remove wrong Signature file.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 bricked shawwwn 6 1,645 01-29-2022, 05:49 AM
Last Post: shawwwn
  Rock64 board not working, no HDMI no Ethernet. EDited 2 809 01-26-2022, 08:46 AM
Last Post: TRS-80
  Rock64 <--> Rock64 Serial Connection mark1250 1 624 12-23-2021, 09:27 PM
Last Post: barray
  Are you guys still using Ayufan's OMV on your Rock64? AkiraSensei 0 614 11-26-2021, 07:01 PM
Last Post: AkiraSensei
  Rock64 kernel panics clay 15 4,308 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Pine Rock64 eMMC lifespan moonspell79 3 1,760 08-19-2021, 06:46 PM
Last Post: bcnaz
  Rock64 No Audio - Solved wbecks 12 21,838 08-13-2021, 01:23 PM
Last Post: blakeadam
  Trustzone support for Rock64 capablegh 1 1,253 07-17-2021, 10:15 AM
Last Post: capablegh
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 37 47,203 07-02-2021, 03:20 PM
Last Post: klausfelix
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 865 07-02-2021, 03:13 PM
Last Post: klausfelix

Forum Jump:


Users browsing this thread: 1 Guest(s)