A unified OpenIPC ground station image builder using Buildroot 2.
- RunCam Wifilink
- Emax Wyvern-Link
- Radxa Zero3 (choose one of the above)
- Copy the
<vrx name>.tar.gzpackage to a FAT-formatted SD card and reboot. - Copy the
<vrx name>.tar.gzpackage to theDVRpartition on the SD card and reboot. - Copy the
<vrx name>.tar.gzpackage to theDVRpartition on the eMMC. Usescp, SMB, or gadget mode and reboot. - Use
sysupgrade -u -rfor an online update. Seesysupgrade --helpfor more options. - Use
make ssh-flashto flash a local build toBR2_BOARD_HOST. See menuconfig. - Use
make flashto flash a local build to the eMMC usingrkdeveloptool(maskrom). - Flash
<vrx name>_sdcard.imgusing RKDevTool/rkdeveloptool, see: Wiki
- Hold the
Rightbutton during boot. - Run
firstboot.
-
Hold the
Leftbutton during boot to enable USB OTG gadget mode.Via the OTG port, you will get:
- DVR access
- Serial connection
- Network connection (SBC is on
192.168.5.1)
Custom builds rely on Buildroot dependencies, as well as Docker or Podman, which are needed for Radxa's kernel and U-Boot.
When building in WSL2, ensure your WSL2 instance can run Docker.
git clone https://github.com/OpenIPC/sbc-groundstations.git
cd sbc-groundstations
./build.sh
Refer to Buildroot's documentation for instructions on customizing your build: Buildroot
SBC-GS 2 Beta 2 and older versions will not boot squashfs-based systems. A new bootloader is required. The new bootloader will boot from the SD card and eMMC (in that order).
- Boot the old image.
- Copy the new
<vrx name>_u-boot.binto your SBC. - Replace the bootloader on the eMMC by executing the following command:
dd if=/tmp/runcam_wifilink_u-boot.bin of=/dev/mmcblk0 seek=64 status=progress
-
Use RKDevTool/rkdeveloptool and flash
<vrx name>_emmc_bootloader.imgto the eMMC.How to recover RunCam VRX from a bad flash
Note: This will erase all data on the internal flash.
-
Full replace the eMMC
Flash
<vrx name>_sdcard.imgusing RKDevTool/rkdeveloptool, see: Wikior
Use dd from SD booted system
dd if=/tmp/<vrx name>_sdcard.img of=/dev/mmcblk0 status=progress
setenv bootargs quiet splash init=/init root=PARTLABEL=rootfs ro rootwait
mmc dev 0
load mmc 0:1 0x03000000 /boot/Image
load mmc 0:1 0x05000000 /boot/rockchip/rk3566-radxa-zero3.dtb
booti 0x03000000 - 0x05000000
setenv bootargs quiet splash init=/init root=PARTLABEL=rootfs ro rootwait
mmc dev 1
load mmc 1:1 0x03000000 /boot/Image
load mmc 1:1 0x05000000 /boot/rockchip/rk3566-radxa-zero3.dtb
booti 0x03000000 - 0x05000000
See the CC branch
- Radxa zero 3W/E v0.9-beta