U-Boot 2022.10-k1 (Nov 02 2025 - 09:53:07 +0000)
[ 0.516] CPU: rv64imafdcv
[ 0.519] Model: spacemit k1-x deb1 board
[ 0.523] DRAM: DDR size = 8192 MB
[ 0.526] DDR size = 8192 MB
[ 0.529] DDR size = 8192 MB
[ 0.532] 8 GiB
[ 0.593] reset driver probe start
| #!/usr/bin/env bash | |
| # | |
| # Cross-compile lrzsz-0.12.21rc (lrz & lsz) for Orange Pi RV2 (RISC-V 64) | |
| # | |
| set -euo pipefail | |
| PRJ="lrzsz" | |
| LRZSZ_URL="https://github.com/UweOhse/${PRJ}.git" |
| #!/bin/sh | |
| # | |
| # Orange Pi RV2 Router Setup Script @ Irradium (CRUX) | |
| # https://dl.irradium.org/irradium/images/orange_pi_rv2/ | |
| # | |
| # Usage: | |
| # curl -fsSL <shorturl> > install.sh && sudo sh ./install.sh [wifi_ssid] | |
| # |
I got a Orange Pi RV2 recently, and it only was supplied with a pre-build Ubuntu Server image from a Chinese website. I did not like that too much. It also used Chinese mirrors, and I prefer to have full control over my install. This guide shows you how to build / install Ubuntu Server 25.04 from the official RISCV Ubuntu install media and the provided kernel sources for the RV2.
- Build kernel .deb files (using a Ubuntu 22.04 x86 VM)
- Install Ubuntu 25.04 RISCV using a RISCV VM and a NVME drive that we will use with the RV2.
- Install kernel deb files, manage the DTB properly, configure some needed stuff
[ 0.000000] Linux version 6.6.63-ky (root@test) (riscv64-unknown-linux-gnu-gcc (g09b62c20e09) 13.2.1 20240423, GNU ld (GNU Binutils) 2.42) #1.0.0 SMP PREEMPT Wed Mar 12 09:04:00 CST 2025
[ 0.000000] Machine model: ky x1 orangepi-rv2 board
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] efi: UEFI not found.
β nmap -sn 192.168.1.1-254/24 | egrep "scan report" | awk '{print $5}'
OpenWrt.lan
vernee_m6.lan
greenway.lan
192.168.1.147
β
Open FB video (for example walking on the water), then:
-
open
DevTools(F12), thenNetworktab, watch for calling two GET URLs one-by-one, each with.mp4inside: first is video without audio, second is just audio (both you canOpen in New Tab) - so doCopy As cURLfor both, and execute them as below (assuming1.mp4and1.mp3for both video and audio correspondently):IMPORTANT: it's required to remove 2 HTML params from the end of URLs:
&bytestart=XXX&byteend=YYY!curl --output 1.mp4 https://scontent.xx.fbcdn.net/o1/v/t2/f2/m69/AQO...Kq9.mp4\?strext\=1\&_nc_cat\=108\&_nc_sid\=...&oe\=679C6293 curl --output 1.mp3 https://scontent.xx.fbcdn.net/o1/v/t2/f2/m69/AQP...HqV.mp4\?strext\=1\&_nc_cat\=1\&_nc_sid\=&oe\=679C8E9F -
merging downloaded
1.mp4video and1.mp3audio into the finaloutput.mp4as below: