The Pine64 ROCK64 is a single-board computer.
- Rockchip RK3328 SoC
- 4x ARM Cortex-A53 CPU
- ARM Mali-450 MP2 GPU
- 1 / 2 / 4 GB RAM
- 16 MB SPI flash
- Micro SD card slot
- eMMC module option
- 1 Gb Ethernet
- 1x USB 3.0 host, 2x USB 2.0 host
- 40-pin Raspberry Pi compatible GPIO
Prepare bootloader images
openSUSE JeOS images are distributed without preinstalled bootloader, because there is no complete rock64 support in upstream u-boot yet. The bootloader consisted of opensource ITB image (available in u-boot-rock64-rk3328 package), opensource SPL image, and binary TPL image.
- Install u-boot-tools package for your host architecture:
zypper in u-boot-tools
- Download and unpack u-boot-rock64-rk3328 package with precompiled bootloader:
osc getbinaries openSUSE:Factory:ARM u-boot:rock64-rk3328 standard aarch64 rpm2cpio binaries/u-boot-rock64-rk3328-2019.07-153.1.aarch64.rpm | cpio -id
A new directory ./boot containing bootloader binaries will be created in the current directory.
- Download binary TPL binary:
git clone https://github.com/rockchip-linux/rkbin.git
Convert TPL binary into Rockchip image format:
mkimage -n rk3328 -T rksd -d rkbin/bin/rk33/rk3328_ddr_333MHz_v1.16.bin idbloader.img
mkimage tool is available in u-boot-tools package in your host system.
Append SPL binary to the end of idbloader.img image:
cat boot/u-boot-spl.bin >> idbloader.img
Use u-boot-spl.bin binary, not u-boot-spl.rksd.
Now we have the following bootloader files ready to be deployed to SD card:
- idbloader.img -- TPL/SPL image
- boot/u-boot.itb - ITB image
Writing a disk image to the SD card
- Download the image you want (Leap is stable, Tumbleweed is rolling) from here:
JeOS image E20 image XFCE image LXQT image KDE image X11 image
If the direct links above do not work for you (as we are constantly building new images), please check the general download directory for the images.
- As root extract the image onto your SD card (replace sdX with the device name of your SD card).
WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!
xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct; sync
As root write the bootloader onto your SD card:
dd if=idbloader.img of=/dev/sdX seek=64 conv=notrunc dd if=boot/u-boot.itb of=/dev/sdX seek=16384 conv=notrunc sync
- Insert the SD card with the openSUSE image into your board.
- Connect the board to your PC via serial port (optional, but helpful for debugging; USB-TTL serial cable needed).
- Connect the board to your monitor (via DVI/HDMI, optional).
- Power on the board.
- Walk through the first boot steps.
- Ethernet is configured to request an IP via DHCP, check your DHCP server for the board IP if used.
- Have a lot of fun...